Class: Vk::API::Account::UserSettings

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

Overview

Instance Method Summary collapse

Instance Method Details

#bdateString

Returns User's date of birth.

Returns:

  • (String)

    User's date of birth


29
# File 'lib/vk/api/account/user_settings.rb', line 29

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

#bdate_visibilityInteger

Returns Information whether user's birthdate are hidden.

Returns:

  • (Integer)

    Information whether user's birthdate are hidden


31
# File 'lib/vk/api/account/user_settings.rb', line 31

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

#cityAPI::Base::Object


37
# File 'lib/vk/api/account/user_settings.rb', line 37

attribute :city, Dry::Types[API::Base::Object].optional.default(nil)

#countryAPI::Base::Country


35
# File 'lib/vk/api/account/user_settings.rb', line 35

attribute :country, Dry::Types[API::Base::Country].optional.default(nil)

#first_nameString

Returns User first name.

Returns:

  • (String)

    User first name


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

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

#home_townString

Returns User's hometown.

Returns:

  • (String)

    User's hometown


33
# File 'lib/vk/api/account/user_settings.rb', line 33

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

#last_nameString

Returns User last name.

Returns:

  • (String)

    User last name


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

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

#maiden_nameString

Returns User maiden name.

Returns:

  • (String)

    User maiden name


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

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

#name_requestAPI::Account::NameRequest


43
# File 'lib/vk/api/account/user_settings.rb', line 43

attribute :name_request, Dry::Types[API::Account::NameRequest].optional.default(nil)

#phoneString

Returns User phone number with some hidden digits.

Returns:

  • (String)

    User phone number with some hidden digits


41
# File 'lib/vk/api/account/user_settings.rb', line 41

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

#relationInteger

Returns User relationship status.

Returns:

  • (Integer)

    User relationship status


21
# File 'lib/vk/api/account/user_settings.rb', line 21

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

#relation_partnerAPI::Users::UserMin


23
# File 'lib/vk/api/account/user_settings.rb', line 23

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

#relation_pendingInteger

Returns Information whether relation status is pending.

Returns:

  • (Integer)

    Information whether relation status is pending


25
# File 'lib/vk/api/account/user_settings.rb', line 25

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

#relation_requestsArray


27
# File 'lib/vk/api/account/user_settings.rb', line 27

attribute :relation_requests, API::Types::Coercible::Array.member(API::Users::UserMin).optional.default(nil)

#screen_nameString

Returns Domain name of the user's page.

Returns:

  • (String)

    Domain name of the user's page


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

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

#sexInteger

Returns User sex.

Returns:

  • (Integer)

    User sex


19
# File 'lib/vk/api/account/user_settings.rb', line 19

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

#statusString

Returns User status.

Returns:

  • (String)

    User status


39
# File 'lib/vk/api/account/user_settings.rb', line 39

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