Class: DockerEngineRuby::Models::Plugin::Config::Network
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::Plugin::Config::Network
- Defined in:
- lib/docker_engine_ruby/models/plugin.rb,
sig/docker_engine_ruby/models/plugin.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Network
constructor
A new instance of Network.
- #to_hash ⇒ { type: 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 ⇒ Network
Returns a new instance of Network.
359 |
# File 'sig/docker_engine_ruby/models/plugin.rbs', line 359
def initialize: (type: String) -> void
|
Instance Attribute Details
#type ⇒ String
359 |
# File 'lib/docker_engine_ruby/models/plugin.rb', line 359 required :type, String, api_name: :Type |
Instance Method Details
#to_hash ⇒ { type: String }
361 |
# File 'sig/docker_engine_ruby/models/plugin.rbs', line 361
def to_hash: -> { type: String }
|