Class: DockerEngineRuby::Models::SystemDataUsageResponse::ContainersDiskUsage

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

Overview

See Also:

  • DockerEngineRuby::Models::SystemDataUsageResponse#containers_disk_usage

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



127
# File 'sig/docker_engine_ruby/models/system_data_usage_response.rbs', line 127

def initialize: (

Instance Attribute Details

#active_count ⇒ Integer?

Count of active containers.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


102
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 102

optional :active_count, Integer, api_name: :ActiveCount

#items ⇒ Array<Object>?

List of container summaries.

Parameters:

  • (::Array[top])

Returns:

  • (Array<Object>, nil)


108
109
110
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 108

optional :items,
DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Internal::Type::Unknown],
api_name: :Items

#reclaimable ⇒ Integer?

Disk space that can be reclaimed by removing inactive containers.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


116
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 116

optional :reclaimable, Integer, api_name: :Reclaimable

#total_count ⇒ Integer?

Count of all containers.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


122
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 122

optional :total_count, Integer, api_name: :TotalCount

#total_size ⇒ Integer?

Disk space in use by containers.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


128
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 128

optional :total_size, Integer, api_name: :TotalSize

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


135
# File 'sig/docker_engine_ruby/models/system_data_usage_response.rbs', line 135

def to_hash: -> {