Class: Vk::API::Video::Methods::ReorderAlbums

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

Overview

Reorders the album in the list of user video albums.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of the user or community that owns the albums..

  • :album_id (Integer)

    Album ID.

  • :before (Integer)

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

  • :after (Integer)

    ID of the album after which the album in question shall be placed.


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

Instance Method Details

#afterInteger

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

Returns:

  • (Integer)

    ID of the album after which the album in question shall be placed.


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

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

#album_idInteger

Returns Album ID.

Returns:

  • (Integer)

    Album ID.


28
# File 'lib/vk/api/video/methods/reorder_albums.rb', line 28

attribute :album_id, API::Types::Coercible::Int

#beforeInteger

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

Returns:

  • (Integer)

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


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

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

#owner_idInteger

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

Returns:

  • (Integer)

    ID of the user or community that owns the albums..


26
# File 'lib/vk/api/video/methods/reorder_albums.rb', line 26

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