Class: DockerEngineAPI::Models::Plugin::Settings::Device
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineAPI::Models::Plugin::Settings::Device
- Defined in:
- lib/docker_engine_api/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.
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 481 482 |
# File 'lib/docker_engine_api/models/plugin.rb', line 456 class Device < DockerEngineAPI::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, DockerEngineAPI::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
460 |
# File 'lib/docker_engine_api/models/plugin.rb', line 460 required :description, String, api_name: :Description |
#name ⇒ String
465 |
# File 'lib/docker_engine_api/models/plugin.rb', line 465 required :name, String, api_name: :Name |
#path ⇒ String
470 |
# File 'lib/docker_engine_api/models/plugin.rb', line 470 required :path, String, api_name: :Path |
#settable ⇒ Array<String>
475 |
# File 'lib/docker_engine_api/models/plugin.rb', line 475 required :settable, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Settable |