Class: DockerEngineRuby::Models::Service::Endpoint::VirtualIP
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::Service::Endpoint::VirtualIP
- Defined in:
- lib/docker_engine_ruby/models/service.rb,
sig/docker_engine_ruby/models/service.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ VirtualIP
constructor
A new instance of VirtualIP.
- #to_hash ⇒ { addr: String, network_id: 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 ⇒ VirtualIP
Returns a new instance of VirtualIP.
327 |
# File 'sig/docker_engine_ruby/models/service.rbs', line 327
def initialize: (?addr: String, ?network_id: String) -> void
|
Instance Attribute Details
#addr ⇒ String?
345 |
# File 'lib/docker_engine_ruby/models/service.rb', line 345 optional :addr, String, api_name: :Addr |
#network_id ⇒ String?
350 |
# File 'lib/docker_engine_ruby/models/service.rb', line 350 optional :network_id, String, api_name: :NetworkID |
Instance Method Details
#to_hash ⇒ { addr: String, network_id: String }
329 |
# File 'sig/docker_engine_ruby/models/service.rbs', line 329
def to_hash: -> { addr: String, network_id: String }
|