Class: Vk::API::Video::CatElement

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/video/cat_element.rb

Overview

Instance Method Summary collapse

Instance Method Details

#can_addInteger

Returns Information whether current user can add the video.

Returns:

  • (Integer)

    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_editInteger

Returns Information whether current user can edit the video.

Returns:

  • (Integer)

    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)

#commentsInteger

Returns Comments number.

Returns:

  • (Integer)

    Comments number



37
# File 'lib/vk/api/video/cat_element.rb', line 37

attribute :comments, API::Types::Coercible::Int.optional.default(nil)

#countInteger

Returns Videos number (for album).

Returns:

  • (Integer)

    Videos number (for album)



45
# File 'lib/vk/api/video/cat_element.rb', line 45

attribute :count, API::Types::Coercible::Int.optional.default(nil)

#dateInteger

Returns Date when the element has been created.

Returns:

  • (Integer)

    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)

#descriptionString

Returns Element description.

Returns:

  • (String)

    Element description



19
# File 'lib/vk/api/video/cat_element.rb', line 19

attribute :description, API::Types::Coercible::String.optional.default(nil)

#durationInteger

Returns Duration in seconds.

Returns:

  • (Integer)

    Duration in seconds



21
# File 'lib/vk/api/video/cat_element.rb', line 21

attribute :duration, API::Types::Coercible::Int.optional.default(nil)

#idInteger

Returns Element ID.

Returns:

  • (Integer)

    Element ID



11
# File 'lib/vk/api/video/cat_element.rb', line 11

attribute :id, API::Types::Coercible::Int

#is_privateInteger

Returns Information whether the video is private.

Returns:

  • (Integer)

    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_idInteger

Returns Element owner's ID.

Returns:

  • (Integer)

    Element owner's ID



13
# File 'lib/vk/api/video/cat_element.rb', line 13

attribute :owner_id, API::Types::Coercible::Int

#photo_130String

Returns URL of the preview image with 130 px in width.

Returns:

  • (String)

    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_160String

Returns URL of the preview image with 160 px in width.

Returns:

  • (String)

    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_320String

Returns URL of the preview image with 320 px in width.

Returns:

  • (String)

    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_640String

Returns URL of the preview image with 640 px in width.

Returns:

  • (String)

    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_800String

Returns URL of the preview image with 800 px in width.

Returns:

  • (String)

    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)

#titleString

Returns Element title.

Returns:

  • (String)

    Element title



15
# File 'lib/vk/api/video/cat_element.rb', line 15

attribute :title, API::Types::Coercible::String

#typeString

Returns Element type.

Returns:

  • (String)

    Element type



17
# File 'lib/vk/api/video/cat_element.rb', line 17

attribute :type, API::Types::Coercible::String.enum("video", "album")

#updated_timeInteger

Returns Date of last update (for album) in Unixtime.

Returns:

  • (Integer)

    Date of last update (for album) in Unixtime



47
# File 'lib/vk/api/video/cat_element.rb', line 47

attribute :updated_time, API::Types::Coercible::Int.optional.default(nil)

#viewsInteger

Returns Views number.

Returns:

  • (Integer)

    Views number



35
# File 'lib/vk/api/video/cat_element.rb', line 35

attribute :views, API::Types::Coercible::Int.optional.default(nil)