Class: DockerEngineAPI::Models::ContainerPruneResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_api/models/container_prune_response.rb

Overview

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(containers_deleted: nil, space_reclaimed: nil) ⇒ Object

Parameters:

  • containers_deleted (Array<String>) (defaults to: nil)

    Container IDs that were deleted

  • space_reclaimed (Integer) (defaults to: nil)

    Disk space reclaimed in bytes



# File 'lib/docker_engine_api/models/container_prune_response.rb', line 21


Instance Attribute Details

#containers_deletedArray<String>?

Container IDs that were deleted

Returns:

  • (Array<String>, nil)


11
12
13
# File 'lib/docker_engine_api/models/container_prune_response.rb', line 11

optional :containers_deleted,
DockerEngineAPI::Internal::Type::ArrayOf[String],
api_name: :ContainersDeleted

#space_reclaimedInteger?

Disk space reclaimed in bytes

Returns:

  • (Integer, nil)


19
# File 'lib/docker_engine_api/models/container_prune_response.rb', line 19

optional :space_reclaimed, Integer, api_name: :SpaceReclaimed