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

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

Overview

See Also:

  • Telnyx::Models::SimCards::SimCardAction#status

Defined Under Namespace

Modules: Value

Instance Attribute 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(reason: nil, value: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::SimCards::SimCardAction::Status for more details.

Parameters:



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

Instance Attribute Details

#reasonString? (readonly)

Returns the value of attribute reason.

Returns:

  • (String, nil)


96
97
98
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 96

def reason
  @reason
end

#valueTelnyx::Models::SimCards::SimCardAction::Status::value? (readonly)

Returns the value of attribute value.

Returns:

  • (Telnyx::Models::SimCards::SimCardAction::Status::value, nil)


100
101
102
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 100

def value
  @value
end

Instance Method Details

#reason=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


98
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 98

def reason=: (String) -> String

#to_hash{

Returns:

  • ({)


111
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 111

def to_hash: -> {

#value=Object (readonly)



102
# File 'sig/telnyx/models/sim_cards/sim_card_action.rbs', line 102

def value=: (