Class: DockerEngineRuby::Models::Volume::ClusterVolume::PublishStatus

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_ruby/models/volume.rb

Defined Under Namespace

Modules: State

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(node_id: nil, publish_context: nil, state: nil) ⇒ Object

Parameters:



# File 'lib/docker_engine_ruby/models/volume.rb', line 245


Instance Attribute Details

#node_idString?

Returns:

  • (String, nil)


229
# File 'lib/docker_engine_ruby/models/volume.rb', line 229

optional :node_id, String, api_name: :NodeID

#publish_contextHash{Symbol=>String}?

Returns:

  • (Hash{Symbol=>String}, nil)


234
235
236
# File 'lib/docker_engine_ruby/models/volume.rb', line 234

optional :publish_context,
DockerEngineRuby::Internal::Type::HashOf[String],
api_name: :PublishContext

#stateSymbol, ...



241
242
243
# File 'lib/docker_engine_ruby/models/volume.rb', line 241

optional :state,
enum: -> { DockerEngineRuby::Volume::ClusterVolume::PublishStatus::State },
api_name: :State