Sha256: 137065dc4d26363994186210500307760d3065d90621487b66370ce5cbea7b86

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Photos < Vk::Schema::Namespace
      module Methods
        # Reorders the album in the list of user albums.
        class ReorderAlbums < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'photos.reorderAlbums'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id ID of the user or community that owns the album.
          #   @option arguments [Integer] :album_id Album ID.
          #   @option arguments [Integer] :before ID of the album before which the album in question shall be placed.
          #   @option arguments [Integer] :after ID of the album after which the album in question shall be placed.
          #   @return [Photos::Methods::ReorderAlbums]

          # @!group Arguments

          # @return [Integer] ID of the user or community that owns the album.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Album ID.
          attribute :album_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the album before which the album in question shall be placed.
          attribute :before, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the album after which the album in question shall be placed.
          attribute :after, API::Types::Coercible::Int.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/photos/methods/reorder_albums.rb