Class: MetronomeSDK::Models::V1::ContractAmendParams::ResellerRoyalty

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/contract_amend_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/v1/contract_amend_params.rb', line 1584


Instance Attribute Details

#applicable_product_idsArray<String>?

Must provide at least one of applicable_product_ids or applicable_product_tags.

Returns:

  • (Array<String>, nil)


1540
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1540

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)


1546
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1546

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

#aws_optionsMetronomeSDK::Models::V1::ContractAmendParams::ResellerRoyalty::AwsOptions?



1551
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1551

optional :aws_options, -> { MetronomeSDK::V1::ContractAmendParams::ResellerRoyalty::AwsOptions }

#ending_beforeTime?

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

Returns:

  • (Time, nil)


1557
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1557

optional :ending_before, Time, nil?: true

#fractionFloat?

Returns:

  • (Float, nil)


1562
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1562

optional :fraction, Float

#gcp_optionsMetronomeSDK::Models::V1::ContractAmendParams::ResellerRoyalty::GcpOptions?



1567
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1567

optional :gcp_options, -> { MetronomeSDK::V1::ContractAmendParams::ResellerRoyalty::GcpOptions }

#netsuite_reseller_idString?

Returns:

  • (String, nil)


1572
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1572

optional :netsuite_reseller_id, String

#reseller_contract_valueFloat?

Returns:

  • (Float, nil)


1577
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1577

optional :reseller_contract_value, Float

#reseller_typeSymbol, MetronomeSDK::Models::V1::ContractAmendParams::ResellerRoyalty::ResellerType



1534
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1534

required :reseller_type, enum: -> { MetronomeSDK::V1::ContractAmendParams::ResellerRoyalty::ResellerType }

#starting_atTime?

Returns:

  • (Time, nil)


1582
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1582

optional :starting_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1614