Class: Phoebe::Models::Product::Lists::HistoricalRetrieveResponseItem

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/phoebe/models/product/lists/historical_retrieve_response.rb

Defined Under Namespace

Classes: Loc, Ob

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/product/lists/historical_retrieve_response.rb', line 109

Instance Attribute Details

#all_obs_reportedBoolean?

Returns:

  • (Boolean, nil)


11
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 11

optional :all_obs_reported, Phoebe::Internal::Type::Boolean, api_name: :allObsReported

#checklist_idString?

Returns:

  • (String, nil)


16
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 16

optional :checklist_id, String, api_name: :checklistId

#creation_dtString?

Returns:

  • (String, nil)


21
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 21

optional :creation_dt, String, api_name: :creationDt

#duration_hrsFloat?

Returns:

  • (Float, nil)


26
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 26

optional :duration_hrs, Float, api_name: :durationHrs

#iso_obs_dateString?

Returns:

  • (String, nil)


31
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 31

optional :iso_obs_date, String, api_name: :isoObsDate

#last_edited_dtString?

Returns:

  • (String, nil)


36
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 36

optional :last_edited_dt, String, api_name: :lastEditedDt

#locPhoebe::Models::Product::Lists::HistoricalRetrieveResponseItem::Loc?



41
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 41

optional :loc, -> { Phoebe::Models::Product::Lists::HistoricalRetrieveResponseItem::Loc }

#loc_idString?

Returns:

  • (String, nil)


46
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 46

optional :loc_id, String, api_name: :locId

#num_observersInteger?

Returns:

  • (Integer, nil)


51
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 51

optional :num_observers, Integer, api_name: :numObservers

#num_speciesInteger?

Returns:

  • (Integer, nil)


56
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 56

optional :num_species, Integer, api_name: :numSpecies

#obsArray<Phoebe::Models::Product::Lists::HistoricalRetrieveResponseItem::Ob>?



61
62
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 61

optional :obs,
-> { Phoebe::Internal::Type::ArrayOf[Phoebe::Models::Product::Lists::HistoricalRetrieveResponseItem::Ob] }

#obs_dtString?

Returns:

  • (String, nil)


67
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 67

optional :obs_dt, String, api_name: :obsDt

#obs_timeString?

Returns:

  • (String, nil)


72
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 72

optional :obs_time, String, api_name: :obsTime

#obs_time_validBoolean?

Returns:

  • (Boolean, nil)


77
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 77

optional :obs_time_valid, Phoebe::Internal::Type::Boolean, api_name: :obsTimeValid

#proj_idString?

Returns:

  • (String, nil)


82
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 82

optional :proj_id, String, api_name: :projId

#protocol_idString?

Returns:

  • (String, nil)


87
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 87

optional :protocol_id, String, api_name: :protocolId

#sub_idString?

Returns:

  • (String, nil)


92
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 92

optional :sub_id, String, api_name: :subId

#submission_method_codeString?

Returns:

  • (String, nil)


97
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 97

optional :submission_method_code, String, api_name: :submissionMethodCode

#subnational1_codeString?

Returns:

  • (String, nil)


102
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 102

optional :subnational1_code, String, api_name: :subnational1Code

#user_display_nameString?

Returns:

  • (String, nil)


107
# File 'lib/phoebe/models/product/lists/historical_retrieve_response.rb', line 107

optional :user_display_name, String, api_name: :userDisplayName