Class: Vk::API::Market::Methods::ReorderItems
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::ReorderItems
- Defined in:
- lib/vk/api/market/methods/reorder_items.rb
Overview
Changes item place in a collection.
Arguments collapse
-
#after ⇒ Integer
ID of an item to place current item after it.
-
#album_id ⇒ Integer
ID of a collection to reorder items in.
-
#before ⇒ Integer
ID of an item to place current item before it.
-
#item_id ⇒ Integer
Item ID.
-
#owner_id ⇒ Integer
ID of an item owner community.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Market::Methods::ReorderItems
|
# File 'lib/vk/api/market/methods/reorder_items.rb', line 15
|
Instance Method Details
#after ⇒ Integer
Returns ID of an item to place current item after it.
35 |
# File 'lib/vk/api/market/methods/reorder_items.rb', line 35 attribute :after, API::Types::Coercible::Int.optional.default(nil) |
#album_id ⇒ Integer
Returns ID of a collection to reorder items in. Set 0 to reorder full items list.
29 |
# File 'lib/vk/api/market/methods/reorder_items.rb', line 29 attribute :album_id, API::Types::Coercible::Int.optional.default(nil) |
#before ⇒ Integer
Returns ID of an item to place current item before it.
33 |
# File 'lib/vk/api/market/methods/reorder_items.rb', line 33 attribute :before, API::Types::Coercible::Int.optional.default(nil) |