Sha256: 3562bf8299146f2d2dc95be9f0ad765b5fc98e540a202f82b35b8baef36f4ca7

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

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

module Vk
  module API
    class Search < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Hint < Vk::Schema::Object
        # @return [String] Object type
        attribute :type, API::Types::Coercible::String
        # @return [String] Section title
        attribute :section, API::Types::Coercible::String
        # @return [String] Object description
        attribute :description, API::Types::Coercible::String
        # @return [API::Base::BoolInt] Information whether the object has been found globally
        attribute :global, API::Base::BoolInt.optional
        # @return [API::Groups::Group] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :group, Dry::Types[API::Groups::Group].optional
        # @return [API::Users::UserMin] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :profile, Dry::Types[API::Users::UserMin].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/search/hint.rb