Sha256: dd8dd094a278f502266b04c7eae89433c6dbb06d1bfa7bb2b41c36bfbc2348eb

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

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

module Vk
  module API
    class Market < Vk::Schema::Namespace
      module Methods
        # Reorders the collections list.
        class ReorderAlbums < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id ID of an item owner community.
          #   @option arguments [Integer] :album_id Collection ID.
          #   @option arguments [Integer] :before ID of a collection to place current collection before it.
          #   @option arguments [Integer] :after ID of a collection to place current collection after it.
          #   @return [Market::Methods::ReorderAlbums]

          # @!group Arguments

          # @return [Integer] ID of an item owner community.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Collection ID.
          attribute :album_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of a collection to place current collection before it.
          attribute :before, API::Types::Coercible::Int.optional
          # @return [Integer] ID of a collection to place current collection after it.
          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/market/methods/reorder_albums.rb