Sha256: 78574166aca3b7a268144f11ddceb7463ff2c09723fa837152c1a1c693854b84

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

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

module Vk
  module API
    class Market < Vk::Schema::Namespace
      module Methods
        # Removes an item from one or multiple collections.
        class RemoveFromAlbum < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id ID of an item owner community.
          #   @option arguments [Integer] :item_id Item ID.
          #   @option arguments [Array] :album_ids Collections IDs to remove item from.
          #   @return [Market::Methods::RemoveFromAlbum]

          # @!group Arguments

          # @return [Integer] ID of an item owner community.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Item ID.
          attribute :item_id, API::Types::Coercible::Int.optional
          # @return [Array] Collections IDs to remove item from.
          attribute :album_ids, API::Types::Coercible::Array.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/remove_from_album.rb