Class: Vk::API::Video::CatElement
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Video::CatElement
- Defined in:
- lib/vk/api/video/cat_element.rb
Overview
Instance Method Summary collapse
-
#can_add ⇒ Integer
Information whether current user can add the video.
-
#can_edit ⇒ Integer
Information whether current user can edit the video.
-
#comments ⇒ Integer
Comments number.
-
#count ⇒ Integer
Videos number (for album).
-
#date ⇒ Integer
Date when the element has been created.
-
#description ⇒ String
Element description.
-
#duration ⇒ Integer
Duration in seconds.
-
#id ⇒ Integer
Element ID.
-
#is_private ⇒ Integer
Information whether the video is private.
-
#owner_id ⇒ Integer
Element owner's ID.
-
#photo_130 ⇒ String
URL of the preview image with 130 px in width.
-
#photo_160 ⇒ String
URL of the preview image with 160 px in width.
-
#photo_320 ⇒ String
URL of the preview image with 320 px in width.
-
#photo_640 ⇒ String
URL of the preview image with 640 px in width.
-
#photo_800 ⇒ String
URL of the preview image with 800 px in width.
-
#title ⇒ String
Element title.
-
#type ⇒ String
Element type.
-
#updated_time ⇒ Integer
Date of last update (for album) in Unixtime.
-
#views ⇒ Integer
Views number.
Instance Method Details
#can_add ⇒ Integer
Returns Information whether current user can add the video.
39 |
# File 'lib/vk/api/video/cat_element.rb', line 39 attribute :can_add, API::Types::Coercible::Int.optional.default(nil) |
#can_edit ⇒ Integer
Returns Information whether current user can edit the video.
41 |
# File 'lib/vk/api/video/cat_element.rb', line 41 attribute :can_edit, API::Types::Coercible::Int.optional.default(nil) |
#comments ⇒ Integer
Returns Comments number.
37 |
# File 'lib/vk/api/video/cat_element.rb', line 37 attribute :comments, API::Types::Coercible::Int.optional.default(nil) |
#count ⇒ Integer
Returns Videos number (for album).
45 |
# File 'lib/vk/api/video/cat_element.rb', line 45 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#date ⇒ Integer
Returns Date when the element has been created.
33 |
# File 'lib/vk/api/video/cat_element.rb', line 33 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#description ⇒ String
Returns Element description.
19 |
# File 'lib/vk/api/video/cat_element.rb', line 19 attribute :description, API::Types::Coercible::String.optional.default(nil) |
#duration ⇒ Integer
Returns Duration in seconds.
21 |
# File 'lib/vk/api/video/cat_element.rb', line 21 attribute :duration, API::Types::Coercible::Int.optional.default(nil) |
#id ⇒ Integer
Returns Element ID.
11 |
# File 'lib/vk/api/video/cat_element.rb', line 11 attribute :id, API::Types::Coercible::Int |
#is_private ⇒ Integer
Returns Information whether the video is private.
43 |
# File 'lib/vk/api/video/cat_element.rb', line 43 attribute :is_private, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns Element owner's ID.
13 |
# File 'lib/vk/api/video/cat_element.rb', line 13 attribute :owner_id, API::Types::Coercible::Int |
#photo_130 ⇒ String
Returns URL of the preview image with 130 px in width.
23 |
# File 'lib/vk/api/video/cat_element.rb', line 23 attribute :photo_130, API::Types::Coercible::String.optional.default(nil) |
#photo_160 ⇒ String
Returns URL of the preview image with 160 px in width.
25 |
# File 'lib/vk/api/video/cat_element.rb', line 25 attribute :photo_160, API::Types::Coercible::String.optional.default(nil) |
#photo_320 ⇒ String
Returns URL of the preview image with 320 px in width.
27 |
# File 'lib/vk/api/video/cat_element.rb', line 27 attribute :photo_320, API::Types::Coercible::String.optional.default(nil) |
#photo_640 ⇒ String
Returns URL of the preview image with 640 px in width.
29 |
# File 'lib/vk/api/video/cat_element.rb', line 29 attribute :photo_640, 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/cat_element.rb', line 31 attribute :photo_800, API::Types::Coercible::String.optional.default(nil) |
#title ⇒ String
Returns Element title.
15 |
# File 'lib/vk/api/video/cat_element.rb', line 15 attribute :title, API::Types::Coercible::String |
#type ⇒ String
Returns Element type.
17 |
# File 'lib/vk/api/video/cat_element.rb', line 17 attribute :type, API::Types::Coercible::String.enum("video", "album") |