Class: Stigg::Models::V1::CreditGetUsageResponse::Data::Currency
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::CreditGetUsageResponse::Data::Currency
- Defined in:
- lib/stigg/models/v1/credit_get_usage_response.rb,
sig/stigg/models/v1/credit_get_usage_response.rbs
Overview
Instance Attribute Summary collapse
-
#currency_id ⇒ String
The currency identifier.
-
#display_name ⇒ String
The display name of the currency.
-
#plural ⇒ String?
Plural unit label.
-
#singular ⇒ String?
Singular unit label.
-
#symbol ⇒ String?
The currency symbol.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
64 |
# File 'sig/stigg/models/v1/credit_get_usage_response.rbs', line 64
def initialize: (
|
Instance Attribute Details
#currency_id ⇒ String
The currency identifier
60 |
# File 'lib/stigg/models/v1/credit_get_usage_response.rb', line 60 required :currency_id, String, api_name: :currencyId |
#display_name ⇒ String
The display name of the currency
66 |
# File 'lib/stigg/models/v1/credit_get_usage_response.rb', line 66 required :display_name, String, api_name: :displayName |
#plural ⇒ String?
Plural unit label
72 |
# File 'lib/stigg/models/v1/credit_get_usage_response.rb', line 72 required :plural, String, nil?: true |
#singular ⇒ String?
Singular unit label
78 |
# File 'lib/stigg/models/v1/credit_get_usage_response.rb', line 78 required :singular, String, nil?: true |
#symbol ⇒ String?
The currency symbol
84 |
# File 'lib/stigg/models/v1/credit_get_usage_response.rb', line 84 required :symbol, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
72 |
# File 'sig/stigg/models/v1/credit_get_usage_response.rbs', line 72
def to_hash: -> {
|