Class: DockerEngineRuby::Models::NetworkCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::NetworkCreateResponse
- Defined in:
- lib/docker_engine_ruby/models/network_create_response.rb,
sig/docker_engine_ruby/models/network_create_response.rbs
Overview
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of the created network.
-
#warning ⇒ String
Warnings encountered when creating the container.
Instance Method Summary collapse
-
#initialize(id:, warning:) ⇒ NetworkCreateResponse
constructor
OK response to NetworkCreate operation.
- #to_hash ⇒ { id: String, warning: 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(id:, warning:) ⇒ NetworkCreateResponse
OK response to NetworkCreate operation
|
|
# File 'lib/docker_engine_ruby/models/network_create_response.rb', line 19
|
Instance Attribute Details
#id ⇒ String
The ID of the created network.
11 |
# File 'lib/docker_engine_ruby/models/network_create_response.rb', line 11 required :id, String, api_name: :Id |
#warning ⇒ String
Warnings encountered when creating the container
17 |
# File 'lib/docker_engine_ruby/models/network_create_response.rb', line 17 required :warning, String, api_name: :Warning |
Instance Method Details
#to_hash ⇒ { id: String, warning: String }
12 |
# File 'sig/docker_engine_ruby/models/network_create_response.rbs', line 12
def to_hash: -> { id: String, warning: String }
|