Class: Telnyx::Models::RcsSuggestion::Action::ViewLocationAction::LatLong
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::RcsSuggestion::Action::ViewLocationAction::LatLong
- Defined in:
- lib/telnyx/models/rcs_suggestion.rb,
sig/telnyx/models/rcs_suggestion.rbs
Overview
Instance Attribute Summary collapse
-
#latitude ⇒ Float
The latitude in degrees.
-
#longitude ⇒ Float
The longitude in degrees.
Instance Method Summary collapse
-
#initialize ⇒ LatLong
constructor
A new instance of LatLong.
- #to_hash ⇒ { latitude: Float, longitude: 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 ⇒ LatLong
Returns a new instance of LatLong.
257 |
# File 'sig/telnyx/models/rcs_suggestion.rbs', line 257
def initialize: (latitude: Float, longitude: Float) -> void
|
Instance Attribute Details
#latitude ⇒ Float
The latitude in degrees. It must be in the range [-90.0, +90.0].
248 |
# File 'lib/telnyx/models/rcs_suggestion.rb', line 248 required :latitude, Float |
#longitude ⇒ Float
The longitude in degrees. It must be in the range [-180.0, +180.0].
254 |
# File 'lib/telnyx/models/rcs_suggestion.rb', line 254 required :longitude, Float |
Instance Method Details
#to_hash ⇒ { latitude: Float, longitude: Float }
259 |
# File 'sig/telnyx/models/rcs_suggestion.rbs', line 259
def to_hash: -> { latitude: Float, longitude: Float }
|