Class: Telnyx::Models::SimCards::WirelessSimCardAction::Status

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

Overview

See Also:

  • Telnyx::Models::SimCards::WirelessSimCardAction#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::WirelessSimCardAction::Status for more details.

Parameters:



# File 'lib/telnyx/models/sim_cards/wireless_sim_card_action.rb', line 133

Instance Attribute Details

#reasonString? (readonly)

Returns the value of attribute reason.

Returns:

  • (String, nil)


101
102
103
# File 'sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs', line 101

def reason
  @reason
end

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

Returns the value of attribute value.

Returns:

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


105
106
107
# File 'sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs', line 105

def value
  @value
end

Instance Method Details

#reason=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


103
# File 'sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs', line 103

def reason=: (String) -> String

#to_hash{

Returns:

  • ({)


116
# File 'sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs', line 116

def to_hash: -> {

#value=Object (readonly)



107
# File 'sig/telnyx/models/sim_cards/wireless_sim_card_action.rbs', line 107

def value=: (