Class: MetronomeSDK::Models::V1::ContractListBalancesParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::ContractListBalancesParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/metronome_sdk/models/v1/contract_list_balances_params.rb
Overview
Instance Attribute Summary collapse
-
#covering_date ⇒ Time?
Return only balances that have access schedules that “cover” the provided date.
- #customer_id ⇒ String
-
#effective_before ⇒ Time?
Include only balances that have any access before the provided date (exclusive).
-
#exclude_zero_balances ⇒ Boolean?
Exclude balances with zero amounts from the response.
- #id ⇒ String?
-
#include_archived ⇒ Boolean?
Include archived credits and credits from archived contracts.
-
#include_balance ⇒ Boolean?
Include the balance of credits and commits in the response.
-
#include_contract_balances ⇒ Boolean?
Include balances on the contract level.
-
#include_ledgers ⇒ Boolean?
Include ledgers in the response.
-
#limit ⇒ Integer?
The maximum number of commits to return.
-
#next_page ⇒ String?
The next page token from a previous response.
-
#starting_at ⇒ Time?
Include only balances that have any access on or after the provided date.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(customer_id: , id: nil, covering_date: nil, effective_before: nil, exclude_zero_balances: nil, include_archived: nil, include_balance: nil, include_contract_balances: nil, include_ledgers: nil, limit: nil, next_page: nil, starting_at: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ContractListBalancesParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(customer_id: , id: nil, covering_date: nil, effective_before: nil, exclude_zero_balances: nil, include_archived: nil, include_balance: nil, include_contract_balances: nil, include_ledgers: nil, limit: nil, next_page: nil, starting_at: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::ContractListBalancesParams for more details.
|
|
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 83
|
Instance Attribute Details
#covering_date ⇒ Time?
Return only balances that have access schedules that “cover” the provided date
25 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 25 optional :covering_date, Time |
#customer_id ⇒ String
14 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 14 required :customer_id, String |
#effective_before ⇒ Time?
Include only balances that have any access before the provided date (exclusive)
31 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 31 optional :effective_before, Time |
#exclude_zero_balances ⇒ Boolean?
Exclude balances with zero amounts from the response.
37 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 37 optional :exclude_zero_balances, MetronomeSDK::Internal::Type::Boolean |
#id ⇒ String?
19 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 19 optional :id, String |
#include_archived ⇒ Boolean?
Include archived credits and credits from archived contracts.
43 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 43 optional :include_archived, MetronomeSDK::Internal::Type::Boolean |
#include_balance ⇒ Boolean?
Include the balance of credits and commits in the response. Setting this flag may cause the query to be slower.
50 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 50 optional :include_balance, MetronomeSDK::Internal::Type::Boolean |
#include_contract_balances ⇒ Boolean?
Include balances on the contract level.
56 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 56 optional :include_contract_balances, MetronomeSDK::Internal::Type::Boolean |
#include_ledgers ⇒ Boolean?
Include ledgers in the response. Setting this flag may cause the query to be slower.
63 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 63 optional :include_ledgers, MetronomeSDK::Internal::Type::Boolean |
#limit ⇒ Integer?
The maximum number of commits to return. Defaults to 25.
69 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 69 optional :limit, Integer |
#next_page ⇒ String?
The next page token from a previous response.
75 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 75 optional :next_page, String |
#starting_at ⇒ Time?
Include only balances that have any access on or after the provided date
81 |
# File 'lib/metronome_sdk/models/v1/contract_list_balances_params.rb', line 81 optional :starting_at, Time |