Class: Vk::API::Video::VideoFull
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Video::VideoFull
- Defined in:
- lib/vk/api/video/video_full.rb
Overview
Instance Method Summary collapse
-
#access_key ⇒ String
Video access key.
-
#adding_date ⇒ Integer
Date when the video has been added in Unixtime.
-
#can_add ⇒ API::Base::BoolInt
Information whether current user can add the video.
-
#can_comment ⇒ API::Base::BoolInt
Information whether current user can comment the video.
-
#can_edit ⇒ API::Base::BoolInt
Information whether current user can edit the video.
-
#can_repost ⇒ API::Base::BoolInt
Information whether current user can comment the video.
-
#comments ⇒ Integer
Number of comments.
-
#date ⇒ Integer
Date when video has been uploaded in Unixtime.
-
#description ⇒ String
Video description.
-
#duration ⇒ Integer
Video duration in seconds.
- #files ⇒ Object
-
#id ⇒ Integer
Video ID.
- #likes ⇒ Object
-
#live ⇒ API::Base::PropertyExists
Returns if the video is live translation.
-
#owner_id ⇒ Integer
Video owner ID.
-
#photo_130 ⇒ String
URL of the preview image with 130 px in width.
-
#photo_320 ⇒ String
URL of the preview image with 320 px in width.
-
#photo_800 ⇒ String
URL of the preview image with 800 px in width.
-
#player ⇒ String
URL of the page with a player that can be used to play the video in the browser.
- #privacy_comment ⇒ Array
- #privacy_view ⇒ Array
-
#processing ⇒ API::Base::PropertyExists
Returns if the video is processing.
-
#repeat ⇒ API::Base::BoolInt
Information whether the video is repeated.
-
#title ⇒ String
Video title.
-
#views ⇒ Integer
Number of views.
Instance Method Details
#access_key ⇒ String
Returns Video access key.
33 |
# File 'lib/vk/api/video/video_full.rb', line 33 attribute :access_key, API::Types::Coercible::String.optional.default(nil) |
#adding_date ⇒ Integer
Returns Date when the video has been added in Unixtime.
35 |
# File 'lib/vk/api/video/video_full.rb', line 35 attribute :adding_date, API::Types::Coercible::Int.optional.default(nil) |
#can_add ⇒ API::Base::BoolInt
Returns Information whether current user can add the video.
41 |
# File 'lib/vk/api/video/video_full.rb', line 41 attribute :can_add, API::Base::BoolInt.optional.default(nil) |
#can_comment ⇒ API::Base::BoolInt
Returns Information whether current user can comment the video.
53 |
# File 'lib/vk/api/video/video_full.rb', line 53 attribute :can_comment, API::Base::BoolInt.optional.default(nil) |
#can_edit ⇒ API::Base::BoolInt
Returns Information whether current user can edit the video.
39 |
# File 'lib/vk/api/video/video_full.rb', line 39 attribute :can_edit, API::Base::BoolInt.optional.default(nil) |
#can_repost ⇒ API::Base::BoolInt
Returns Information whether current user can comment the video.
55 |
# File 'lib/vk/api/video/video_full.rb', line 55 attribute :can_repost, API::Base::BoolInt.optional.default(nil) |
#comments ⇒ Integer
Returns Number of comments.
25 |
# File 'lib/vk/api/video/video_full.rb', line 25 attribute :comments, API::Types::Coercible::Int.optional.default(nil) |
#date ⇒ Integer
Returns Date when video has been uploaded in Unixtime.
21 |
# File 'lib/vk/api/video/video_full.rb', line 21 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#description ⇒ String
Returns Video description.
19 |
# File 'lib/vk/api/video/video_full.rb', line 19 attribute :description, API::Types::Coercible::String.optional.default(nil) |
#duration ⇒ Integer
Returns Video duration in seconds.
17 |
# File 'lib/vk/api/video/video_full.rb', line 17 attribute :duration, API::Types::Coercible::Int.optional.default(nil) |
#files ⇒ Object
47 |
# File 'lib/vk/api/video/video_full.rb', line 47 attribute :files, API::Types::Coercible::Hash.optional.default(nil) |
#id ⇒ Integer
Returns Video ID.
11 |
# File 'lib/vk/api/video/video_full.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#likes ⇒ Object
57 |
# File 'lib/vk/api/video/video_full.rb', line 57 attribute :likes, API::Types::Coercible::Hash.optional.default(nil) |
#live ⇒ API::Base::PropertyExists
Returns if the video is live translation
45 |
# File 'lib/vk/api/video/video_full.rb', line 45 attribute :live, API::Base::PropertyExists.optional.default(nil) |
#owner_id ⇒ Integer
Returns Video owner ID.
13 |
# File 'lib/vk/api/video/video_full.rb', line 13 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#photo_130 ⇒ String
Returns URL of the preview image with 130 px in width.
27 |
# File 'lib/vk/api/video/video_full.rb', line 27 attribute :photo_130, API::Types::Coercible::String.optional.default(nil) |
#photo_320 ⇒ String
Returns URL of the preview image with 320 px in width.
29 |
# File 'lib/vk/api/video/video_full.rb', line 29 attribute :photo_320, API::Types::Coercible::String.optional.default(nil) |
#photo_800 ⇒ String
Returns URL of the preview image with 800 px in width.
31 |
# File 'lib/vk/api/video/video_full.rb', line 31 attribute :photo_800, API::Types::Coercible::String.optional.default(nil) |
#player ⇒ String
Returns URL of the page with a player that can be used to play the video in the browser.
37 |
# File 'lib/vk/api/video/video_full.rb', line 37 attribute :player, API::Types::Coercible::String.optional.default(nil) |
#privacy_comment ⇒ Array
51 |
# File 'lib/vk/api/video/video_full.rb', line 51 attribute :privacy_comment, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#privacy_view ⇒ Array
49 |
# File 'lib/vk/api/video/video_full.rb', line 49 attribute :privacy_view, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#processing ⇒ API::Base::PropertyExists
Returns if the video is processing
43 |
# File 'lib/vk/api/video/video_full.rb', line 43 attribute :processing, API::Base::PropertyExists.optional.default(nil) |
#repeat ⇒ API::Base::BoolInt
Returns Information whether the video is repeated.
59 |
# File 'lib/vk/api/video/video_full.rb', line 59 attribute :repeat, API::Base::BoolInt.optional.default(nil) |