Class: DockerEngine::Models::Plugin::Settings::Device
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngine::Models::Plugin::Settings::Device
- Defined in:
- lib/docker_engine/models/plugin.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(args:, devices:, env:, mounts:) ⇒ Object
constructor
user-configurable settings for the plugin.
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(args:, devices:, env:, mounts:) ⇒ Object
user-configurable settings for the plugin.
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 |
# File 'lib/docker_engine/models/plugin.rb', line 454 class Device < DockerEngine::Internal::Type::BaseModel # @!attribute description # # @return [String] required :description, String, api_name: :Description # @!attribute name # # @return [String] required :name, String, api_name: :Name # @!attribute path # # @return [String] required :path, String, api_name: :Path # @!attribute settable # # @return [Array<String>] required :settable, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Settable # @!method initialize(description:, name:, path:, settable:) # @param description [String] # @param name [String] # @param path [String] # @param settable [Array<String>] end |
Instance Attribute Details
#description ⇒ String
458 |
# File 'lib/docker_engine/models/plugin.rb', line 458 required :description, String, api_name: :Description |
#name ⇒ String
463 |
# File 'lib/docker_engine/models/plugin.rb', line 463 required :name, String, api_name: :Name |
#path ⇒ String
468 |
# File 'lib/docker_engine/models/plugin.rb', line 468 required :path, String, api_name: :Path |
#settable ⇒ Array<String>
473 |
# File 'lib/docker_engine/models/plugin.rb', line 473 required :settable, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Settable |