Class: DockerEngineRuby::Models::ContainerUpdateParams::Ulimit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::ContainerUpdateParams::Ulimit
- Defined in:
- lib/docker_engine_ruby/models/container_update_params.rb,
sig/docker_engine_ruby/models/container_update_params.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(hard: nil, name: nil, soft: nil) ⇒ Ulimit
constructor
A new instance of Ulimit.
- #to_hash ⇒ { hard: Integer, name: String, soft: Integer }
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(hard: nil, name: nil, soft: nil) ⇒ Ulimit
Returns a new instance of Ulimit.
|
|
# File 'lib/docker_engine_ruby/models/container_update_params.rb', line 530
|
Instance Attribute Details
#hard ⇒ Integer?
518 |
# File 'lib/docker_engine_ruby/models/container_update_params.rb', line 518 optional :hard, Integer, api_name: :Hard |
#name ⇒ String?
523 |
# File 'lib/docker_engine_ruby/models/container_update_params.rb', line 523 optional :name, String, api_name: :Name |
#soft ⇒ Integer?
528 |
# File 'lib/docker_engine_ruby/models/container_update_params.rb', line 528 optional :soft, Integer, api_name: :Soft |
Instance Method Details
#to_hash ⇒ { hard: Integer, name: String, soft: Integer }
426 |
# File 'sig/docker_engine_ruby/models/container_update_params.rbs', line 426
def to_hash: -> { hard: Integer, name: String, soft: Integer }
|