Class: MetronomeSDK::Models::V2::ContractEditParams::AddResellerRoyalty

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

Defined Under Namespace

Modules: ResellerType Classes: AwsOptions, GcpOptions

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(aws_account_number: nil, aws_offer_id: nil, aws_payer_reference_id: nil) ⇒ Object

Parameters:

  • aws_account_number (String) (defaults to: nil)
  • aws_offer_id (String) (defaults to: nil)
  • aws_payer_reference_id (String) (defaults to: nil)


# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2593


Instance Attribute Details

#applicable_product_idsArray<String>?

Must provide at least one of applicable_product_ids or applicable_product_tags.

Returns:

  • (Array<String>, nil)


2549
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2549

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

#applicable_product_tagsArray<String>?

Must provide at least one of applicable_product_ids or applicable_product_tags.

Returns:

  • (Array<String>, nil)


2555
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2555

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

#aws_optionsMetronomeSDK::Models::V2::ContractEditParams::AddResellerRoyalty::AwsOptions?



2560
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2560

optional :aws_options, -> { MetronomeSDK::V2::ContractEditParams::AddResellerRoyalty::AwsOptions }

#ending_beforeTime?

Use null to indicate that the existing end timestamp should be removed.

Returns:

  • (Time, nil)


2566
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2566

optional :ending_before, Time, nil?: true

#fractionFloat?

Returns:

  • (Float, nil)


2571
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2571

optional :fraction, Float

#gcp_optionsMetronomeSDK::Models::V2::ContractEditParams::AddResellerRoyalty::GcpOptions?



2576
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2576

optional :gcp_options, -> { MetronomeSDK::V2::ContractEditParams::AddResellerRoyalty::GcpOptions }

#netsuite_reseller_idString?

Returns:

  • (String, nil)


2581
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2581

optional :netsuite_reseller_id, String

#reseller_contract_valueFloat?

Returns:

  • (Float, nil)


2586
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2586

optional :reseller_contract_value, Float

#reseller_typeSymbol, MetronomeSDK::Models::V2::ContractEditParams::AddResellerRoyalty::ResellerType



2542
2543
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2542

required :reseller_type,
enum: -> { MetronomeSDK::V2::ContractEditParams::AddResellerRoyalty::ResellerType }

#starting_atTime?

Returns:

  • (Time, nil)


2591
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2591

optional :starting_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2623