Class: Vk::API::Audio::Methods::Reorder

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/audio/methods/reorder.rb

Overview

Reorders an audio file, placing it between other specified audio files.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Audio::Methods::Reorder

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :audio_id (Integer)

    Audio file ID.

  • :owner_id (Integer)

    ID of the user or community that owns the audio file.

  • :before (Integer)

    ID of the audio file before which to place the audio file.

  • :after (Integer)

    ID of the audio file after which to place the audio file.



# File 'lib/vk/api/audio/methods/reorder.rb', line 15

Instance Method Details

#afterInteger

Returns ID of the audio file after which to place the audio file.

Returns:

  • (Integer)

    ID of the audio file after which to place the audio file.



32
# File 'lib/vk/api/audio/methods/reorder.rb', line 32

attribute :after, API::Types::Coercible::Int.optional.default(nil)

#audio_idInteger

Returns Audio file ID.

Returns:

  • (Integer)

    Audio file ID.



26
# File 'lib/vk/api/audio/methods/reorder.rb', line 26

attribute :audio_id, API::Types::Coercible::Int

#beforeInteger

Returns ID of the audio file before which to place the audio file.

Returns:

  • (Integer)

    ID of the audio file before which to place the audio file.



30
# File 'lib/vk/api/audio/methods/reorder.rb', line 30

attribute :before, API::Types::Coercible::Int.optional.default(nil)

#owner_idInteger

Returns ID of the user or community that owns the audio file.

Returns:

  • (Integer)

    ID of the user or community that owns the audio file.



28
# File 'lib/vk/api/audio/methods/reorder.rb', line 28

attribute :owner_id, API::Types::Coercible::Int.optional.default(nil)