Class: Vk::API::Audio::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Audio::Methods::Get
- Defined in:
- lib/vk/api/audio/methods/get.rb
Overview
Returns a list of audio files of a user or community.
Arguments collapse
-
#album_id ⇒ Integer
Audio album ID.
-
#audio_ids ⇒ Array
IDs of the audio files to return.
-
#count ⇒ Integer
Number of audio files to return.
-
#need_user ⇒ Boolean
'1' — to return information about users who uploaded audio files.
-
#offset ⇒ Integer
Offset needed to return a specific subset of audio files.
-
#owner_id ⇒ Integer
ID of the user or community that owns the audio file.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Audio::Methods::Get constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#album_id ⇒ Integer
Returns Audio album ID.
30 |
# File 'lib/vk/api/audio/methods/get.rb', line 30 attribute :album_id, API::Types::Coercible::Int.optional.default(nil) |
#audio_ids ⇒ Array
Returns IDs of the audio files to return.
32 |
# File 'lib/vk/api/audio/methods/get.rb', line 32 attribute :audio_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).optional.default(nil) |
#count ⇒ Integer
Returns Number of audio files to return.
38 |
# File 'lib/vk/api/audio/methods/get.rb', line 38 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#need_user ⇒ Boolean
Returns '1' — to return information about users who uploaded audio files.
34 |
# File 'lib/vk/api/audio/methods/get.rb', line 34 attribute :need_user, API::Types::Form::Bool.optional.default(nil) |