Class: Vk::API::Video::Methods::ReorderVideos

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/video/methods/reorder_videos.rb

Overview

Reorders the video in the video album.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Video::Methods::ReorderVideos

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :target_id (Integer)

    ID of the user or community that owns the album with videos.

  • :album_id (Integer)

    ID of the video album.

  • :owner_id (Integer)

    ID of the user or community that owns the video.

  • :video_id (Integer)

    ID of the video.

  • :before_owner_id (Integer)

    ID of the user or community that owns the video before which the video in question shall be placed.

  • :before_video_id (Integer)

    ID of the video before which the video in question shall be placed.

  • :after_owner_id (Integer)

    ID of the user or community that owns the video after which the photo in question shall be placed.

  • :after_video_id (Integer)

    ID of the video after which the photo in question shall be placed.



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

Instance Method Details

#after_owner_idInteger

Returns ID of the user or community that owns the video after which the photo in question shall be placed.

Returns:

  • (Integer)

    ID of the user or community that owns the video after which the photo in question shall be placed.



42
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 42

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

#after_video_idInteger

Returns ID of the video after which the photo in question shall be placed.

Returns:

  • (Integer)

    ID of the video after which the photo in question shall be placed.



44
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 44

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

#album_idInteger

Returns ID of the video album.

Returns:

  • (Integer)

    ID of the video album.



32
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 32

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

#before_owner_idInteger

Returns ID of the user or community that owns the video before which the video in question shall be placed.

Returns:

  • (Integer)

    ID of the user or community that owns the video before which the video in question shall be placed.



38
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 38

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

#before_video_idInteger

Returns ID of the video before which the video in question shall be placed.

Returns:

  • (Integer)

    ID of the video before which the video in question shall be placed.



40
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 40

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

#owner_idInteger

Returns ID of the user or community that owns the video.

Returns:

  • (Integer)

    ID of the user or community that owns the video.



34
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 34

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

#target_idInteger

Returns ID of the user or community that owns the album with videos.

Returns:

  • (Integer)

    ID of the user or community that owns the album with videos.



30
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 30

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

#video_idInteger

Returns ID of the video.

Returns:

  • (Integer)

    ID of the video.



36
# File 'lib/vk/api/video/methods/reorder_videos.rb', line 36

attribute :video_id, API::Types::Coercible::Int