Sha256: 59afd3e4b639e34e9edf95a2ed06e7b2d5cebc3dbc35143f56672d69a6aa9a56

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

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

module Vk
  module API
    class Notes < Vk::Schema::Namespace
      module Methods
        # Returns a list of notes created by a user.
        class Get < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'notes.get'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Array] :note_ids Note IDs.
          #   @option arguments [Integer] :user_id Note owner ID.
          #   @option arguments [Integer] :count Number of notes to return.
          #   @return [Notes::Methods::Get]

          # @!group Arguments

          # @return [Array] Note IDs.
          attribute :note_ids, API::Types::Coercible::Array.optional
          # @return [Integer] Note owner ID.
          attribute :user_id, API::Types::Coercible::Int.optional
          # @return [Integer] Number of notes to return.
          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/notes/methods/get.rb