Class: Telnyx::Models::Network
- Inherits:
-
Record
- Object
- Internal::Type::BaseModel
- Record
- Telnyx::Models::Network
- Defined in:
- lib/telnyx/models/network.rb,
sig/telnyx/models/network.rbs
Overview
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ String?
A user specified name for the network.
Attributes inherited from Record
#created_at, #id, #record_type, #updated_at
Instance Method Summary collapse
-
#initialize(name: nil) ⇒ Network
constructor
A new instance of Network.
- #to_hash ⇒ { name: String }
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(name: nil) ⇒ Network
Returns a new instance of Network.
|
|
# File 'lib/telnyx/models/network.rb', line 13
|
Instance Attribute Details
#name ⇒ String?
A user specified name for the network.
11 |
# File 'lib/telnyx/models/network.rb', line 11 optional :name, String |
Instance Method Details
#to_hash ⇒ { name: String }
12 |
# File 'sig/telnyx/models/network.rbs', line 12
def to_hash: -> { name: String }
|