Class: ModernTreasury::Models::BulkResultListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/modern_treasury/models/bulk_result_list_params.rb

Overview

Defined Under Namespace

Modules: EntityType, RequestType, Status

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(after_cursor: nil, entity_id: nil, entity_type: nil, per_page: nil, request_id: nil, request_type: nil, status: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::BulkResultListParams for more details.

Parameters:



# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 53


Instance Attribute Details

#after_cursorString?

Returns:

  • (String, nil)


13
# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 13

optional :after_cursor, String, nil?: true

#entity_idString?

Unique identifier for the result entity object.

Returns:

  • (String, nil)


19
# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 19

optional :entity_id, String

#entity_typeSymbol, ...

The type of the request that created this result. bulk_request is the only supported ‘request_type`



26
# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 26

optional :entity_type, enum: -> { ModernTreasury::BulkResultListParams::EntityType }

#per_pageInteger?

Returns:

  • (Integer, nil)


31
# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 31

optional :per_page, Integer

#request_idString?

Unique identifier for the request that created this bulk result. This is the ID of the bulk request when ‘request_type` is bulk_request

Returns:

  • (String, nil)


38
# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 38

optional :request_id, String

#request_typeSymbol, ...

The type of the request that created this result. bulk_request is the only supported ‘request_type`



45
# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 45

optional :request_type, enum: -> { ModernTreasury::BulkResultListParams::RequestType }

#statusSymbol, ...

One of successful or failed.



51
# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 51

optional :status, enum: -> { ModernTreasury::BulkResultListParams::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/modern_treasury/models/bulk_result_list_params.rb', line 87