Class: ScalarGalaxy::Models::PlanetDelteImageResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/galaxy-ruby/models/planet_delte_image_response.rb,
sig/galaxy-ruby/models/planet_delte_image_response.rbs

Overview

See Also:

  • ScalarGalaxy::Resources::Planets#delte_image

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(file_size: nil, image_url: nil, message: nil, mime_type: nil, uploaded_at: nil) ⇒ Object

Parameters:

  • file_size (Integer) (defaults to: nil)

    Size of the uploaded image in bytes

  • image_url (String) (defaults to: nil)

    The URL where the uploaded image can be accessed

  • message (String) (defaults to: nil)
  • mime_type (String) (defaults to: nil)

    The content type of the uploaded image

  • uploaded_at (Time) (defaults to: nil)

    Timestamp when the image was uploaded



# File 'lib/galaxy-ruby/models/planet_delte_image_response.rb', line 36

Instance Attribute Details

#file_sizeInteger?

Size of the uploaded image in bytes

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


11
# File 'lib/galaxy-ruby/models/planet_delte_image_response.rb', line 11

optional :file_size, Integer, api_name: :fileSize

#image_urlString?

The URL where the uploaded image can be accessed

Parameters:

  • (String)

Returns:

  • (String, nil)


17
# File 'lib/galaxy-ruby/models/planet_delte_image_response.rb', line 17

optional :image_url, String, api_name: :imageUrl

#messageString?

Parameters:

  • (String)

Returns:

  • (String, nil)


22
# File 'lib/galaxy-ruby/models/planet_delte_image_response.rb', line 22

optional :message, String

#mime_typeString?

The content type of the uploaded image

Parameters:

  • (String)

Returns:

  • (String, nil)


28
# File 'lib/galaxy-ruby/models/planet_delte_image_response.rb', line 28

optional :mime_type, String, api_name: :mimeType

#uploaded_atTime?

Timestamp when the image was uploaded

Parameters:

  • (Time)

Returns:

  • (Time, nil)


34
# File 'lib/galaxy-ruby/models/planet_delte_image_response.rb', line 34

optional :uploaded_at, Time, api_name: :uploadedAt

Instance Method Details

#to_hash{

Returns:

  • ({)


41
# File 'sig/galaxy-ruby/models/planet_delte_image_response.rbs', line 41

def to_hash: -> {