Class: DockerEngineRuby::Models::TaskSpec::Resources::Reservations
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::TaskSpec::Resources::Reservations
- Defined in:
- lib/docker_engine_ruby/models/task_spec.rb
Overview
Defined Under Namespace
Classes: GenericResource
Instance Attribute Summary collapse
- #generic_resources ⇒ Array<DockerEngineRuby::Models::TaskSpec::Resources::Reservations::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::TaskSpec::Resources::Reservations::GenericResource>?
1308 1309 1310 1311 1312 |
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 1308 optional :generic_resources, -> { DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::TaskSpec::Resources::Reservations::GenericResource] }, api_name: :GenericResources |
#memory_bytes ⇒ Integer?
1317 |
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 1317 optional :memory_bytes, Integer, api_name: :MemoryBytes |
#nano_cpus ⇒ Integer?
1322 |
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 1322 optional :nano_cpus, Integer, api_name: :NanoCPUs |