Class: ScalarGalaxy::Models::NewPlanetWebhookEvent::PhysicalProperties::Temperature
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ScalarGalaxy::Models::NewPlanetWebhookEvent::PhysicalProperties::Temperature
- Defined in:
- lib/galaxy-ruby/models/new_planet_webhook_event.rb,
sig/galaxy-ruby/models/new_planet_webhook_event.rbs
Overview
Instance Attribute Summary collapse
-
#average ⇒ Float?
Average temperature in Kelvin.
-
#max ⇒ Float?
Maximum temperature in Kelvin.
-
#min ⇒ Float?
Minimum temperature in Kelvin.
Instance Method Summary collapse
-
#initialize ⇒ Temperature
constructor
A new instance of Temperature.
- #to_hash ⇒ { average: Float, max: Float, min: Float }
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 ⇒ Temperature
Returns a new instance of Temperature.
189 |
# File 'sig/galaxy-ruby/models/new_planet_webhook_event.rbs', line 189
def initialize: (?average: Float, ?max: Float, ?min: Float) -> void
|
Instance Attribute Details
#average ⇒ Float?
Average temperature in Kelvin
178 |
# File 'lib/galaxy-ruby/models/new_planet_webhook_event.rb', line 178 optional :average, Float |
#max ⇒ Float?
Maximum temperature in Kelvin
184 |
# File 'lib/galaxy-ruby/models/new_planet_webhook_event.rb', line 184 optional :max, Float |
#min ⇒ Float?
Minimum temperature in Kelvin
190 |
# File 'lib/galaxy-ruby/models/new_planet_webhook_event.rb', line 190 optional :min, Float |
Instance Method Details
#to_hash ⇒ { average: Float, max: Float, min: Float }
191 |
# File 'sig/galaxy-ruby/models/new_planet_webhook_event.rbs', line 191
def to_hash: -> { average: Float, max: Float, min: Float }
|