Sha256: dab74e98e5caeaf00f230d51a6f9d9aee2ca9bd8d95514a8f4b10045a74a85cf

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 Storage < Vk::Schema::Namespace
      module Methods
        # Returns the names of all variables.
        class GetKeys < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'storage.getKeys'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id user id, whose variables names are returned if they were requested with a server method.
          #   @option arguments [Integer] :count amount of variable names the info needs to be collected from.
          #   @return [Storage::Methods::GetKeys]

          # @!group Arguments

          # @return [Integer] user id, whose variables names are returned if they were requested with a server method.
          attribute :user_id, API::Types::Coercible::Int.optional
          # @return [Integer] amount of variable names the info needs to be collected from.
          attribute :count, API::Types::Coercible::Int.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/storage/methods/get_keys.rb