Class: Telnyx::Models::GlobalIPAssignmentHealthRetrieveResponse::Data::GlobalIP
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::GlobalIPAssignmentHealthRetrieveResponse::Data::GlobalIP
- Defined in:
- lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb,
sig/telnyx/models/global_ip_assignment_health_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
-
#id ⇒ String?
Global IP ID.
-
#ip_address ⇒ String?
readonly
Returns the value of attribute ip_address.
Instance Method Summary collapse
-
#initialize ⇒ GlobalIP
constructor
A new instance of GlobalIP.
- #ip_address ⇒ String readonly
- #to_hash ⇒ { id: String, ip_address: String }
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 ⇒ GlobalIP
Returns a new instance of GlobalIP.
79 |
# File 'sig/telnyx/models/global_ip_assignment_health_retrieve_response.rbs', line 79
def initialize: (?id: String, ?ip_address: String) -> void
|
Instance Attribute Details
#id ⇒ String?
Global IP ID.
54 |
# File 'lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb', line 54 optional :id, String |
#ip_address ⇒ String? (readonly)
Returns the value of attribute ip_address.
75 76 77 |
# File 'sig/telnyx/models/global_ip_assignment_health_retrieve_response.rbs', line 75 def ip_address @ip_address end |
Instance Method Details
#ip_address= ⇒ String (readonly)
77 |
# File 'sig/telnyx/models/global_ip_assignment_health_retrieve_response.rbs', line 77
def ip_address=: (String) -> String
|
#to_hash ⇒ { id: String, ip_address: String }
81 |
# File 'sig/telnyx/models/global_ip_assignment_health_retrieve_response.rbs', line 81
def to_hash: -> { id: String, ip_address: String }
|