Class: Telnyx::Models::SimCardGetActivationCodeResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::SimCardGetActivationCodeResponse::Data
- Defined in:
- lib/telnyx/models/sim_card_get_activation_code_response.rb,
sig/telnyx/models/sim_card_get_activation_code_response.rbs
Overview
Instance Attribute Summary collapse
-
#activation_code ⇒ String?
readonly
Returns the value of attribute activation_code.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
Instance Method Summary collapse
- #activation_code ⇒ String readonly
-
#initialize(activation_code: nil, record_type: nil) ⇒ Data
constructor
A new instance of Data.
- #record_type ⇒ String readonly
- #to_hash ⇒ { activation_code: String, record_type: 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(activation_code: nil, record_type: nil) ⇒ Data
Returns a new instance of Data.
|
|
# File 'lib/telnyx/models/sim_card_get_activation_code_response.rb', line 30
|
Instance Attribute Details
#activation_code ⇒ String? (readonly)
Returns the value of attribute activation_code.
24 25 26 |
# File 'sig/telnyx/models/sim_card_get_activation_code_response.rbs', line 24 def activation_code @activation_code end |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
28 29 30 |
# File 'sig/telnyx/models/sim_card_get_activation_code_response.rbs', line 28 def record_type @record_type end |
Instance Method Details
#activation_code= ⇒ String (readonly)
26 |
# File 'sig/telnyx/models/sim_card_get_activation_code_response.rbs', line 26
def activation_code=: (String) -> String
|
#record_type= ⇒ String (readonly)
30 |
# File 'sig/telnyx/models/sim_card_get_activation_code_response.rbs', line 30
def record_type=: (String) -> String
|
#to_hash ⇒ { activation_code: String, record_type: String }
34 |
# File 'sig/telnyx/models/sim_card_get_activation_code_response.rbs', line 34
def to_hash: -> { activation_code: String, record_type: String }
|