Class: DockerEngineRuby::Models::Task::Status::PortStatus

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

Overview

See Also:

  • DockerEngineRuby::Models::Task::Status#port_status

Defined Under Namespace

Classes: Port

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



333
# File 'sig/docker_engine_ruby/models/task.rbs', line 333

def initialize: (

Instance Attribute Details

#ports ⇒ Array<DockerEngineRuby::Models::Task::Status::PortStatus::Port>?



322
323
324
325
326
# File 'lib/docker_engine_ruby/models/task.rb', line 322

optional :ports,
-> {
  DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Task::Status::PortStatus::Port]
},
api_name: :Ports

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


337
# File 'sig/docker_engine_ruby/models/task.rbs', line 337

def to_hash: -> {