Class: Telnyx::Models::SimCards::SimCardAction

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/sim_cards/sim_card_action.rb

Overview

Defined Under Namespace

Modules: ActionType Classes: Status

Instance Attribute Summary collapse

Class Method Summary collapse

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(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.

Parameters:

  • id (String) (defaults to: nil)

    Identifies the resource.

  • action_type (Symbol, Telnyx::Models::SimCards::SimCardAction::ActionType) (defaults to: nil)

    The operation type. It can be one of the following: <br/>

  • created_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was created.

  • record_type (String) (defaults to: nil)
  • settings (Hash{Symbol=>Object}, nil) (defaults to: nil)

    A JSON object representation of the action params.

  • sim_card_id (String) (defaults to: nil)

    The related SIM card identifier.

  • status (Telnyx::Models::SimCards::SimCardAction::Status) (defaults to: nil)
  • updated_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was updated.



# File 'lib/telnyx/models/sim_cards/sim_card_action.rb', line 63

Instance Attribute Details

#statusTelnyx::Models::SimCards::SimCardAction::Status?



11
# File 'lib/telnyx/models/sim_cards/sim_card_action.rb', line 11

optional :status, -> { Telnyx::SimCards::SimCardAction::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/sim_cards/sim_card_action.rb', line 104