Class: Vk::API::Audio::Methods::Edit
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Audio::Methods::Edit
- Defined in:
- lib/vk/api/audio/methods/edit.rb
Overview
Edits an audio file on a user or community page.;
Arguments collapse
-
#artist ⇒ String
Name of the artist.
-
#audio_id ⇒ Integer
Audio file ID.
-
#genre_id ⇒ Integer
Genre of the audio file.
-
#no_search ⇒ Boolean
'1' — audio file will not be available for search; '0' — audio file will be available for search (default).
-
#owner_id ⇒ Integer
ID of the user or community that owns the audio file.
-
#text ⇒ String
Text of the lyrics of the audio file.
-
#title ⇒ String
Title of the audio file.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Audio::Methods::Edit constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#artist ⇒ String
Returns Name of the artist.
33 |
# File 'lib/vk/api/audio/methods/edit.rb', line 33 attribute :artist, API::Types::Coercible::String.optional.default(nil) |
#audio_id ⇒ Integer
Returns Audio file ID.
31 |
# File 'lib/vk/api/audio/methods/edit.rb', line 31 attribute :audio_id, API::Types::Coercible::Int |
#genre_id ⇒ Integer
Returns Genre of the audio file. See the list of .
39 |
# File 'lib/vk/api/audio/methods/edit.rb', line 39 attribute :genre_id, API::Types::Coercible::Int.optional.default(nil) |
#no_search ⇒ Boolean
Returns '1' — audio file will not be available for search; '0' — audio file will be available for search (default).
41 |
# File 'lib/vk/api/audio/methods/edit.rb', line 41 attribute :no_search, API::Types::Form::Bool.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the audio file.
29 |
# File 'lib/vk/api/audio/methods/edit.rb', line 29 attribute :owner_id, API::Types::Coercible::Int |