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

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

Overview

Instance Method Summary collapse

Instance Method Details

#access_keyString

Returns Video access key.

Returns:

  • (String)

    Video access key


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

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

#adding_dateInteger

Returns Date when the video has been added in Unixtime.

Returns:

  • (Integer)

    Date when the video has been added in Unixtime


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

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

#can_addAPI::Base::BoolInt

Returns Information whether current user can add the video.

Returns:


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

attribute :can_add, API::Base::BoolInt.optional.default(nil)

#can_editAPI::Base::BoolInt

Returns Information whether current user can edit the video.

Returns:


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

attribute :can_edit, API::Base::BoolInt.optional.default(nil)

#commentsInteger

Returns Number of comments.

Returns:

  • (Integer)

    Number of comments


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

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

#dateInteger

Returns Date when video has been uploaded in Unixtime.

Returns:

  • (Integer)

    Date when video has been uploaded in Unixtime


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

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

#descriptionString

Returns Video description.

Returns:

  • (String)

    Video description


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

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

#durationInteger

Returns Video duration in seconds.

Returns:

  • (Integer)

    Video duration in seconds


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

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

#filesObject


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

attribute :files, API::Types::Coercible::Hash.optional.default(nil)

#idInteger

Returns Video ID.

Returns:

  • (Integer)

    Video ID


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

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

#liveAPI::Base::PropertyExists

Returns if the video is live translation

Returns:


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

attribute :live, API::Base::PropertyExists.optional.default(nil)

#owner_idInteger

Returns Video owner ID.

Returns:

  • (Integer)

    Video owner ID


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

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

#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


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

attribute :photo_130, 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


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

attribute :photo_320, 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/video.rb', line 31

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

#playerString

Returns URL of the page with a player that can be used to play the video in the browser.

Returns:

  • (String)

    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.rb', line 37

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

#processingAPI::Base::PropertyExists

Returns if the video is processing

Returns:


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

attribute :processing, API::Base::PropertyExists.optional.default(nil)

#titleString

Returns Video title.

Returns:

  • (String)

    Video title


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

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

#viewsInteger

Returns Number of views.

Returns:

  • (Integer)

    Number of views


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

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