Class: Telnyx::Models::SimCards::SimCardAction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::SimCards::SimCardAction
- Defined in:
- lib/telnyx/models/sim_cards/sim_card_action.rb,
sig/telnyx/models/sim_cards/sim_card_action.rbs
Overview
Defined Under Namespace
Modules: ActionType Classes: Status
Instance Attribute Summary collapse
-
#action_type ⇒ Telnyx::Models::SimCards::SimCardAction::action_type?
readonly
Returns the value of attribute action_type.
-
#created_at ⇒ String?
readonly
Returns the value of attribute created_at.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#settings ⇒ ::Hash[Symbol, top]?
Returns the value of attribute settings.
-
#sim_card_id ⇒ String?
readonly
Returns the value of attribute sim_card_id.
- #status ⇒ Telnyx::Models::SimCards::SimCardAction::Status?
-
#updated_at ⇒ String?
readonly
Returns the value of attribute updated_at.
Class Method Summary collapse
Instance Method Summary collapse
- #action_type ⇒ Object readonly
- #created_at ⇒ String readonly
- #id ⇒ String readonly
-
#initialize(id: nil, action_type: nil, created_at: nil, record_type: nil, settings: nil, sim_card_id: nil, status: nil, updated_at: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SimCardAction for more details.
- #record_type ⇒ String readonly
- #sim_card_id ⇒ String readonly
- #to_hash ⇒ {
- #updated_at ⇒ String readonly
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(id: nil, action_type: nil, created_at: nil, record_type: nil, settings: nil, sim_card_id: nil, status: nil, updated_at: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::SimCards::SimCardAction for more details.
This object represents a SIM card action. It allows tracking the current status of an operation that impacts the SIM card.
|
|
# File 'lib/telnyx/models/sim_cards/sim_card_action.rb', line 63
|
Instance Attribute Details
#action_type ⇒ Telnyx::Models::SimCards::SimCardAction::action_type? (readonly)
Returns the value of attribute action_type.
29 30 31 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 29 def action_type @action_type end |
#created_at ⇒ String? (readonly)
Returns the value of attribute created_at.
35 36 37 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 35 def created_at @created_at end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
25 26 27 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 25 def id @id end |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
39 40 41 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 39 def record_type @record_type end |
#settings ⇒ ::Hash[Symbol, top]?
Returns the value of attribute settings.
43 44 45 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 43 def settings @settings end |
#sim_card_id ⇒ String? (readonly)
Returns the value of attribute sim_card_id.
45 46 47 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 45 def sim_card_id @sim_card_id end |
#status ⇒ Telnyx::Models::SimCards::SimCardAction::Status?
11 |
# File 'lib/telnyx/models/sim_cards/sim_card_action.rb', line 11 optional :status, -> { Telnyx::SimCards::SimCardAction::Status } |
#updated_at ⇒ String? (readonly)
Returns the value of attribute updated_at.
49 50 51 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 49 def updated_at @updated_at end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/sim_cards/sim_card_action.rb', line 104
|
Instance Method Details
#action_type= ⇒ Object (readonly)
31 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 31
def action_type=: (
|
#created_at= ⇒ String (readonly)
37 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 37
def created_at=: (String) -> String
|
#id= ⇒ String (readonly)
27 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 27
def id=: (String) -> String
|
#record_type= ⇒ String (readonly)
41 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 41
def record_type=: (String) -> String
|
#sim_card_id= ⇒ String (readonly)
47 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 47
def sim_card_id=: (String) -> String
|
#to_hash ⇒ {
64 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 64
def to_hash: -> {
|
#updated_at= ⇒ String (readonly)
51 |
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 51
def updated_at=: (String) -> String
|