Class: Telnyx::Models::GlobalIPRetrieveResponse::Data

Inherits:
Record show all
Defined in:
lib/telnyx/models/global_ip_retrieve_response.rb

Overview

See Also:

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(description: nil, ip_address: nil, name: nil, ports: nil) ⇒ Object

Parameters:

  • description (String) (defaults to: nil)

    A user specified description for the address.

  • ip_address (String) (defaults to: nil)

    The Global IP address.

  • name (String) (defaults to: nil)

    A user specified name for the address.

  • ports (Hash{Symbol=>Object}) (defaults to: nil)

    A Global IP ports grouped by protocol code.



# File 'lib/telnyx/models/global_ip_retrieve_response.rb', line 43

Instance Attribute Details

#descriptionString?

A user specified description for the address.

Returns:

  • (String, nil)


21
# File 'lib/telnyx/models/global_ip_retrieve_response.rb', line 21

optional :description, String

#nameString?

A user specified name for the address.

Returns:

  • (String, nil)


27
# File 'lib/telnyx/models/global_ip_retrieve_response.rb', line 27

optional :name, String

#portsHash{Symbol=>Object}?

A Global IP ports grouped by protocol code.

Returns:

  • (Hash{Symbol=>Object}, nil)


33
# File 'lib/telnyx/models/global_ip_retrieve_response.rb', line 33

optional :ports, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]