Class: DockerEngineRuby::Models::Task::Status::ContainerStatus

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_ruby/models/task.rb,
sig/docker_engine_ruby/models/task.rbs

Overview

See Also:

  • DockerEngineRuby::Models::Task::Status#container_status

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



310
# File 'sig/docker_engine_ruby/models/task.rbs', line 310

def initialize: (

Instance Attribute Details

#container_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


297
# File 'lib/docker_engine_ruby/models/task.rb', line 297

optional :container_id, String, api_name: :ContainerID

#exit_code ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


302
# File 'lib/docker_engine_ruby/models/task.rb', line 302

optional :exit_code, Integer, api_name: :ExitCode

#pid ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


307
# File 'lib/docker_engine_ruby/models/task.rb', line 307

optional :pid, Integer, api_name: :PID

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


316
# File 'sig/docker_engine_ruby/models/task.rbs', line 316

def to_hash: -> {