Class: Vk::API::Utils::DomainResolved

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/utils/domain_resolved.rb

Overview

Instance Method Summary collapse

Instance Method Details

#object_idInteger

Returns Object ID.

Returns:

  • (Integer)

    Object ID


13
# File 'lib/vk/api/utils/domain_resolved.rb', line 13

attribute :object_id, API::Types::Coercible::Int.optional.default(nil)

#typeString

Returns Object type.

Returns:

  • (String)

    Object type


11
# File 'lib/vk/api/utils/domain_resolved.rb', line 11

attribute :type, API::Types::Coercible::String.enum("user", "group", "application", "page").optional.default(nil)