Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb

Defined Under Namespace

Modules: Target, Type Classes: OverrideSpecifier, OverwriteRate, Product

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(id: , name: ) ⇒ Object

Parameters:

  • id (String) (defaults to: )
  • name (String) (defaults to: )


# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 911

Instance Attribute Details

#applicable_product_tagsArray<String>?

Returns:

  • (Array<String>, nil)


675
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 675

optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]

#ending_beforeTime?

Returns:

  • (Time, nil)


680
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 680

optional :ending_before, Time

#entitledBoolean?

Returns:

  • (Boolean, nil)


685
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 685

optional :entitled, MetronomeSDK::Internal::Type::Boolean

#idString

Returns:

  • (String)


665
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 665

required :id, String

#is_commit_specificBoolean?

Returns:

  • (Boolean, nil)


690
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 690

optional :is_commit_specific, MetronomeSDK::Internal::Type::Boolean

#multiplierFloat?

Returns:

  • (Float, nil)


695
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 695

optional :multiplier, Float

#override_specifiersArray<MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier>?



700
701
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 700

optional :override_specifiers,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverrideSpecifier] }

#override_tiersArray<MetronomeSDK::Models::OverrideTier>?

Returns:



706
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 706

optional :override_tiers, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::OverrideTier] }

#overwrite_rateMetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverwriteRate?



711
712
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 711

optional :overwrite_rate,
-> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::OverwriteRate }

#priorityFloat?

Returns:

  • (Float, nil)


717
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 717

optional :priority, Float

#productMetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::Product?



722
723
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 722

optional :product,
-> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::Product }

#starting_atTime

Returns:

  • (Time)


670
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 670

required :starting_at, Time

#targetSymbol, ...



728
729
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 728

optional :target,
enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::Target }

#typeSymbol, ...



734
735
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 734

optional :type,
enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddOverride::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 814