Class: Vk::API::Photos::Methods::ReorderPhotos
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::ReorderPhotos
- Defined in:
- lib/vk/api/photos/methods/reorder_photos.rb
Overview
Reorders the photo in the list of photos of the user album.
Arguments collapse
-
#after ⇒ Integer
ID of the photo after which the photo in question shall be placed.
-
#before ⇒ Integer
ID of the photo before which the photo in question shall be placed.
-
#owner_id ⇒ Integer
ID of the user or community that owns the photo.
-
#photo_id ⇒ Integer
Photo ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::ReorderPhotos
|
|
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 15
|
Instance Method Details
#after ⇒ Integer
32 |
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 32 attribute :after, API::Types::Coercible::Int.optional.default(nil) |
#before ⇒ Integer
30 |
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 30 attribute :before, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
26 |
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 26 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#photo_id ⇒ Integer
28 |
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 28 attribute :photo_id, API::Types::Coercible::Int |