Class: DockerEngineRuby::Models::ImageSearchResponseItem

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

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



33
# File 'sig/docker_engine_ruby/models/image_search_response.rbs', line 33

def initialize: (

Instance Attribute Details

#description ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


9
# File 'lib/docker_engine_ruby/models/image_search_response.rb', line 9

optional :description, String

#is_automated ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


14
# File 'lib/docker_engine_ruby/models/image_search_response.rb', line 14

optional :is_automated, DockerEngineRuby::Internal::Type::Boolean

#is_official ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


19
# File 'lib/docker_engine_ruby/models/image_search_response.rb', line 19

optional :is_official, DockerEngineRuby::Internal::Type::Boolean

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


24
# File 'lib/docker_engine_ruby/models/image_search_response.rb', line 24

optional :name, String

#star_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


29
# File 'lib/docker_engine_ruby/models/image_search_response.rb', line 29

optional :star_count, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


41
# File 'sig/docker_engine_ruby/models/image_search_response.rbs', line 41

def to_hash: -> {