Class: DockerEngineRuby::Models::Plugin::Settings::Device
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(args:, devices:, env:, mounts:) ⇒ Object
user-configurable settings for the plugin.
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
|
# File 'lib/docker_engine_ruby/models/plugin.rb', line 434
class Device < DockerEngineRuby::Internal::Type::BaseModel
required :description, String, api_name: :Description
required :name, String, api_name: :Name
required :path, String, api_name: :Path
required :settable, DockerEngineRuby::Internal::Type::ArrayOf[String], api_name: :Settable
end
|
Instance Attribute Details
#description ⇒ String
438
|
# File 'lib/docker_engine_ruby/models/plugin.rb', line 438
required :description, String, api_name: :Description
|
#name ⇒ String
443
|
# File 'lib/docker_engine_ruby/models/plugin.rb', line 443
required :name, String, api_name: :Name
|
#path ⇒ String
448
|
# File 'lib/docker_engine_ruby/models/plugin.rb', line 448
required :path, String, api_name: :Path
|
#settable ⇒ Array<String>
453
|
# File 'lib/docker_engine_ruby/models/plugin.rb', line 453
required :settable, DockerEngineRuby::Internal::Type::ArrayOf[String], api_name: :Settable
|
Instance Method Details
#to_hash ⇒ {
452
|
# File 'sig/docker_engine_ruby/models/plugin.rbs', line 452
def to_hash: -> {
|