Class: MetronomeSDK::Models::ContractV2::Override
Defined Under Namespace
Modules: Target, Type
Classes: OverrideSpecifier, OverwriteRate, Product
Instance Attribute Summary collapse
Class Method 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(id: , name: ) ⇒ Object
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1462
|
Instance Attribute Details
1232
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1232
optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#ending_before ⇒ Time?
1237
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1237
optional :ending_before, Time
|
#entitled ⇒ Boolean?
1242
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1242
optional :entitled, MetronomeSDK::Internal::Type::Boolean
|
#id ⇒ String
1222
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1222
required :id, String
|
#is_commit_specific ⇒ Boolean?
1247
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1247
optional :is_commit_specific, MetronomeSDK::Internal::Type::Boolean
|
#multiplier ⇒ Float?
1252
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1252
optional :multiplier, Float
|
1257
1258
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1257
optional :override_specifiers,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::ContractV2::Override::OverrideSpecifier] }
|
1263
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1263
optional :override_tiers, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::OverrideTier] }
|
1268
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1268
optional :overwrite_rate, -> { MetronomeSDK::ContractV2::Override::OverwriteRate }
|
#priority ⇒ Float?
1273
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1273
optional :priority, Float
|
1278
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1278
optional :product, -> { MetronomeSDK::ContractV2::Override::Product }
|
#starting_at ⇒ Time
1227
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1227
required :starting_at, Time
|
#target ⇒ Symbol, ...
1283
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1283
optional :target, enum: -> { MetronomeSDK::ContractV2::Override::Target }
|
#type ⇒ Symbol, ...
1288
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1288
optional :type, enum: -> { MetronomeSDK::ContractV2::Override::Type }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1367
|