Class: MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data
- Defined in:
- lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb
Overview
Defined Under Namespace
Classes: Alias, CreditTypeConversion
Instance Attribute Summary collapse
- #aliases ⇒ Array<MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data::Alias>?
- #created_at ⇒ Time
- #created_by ⇒ String
- #credit_type_conversions ⇒ Array<MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data::CreditTypeConversion>?
-
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg.
- #description ⇒ String?
- #fiat_credit_type ⇒ MetronomeSDK::Models::CreditTypeData?
- #id ⇒ String
- #name ⇒ String
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(name: , ending_before: nil, starting_at: nil) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 102
|
Instance Attribute Details
#aliases ⇒ Array<MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data::Alias>?
42 43 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 42 optional :aliases, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data::Alias] } |
#created_at ⇒ Time
27 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 27 required :created_at, Time |
#created_by ⇒ String
32 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 32 required :created_by, String |
#credit_type_conversions ⇒ Array<MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data::CreditTypeConversion>?
48 49 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 48 optional :credit_type_conversions, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V1::Contracts::RateCardRetrieveResponse::Data::CreditTypeConversion] } |
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }
55 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 55 optional :custom_fields, MetronomeSDK::Internal::Type::HashOf[String] |
#description ⇒ String?
60 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 60 optional :description, String |
#fiat_credit_type ⇒ MetronomeSDK::Models::CreditTypeData?
65 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 65 optional :fiat_credit_type, -> { MetronomeSDK::CreditTypeData } |
#id ⇒ String
22 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 22 required :id, String |
#name ⇒ String
37 |
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb', line 37 required :name, String |