Class: Phoebe::Models::Product::ListRetrieveResponseItem

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/phoebe/models/product/list_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/list_retrieve_response.rb', line 108

Instance Attribute Details

#all_obs_reportedBoolean?

Returns:

  • (Boolean, nil)


10
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 10

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

#checklist_idString?

Returns:

  • (String, nil)


15
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 15

optional :checklist_id, String, api_name: :checklistId

#creation_dtString?

Returns:

  • (String, nil)


20
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 20

optional :creation_dt, String, api_name: :creationDt

#duration_hrsFloat?

Returns:

  • (Float, nil)


25
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 25

optional :duration_hrs, Float, api_name: :durationHrs

#iso_obs_dateString?

Returns:

  • (String, nil)


30
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 30

optional :iso_obs_date, String, api_name: :isoObsDate

#last_edited_dtString?

Returns:

  • (String, nil)


35
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 35

optional :last_edited_dt, String, api_name: :lastEditedDt

#locPhoebe::Models::Product::ListRetrieveResponseItem::Loc?



40
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 40

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

#loc_idString?

Returns:

  • (String, nil)


45
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 45

optional :loc_id, String, api_name: :locId

#num_observersInteger?

Returns:

  • (Integer, nil)


50
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 50

optional :num_observers, Integer, api_name: :numObservers

#num_speciesInteger?

Returns:

  • (Integer, nil)


55
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 55

optional :num_species, Integer, api_name: :numSpecies

#obsArray<Phoebe::Models::Product::ListRetrieveResponseItem::Ob>?



60
61
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 60

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

#obs_dtString?

Returns:

  • (String, nil)


66
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 66

optional :obs_dt, String, api_name: :obsDt

#obs_timeString?

Returns:

  • (String, nil)


71
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 71

optional :obs_time, String, api_name: :obsTime

#obs_time_validBoolean?

Returns:

  • (Boolean, nil)


76
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 76

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

#proj_idString?

Returns:

  • (String, nil)


81
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 81

optional :proj_id, String, api_name: :projId

#protocol_idString?

Returns:

  • (String, nil)


86
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 86

optional :protocol_id, String, api_name: :protocolId

#sub_idString?

Returns:

  • (String, nil)


91
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 91

optional :sub_id, String, api_name: :subId

#submission_method_codeString?

Returns:

  • (String, nil)


96
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 96

optional :submission_method_code, String, api_name: :submissionMethodCode

#subnational1_codeString?

Returns:

  • (String, nil)


101
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 101

optional :subnational1_code, String, api_name: :subnational1Code

#user_display_nameString?

Returns:

  • (String, nil)


106
# File 'lib/phoebe/models/product/list_retrieve_response.rb', line 106

optional :user_display_name, String, api_name: :userDisplayName