Class: ModernTreasury::Models::BulkResult::Entity::BulkError::RequestError

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/bulk_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id:, created_at:, live_mode:, object:, request_errors:, updated_at:) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::BulkResult::Entity::BulkError for more details.

Parameters:



182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# File 'lib/modern_treasury/models/bulk_result.rb', line 182

class RequestError < ModernTreasury::Internal::Type::BaseModel
  # @!attribute code
  #
  #   @return [String, nil]
  optional :code, String

  # @!attribute message
  #
  #   @return [String, nil]
  optional :message, String

  # @!attribute parameter
  #
  #   @return [String, nil]
  optional :parameter, String

  # @!method initialize(code: nil, message: nil, parameter: nil)
  #   @param code [String]
  #   @param message [String]
  #   @param parameter [String]
end

Instance Attribute Details

#codeString?

Returns:

  • (String, nil)


186
# File 'lib/modern_treasury/models/bulk_result.rb', line 186

optional :code, String

#messageString?

Returns:

  • (String, nil)


191
# File 'lib/modern_treasury/models/bulk_result.rb', line 191

optional :message, String

#parameterString?

Returns:

  • (String, nil)


196
# File 'lib/modern_treasury/models/bulk_result.rb', line 196

optional :parameter, String