Class: Vk::API::Search::Hint

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/search/hint.rb

Overview

Instance Method Summary collapse

Instance Method Details

#descriptionString

Returns Object description.

Returns:

  • (String)

    Object description


15
# File 'lib/vk/api/search/hint.rb', line 15

attribute :description, API::Types::Coercible::String

#globalAPI::Base::BoolInt

Returns Information whether the object has been found globally.

Returns:


17
# File 'lib/vk/api/search/hint.rb', line 17

attribute :global, API::Base::BoolInt.optional.default(nil)

#groupAPI::Groups::Group


19
# File 'lib/vk/api/search/hint.rb', line 19

attribute :group, Dry::Types[API::Groups::Group].optional.default(nil)

#profileAPI::Users::UserMin


21
# File 'lib/vk/api/search/hint.rb', line 21

attribute :profile, Dry::Types[API::Users::UserMin].optional.default(nil)

#sectionString

Returns Section title.

Returns:

  • (String)

    Section title


13
# File 'lib/vk/api/search/hint.rb', line 13

attribute :section, API::Types::Coercible::String.enum("groups", "events", "publics", "correspondents", "people", "friends", "mutual_friends")

#typeString

Returns Object type.

Returns:

  • (String)

    Object type


11
# File 'lib/vk/api/search/hint.rb', line 11

attribute :type, API::Types::Coercible::String.enum("group", "profile")