Class: DockerEngineRuby::Models::Plugin::Config::Rootfs

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

Overview

See Also:

  • DockerEngineRuby::Models::Plugin::Config#rootfs

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 ⇒ Rootfs

Returns a new instance of Rootfs.

Parameters:

  • diff_ids: (::Array[String])
  • type: (String)


375
# File 'sig/docker_engine_ruby/models/plugin.rbs', line 375

def initialize: (?diff_ids: ::Array[String], ?type: String) -> void

Instance Attribute Details

#diff_ids ⇒ Array<String>?

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


370
# File 'lib/docker_engine_ruby/models/plugin.rb', line 370

optional :diff_ids, DockerEngineRuby::Internal::Type::ArrayOf[String]

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


375
# File 'lib/docker_engine_ruby/models/plugin.rb', line 375

optional :type, String

Instance Method Details

#to_hash ⇒ { diff_ids: ::Array[String], type: String }

Returns:

  • ({ diff_ids: ::Array[String], type: String })


377
# File 'sig/docker_engine_ruby/models/plugin.rbs', line 377

def to_hash: -> { diff_ids: ::Array[String], type: String }