zsgf_client 1.0.20 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AccessTokenApi.md +14 -14
  3. data/docs/AccessTokenPutRequest.md +2 -2
  4. data/docs/AppUserListResponse.md +12 -12
  5. data/docs/AppUserResetEmailRequest.md +20 -0
  6. data/docs/AppUserResetPhoneRequest.md +20 -0
  7. data/docs/AppUserResetPwdRequest.md +4 -8
  8. data/docs/CommonFriendModel.md +3 -3
  9. data/docs/EmailSignInRequest.md +3 -3
  10. data/docs/EmailSignUpRequest.md +5 -5
  11. data/docs/FileApi.md +4 -4
  12. data/docs/FollowerModel.md +12 -12
  13. data/docs/FollowerPutModel.md +6 -6
  14. data/docs/GeoLocation.md +62 -0
  15. data/docs/GeoLocationModel.md +4 -4
  16. data/docs/GeoLocationResponseModel.md +4 -4
  17. data/docs/GetUserProfileResult.md +24 -0
  18. data/docs/{UserFollowingResultApiResponse.md → GetUserProfileResultApiResponse.md} +3 -3
  19. data/docs/MySqlGeometry.md +26 -0
  20. data/docs/OAuthAccountSignInRequest.md +3 -3
  21. data/docs/PhoneSignInRequest.md +3 -3
  22. data/docs/PhoneSignUpRequest.md +7 -7
  23. data/docs/QRCodePreSignInRequest.md +3 -3
  24. data/docs/QRCodeScanRequest.md +1 -1
  25. data/docs/QRCodeSignInRequest.md +1 -1
  26. data/docs/QRCodeSignUpRequest.md +8 -8
  27. data/docs/RecommendFriend.md +21 -11
  28. data/docs/SendEmailCodeRequest.md +2 -2
  29. data/docs/SendSMSCodeRequest.md +2 -2
  30. data/docs/SignInRequest.md +3 -3
  31. data/docs/SignUpRequest.md +8 -8
  32. data/docs/StorageApi.md +86 -6
  33. data/docs/UnionIDSignInRequest.md +3 -3
  34. data/docs/UnionIDSignUpRequest.md +10 -10
  35. data/docs/UpdateProfileRequest.md +27 -15
  36. data/docs/UserApi.md +358 -54
  37. data/docs/UserFriendsNearByResult.md +3 -3
  38. data/docs/UserProfileResult.md +2 -28
  39. data/docs/WechatApi.md +86 -12
  40. data/lib/zsgf_client/api/access_token_api.rb +14 -14
  41. data/lib/zsgf_client/api/file_api.rb +3 -3
  42. data/lib/zsgf_client/api/storage_api.rb +105 -6
  43. data/lib/zsgf_client/api/user_api.rb +349 -60
  44. data/lib/zsgf_client/api/wechat_api.rb +88 -18
  45. data/lib/zsgf_client/models/access_token_put_request.rb +3 -27
  46. data/lib/zsgf_client/models/app_user_list_response.rb +12 -0
  47. data/lib/zsgf_client/models/app_user_reset_email_request.rb +269 -0
  48. data/lib/zsgf_client/models/app_user_reset_phone_request.rb +269 -0
  49. data/lib/zsgf_client/models/app_user_reset_pwd_request.rb +52 -70
  50. data/lib/zsgf_client/models/common_friend_model.rb +3 -0
  51. data/lib/zsgf_client/models/email_sign_in_request.rb +38 -1
  52. data/lib/zsgf_client/models/email_sign_up_request.rb +30 -8
  53. data/lib/zsgf_client/models/follower_model.rb +12 -0
  54. data/lib/zsgf_client/models/follower_put_model.rb +6 -0
  55. data/lib/zsgf_client/models/geo_location.rb +750 -0
  56. data/lib/zsgf_client/models/geo_location_model.rb +262 -12
  57. data/lib/zsgf_client/models/geo_location_response_model.rb +262 -12
  58. data/lib/zsgf_client/models/{user_following_result.rb → get_user_profile_result.rb} +37 -18
  59. data/lib/zsgf_client/models/{user_following_result_api_response.rb → get_user_profile_result_api_response.rb} +4 -4
  60. data/lib/zsgf_client/models/my_sql_geometry.rb +260 -0
  61. data/lib/zsgf_client/models/o_auth_account_sign_in_request.rb +78 -1
  62. data/lib/zsgf_client/models/phone_sign_in_request.rb +49 -1
  63. data/lib/zsgf_client/models/phone_sign_up_request.rb +29 -24
  64. data/lib/zsgf_client/models/qr_code_pre_sign_in_request.rb +97 -0
  65. data/lib/zsgf_client/models/qr_code_scan_request.rb +1 -0
  66. data/lib/zsgf_client/models/qr_code_sign_in_request.rb +1 -0
  67. data/lib/zsgf_client/models/qr_code_sign_up_request.rb +38 -33
  68. data/lib/zsgf_client/models/recommend_friend.rb +69 -4
  69. data/lib/zsgf_client/models/send_email_code_request.rb +2 -1
  70. data/lib/zsgf_client/models/send_sms_code_request.rb +2 -2
  71. data/lib/zsgf_client/models/sign_in_request.rb +77 -11
  72. data/lib/zsgf_client/models/sign_up_request.rb +47 -35
  73. data/lib/zsgf_client/models/union_id_sign_in_request.rb +78 -1
  74. data/lib/zsgf_client/models/union_id_sign_up_request.rb +92 -45
  75. data/lib/zsgf_client/models/update_profile_request.rb +99 -24
  76. data/lib/zsgf_client/models/user_friends_near_by_result.rb +10 -7
  77. data/lib/zsgf_client/models/user_profile_result.rb +7 -133
  78. data/lib/zsgf_client/version.rb +1 -1
  79. data/lib/zsgf_client.rb +6 -2
  80. data/spec/api/access_token_api_spec.rb +7 -7
  81. data/spec/api/file_api_spec.rb +1 -1
  82. data/spec/api/storage_api_spec.rb +17 -1
  83. data/spec/api/user_api_spec.rb +81 -23
  84. data/spec/api/wechat_api_spec.rb +19 -6
  85. data/spec/models/{user_following_result_spec.rb → app_user_reset_email_request_spec.rb} +8 -8
  86. data/spec/models/app_user_reset_phone_request_spec.rb +42 -0
  87. data/spec/models/app_user_reset_pwd_request_spec.rb +2 -14
  88. data/spec/models/geo_location_model_spec.rb +3 -3
  89. data/spec/models/geo_location_response_model_spec.rb +3 -3
  90. data/spec/models/geo_location_spec.rb +168 -0
  91. data/spec/models/{user_following_result_api_response_spec.rb → get_user_profile_result_api_response_spec.rb} +6 -6
  92. data/spec/models/get_user_profile_result_spec.rb +54 -0
  93. data/spec/models/my_sql_geometry_spec.rb +60 -0
  94. data/spec/models/recommend_friend_spec.rb +30 -0
  95. data/spec/models/update_profile_request_spec.rb +36 -0
  96. data/spec/models/user_friends_near_by_result_spec.rb +1 -1
  97. data/spec/models/user_profile_result_spec.rb +1 -79
  98. data/zsgf_client.gemspec +3 -3
  99. metadata +214 -198
  100. data/docs/UserFollowingResult.md +0 -20
