Sha256: 2f030aee03bf50b2e9e8f2235cbf97f5192a503a573ca071d0ffb430e51bdfb0

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Audio < Vk::Schema::Namespace
      module Methods
        # Edits the title of an audio album.
        class EditAlbum < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'audio.editAlbum'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id ID of the community where the album is located.;
          #   @option arguments [Integer] :album_id Album ID.
          #   @option arguments [String] :title New album title.
          #   @return [Audio::Methods::EditAlbum]

          # @!group Arguments

          # @return [Integer] ID of the community where the album is located.;
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [Integer] Album ID.
          attribute :album_id, API::Types::Coercible::Int.optional
          # @return [String] New album title.
          attribute :title, API::Types::Coercible::String.optional
        end
      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/methods/edit_album.rb