Class: Increase::Models::FileListParams

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

Overview

Defined Under Namespace

Classes: CreatedAt, Purpose

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

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: nil, before: nil, on_or_after: nil, on_or_before: nil) ⇒ Object

Some parameter documentations has been truncated, see CreatedAt for more details.

Parameters:



# File 'lib/increase/models/file_list_params.rb', line 87


Instance Attribute Details

#created_atIncrease::Models::FileListParams::CreatedAt?



13
# File 'lib/increase/models/file_list_params.rb', line 13

optional :created_at, -> { Increase::FileListParams::CreatedAt }

#cursorString?

Return the page of entries after this one.

Returns:

  • (String, nil)


19
# File 'lib/increase/models/file_list_params.rb', line 19

optional :cursor, String

#idempotency_keyString?

Filter records to the one with the specified ‘idempotency_key` you chose for that object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](increase.com/documentation/idempotency-keys).

Returns:

  • (String, nil)


28
# File 'lib/increase/models/file_list_params.rb', line 28

optional :idempotency_key, String

#limitInteger?

Limit the size of the list that is returned. The default (and maximum) is 100 objects.

Returns:

  • (Integer, nil)


35
# File 'lib/increase/models/file_list_params.rb', line 35

optional :limit, Integer

#purposeIncrease::Models::FileListParams::Purpose?



40
# File 'lib/increase/models/file_list_params.rb', line 40

optional :purpose, -> { Increase::FileListParams::Purpose }