@@ -4,16 +4,21 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **user_id** | **Integer** | | [optional] |
8
- | **nick_name** | **String** | | [optional] |
9
- | **avatar** | **String** | | [optional] |
10
- | **gender** | **String** | | [optional] |
11
- | **age** | **Integer** | | [optional] |
12
- | **interest_tags** | **String** | | [optional] |
13
- | **location_name** | **String** | | [optional] |
14
- | **latitude** | **Float** | | [optional] |
15
- | **longitude** | **Float** | | [optional] |
16
- | **distance** | **Integer** | | [optional] |
7
+ | **user_id** | **Integer** | 用户ID | [optional] |
8
+ | **nick_name** | **String** | 昵称 | [optional] |
9
+ | **avatar** | **String** | 头像 | [optional] |
10
+ | **gender** | **String** | 性别 | [optional] |
11
+ | **age** | **Integer** | 年龄 | [optional] |
12
+ | **interest_tags** | **String** | 兴趣标签 | [optional] |
13
+ | **location_name** | **String** | 位置名称 | [optional] |
14
+ | **latitude** | **Float** | 纬度 | [optional] |
15
+ | **longitude** | **Float** | 经度 | [optional] |
16
+ | **distance** | **Integer** | 距离 | [optional] |
17
+ | **biography** | **String** | 个人简介 | [optional] |
18
+ | **country** | **String** | 国家 | [optional] |
19
+ | **state** | **String** | 省份 | [optional] |
20
+ | **city** | **String** | 城市 | [optional] |
21
+ | **district** | **String** | 区县 | [optional] |
17
22
 
