Class: Telnyx::Models::Rcs::StockSymbolBrandIdentifier
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Rcs::StockSymbolBrandIdentifier
- Defined in:
- lib/telnyx/models/rcs/stock_symbol_brand_identifier.rb,
sig/telnyx/models/rcs/stock_symbol_brand_identifier.rbs
Instance Attribute Summary collapse
- #identifier_type ⇒ Symbol, :STOCK_SYMBOL
-
#value ⇒ String
A stock symbol using EXCHANGE:SYMBOL.
Instance Method Summary collapse
-
#initialize(value:, identifier_type: :STOCK_SYMBOL) ⇒ StockSymbolBrandIdentifier
constructor
A new instance of StockSymbolBrandIdentifier.
- #to_hash ⇒ { identifier_type: :STOCK_SYMBOL, value: String }
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(value:, identifier_type: :STOCK_SYMBOL) ⇒ StockSymbolBrandIdentifier
Returns a new instance of StockSymbolBrandIdentifier.
|
|
# File 'lib/telnyx/models/rcs/stock_symbol_brand_identifier.rb', line 18
|
Instance Attribute Details
#identifier_type ⇒ Symbol, :STOCK_SYMBOL
10 |
# File 'lib/telnyx/models/rcs/stock_symbol_brand_identifier.rb', line 10 required :identifier_type, const: :STOCK_SYMBOL |
#value ⇒ String
A stock symbol using EXCHANGE:SYMBOL.
16 |
# File 'lib/telnyx/models/rcs/stock_symbol_brand_identifier.rb', line 16 required :value, String |
Instance Method Details
#to_hash ⇒ { identifier_type: :STOCK_SYMBOL, value: String }
14 |
# File 'sig/telnyx/models/rcs/stock_symbol_brand_identifier.rbs', line 14
def to_hash: -> { identifier_type: :STOCK_SYMBOL, value: String }
|