Class: MetronomeSDK::Models::PrepaidBalanceThresholdConfigurationV2::ThresholdBalanceSpecifier::Exclude::CustomFieldFilter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::PrepaidBalanceThresholdConfigurationV2::ThresholdBalanceSpecifier::Exclude::CustomFieldFilter
show all
- Defined in:
- lib/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rb,
sig/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rbs
Defined Under Namespace
Modules: Entity
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(entity:, key:, value:) ⇒ Object
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
|
# File 'lib/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rb', line 193
class CustomFieldFilter < MetronomeSDK::Internal::Type::BaseModel
required :entity,
enum: -> { MetronomeSDK::PrepaidBalanceThresholdConfigurationV2::ThresholdBalanceSpecifier::Exclude::CustomFieldFilter::Entity }
required :key, String
required :value, String
module Entity
extend MetronomeSDK::Internal::Type::Enum
COMMIT = :Commit
CONTRACT_CREDIT = :ContractCredit
CONTRACT_CREDIT_OR_COMMIT = :ContractCreditOrCommit
end
end
|
Instance Attribute Details
197
198
|
# File 'lib/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rb', line 197
required :entity,
enum: -> { MetronomeSDK::PrepaidBalanceThresholdConfigurationV2::ThresholdBalanceSpecifier::Exclude::CustomFieldFilter::Entity }
|
#key ⇒ String
203
|
# File 'lib/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rb', line 203
required :key, String
|
#value ⇒ String
208
|
# File 'lib/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rb', line 208
required :value, String
|
Instance Method Details
#to_hash ⇒ {
189
|
# File 'sig/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rbs', line 189
def to_hash: -> {
|