Class: Telnyx::Models::GlobalIP
- Inherits:
-
Record
- Object
- Internal::Type::BaseModel
- Record
- Telnyx::Models::GlobalIP
- Defined in:
- lib/telnyx/models/global_ip.rb,
sig/telnyx/models/global_ip.rbs
Overview
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ String?
A user specified description for the address.
-
#name ⇒ String?
A user specified name for the address.
-
#ports ⇒ Hash{Symbol=>Object}?
A Global IP ports grouped by protocol code.
Attributes inherited from Record
#created_at, #id, #record_type, #updated_at
Instance Method Summary collapse
- #initialize(description: nil, ip_address: nil, name: nil, ports: nil) ⇒ Object constructor
- #ip_address ⇒ String?
- #ip_address= ⇒ String
- #to_hash ⇒ {
Methods inherited from Record
#created_at=, #id=, #record_type=, #updated_at=
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
|
|
# File 'lib/telnyx/models/global_ip.rb', line 33
|
Instance Attribute Details
#description ⇒ String?
A user specified description for the address.
11 |
# File 'lib/telnyx/models/global_ip.rb', line 11 optional :description, String |
#name ⇒ String?
A user specified name for the address.
17 |
# File 'lib/telnyx/models/global_ip.rb', line 17 optional :name, String |
Instance Method Details
#ip_address ⇒ String?
24 |
# File 'sig/telnyx/models/global_ip.rbs', line 24
def ip_address: -> String?
|
#ip_address= ⇒ String
26 |
# File 'sig/telnyx/models/global_ip.rbs', line 26
def ip_address=: (String _) -> String
|
#to_hash ⇒ {
35 |
# File 'sig/telnyx/models/global_ip.rbs', line 35
def to_hash: -> {
|