Class: NBA::VideoDetailsAssetEntry
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::VideoDetailsAssetEntry
- Defined in:
- lib/nba/video_details_asset_entry.rb
Overview
Represents a video details asset entry
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ String
Returns the aspect ratio.
-
#file_size ⇒ Integer
Returns the file size in bytes.
-
#game_event_id ⇒ Integer
Returns the game event ID.
-
#game_id ⇒ String
Returns the game ID.
-
#uuid ⇒ String
Returns the unique identifier.
-
#video_available ⇒ Integer
Returns the video availability flag.
-
#video_description ⇒ String
Returns the video description.
-
#video_duration ⇒ Float
Returns the video duration in seconds.
-
#video_url ⇒ String
Returns the video URL.
Instance Method Summary collapse
-
#available? ⇒ Boolean
Returns whether video is available.
Instance Attribute Details
#aspect_ratio ⇒ String
Returns the aspect ratio
63 |
# File 'lib/nba/video_details_asset_entry.rb', line 63 attribute :aspect_ratio, Shale::Type::String |
#file_size ⇒ Integer
Returns the file size in bytes
55 |
# File 'lib/nba/video_details_asset_entry.rb', line 55 attribute :file_size, Shale::Type::Integer |
#game_event_id ⇒ Integer
Returns the game event ID
31 |
# File 'lib/nba/video_details_asset_entry.rb', line 31 attribute :game_event_id, Shale::Type::Integer |
#game_id ⇒ String
Returns the game ID
23 |
# File 'lib/nba/video_details_asset_entry.rb', line 23 attribute :game_id, Shale::Type::String |
#uuid ⇒ String
Returns the unique identifier
15 |
# File 'lib/nba/video_details_asset_entry.rb', line 15 attribute :uuid, Shale::Type::String |
#video_available ⇒ Integer
Returns the video availability flag
39 |
# File 'lib/nba/video_details_asset_entry.rb', line 39 attribute :video_available, Shale::Type::Integer |
#video_description ⇒ String
Returns the video description
79 |
# File 'lib/nba/video_details_asset_entry.rb', line 79 attribute :video_description, Shale::Type::String |
#video_duration ⇒ Float
Returns the video duration in seconds
71 |
# File 'lib/nba/video_details_asset_entry.rb', line 71 attribute :video_duration, Shale::Type::Float |
#video_url ⇒ String
Returns the video URL
47 |
# File 'lib/nba/video_details_asset_entry.rb', line 47 attribute :video_url, Shale::Type::String |
Instance Method Details
#available? ⇒ Boolean
Returns whether video is available
87 88 89 |
# File 'lib/nba/video_details_asset_entry.rb', line 87 def available? video_available.eql?(1) end |