Class: Phoebe::Models::Ref::Hotspot::InfoRetrieveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/phoebe/models/ref/hotspot/info_retrieve_response.rb

Overview

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(country_code: nil, country_name: nil, hierarchical_name: nil, is_hotspot: nil, lat: nil, latitude: nil, lng: nil, loc_id: nil, loc_name: nil, longitude: nil, name: nil, subnational1_code: nil, subnational1_name: nil) ⇒ Object

Parameters:

  • country_code (String) (defaults to: nil)
  • country_name (String) (defaults to: nil)
  • hierarchical_name (String) (defaults to: nil)
  • is_hotspot (Boolean) (defaults to: nil)
  • lat (Float) (defaults to: nil)
  • latitude (Float) (defaults to: nil)
  • lng (Float) (defaults to: nil)
  • loc_id (String) (defaults to: nil)
  • loc_name (String) (defaults to: nil)
  • longitude (Float) (defaults to: nil)
  • name (String) (defaults to: nil)
  • subnational1_code (String) (defaults to: nil)
  • subnational1_name (String) (defaults to: nil)


# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 74

Instance Attribute Details

#country_codeString?

Returns:

  • (String, nil)


12
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 12

optional :country_code, String, api_name: :countryCode

#country_nameString?

Returns:

  • (String, nil)


17
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 17

optional :country_name, String, api_name: :countryName

#hierarchical_nameString?

Returns:

  • (String, nil)


22
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 22

optional :hierarchical_name, String, api_name: :hierarchicalName

#is_hotspotBoolean?

Returns:

  • (Boolean, nil)


27
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 27

optional :is_hotspot, Phoebe::Internal::Type::Boolean, api_name: :isHotspot

#latFloat?

Returns:

  • (Float, nil)


32
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 32

optional :lat, Float

#latitudeFloat?

Returns:

  • (Float, nil)


37
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 37

optional :latitude, Float

#lngFloat?

Returns:

  • (Float, nil)


42
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 42

optional :lng, Float

#loc_idString?

Returns:

  • (String, nil)


47
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 47

optional :loc_id, String, api_name: :locId

#loc_nameString?

Returns:

  • (String, nil)


52
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 52

optional :loc_name, String, api_name: :locName

#longitudeFloat?

Returns:

  • (Float, nil)


57
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 57

optional :longitude, Float

#nameString?

Returns:

  • (String, nil)


62
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 62

optional :name, String

#subnational1_codeString?

Returns:

  • (String, nil)


67
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 67

optional :subnational1_code, String, api_name: :subnational1Code

#subnational1_nameString?

Returns:

  • (String, nil)


72
# File 'lib/phoebe/models/ref/hotspot/info_retrieve_response.rb', line 72

optional :subnational1_name, String, api_name: :subnational1Name