Class: Vk::API::Account::NameRequest

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/account/name_request.rb

Overview

Instance Method Summary collapse

Instance Method Details

#first_nameString

Returns First name in request.

Returns:

  • (String)

    First name in request


15
# File 'lib/vk/api/account/name_request.rb', line 15

attribute :first_name, API::Types::Coercible::String.optional.default(nil)

#idInteger

Returns Request ID needed to cancel the request.

Returns:

  • (Integer)

    Request ID needed to cancel the request


11
# File 'lib/vk/api/account/name_request.rb', line 11

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

#last_nameString

Returns Last name in request.

Returns:

  • (String)

    Last name in request


17
# File 'lib/vk/api/account/name_request.rb', line 17

attribute :last_name, API::Types::Coercible::String.optional.default(nil)

#statusString

Returns Request status.

Returns:

  • (String)

    Request status


13
# File 'lib/vk/api/account/name_request.rb', line 13

attribute :status, API::Types::Coercible::String.enum("success", "processing", "declined", "was_accepted", "was_declined").optional.default(nil)