Class: DockerEngineRuby::Models::SystemDataUsageResponse::ImagesDiskUsage

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#images_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



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

def initialize: (

Instance Attribute Details

#active_count ⇒ Integer?

Count of active images.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :active_count, Integer, api_name: :ActiveCount

#items ⇒ Array<Object>?

List of image summaries.

Parameters:

  • (::Array[top])

Returns:

  • (Array<Object>, nil)


156
157
158
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 156

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

#reclaimable ⇒ Integer?

Disk space that can be reclaimed by removing unused images.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :reclaimable, Integer, api_name: :Reclaimable

#total_count ⇒ Integer?

Count of all images.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :total_count, Integer, api_name: :TotalCount

#total_size ⇒ Integer?

Disk space in use by images.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :total_size, Integer, api_name: :TotalSize

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


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

def to_hash: -> {