Class: Vk::API::Account::Methods::SaveProfileInfo
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Account::Methods::SaveProfileInfo
- Defined in:
- lib/vk/api/account/methods/save_profile_info.rb
Overview
Edits current profile info.
Arguments collapse
-
#bdate ⇒ String
User birth date, format: DD.MM.YYYY.
-
#bdate_visibility ⇒ Integer
Birth date visibility.
-
#cancel_request_id ⇒ Integer
ID of the name change request to be canceled.
-
#city_id ⇒ Integer
User city.
-
#country_id ⇒ Integer
User country.
-
#first_name ⇒ String
User first name.
-
#home_town ⇒ String
User home town.
-
#last_name ⇒ String
User last name.
-
#maiden_name ⇒ String
User maiden name (female only).
-
#relation ⇒ Integer
User relationship status.
-
#relation_partner_id ⇒ Integer
ID of the relationship partner.
-
#screen_name ⇒ String
User screen name.
-
#sex ⇒ Integer
User sex.
-
#status ⇒ String
Status text.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Account::Methods::SaveProfileInfo
|
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 15
|
Instance Method Details
#bdate ⇒ String
Returns User birth date, format: DD.MM.YYYY.
52 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 52 attribute :bdate, API::Types::Coercible::String.optional.default(nil) |
#bdate_visibility ⇒ Integer
Returns Birth date visibility. Returned values: ; * '1' – show birth date;; * '2' – show only month and date;; * '0' – hide birth date.
54 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 54 attribute :bdate_visibility, API::Types::Coercible::Int.optional.default(nil) |
#cancel_request_id ⇒ Integer
Returns ID of the name change request to be canceled. If this paremeter is sent, all the others are ignored.
44 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 44 attribute :cancel_request_id, API::Types::Coercible::Int.optional.default(nil) |
#city_id ⇒ Integer
Returns User city.
60 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 60 attribute :city_id, API::Types::Coercible::Int.optional.default(nil) |
#country_id ⇒ Integer
Returns User country.
58 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 58 attribute :country_id, API::Types::Coercible::Int.optional.default(nil) |
#first_name ⇒ String
Returns User first name.
36 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 36 attribute :first_name, API::Types::Coercible::String.optional.default(nil) |
#home_town ⇒ String
Returns User home town.
56 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 56 attribute :home_town, API::Types::Coercible::String.optional.default(nil) |
#last_name ⇒ String
Returns User last name.
38 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 38 attribute :last_name, API::Types::Coercible::String.optional.default(nil) |
#maiden_name ⇒ String
Returns User maiden name (female only).
40 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 40 attribute :maiden_name, API::Types::Coercible::String.optional.default(nil) |
#relation ⇒ Integer
Returns User relationship status. Possible values: ; * '1' – single;; * '2' – in a relationship;; * '3' – engaged;; * '4' – married;; * '5' – it's complicated;; * '6' – actively searching;; * '7' – in love;; * '0' – not specified.
48 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 48 attribute :relation, API::Types::Coercible::Int.optional.default(nil) |
#relation_partner_id ⇒ Integer
Returns ID of the relationship partner.
50 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 50 attribute :relation_partner_id, API::Types::Coercible::Int.optional.default(nil) |
#screen_name ⇒ String
Returns User screen name.
42 |
# File 'lib/vk/api/account/methods/save_profile_info.rb', line 42 attribute :screen_name, API::Types::Coercible::String.optional.default(nil) |