Class: Vk::API::Video::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Video::Methods::Get
- Defined in:
- lib/vk/api/video/methods/get.rb
Overview
Returns detailed information about videos.
Arguments collapse
-
#album_id ⇒ Integer
ID of the album containing the video(s).
-
#count ⇒ Integer
Number of videos to return.
-
#extended ⇒ Boolean
'1' — to return an extended response with additional fields.
-
#offset ⇒ Integer
Offset needed to return a specific subset of videos.
-
#owner_id ⇒ Integer
ID of the user or community that owns the video(s).
-
#videos ⇒ Array
Video IDs, in the following format:; "
, "; Use a negative value to designate a community ID.; ; Example:; "-4363_136089719,13245770_137352259".
Instance Method Summary collapse
- #initialize(arguments) ⇒ Video::Methods::Get constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#album_id ⇒ Integer
Returns ID of the album containing the video(s).
32 |
# File 'lib/vk/api/video/methods/get.rb', line 32 attribute :album_id, API::Types::Coercible::Int.optional.default(nil) |
#count ⇒ Integer
Returns Number of videos to return.
34 |
# File 'lib/vk/api/video/methods/get.rb', line 34 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#extended ⇒ Boolean
Returns '1' — to return an extended response with additional fields.
38 |
# File 'lib/vk/api/video/methods/get.rb', line 38 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of videos.
36 |
# File 'lib/vk/api/video/methods/get.rb', line 36 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the video(s).
28 |
# File 'lib/vk/api/video/methods/get.rb', line 28 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#videos ⇒ Array
Returns Video IDs, in the following format:; "
30 |
# File 'lib/vk/api/video/methods/get.rb', line 30 attribute :videos, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |