Class: DockerEngineRuby::Models::SwarmSpec::TaskDefaults::LogDriver
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(name: nil, options: nil) ⇒ Object
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 263
|
Instance Attribute Details
#name ⇒ String?
256
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 256
optional :name, String, api_name: :Name
|
#options ⇒ Hash{Symbol=>String}?
261
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 261
optional :options, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Options
|
Instance Method Details
#to_hash ⇒ { name: String, options: ::Hash[Symbol, String] }
288
|
# File 'sig/docker_engine_ruby/models/swarm_spec.rbs', line 288
def to_hash: -> { name: String, options: ::Hash[Symbol, String] }
|