Class: ScalarGalaxy::Models::PlanetUpdateParams

Inherits:
Planet
  • Object
show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/galaxy-ruby/models/planet_update_params.rb,
sig/galaxy-ruby/models/planet_update_params.rbs

Overview

See Also:

  • ScalarGalaxy::Resources::Planets#update

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

Constructor Details

#initialize(planet_id:, request_options: {}) ⇒ Object

Parameters:



# File 'lib/galaxy-ruby/models/planet_update_params.rb', line 15

Instance Attribute Details

#planet_idInteger

Parameters:

  • _ (Integer)

Returns:

  • (Integer)


13
# File 'lib/galaxy-ruby/models/planet_update_params.rb', line 13

required :planet_id, Integer

Instance Method Details

#to_hash{

Returns:

  • ({)


19
# File 'sig/galaxy-ruby/models/planet_update_params.rbs', line 19

def to_hash: -> {