Class: Telnyx::Models::SimCardGetPublicIPResponse::Data

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

Overview

See Also:

  • Telnyx::Models::SimCardGetPublicIPResponse#data

Defined Under Namespace

Modules: Type

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(created_at: nil, ip: nil, record_type: nil, region_code: nil, sim_card_id: nil, type: nil, updated_at: nil) ⇒ Object

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

Parameters:

  • created_at (String) (defaults to: nil)

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

  • ip (String) (defaults to: nil)

    The provisioned IP address. This attribute will only be available when underlyin

  • record_type (String) (defaults to: nil)
  • region_code (String) (defaults to: nil)
  • sim_card_id (String) (defaults to: nil)
  • type (Symbol, Telnyx::Models::SimCardGetPublicIPResponse::Data::Type) (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_card_get_public_ip_response.rb', line 58

Instance Attribute Details

#created_atString? (readonly)

Returns the value of attribute created_at.

Returns:

  • (String, nil)


35
36
37
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 35

def created_at
  @created_at
end

#ipString? (readonly)

Returns the value of attribute ip.

Returns:

  • (String, nil)


39
40
41
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 39

def ip
  @ip
end

#record_typeString? (readonly)

Returns the value of attribute record_type.

Returns:

  • (String, nil)


43
44
45
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 43

def record_type
  @record_type
end

#region_codeString? (readonly)

Returns the value of attribute region_code.

Returns:

  • (String, nil)


47
48
49
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 47

def region_code
  @region_code
end

#sim_card_idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


20
# File 'lib/telnyx/models/sim_card_get_public_ip_response.rb', line 20

optional :sim_card_id, String

#typeTelnyx::Models::SimCardGetPublicIPResponse::Data::type_? (readonly)

Returns the value of attribute type.

Returns:

  • (Telnyx::Models::SimCardGetPublicIPResponse::Data::type_, nil)


51
52
53
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 51

def type
  @type
end

#updated_atString? (readonly)

Returns the value of attribute updated_at.

Returns:

  • (String, nil)


57
58
59
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 57

def updated_at
  @updated_at
end

Instance Method Details

#created_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


37
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 37

def created_at=: (String) -> String

#ip=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


41
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 41

def ip=: (String) -> String

#record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


45
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 45

def record_type=: (String) -> String

#region_code=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


49
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 49

def region_code=: (String) -> String

#to_hash{

Returns:

  • ({)


71
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 71

def to_hash: -> {

#type=Object (readonly)



53
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 53

def type=: (

#updated_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


59
# File 'sig/telnyx/models/sim_card_get_public_ip_response.rbs', line 59

def updated_at=: (String) -> String