Class: Telnyx::Models::GlobalIPAssignmentsUsageRetrieveResponse::Data::GlobalIP
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::GlobalIPAssignmentsUsageRetrieveResponse::Data::GlobalIP
- Defined in:
- lib/telnyx/models/global_ip_assignments_usage_retrieve_response.rb,
sig/telnyx/models/global_ip_assignments_usage_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.
88 |
# File 'sig/telnyx/models/global_ip_assignments_usage_retrieve_response.rbs', line 88
def initialize: (?id: String, ?ip_address: String) -> void
|
Instance Attribute Details
#id ⇒ String?
Global IP ID.
61 |
# File 'lib/telnyx/models/global_ip_assignments_usage_retrieve_response.rb', line 61 optional :id, String |
#ip_address ⇒ String? (readonly)
Returns the value of attribute ip_address.
84 85 86 |
# File 'sig/telnyx/models/global_ip_assignments_usage_retrieve_response.rbs', line 84 def ip_address @ip_address end |
Instance Method Details
#ip_address= ⇒ String (readonly)
86 |
# File 'sig/telnyx/models/global_ip_assignments_usage_retrieve_response.rbs', line 86
def ip_address=: (String) -> String
|
#to_hash ⇒ { id: String, ip_address: String }
90 |
# File 'sig/telnyx/models/global_ip_assignments_usage_retrieve_response.rbs', line 90
def to_hash: -> { id: String, ip_address: String }
|