18
23
  ## Example
19
24
 
@@ -30,7 +35,12 @@ instance = ZSGFClient::RecommendFriend.new(
30
35
  location_name: null,
31
36
  latitude: null,
32
37
  longitude: null,
33
- distance: null
38
+ distance: null,
39
+ biography: null,
40
+ country: null,
41
+ state: null,
42
+ city: null,
43
+ district: null
34
44
  )
35
45
  ```
36
46
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **email** | **String** | | |
8
- | **type** | **String** | 用途。可选值:signup/forgetpwd | |
7
+ | **email** | **String** | 用户邮箱地址 | |
8
+ | **type** | **String** | 用途。可选值:signup(注册)/forgetpwd(忘记密码) | |
9
9
 
10
10
  ## Example
11
11
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **phone** | **String** | 手机号 | |
8
- | **type** | **String** | 用途。可选值:signup/forgetpwd | |
7
+ | **phone** | **String** | 用户手机号 | |
8
+ | **type** | **String** | 用途。可选值:signup(注册)/forgetpwd(忘记密码) | |
9
9
 
10
10
  ## Example
11
11
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **user_name** | **String** | | |
8
- | **pwd** | **String** | | |
9
- | **two_factor_code** | **String** | 如果启用双因素认证登录,则必填 | [optional] |
7
+ | **user_name** | **String** | 用户名,长度必须在6到32个字符之间,只能包含字母、数字、下划线和连字符 | |
8
+ | **pwd** | **String** | 用户密码,长度必须在6到50个字符之间,可以包含数字、大小写字母、下划线、连字符和特殊符号 | |
9
+ | **two_factor_code** | **String** | 双因素认证代码,如果启用双因素认证登录,则必填,长度必须为6个字符,只能包含数字 | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -4,15 +4,15 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **user_name** | **String** | 登录账号,4~18位 | |
8
- | **pwd** | **String** | 登录密码,6~32 | |
9
- | **nick_name** | **String** | 昵称 | [optional] |
10
- | **avatar** | **String** | 头像 | [optional] |
7
+ | **user_name** | **String** | 用户名,长度必须在6到32个字符之间,只能包含字母、数字、下划线和连字符 | |
8
+ | **pwd** | **String** | 登录密码,长度必须在632个字符之间,只能包含字母和数字 | |
9
+ | **nick_name** | **String** | 用户昵称,长度不能超过20个字符 | [optional] |
10
+ | **avatar** | **String** | 用户头像URL | [optional] |
11
11
  | **data** | **String** | 自定义数据 | [optional] |
12
- | **email** | **String** | 邮箱 | [optional] |
13
- | **email_code** | **String** | 邮箱验证码(只有启用的邮箱验证码功能时,才需要传入) | [optional] |
14
- | **phone** | **String** | 手机号 | [optional] |
15
- | **phone_code** | **String** | 手机验证码(只有启用的手机验证码功能时,才需要传入) | [optional] |
12
+ | **email** | **String** | 用户邮箱 | [optional] |
13
+ | **email_code** | **String** | 邮箱验证码(只有启用的邮箱验证码功能时,才需要传入),长度为4到8位的数字 | [optional] |
14
+ | **phone** | **String** | 用户手机号,必须为11位数字 | [optional] |
15
+ | **phone_code** | **String** | 手机验证码(只有启用的手机验证码功能时,才需要传入),长度为4到8位的数字 | [optional] |
16
16
 
17
17
  ## Example
18
18
 
data/docs/StorageApi.md CHANGED
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.zashigaofa.cn*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**storage_aggregate**](StorageApi.md#storage_aggregate) | **GET** /Storage/{appKey}/{table}/Aggregate | 聚合查询 |
8
+ | [**storage_batch_update**](StorageApi.md#storage_batch_update) | **PUT** /Storage/{appKey}/{table}/batch-update | 批量更新指定条件的数据 |
8
9
  | [**storage_clear**](StorageApi.md#storage_clear) | **DELETE** /Storage/{appKey}/{table}/Clear | 清空表数据 |
9
10
  | [**storage_delete**](StorageApi.md#storage_delete) | **DELETE** /Storage/{appKey}/{table}/{id} | 删除数据 |
10
11
  | [**storage_delete_index**](StorageApi.md#storage_delete_index) | **DELETE** /Storage/{appKey}/{table}/indexes | 删除索引 |
@@ -97,6 +98,85 @@ end
97
98
  - **Accept**: application/json
98
99
 
99
100
 
101
+ ## storage_batch_update
102
+
103
+ > <BooleanApiResponse> storage_batch_update(table, filter, app_key, request_body, opts)
104
+
105
+ 批量更新指定条件的数据
106
+
107
+ 批量更新指定表中符合条件的文档,可以动态指定查询条件和更新字段
108
+
109
+ ### Examples
110
+
111
+ ```ruby
112
+ require 'time'
113
+ require 'zsgf_client'
114
+ # setup authorization
115
+ ZSGFClient.configure do |config|
116
+ # Configure Bearer authorization: Bearer
117
+ config.access_token = 'YOUR_BEARER_TOKEN'
118
+ end
119
+
120
+ api_instance = ZSGFClient::StorageApi.new
121
+ table = 'table_example' # String | 表名称
122
+ filter = 'filter_example' # String | 查询条件
123
+ app_key = 'app_key_example' # String |
124
+ request_body = [3.56] # Array<Object> | 更新的字段
125
+ opts = {
126
+ replace: true # Boolean | 是否为全量替换,默认为 false
127
+ }
128
+
129
+ begin
130
+ # 批量更新指定条件的数据
131
+ result = api_instance.storage_batch_update(table, filter, app_key, request_body, opts)
132
+ p result
133
+ rescue ZSGFClient::ApiError => e
134
+ puts "Error when calling StorageApi->storage_batch_update: #{e}"
135
+ end
136
+ ```
137
+
138
+ #### Using the storage_batch_update_with_http_info variant
139
+
140
+ This returns an Array which contains the response data, status code and headers.
141
+
142
+ > <Array(<BooleanApiResponse>, Integer, Hash)> storage_batch_update_with_http_info(table, filter, app_key, request_body, opts)
143
+
144
+ ```ruby
145
+ begin
146
+ # 批量更新指定条件的数据
147
+ data, status_code, headers = api_instance.storage_batch_update_with_http_info(table, filter, app_key, request_body, opts)
148
+ p status_code # => 2xx
149
+ p headers # => { ... }
150
+ p data # => <BooleanApiResponse>
151
+ rescue ZSGFClient::ApiError => e
152
+ puts "Error when calling StorageApi->storage_batch_update_with_http_info: #{e}"
153
+ end
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ | Name | Type | Description | Notes |
159
+ | ---- | ---- | ----------- | ----- |
160
+ | **table** | **String** | 表名称 | |
161
+ | **filter** | **String** | 查询条件 | |
162
+ | **app_key** | **String** | | |
163
+ | **request_body** | [**Array&lt;Object&gt;**](Object.md) | 更新的字段 | |
164
+ | **replace** | **Boolean** | 是否为全量替换,默认为 false | [optional][default to false] |
165
+
166
+ ### Return type
167
+
168
+ [**BooleanApiResponse**](BooleanApiResponse.md)
169
+
170
+ ### Authorization
171
+
172
+ [Bearer](../README.md#Bearer)
173
+
174
+ ### HTTP request headers
175
+
176
+ - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
177
+ - **Accept**: application/json
178
+
179
+
100
180
  ## storage_clear
101
181
 
102
182
  > <Int64ApiResponse> storage_clear(table, app_key, opts)
@@ -940,7 +1020,7 @@ end
940
1020
 
941
1021
  ## storage_put
942
1022
 
943
- > <BooleanApiResponse> storage_put(table, id, app_key, body, opts)
1023
+ > <BooleanApiResponse> storage_put(table, id, app_key, request_body, opts)
944
1024
 
945
1025
  更新数据
946
1026
 
@@ -961,14 +1041,14 @@ api_instance = ZSGFClient::StorageApi.new
961
1041
  table = 'table_example' # String | 表名称
962
1042
  id = 'id_example' # String | 数据ID
963
1043
  app_key = 'app_key_example' # String |
964
- body = 3.56 # Object | json格式
1044
+ request_body = [3.56] # Array<Object> | json格式
965
1045
  opts = {
966
1046
  replace: true # Boolean | 是否为全量更新,默认为false
967
1047
  }
968
1048
 
969
1049
  begin
970
1050
  # 更新数据
971
- result = api_instance.storage_put(table, id, app_key, body, opts)
1051
+ result = api_instance.storage_put(table, id, app_key, request_body, opts)
972
1052
  p result
973
1053
  rescue ZSGFClient::ApiError => e
974
1054
  puts "Error when calling StorageApi->storage_put: #{e}"
@@ -979,12 +1059,12 @@ end
979
1059
 
980
1060
  This returns an Array which contains the response data, status code and headers.
981
1061
 
982
- > <Array(<BooleanApiResponse>, Integer, Hash)> storage_put_with_http_info(table, id, app_key, body, opts)
1062
+ > <Array(<BooleanApiResponse>, Integer, Hash)> storage_put_with_http_info(table, id, app_key, request_body, opts)
983
1063
 
984
1064
  ```ruby
985
1065
  begin
986
1066
  # 更新数据
987
- data, status_code, headers = api_instance.storage_put_with_http_info(table, id, app_key, body, opts)
1067
+ data, status_code, headers = api_instance.storage_put_with_http_info(table, id, app_key, request_body, opts)
988
1068
  p status_code # => 2xx
989
1069
  p headers # => { ... }
990
1070
  p data # => <BooleanApiResponse>
@@ -1000,7 +1080,7 @@ end
1000
1080
  | **table** | **String** | 表名称 | |
1001
1081
  | **id** | **String** | 数据ID | |
1002
1082
  | **app_key** | **String** | | |
1003
- | **body** | **Object** | json格式 | |
1083
+ | **request_body** | [**Array&lt;Object&gt;**](Object.md) | json格式 | |
1004
1084
  | **replace** | **Boolean** | 是否为全量更新,默认为false | [optional][default to false] |
1005
1085
 
1006
1086
  ### Return type
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **union_id** | **String** | | |
8
- | **platform** | **String** | | |
9
- | **two_factor_code** | **String** | 如果启用双因素认证登录,则必填 | [optional] |
7
+ | **union_id** | **String** | UnionID,长度必须在1到99个字符之间,只能包含字母、数字、下划线和连字符 | |
8
+ | **platform** | **String** | 平台,长度必须在1到20个字符之间,只能包含字母和数字 | |
9
+ | **two_factor_code** | **String** | 双因素认证代码,如果启用双因素认证登录,则必填,长度必须为6个字符,只能包含数字 | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **user_name** | **String** | 登录账号,可空 | [optional] |
8
- | **union_id** | **String** | UnionID | |
9
- | **platform** | **String** | 平台标识 | |
10
- | **pwd** | **String** | 密码,6~32 | |
11
- | **nick_name** | **String** | 昵称 | [optional] |
12
- | **avatar** | **String** | 头像 | [optional] |
7
+ | **user_name** | **String** | 登录账号,可空,只能包含字母、数字、下划线和连字符 | [optional] |
8
+ | **union_id** | **String** | UnionID,长度不能超过99个字符,只能包含字母、数字、下划线和连字符 | |
9
+ | **platform** | **String** | 平台标识,长度必须在1到20个字符之间,只能包含字母和数字 | |
10
+ | **pwd** | **String** | 密码,长度必须在632个字符之间,只允许英文大小写、数字、标点符号 | |
11
+ | **nick_name** | **String** | 用户昵称 | [optional] |
12
+ | **avatar** | **String** | 用户头像URL | [optional] |
13
13
  | **data** | **String** | 自定义数据 | [optional] |
14
- | **email** | **String** | 邮箱 | [optional] |
15
- | **email_code** | **String** | 邮箱验证码(只有启用的邮箱验证码功能时,才需要传入) | [optional] |
16
- | **phone** | **String** | 手机号 | [optional] |
17
- | **phone_code** | **String** | 手机验证码(只有启用的手机验证码功能时,才需要传入) | [optional] |
14
+ | **email** | **String** | 用户邮箱 | [optional] |
15
+ | **email_code** | **String** | 邮箱验证码(只有启用的邮箱验证码功能时,才需要传入),长度为4到8位的数字 | [optional] |
16
+ | **phone** | **String** | 用户手机号,必须为11位数字 | [optional] |
17
+ | **phone_code** | **String** | 手机验证码(只有启用的手机验证码功能时,才需要传入),长度为4到8位的数字 | [optional] |
18
18
 
19
19
  ## Example
20
20
 
@@ -4,23 +4,29 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **avatar** | **String** | 用户头像的链接或路径 | [optional] |
7
+ | **avatar** | **String** | 用户头像的链接或路径,长度不能超过255个字符 | [optional] |
8
8
  | **data** | **String** | 用户的其他数据,可以是序列化后的对象或JSON字符串 | [optional] |
9
- | **nick_name** | **String** | 用户的昵称 | [optional] |
9
+ | **nick_name** | **String** | 用户的昵称,长度不能超过50个字符 | [optional] |
10
10
  | **interest_tags** | **String** | 兴趣标签 | [optional] |
11
- | **biography** | **String** | 个人简介 | [optional] |
12
- | **gender** | **String** | 性别 | [optional] |
11
+ | **biography** | **String** | 个人简介,长度不能超过500个字符 | [optional] |
12
+ | **gender** | **String** | 性别,长度不能超过15个字符 | [optional] |
13
13
  | **birthday** | **Time** | 生日 | [optional] |
14
- | **occupation** | **String** | 职业 | [optional] |
15
- | **education** | **String** | 学历 | [optional] |
16
- | **contact** | **String** | 联系方式 | [optional] |
17
- | **languages** | **String** | 语言 | [optional] |
18
- | **social_links** | **String** | 社交网络链接 | [optional] |
19
- | **relationship_status** | **String** | 婚姻状态 | [optional] |
20
- | **company** | **String** | 公司 | [optional] |
21
- | **industry** | **String** | 行业 | [optional] |
22
- | **company_position** | **String** | 行业职位 | [optional] |
23
- | **private_settings** | **String** | 私密设置 | [optional] |
14
+ | **occupation** | **String** | 职业,长度不能超过50个字符 | [optional] |
15
+ | **education** | **String** | 学历,长度不能超过50个字符 | [optional] |
16
+ | **contact** | **String** | 联系方式,长度不能超过255个字符 | [optional] |
17
+ | **languages** | **String** | 语言,长度不能超过50个字符 | [optional] |
18
+ | **social_links** | **String** | 社交网络链接,长度不能超过255个字符 | [optional] |
19
+ | **relationship_status** | **String** | 婚姻状态,长度不能超过20个字符 | [optional] |
20
+ | **company** | **String** | 公司,长度不能超过100个字符 | [optional] |
21
+ | **industry** | **String** | 行业,长度不能超过50个字符 | [optional] |
22
+ | **company_position** | **String** | 行业职位,长度不能超过50个字符 | [optional] |
23
+ | **private_settings** | **String** | 私密设置,长度不能超过500个字符 | [optional] |
24
+ | **enable2_fa_auth** | **Boolean** | 是否启用二步验证 | [optional] |
25
+ | **enable_user_name_sign_in** | **Boolean** | 是否启用账号登录 | [optional] |
26
+ | **enable_email_sign_in** | **Boolean** | 是否启用邮箱登录 | [optional] |
27
+ | **enable_phone_sign_in** | **Boolean** | 是否启用手机登录 | [optional] |
28
+ | **enable_union_id_sign_in** | **Boolean** | 是否启用UnionID登录 | [optional] |
29
+ | **enable_o_auth** | **Boolean** | 是否启用OAuth2登录 | [optional] |
24
30
 
25
31
  ## Example
26
32
 
@@ -44,7 +50,13 @@ instance = ZSGFClient::UpdateProfileRequest.new(
44
50
  company: null,
45
51
  industry: null,
46
52
  company_position: null,
47
- private_settings: null
53
+ private_settings: null,
54
+ enable2_fa_auth: null,
55
+ enable_user_name_sign_in: null,
56
+ enable_email_sign_in: null,
57
+ enable_phone_sign_in: null,
58
+ enable_union_id_sign_in: null,
59
+ enable_o_auth: null
48
60
  )
49
61
  ```
50
62