Class: Telnyx::Models::GlobalIPAssignmentHealthRetrieveResponse::Data::GlobalIPAssignment::WireguardPeer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::GlobalIPAssignmentHealthRetrieveResponse::Data::GlobalIPAssignment::WireguardPeer
- 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
-
#ip_address ⇒ String?
The IP address of the interface.
-
#name ⇒ String?
A user specified name for the interface.
Instance Method Summary collapse
-
#initialize ⇒ WireguardPeer
constructor
A new instance of WireguardPeer.
- #to_hash ⇒ { ip_address: String, name: 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 ⇒ WireguardPeer
Returns a new instance of WireguardPeer.
129 |
# File 'sig/telnyx/models/global_ip_assignment_health_retrieve_response.rbs', line 129
def initialize: (?ip_address: String, ?name: String) -> void
|
Instance Attribute Details
#ip_address ⇒ String?
The IP address of the interface.
103 |
# File 'lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb', line 103 optional :ip_address, String |
#name ⇒ String?
A user specified name for the interface.
109 |
# File 'lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb', line 109 optional :name, String |
Instance Method Details
#to_hash ⇒ { ip_address: String, name: String }
131 |
# File 'sig/telnyx/models/global_ip_assignment_health_retrieve_response.rbs', line 131
def to_hash: -> { ip_address: String, name: String }
|