Sha256: 207dd3dbe3e74957e2a7abb7a670b6845c6961ca26f4cc5d01cbc2e57ccf4c85

Contents?: true

Size: 974 Bytes

Versions: 1

Compression:

Stored size: 974 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Audio < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class AudioFull < API::Audio::Audio
        # @return [Integer] Duration in seconds
        attribute :duration, API::Types::Coercible::Int.optional
        # @return [Integer] Date when uploaded
        attribute :date, API::Types::Coercible::Int.optional
        # @return [Integer] Album ID
        attribute :album_id, API::Types::Coercible::Int.optional
        # @return [Integer] Lyrics ID
        attribute :lyrics_id, API::Types::Coercible::Int.optional
        # @return [Integer] Genre ID
        attribute :genre_id, API::Types::Coercible::Int.optional
        # @return [API::Base::BoolInt] Information whether the audio is hidden from search
        attribute :no_search, API::Base::BoolInt.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/audio/audio_full.rb