Class: DockerEngineRuby::Models::Node::Description::Resources
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::Node::Description::Resources
- Defined in:
- lib/docker_engine_ruby/models/node.rb
Overview
Defined Under Namespace
Classes: GenericResource
Instance Attribute Summary collapse
- #generic_resources ⇒ Array<DockerEngineRuby::Models::Node::Description::Resources::GenericResource>?
- #memory_bytes ⇒ Integer?
- #nano_cpus ⇒ Integer?
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from DockerEngineRuby::Internal::Type::BaseModel
Instance Attribute Details
#generic_resources ⇒ Array<DockerEngineRuby::Models::Node::Description::Resources::GenericResource>?
214 215 216 217 218 |
# File 'lib/docker_engine_ruby/models/node.rb', line 214 optional :generic_resources, -> { DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Node::Description::Resources::GenericResource] }, api_name: :GenericResources |
#memory_bytes ⇒ Integer?
223 |
# File 'lib/docker_engine_ruby/models/node.rb', line 223 optional :memory_bytes, Integer, api_name: :MemoryBytes |
#nano_cpus ⇒ Integer?
228 |
# File 'lib/docker_engine_ruby/models/node.rb', line 228 optional :nano_cpus, Integer, api_name: :NanoCPUs |