Class: DockerEngineRuby::Models::Volume::ClusterVolume::Spec::AccessMode::AccessibilityRequirements

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

Overview

See Also:

  • DockerEngineRuby::Models::Volume::ClusterVolume::Spec::AccessMode#accessibility_requirements

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



369
# File 'sig/docker_engine_ruby/models/volume.rbs', line 369

def initialize: (

Instance Attribute Details

#preferred ⇒ Array<Hash{Symbol=>String}>?

Returns:

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


365
366
367
# File 'lib/docker_engine_ruby/models/volume.rb', line 365

optional :preferred,
DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Internal::Type::HashOf[String]],
api_name: :Preferred

#requisite ⇒ Array<Hash{Symbol=>String}>?

Returns:

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


372
373
374
# File 'lib/docker_engine_ruby/models/volume.rb', line 372

optional :requisite,
DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Internal::Type::HashOf[String]],
api_name: :Requisite

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


374
# File 'sig/docker_engine_ruby/models/volume.rbs', line 374

def to_hash: -> {