Class: INat::Entity::Photo
- Inherits:
-
Data::Entity
- Object
- Data::Model
- Data::Entity
- INat::Entity::Photo
- Includes:
- Data::Types, INat::Entity
- Defined in:
- lib/inat/data/entity/photo.rb
Instance Attribute Summary collapse
-
#attribution ⇒ type: String
The
attribution
field. -
#flags ⇒ Array<item_type: Flag>
The
flags
field. -
#hidden ⇒ type: Boolean
The
hidden
field. -
#large_url ⇒ type: URI
The
large_url
field. -
#license_code ⇒ type: LicenseCode
The
license_code
field. -
#medium_url ⇒ type: URI
The
medium_url
field. -
#native_page_url ⇒ type: URI
The
native_page_url
field. -
#original_url ⇒ type: URI
The
original_url
field. -
#small_url ⇒ type: URI
The
small_url
field. -
#square_url ⇒ type: URI
The
square_url
field. -
#url ⇒ type: URI
The
url
field.
Attributes inherited from Data::Entity
Method Summary
Methods included from Data::Types
#radius, radius, #sector, sector
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
#attribution ⇒ type: String
Returns the attribution
field.
26 |
# File 'lib/inat/data/entity/photo.rb', line 26 field :attribution, type: String |
#flags ⇒ Array<item_type: Flag>
Returns the flags
field.
29 |
# File 'lib/inat/data/entity/photo.rb', line 29 links :flags, item_type: Flag |
#hidden ⇒ type: Boolean
Returns the hidden
field.
27 |
# File 'lib/inat/data/entity/photo.rb', line 27 field :hidden, type: Boolean, index: true |
#large_url ⇒ type: URI
Returns the large_url
field.
24 |
# File 'lib/inat/data/entity/photo.rb', line 24 field :large_url, type: URI |
#license_code ⇒ type: LicenseCode
Returns the license_code
field.
19 |
# File 'lib/inat/data/entity/photo.rb', line 19 field :license_code, type: LicenseCode, index: true |
#medium_url ⇒ type: URI
Returns the medium_url
field.
22 |
# File 'lib/inat/data/entity/photo.rb', line 22 field :medium_url, type: URI |
#native_page_url ⇒ type: URI
Returns the native_page_url
field.
34 |
# File 'lib/inat/data/entity/photo.rb', line 34 field :native_page_url, type: URI |
#original_url ⇒ type: URI
Returns the original_url
field.
25 |
# File 'lib/inat/data/entity/photo.rb', line 25 field :original_url, type: URI |
#small_url ⇒ type: URI
Returns the small_url
field.
23 |
# File 'lib/inat/data/entity/photo.rb', line 23 field :small_url, type: URI |
#square_url ⇒ type: URI
Returns the square_url
field.
21 |
# File 'lib/inat/data/entity/photo.rb', line 21 field :square_url, type: URI |
#url ⇒ type: URI
Returns the url
field.
20 |
# File 'lib/inat/data/entity/photo.rb', line 20 field :url, type: URI, required: true |