Class: DockerEngineRuby::Models::TaskLogsParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/docker_engine_ruby/models/task_logs_params.rb,
sig/docker_engine_ruby/models/task_logs_params.rbs

Overview

See Also:

  • DockerEngineRuby::Resources::Tasks#logs

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::DockerEngineRuby

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(id:, details: nil, follow: nil, since: nil, stderr: nil, stdout: nil, tail: nil, timestamps: nil, request_options: {}) ⇒ Object

Parameters:

  • id (String)
  • details (Boolean) (defaults to: nil)
  • follow (Boolean) (defaults to: nil)
  • since (Integer) (defaults to: nil)
  • stderr (Boolean) (defaults to: nil)
  • stdout (Boolean) (defaults to: nil)
  • tail (String) (defaults to: nil)
  • timestamps (Boolean) (defaults to: nil)
  • request_options (DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 50

Instance Attribute Details

#details ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


18
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 18

optional :details, DockerEngineRuby::Internal::Type::Boolean

#follow ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


23
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 23

optional :follow, DockerEngineRuby::Internal::Type::Boolean

#id ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


13
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 13

required :id, String

#since ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


28
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 28

optional :since, Integer

#stderr ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


33
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 33

optional :stderr, DockerEngineRuby::Internal::Type::Boolean

#stdout ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


38
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 38

optional :stdout, DockerEngineRuby::Internal::Type::Boolean

#tail ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


43
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 43

optional :tail, String

#timestamps ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


48
# File 'lib/docker_engine_ruby/models/task_logs_params.rb', line 48

optional :timestamps, DockerEngineRuby::Internal::Type::Boolean

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


62
# File 'sig/docker_engine_ruby/models/task_logs_params.rbs', line 62

def to_hash: -> {