Class: DockerEngineRuby::Models::ContainerUpdateParams::BlkioDeviceWriteIOp

Inherits:
Internal::Type::BaseModel show all
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

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 ⇒ BlkioDeviceWriteIOp

Returns a new instance of BlkioDeviceWriteIOp.

Parameters:

  • path: (String)
  • rate: (Integer)


306
# File 'sig/docker_engine_ruby/models/container_update_params.rbs', line 306

def initialize: (?path: String, ?rate: Integer) -> void

Instance Attribute Details

#path ⇒ String?

Device path

Parameters:

  • (String)

Returns:

  • (String, nil)


401
# File 'lib/docker_engine_ruby/models/container_update_params.rb', line 401

optional :path, String, api_name: :Path

#rate ⇒ Integer?

Rate

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


407
# File 'lib/docker_engine_ruby/models/container_update_params.rb', line 407

optional :rate, Integer, api_name: :Rate

Instance Method Details

#to_hash ⇒ { path: String, rate: Integer }

Returns:

  • ({ path: String, rate: Integer })


308
# File 'sig/docker_engine_ruby/models/container_update_params.rbs', line 308

def to_hash: -> { path: String, rate: Integer }