struct Likee::Video
- Likee::Video
- Struct
- Value
- Object
Overview
The Video
structure represents a Likee video.
The JSON payload returned by the API call is parsed and transformed to a stable interface.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
Defined in:
likee/concepts/video.crConstructors
Instance Method Summary
-
#caption : String | Nil
Returns the video caption, also known as the video description.
-
#comment_count : UInt32
Returns the video comment count.
-
#cover_url : String
Returns the video cover url, also known as the video thumbnail.
-
#creator_avatar : String | Nil
Returns the creator avatar.
-
#creator_id : String
Returns the creator id.
-
#creator_nickname : String | Nil
Returns the creator nickname.
-
#creator_username : String
Returns the creator username.
-
#download_url : String
Extracts the URL to the video without the watermark.
-
#height : UInt16
Returns the video height.
-
#id : String
Returns the video id.
-
#like_count : UInt32
Returns the video like count.
-
#music_id : String | Nil
Returns the video music id.
-
#music_name : String | Nil
Returns the video music name.
-
#play_count : UInt32
Returns the video play count.
-
#share_count : UInt32
Returns the video share count.
-
#share_url : String | Nil
Returns the video share url.
-
#title : String | Nil
Returns the video title.
-
#uploaded_at : Time
Returns the video upload time.
-
#video_url : String
Returns the video url.
-
#width : UInt16
Returns the video width.
Constructor Detail
Instance Method Detail
Returns the creator id.
Apparently, it is referred to as uid rather than id. Must not be confused with likeeId, which refers to the creator username.