Class: MetronomeSDK::Models::V1::Contracts::RateCardUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/metronome_sdk/models/v1/contracts/rate_card_update_params.rb

Overview

Defined Under Namespace

Classes: Alias

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel

Instance Attribute Details

#aliasesArray<MetronomeSDK::Models::V1::Contracts::RateCardUpdateParams::Alias>?

Reference this alias when creating a contract. If the same alias is assigned to multiple rate cards, it will reference the rate card to which it was most recently assigned. It is not exposed to end customers.



24
25
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_update_params.rb', line 24

optional :aliases,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::Contracts::RateCardUpdateParams::Alias] }

#descriptionString?

Returns:

  • (String, nil)


30
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_update_params.rb', line 30

optional :description, String

#nameString?

Used only in UI/API. It is not exposed to end customers.

Returns:

  • (String, nil)


36
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_update_params.rb', line 36

optional :name, String

#rate_card_idString

ID of the rate card to update

Returns:

  • (String)


16
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_update_params.rb', line 16

required :rate_card_id, String