Class: INat::Entity::ObservationPhoto
- Inherits:
-
Data::Entity
- Object
- Data::Model
- Data::Entity
- INat::Entity::ObservationPhoto
- Includes:
- INat::Entity
- Defined in:
- lib/inat/data/entity/observationphoto.rb
Instance Attribute Summary collapse
-
#observation ⇒ type: Observation
The
observation
field. -
#photo ⇒ type: Photo
The
photo
field. -
#position ⇒ type: Integer
The
position
field. -
#uuid ⇒ type: UUID
The
uuid
field.
Attributes inherited from Data::Entity
Method Summary
Methods inherited from Data::Entity
by_id, #complete?, ddl, fetch, from_db_rows, #get, #init, #initialize, load, load_file, parse, read, #save, #to_db, #update
Methods included from App::Logger::DSL
#debug, debug, echo, #echo, error, #error, #info, info, log, #log, #warning, warning
Methods inherited from Data::Model
DDL, api_limit, api_part, api_path, backs, block, field, fields, has_path?, has_table?, #ignore, #initialize, links, #post_update, #process?, #saved?, table, #to_h, #update
Constructor Details
This class inherits a constructor from INat::Data::Entity
Instance Attribute Details
#observation ⇒ type: Observation
Returns the observation
field.
23 |
# File 'lib/inat/data/entity/observationphoto.rb', line 23 field :observation, type: Observation, index: true |
#photo ⇒ type: Photo
Returns the photo
field.
27 |
# File 'lib/inat/data/entity/observationphoto.rb', line 27 field :photo, type: Photo, required: true |
#position ⇒ type: Integer
Returns the position
field.
26 |
# File 'lib/inat/data/entity/observationphoto.rb', line 26 field :position, type: Integer, index: true |