Class: MetronomeSDK::Models::ContractV2::UsageFilter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::ContractV2::UsageFilter
- Defined in:
- lib/metronome_sdk/models/contract_v2.rb
Instance Attribute Summary collapse
-
#ending_before ⇒ Time?
This will match contract ending_before value if usage filter is active until the end of the contract.
- #group_key ⇒ String
- #group_values ⇒ Array<String>
-
#starting_at ⇒ Time
This will match contract starting_at value if usage filter is active from the beginning of the contract.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel
Instance Attribute Details
#ending_before ⇒ Time?
This will match contract ending_before value if usage filter is active until the end of the contract. It will be undefined if the contract is open-ended.
1547 |
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1547 optional :ending_before, Time |
#group_key ⇒ String
1528 |
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1528 required :group_key, String |
#group_values ⇒ Array<String>
1533 |
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1533 required :group_values, MetronomeSDK::Internal::Type::ArrayOf[String] |
#starting_at ⇒ Time
This will match contract starting_at value if usage filter is active from the beginning of the contract.
1540 |
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1540 required :starting_at, Time |