Class: Telnyx::Models::PrivateWirelessGatewayStatus

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

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(error_code: nil, error_description: nil, value: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::PrivateWirelessGatewayStatus for more details.

The current status or failure details of the Private Wireless Gateway.

Parameters:



# File 'lib/telnyx/models/private_wireless_gateway_status.rb', line 35

Instance Attribute Details

#error_codeString?

Returns the value of attribute error_code.

Returns:

  • (String, nil)


11
12
13
# File 'sig/telnyx/models/private_wireless_gateway_status.rbs', line 11

def error_code
  @error_code
end

#error_descriptionString?

Returns the value of attribute error_description.

Returns:

  • (String, nil)


13
14
15
# File 'sig/telnyx/models/private_wireless_gateway_status.rbs', line 13

def error_description
  @error_description
end

#valueTelnyx::Models::PrivateWirelessGatewayStatus::value? (readonly)

Returns the value of attribute value.

Returns:

  • (Telnyx::Models::PrivateWirelessGatewayStatus::value, nil)


15
16
17
# File 'sig/telnyx/models/private_wireless_gateway_status.rbs', line 15

def value
  @value
end

Instance Method Details

#to_hash{

Returns:

  • ({)


27
# File 'sig/telnyx/models/private_wireless_gateway_status.rbs', line 27

def to_hash: -> {

#value=Object (readonly)



17
# File 'sig/telnyx/models/private_wireless_gateway_status.rbs', line 17

def value=: (