Class: INat::Entity::Sound
- Inherits:
-
Data::Entity
- Object
- Data::Model
- Data::Entity
- INat::Entity::Sound
- Includes:
- Data::Types, INat::Entity
- Defined in:
- lib/inat/data/entity/sound.rb
Instance Attribute Summary collapse
-
#attribution ⇒ type: String
The
attribution
field. -
#file_content_type ⇒ type: Symbol
The
file_content_type
field. -
#file_url ⇒ type: URI
The
file_url
field. -
#flags ⇒ Array<item_type: Flag>
The
flags
field. -
#hidden ⇒ type: Boolean
The
hidden
field. -
#license_code ⇒ type: LicenseCode
The
license_code
field. -
#play_local ⇒ type: Boolean
The
play_local
field. -
#subtype ⇒ type: Symbol
The
subtype
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.
19 |
# File 'lib/inat/data/entity/sound.rb', line 19 field :attribution, type: String |
#file_content_type ⇒ type: Symbol
Returns the file_content_type
field.
21 |
# File 'lib/inat/data/entity/sound.rb', line 21 field :file_content_type, type: Symbol, index: true |
#file_url ⇒ type: URI
Returns the file_url
field.
20 |
# File 'lib/inat/data/entity/sound.rb', line 20 field :file_url, type: URI |
#flags ⇒ Array<item_type: Flag>
Returns the flags
field.
26 |
# File 'lib/inat/data/entity/sound.rb', line 26 links :flags, item_type: Flag |
#hidden ⇒ type: Boolean
Returns the hidden
field.
24 |
# File 'lib/inat/data/entity/sound.rb', line 24 field :hidden, type: Boolean, index: true |
#license_code ⇒ type: LicenseCode
Returns the license_code
field.
18 |
# File 'lib/inat/data/entity/sound.rb', line 18 field :license_code, type: LicenseCode, index: true |
#play_local ⇒ type: Boolean
Returns the play_local
field.
22 |
# File 'lib/inat/data/entity/sound.rb', line 22 field :play_local, type: Boolean |
#subtype ⇒ type: Symbol
Returns the subtype
field.
23 |
# File 'lib/inat/data/entity/sound.rb', line 23 field :subtype, type: Symbol, index: true |