Class: Vk::API::Audio::Audio

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/audio/audio.rb

Overview

Direct Known Subclasses

AudioFull

Instance Method Summary collapse

Instance Method Details

#access_keyString

Returns Access key for the audio.

Returns:

  • (String)

    Access key for the audio


21
# File 'lib/vk/api/audio/audio.rb', line 21

attribute :access_key, API::Types::Coercible::String.optional.default(nil)

#artistString

Returns Artist name.

Returns:

  • (String)

    Artist name


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

attribute :artist, API::Types::Coercible::String

#idInteger

Returns Audio ID.

Returns:

  • (Integer)

    Audio ID


11
# File 'lib/vk/api/audio/audio.rb', line 11

attribute :id, API::Types::Coercible::Int

#owner_idInteger

Returns Audio owner's ID.

Returns:

  • (Integer)

    Audio owner's ID


13
# File 'lib/vk/api/audio/audio.rb', line 13

attribute :owner_id, API::Types::Coercible::Int

#titleString

Returns Title.

Returns:

  • (String)

    Title


17
# File 'lib/vk/api/audio/audio.rb', line 17

attribute :title, API::Types::Coercible::String

#urlString

Returns URL of mp3 file.

Returns:

  • (String)

    URL of mp3 file


19
# File 'lib/vk/api/audio/audio.rb', line 19

attribute :url, API::Types::Coercible::String.optional.default(nil)