Class: Telnyx::Models::IP

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

Overview

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(id: nil, connection_id: nil, created_at: nil, ip_address: nil, port: nil, record_type: nil, updated_at: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    Identifies the type of resource.

  • connection_id (String) (defaults to: nil)

    ID of the IP Connection to which this IP should be attached.

  • created_at (String) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • ip_address (String) (defaults to: nil)

    IP adddress represented by this resource.

  • port (Integer) (defaults to: nil)

    Port to use when connecting to this IP.

  • record_type (String) (defaults to: nil)

    Identifies the type of the resource.

  • updated_at (String) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.



# File 'lib/telnyx/models/ip.rb', line 49

Instance Attribute Details

#connection_idString?

ID of the IP Connection to which this IP should be attached.

Returns:

  • (String, nil)


17
# File 'lib/telnyx/models/ip.rb', line 17

optional :connection_id, String

#created_atString?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (String, nil)


23
# File 'lib/telnyx/models/ip.rb', line 23

optional :created_at, String

#idString?

Identifies the type of resource.

Returns:

  • (String, nil)


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

optional :id, String

#ip_addressString?

IP adddress represented by this resource.

Returns:

  • (String, nil)


29
# File 'lib/telnyx/models/ip.rb', line 29

optional :ip_address, String

#portInteger?

Port to use when connecting to this IP.

Returns:

  • (Integer, nil)


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

optional :port, Integer

#record_typeString?

Identifies the type of the resource.

Returns:

  • (String, nil)


41
# File 'lib/telnyx/models/ip.rb', line 41

optional :record_type, String

#updated_atString?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (String, nil)


47
# File 'lib/telnyx/models/ip.rb', line 47

optional :updated_at, String