tencentcloud-sdk-ciam 1.0.333 → 1.0.334
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220331/client.rb +216 -0
- data/lib/v20220331/models.rb +764 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 347d71d1b25c34638f38976c7f889ade6ff27f3c
|
4
|
+
data.tar.gz: fe5d3ae05a6bea12ee1e443ae48e3d3070f7226e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8160ca96c429aee1d98100bc805f029be216368ed0f5830231bd891e3c8753c27dfdc49e6595e1fdc6ea1575d5c9bf5916ee6c089ac0d7973cf662086b2866e
|
7
|
+
data.tar.gz: 3c824659bbe4ec10c4fe2c89bc5ef07a9e18997a5466533b8ef0ab70f89ba16041d78c63f9aed6ff339b13db1b94396506ab7e8422ad22e253e16487332a36ef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.334
|
data/lib/v20220331/client.rb
CHANGED
@@ -29,6 +29,150 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 创建用户
|
33
|
+
|
34
|
+
# @param request: Request instance for CreateUser.
|
35
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::CreateUserRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::CreateUserResponse`
|
37
|
+
def CreateUser(request)
|
38
|
+
body = send_request('CreateUser', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateUserResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 批量删除用户
|
57
|
+
|
58
|
+
# @param request: Request instance for DeleteUsers.
|
59
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::DeleteUsersRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::DeleteUsersResponse`
|
61
|
+
def DeleteUsers(request)
|
62
|
+
body = send_request('DeleteUsers', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = DeleteUsersResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 根据ID查询用户信息
|
81
|
+
|
82
|
+
# @param request: Request instance for DescribeUserById.
|
83
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::DescribeUserByIdRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::DescribeUserByIdResponse`
|
85
|
+
def DescribeUserById(request)
|
86
|
+
body = send_request('DescribeUserById', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = DescribeUserByIdResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
104
|
+
# 账号融合
|
105
|
+
|
106
|
+
# @param request: Request instance for LinkAccount.
|
107
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::LinkAccountRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::LinkAccountResponse`
|
109
|
+
def LinkAccount(request)
|
110
|
+
body = send_request('LinkAccount', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = LinkAccountResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
128
|
+
# 查询用户列表
|
129
|
+
|
130
|
+
# @param request: Request instance for ListUser.
|
131
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::ListUserRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::ListUserResponse`
|
133
|
+
def ListUser(request)
|
134
|
+
body = send_request('ListUser', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = ListUserResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
152
|
+
# 根据属性查询用户列表
|
153
|
+
|
154
|
+
# @param request: Request instance for ListUserByProperty.
|
155
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::ListUserByPropertyRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::ListUserByPropertyResponse`
|
157
|
+
def ListUserByProperty(request)
|
158
|
+
body = send_request('ListUserByProperty', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = ListUserByPropertyResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
32
176
|
# 重置用户密码
|
33
177
|
|
34
178
|
# @param request: Request instance for ResetPassword.
|
@@ -53,6 +197,78 @@ module TencentCloud
|
|
53
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
198
|
end
|
55
199
|
|
200
|
+
# 设置用户密码
|
201
|
+
|
202
|
+
# @param request: Request instance for SetPassword.
|
203
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::SetPasswordRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::SetPasswordResponse`
|
205
|
+
def SetPassword(request)
|
206
|
+
body = send_request('SetPassword', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = SetPasswordResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 更新用户
|
225
|
+
|
226
|
+
# @param request: Request instance for UpdateUser.
|
227
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::UpdateUserRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::UpdateUserResponse`
|
229
|
+
def UpdateUser(request)
|
230
|
+
body = send_request('UpdateUser', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = UpdateUserResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 更新用户状态
|
249
|
+
|
250
|
+
# @param request: Request instance for UpdateUserStatus.
|
251
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::UpdateUserStatusRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::UpdateUserStatusResponse`
|
253
|
+
def UpdateUserStatus(request)
|
254
|
+
body = send_request('UpdateUserStatus', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = UpdateUserStatusResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
56
272
|
|
57
273
|
end
|
58
274
|
end
|
data/lib/v20220331/models.rb
CHANGED
@@ -17,6 +17,412 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Ciam
|
19
19
|
module V20220331
|
20
|
+
# CreateUser请求参数结构体
|
21
|
+
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param UserStoreId: 用户目录ID
|
23
|
+
# @type UserStoreId: String
|
24
|
+
# @param PhoneNumber: 手机号码
|
25
|
+
# @type PhoneNumber: String
|
26
|
+
# @param Email: 邮箱
|
27
|
+
# @type Email: String
|
28
|
+
# @param Password: 密码
|
29
|
+
# @type Password: String
|
30
|
+
# @param UserName: 用户名
|
31
|
+
# @type UserName: String
|
32
|
+
# @param Nickname: 昵称
|
33
|
+
# @type Nickname: String
|
34
|
+
# @param Address: 地址
|
35
|
+
# @type Address: String
|
36
|
+
# @param UserGroup: 用户组ID
|
37
|
+
# @type UserGroup: Array
|
38
|
+
# @param Birthdate: 生日
|
39
|
+
# @type Birthdate: Integer
|
40
|
+
# @param CustomizationAttributes: 自定义属性
|
41
|
+
# @type CustomizationAttributes: Array
|
42
|
+
|
43
|
+
attr_accessor :UserStoreId, :PhoneNumber, :Email, :Password, :UserName, :Nickname, :Address, :UserGroup, :Birthdate, :CustomizationAttributes
|
44
|
+
|
45
|
+
def initialize(userstoreid=nil, phonenumber=nil, email=nil, password=nil, username=nil, nickname=nil, address=nil, usergroup=nil, birthdate=nil, customizationattributes=nil)
|
46
|
+
@UserStoreId = userstoreid
|
47
|
+
@PhoneNumber = phonenumber
|
48
|
+
@Email = email
|
49
|
+
@Password = password
|
50
|
+
@UserName = username
|
51
|
+
@Nickname = nickname
|
52
|
+
@Address = address
|
53
|
+
@UserGroup = usergroup
|
54
|
+
@Birthdate = birthdate
|
55
|
+
@CustomizationAttributes = customizationattributes
|
56
|
+
end
|
57
|
+
|
58
|
+
def deserialize(params)
|
59
|
+
@UserStoreId = params['UserStoreId']
|
60
|
+
@PhoneNumber = params['PhoneNumber']
|
61
|
+
@Email = params['Email']
|
62
|
+
@Password = params['Password']
|
63
|
+
@UserName = params['UserName']
|
64
|
+
@Nickname = params['Nickname']
|
65
|
+
@Address = params['Address']
|
66
|
+
@UserGroup = params['UserGroup']
|
67
|
+
@Birthdate = params['Birthdate']
|
68
|
+
unless params['CustomizationAttributes'].nil?
|
69
|
+
@CustomizationAttributes = []
|
70
|
+
params['CustomizationAttributes'].each do |i|
|
71
|
+
membermap_tmp = MemberMap.new
|
72
|
+
membermap_tmp.deserialize(i)
|
73
|
+
@CustomizationAttributes << membermap_tmp
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# CreateUser返回参数结构体
|
80
|
+
class CreateUserResponse < TencentCloud::Common::AbstractModel
|
81
|
+
# @param User: 创建的用户信息
|
82
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
83
|
+
# @type User: :class:`Tencentcloud::Ciam.v20220331.models.User`
|
84
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
85
|
+
# @type RequestId: String
|
86
|
+
|
87
|
+
attr_accessor :User, :RequestId
|
88
|
+
|
89
|
+
def initialize(user=nil, requestid=nil)
|
90
|
+
@User = user
|
91
|
+
@RequestId = requestid
|
92
|
+
end
|
93
|
+
|
94
|
+
def deserialize(params)
|
95
|
+
unless params['User'].nil?
|
96
|
+
@User = User.new
|
97
|
+
@User.deserialize(params['User'])
|
98
|
+
end
|
99
|
+
@RequestId = params['RequestId']
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# DeleteUsers请求参数结构体
|
104
|
+
class DeleteUsersRequest < TencentCloud::Common::AbstractModel
|
105
|
+
# @param UserStoreId: 用户目录ID
|
106
|
+
# @type UserStoreId: String
|
107
|
+
# @param UserIds: 用户ID数组
|
108
|
+
# @type UserIds: Array
|
109
|
+
|
110
|
+
attr_accessor :UserStoreId, :UserIds
|
111
|
+
|
112
|
+
def initialize(userstoreid=nil, userids=nil)
|
113
|
+
@UserStoreId = userstoreid
|
114
|
+
@UserIds = userids
|
115
|
+
end
|
116
|
+
|
117
|
+
def deserialize(params)
|
118
|
+
@UserStoreId = params['UserStoreId']
|
119
|
+
@UserIds = params['UserIds']
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# DeleteUsers返回参数结构体
|
124
|
+
class DeleteUsersResponse < TencentCloud::Common::AbstractModel
|
125
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
126
|
+
# @type RequestId: String
|
127
|
+
|
128
|
+
attr_accessor :RequestId
|
129
|
+
|
130
|
+
def initialize(requestid=nil)
|
131
|
+
@RequestId = requestid
|
132
|
+
end
|
133
|
+
|
134
|
+
def deserialize(params)
|
135
|
+
@RequestId = params['RequestId']
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# DescribeUserById请求参数结构体
|
140
|
+
class DescribeUserByIdRequest < TencentCloud::Common::AbstractModel
|
141
|
+
# @param UserStoreId: 用户目录ID
|
142
|
+
# @type UserStoreId: String
|
143
|
+
# @param UserId: 用户ID
|
144
|
+
# @type UserId: String
|
145
|
+
|
146
|
+
attr_accessor :UserStoreId, :UserId
|
147
|
+
|
148
|
+
def initialize(userstoreid=nil, userid=nil)
|
149
|
+
@UserStoreId = userstoreid
|
150
|
+
@UserId = userid
|
151
|
+
end
|
152
|
+
|
153
|
+
def deserialize(params)
|
154
|
+
@UserStoreId = params['UserStoreId']
|
155
|
+
@UserId = params['UserId']
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# DescribeUserById返回参数结构体
|
160
|
+
class DescribeUserByIdResponse < TencentCloud::Common::AbstractModel
|
161
|
+
# @param User: 用户信息
|
162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
163
|
+
# @type User: :class:`Tencentcloud::Ciam.v20220331.models.User`
|
164
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
165
|
+
# @type RequestId: String
|
166
|
+
|
167
|
+
attr_accessor :User, :RequestId
|
168
|
+
|
169
|
+
def initialize(user=nil, requestid=nil)
|
170
|
+
@User = user
|
171
|
+
@RequestId = requestid
|
172
|
+
end
|
173
|
+
|
174
|
+
def deserialize(params)
|
175
|
+
unless params['User'].nil?
|
176
|
+
@User = User.new
|
177
|
+
@User.deserialize(params['User'])
|
178
|
+
end
|
179
|
+
@RequestId = params['RequestId']
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# 查询条件
|
184
|
+
class Filter < TencentCloud::Common::AbstractModel
|
185
|
+
# @param Key: key值
|
186
|
+
# @type Key: String
|
187
|
+
# @param Values: value值
|
188
|
+
# @type Values: Array
|
189
|
+
# @param Logic: 逻辑值
|
190
|
+
# @type Logic: Boolean
|
191
|
+
|
192
|
+
attr_accessor :Key, :Values, :Logic
|
193
|
+
|
194
|
+
def initialize(key=nil, values=nil, logic=nil)
|
195
|
+
@Key = key
|
196
|
+
@Values = values
|
197
|
+
@Logic = logic
|
198
|
+
end
|
199
|
+
|
200
|
+
def deserialize(params)
|
201
|
+
@Key = params['Key']
|
202
|
+
@Values = params['Values']
|
203
|
+
@Logic = params['Logic']
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
# LinkAccount请求参数结构体
|
208
|
+
class LinkAccountRequest < TencentCloud::Common::AbstractModel
|
209
|
+
# @param UserStoreId: 用户目录ID
|
210
|
+
# @type UserStoreId: String
|
211
|
+
# @param PrimaryUserId: 主用户ID
|
212
|
+
# @type PrimaryUserId: String
|
213
|
+
# @param SecondaryUserId: 从用户ID
|
214
|
+
# @type SecondaryUserId: String
|
215
|
+
# @param UserLinkedOnAttribute: 融合属性(PHONENUMBER,EMAIL)
|
216
|
+
# @type UserLinkedOnAttribute: String
|
217
|
+
|
218
|
+
attr_accessor :UserStoreId, :PrimaryUserId, :SecondaryUserId, :UserLinkedOnAttribute
|
219
|
+
|
220
|
+
def initialize(userstoreid=nil, primaryuserid=nil, secondaryuserid=nil, userlinkedonattribute=nil)
|
221
|
+
@UserStoreId = userstoreid
|
222
|
+
@PrimaryUserId = primaryuserid
|
223
|
+
@SecondaryUserId = secondaryuserid
|
224
|
+
@UserLinkedOnAttribute = userlinkedonattribute
|
225
|
+
end
|
226
|
+
|
227
|
+
def deserialize(params)
|
228
|
+
@UserStoreId = params['UserStoreId']
|
229
|
+
@PrimaryUserId = params['PrimaryUserId']
|
230
|
+
@SecondaryUserId = params['SecondaryUserId']
|
231
|
+
@UserLinkedOnAttribute = params['UserLinkedOnAttribute']
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# LinkAccount返回参数结构体
|
236
|
+
class LinkAccountResponse < TencentCloud::Common::AbstractModel
|
237
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
238
|
+
# @type RequestId: String
|
239
|
+
|
240
|
+
attr_accessor :RequestId
|
241
|
+
|
242
|
+
def initialize(requestid=nil)
|
243
|
+
@RequestId = requestid
|
244
|
+
end
|
245
|
+
|
246
|
+
def deserialize(params)
|
247
|
+
@RequestId = params['RequestId']
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
# ListUserByProperty请求参数结构体
|
252
|
+
class ListUserByPropertyRequest < TencentCloud::Common::AbstractModel
|
253
|
+
# @param UserStoreId: 用户目录ID
|
254
|
+
# @type UserStoreId: String
|
255
|
+
# @param PropertyCode: 查询的属性(支持phoneNumber,email)
|
256
|
+
# @type PropertyCode: String
|
257
|
+
# @param PropertyValue: 属性值
|
258
|
+
# @type PropertyValue: String
|
259
|
+
|
260
|
+
attr_accessor :UserStoreId, :PropertyCode, :PropertyValue
|
261
|
+
|
262
|
+
def initialize(userstoreid=nil, propertycode=nil, propertyvalue=nil)
|
263
|
+
@UserStoreId = userstoreid
|
264
|
+
@PropertyCode = propertycode
|
265
|
+
@PropertyValue = propertyvalue
|
266
|
+
end
|
267
|
+
|
268
|
+
def deserialize(params)
|
269
|
+
@UserStoreId = params['UserStoreId']
|
270
|
+
@PropertyCode = params['PropertyCode']
|
271
|
+
@PropertyValue = params['PropertyValue']
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
# ListUserByProperty返回参数结构体
|
276
|
+
class ListUserByPropertyResponse < TencentCloud::Common::AbstractModel
|
277
|
+
# @param Users: 用户列表
|
278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
279
|
+
# @type Users: Array
|
280
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
281
|
+
# @type RequestId: String
|
282
|
+
|
283
|
+
attr_accessor :Users, :RequestId
|
284
|
+
|
285
|
+
def initialize(users=nil, requestid=nil)
|
286
|
+
@Users = users
|
287
|
+
@RequestId = requestid
|
288
|
+
end
|
289
|
+
|
290
|
+
def deserialize(params)
|
291
|
+
unless params['Users'].nil?
|
292
|
+
@Users = []
|
293
|
+
params['Users'].each do |i|
|
294
|
+
user_tmp = User.new
|
295
|
+
user_tmp.deserialize(i)
|
296
|
+
@Users << user_tmp
|
297
|
+
end
|
298
|
+
end
|
299
|
+
@RequestId = params['RequestId']
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
# ListUser请求参数结构体
|
304
|
+
class ListUserRequest < TencentCloud::Common::AbstractModel
|
305
|
+
# @param UserStoreId: 用户目录ID
|
306
|
+
# @type UserStoreId: String
|
307
|
+
# @param Pageable: 分页数据
|
308
|
+
# @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
|
309
|
+
# @param Filters: Key可选值为condition、userGroupId
|
310
|
+
|
311
|
+
# <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱
|
312
|
+
# <li> **userGroupId** </li> Values = 用户组ID
|
313
|
+
# @type Filters: Array
|
314
|
+
|
315
|
+
attr_accessor :UserStoreId, :Pageable, :Filters
|
316
|
+
|
317
|
+
def initialize(userstoreid=nil, pageable=nil, filters=nil)
|
318
|
+
@UserStoreId = userstoreid
|
319
|
+
@Pageable = pageable
|
320
|
+
@Filters = filters
|
321
|
+
end
|
322
|
+
|
323
|
+
def deserialize(params)
|
324
|
+
@UserStoreId = params['UserStoreId']
|
325
|
+
unless params['Pageable'].nil?
|
326
|
+
@Pageable = Pageable.new
|
327
|
+
@Pageable.deserialize(params['Pageable'])
|
328
|
+
end
|
329
|
+
unless params['Filters'].nil?
|
330
|
+
@Filters = []
|
331
|
+
params['Filters'].each do |i|
|
332
|
+
filter_tmp = Filter.new
|
333
|
+
filter_tmp.deserialize(i)
|
334
|
+
@Filters << filter_tmp
|
335
|
+
end
|
336
|
+
end
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
# ListUser返回参数结构体
|
341
|
+
class ListUserResponse < TencentCloud::Common::AbstractModel
|
342
|
+
# @param Total: 总条数
|
343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
344
|
+
# @type Total: Integer
|
345
|
+
# @param Pageable: 分页对象
|
346
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
347
|
+
# @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
|
348
|
+
# @param Content: 用户列表
|
349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
350
|
+
# @type Content: Array
|
351
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
352
|
+
# @type RequestId: String
|
353
|
+
|
354
|
+
attr_accessor :Total, :Pageable, :Content, :RequestId
|
355
|
+
|
356
|
+
def initialize(total=nil, pageable=nil, content=nil, requestid=nil)
|
357
|
+
@Total = total
|
358
|
+
@Pageable = pageable
|
359
|
+
@Content = content
|
360
|
+
@RequestId = requestid
|
361
|
+
end
|
362
|
+
|
363
|
+
def deserialize(params)
|
364
|
+
@Total = params['Total']
|
365
|
+
unless params['Pageable'].nil?
|
366
|
+
@Pageable = Pageable.new
|
367
|
+
@Pageable.deserialize(params['Pageable'])
|
368
|
+
end
|
369
|
+
unless params['Content'].nil?
|
370
|
+
@Content = []
|
371
|
+
params['Content'].each do |i|
|
372
|
+
user_tmp = User.new
|
373
|
+
user_tmp.deserialize(i)
|
374
|
+
@Content << user_tmp
|
375
|
+
end
|
376
|
+
end
|
377
|
+
@RequestId = params['RequestId']
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# Map数据类型
|
382
|
+
class MemberMap < TencentCloud::Common::AbstractModel
|
383
|
+
# @param Name: 健
|
384
|
+
# @type Name: String
|
385
|
+
# @param Value: 值
|
386
|
+
# @type Value: String
|
387
|
+
# @param Type: 类型
|
388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
389
|
+
# @type Type: String
|
390
|
+
|
391
|
+
attr_accessor :Name, :Value, :Type
|
392
|
+
|
393
|
+
def initialize(name=nil, value=nil, type=nil)
|
394
|
+
@Name = name
|
395
|
+
@Value = value
|
396
|
+
@Type = type
|
397
|
+
end
|
398
|
+
|
399
|
+
def deserialize(params)
|
400
|
+
@Name = params['Name']
|
401
|
+
@Value = params['Value']
|
402
|
+
@Type = params['Type']
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
# 分页对象
|
407
|
+
class Pageable < TencentCloud::Common::AbstractModel
|
408
|
+
# @param PageSize: 每页数量
|
409
|
+
# @type PageSize: Integer
|
410
|
+
# @param PageNumber: 当前页码
|
411
|
+
# @type PageNumber: Integer
|
412
|
+
|
413
|
+
attr_accessor :PageSize, :PageNumber
|
414
|
+
|
415
|
+
def initialize(pagesize=nil, pagenumber=nil)
|
416
|
+
@PageSize = pagesize
|
417
|
+
@PageNumber = pagenumber
|
418
|
+
end
|
419
|
+
|
420
|
+
def deserialize(params)
|
421
|
+
@PageSize = params['PageSize']
|
422
|
+
@PageNumber = params['PageNumber']
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
20
426
|
# ResetPassword请求参数结构体
|
21
427
|
class ResetPasswordRequest < TencentCloud::Common::AbstractModel
|
22
428
|
# @param UserId: 用户ID
|
@@ -57,6 +463,364 @@ module TencentCloud
|
|
57
463
|
end
|
58
464
|
end
|
59
465
|
|
466
|
+
# SetPassword请求参数结构体
|
467
|
+
class SetPasswordRequest < TencentCloud::Common::AbstractModel
|
468
|
+
# @param UserStoreId: 用户目录ID
|
469
|
+
# @type UserStoreId: String
|
470
|
+
# @param UserId: 用户ID
|
471
|
+
# @type UserId: String
|
472
|
+
# @param Password: 密码
|
473
|
+
# @type Password: String
|
474
|
+
|
475
|
+
attr_accessor :UserStoreId, :UserId, :Password
|
476
|
+
|
477
|
+
def initialize(userstoreid=nil, userid=nil, password=nil)
|
478
|
+
@UserStoreId = userstoreid
|
479
|
+
@UserId = userid
|
480
|
+
@Password = password
|
481
|
+
end
|
482
|
+
|
483
|
+
def deserialize(params)
|
484
|
+
@UserStoreId = params['UserStoreId']
|
485
|
+
@UserId = params['UserId']
|
486
|
+
@Password = params['Password']
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
# SetPassword返回参数结构体
|
491
|
+
class SetPasswordResponse < TencentCloud::Common::AbstractModel
|
492
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
493
|
+
# @type RequestId: String
|
494
|
+
|
495
|
+
attr_accessor :RequestId
|
496
|
+
|
497
|
+
def initialize(requestid=nil)
|
498
|
+
@RequestId = requestid
|
499
|
+
end
|
500
|
+
|
501
|
+
def deserialize(params)
|
502
|
+
@RequestId = params['RequestId']
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
# UpdateUser请求参数结构体
|
507
|
+
class UpdateUserRequest < TencentCloud::Common::AbstractModel
|
508
|
+
# @param UserId: 用户ID
|
509
|
+
# @type UserId: String
|
510
|
+
# @param UserStoreId: 用户目录ID
|
511
|
+
# @type UserStoreId: String
|
512
|
+
# @param UserName: 用户名称
|
513
|
+
# @type UserName: String
|
514
|
+
# @param PhoneNumber: 手机号码
|
515
|
+
# @type PhoneNumber: String
|
516
|
+
# @param Email: 邮箱
|
517
|
+
# @type Email: String
|
518
|
+
# @param Nickname: 昵称
|
519
|
+
# @type Nickname: String
|
520
|
+
# @param Address: 地址
|
521
|
+
# @type Address: String
|
522
|
+
# @param UserGroup: 用户组
|
523
|
+
# @type UserGroup: Array
|
524
|
+
# @param Birthdate: 生日
|
525
|
+
# @type Birthdate: Integer
|
526
|
+
# @param CustomizationAttributes: 自定义属性
|
527
|
+
# @type CustomizationAttributes: Array
|
528
|
+
|
529
|
+
attr_accessor :UserId, :UserStoreId, :UserName, :PhoneNumber, :Email, :Nickname, :Address, :UserGroup, :Birthdate, :CustomizationAttributes
|
530
|
+
|
531
|
+
def initialize(userid=nil, userstoreid=nil, username=nil, phonenumber=nil, email=nil, nickname=nil, address=nil, usergroup=nil, birthdate=nil, customizationattributes=nil)
|
532
|
+
@UserId = userid
|
533
|
+
@UserStoreId = userstoreid
|
534
|
+
@UserName = username
|
535
|
+
@PhoneNumber = phonenumber
|
536
|
+
@Email = email
|
537
|
+
@Nickname = nickname
|
538
|
+
@Address = address
|
539
|
+
@UserGroup = usergroup
|
540
|
+
@Birthdate = birthdate
|
541
|
+
@CustomizationAttributes = customizationattributes
|
542
|
+
end
|
543
|
+
|
544
|
+
def deserialize(params)
|
545
|
+
@UserId = params['UserId']
|
546
|
+
@UserStoreId = params['UserStoreId']
|
547
|
+
@UserName = params['UserName']
|
548
|
+
@PhoneNumber = params['PhoneNumber']
|
549
|
+
@Email = params['Email']
|
550
|
+
@Nickname = params['Nickname']
|
551
|
+
@Address = params['Address']
|
552
|
+
@UserGroup = params['UserGroup']
|
553
|
+
@Birthdate = params['Birthdate']
|
554
|
+
unless params['CustomizationAttributes'].nil?
|
555
|
+
@CustomizationAttributes = []
|
556
|
+
params['CustomizationAttributes'].each do |i|
|
557
|
+
membermap_tmp = MemberMap.new
|
558
|
+
membermap_tmp.deserialize(i)
|
559
|
+
@CustomizationAttributes << membermap_tmp
|
560
|
+
end
|
561
|
+
end
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
# UpdateUser返回参数结构体
|
566
|
+
class UpdateUserResponse < TencentCloud::Common::AbstractModel
|
567
|
+
# @param User: 更新之后的用户信息
|
568
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
569
|
+
# @type User: :class:`Tencentcloud::Ciam.v20220331.models.User`
|
570
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
571
|
+
# @type RequestId: String
|
572
|
+
|
573
|
+
attr_accessor :User, :RequestId
|
574
|
+
|
575
|
+
def initialize(user=nil, requestid=nil)
|
576
|
+
@User = user
|
577
|
+
@RequestId = requestid
|
578
|
+
end
|
579
|
+
|
580
|
+
def deserialize(params)
|
581
|
+
unless params['User'].nil?
|
582
|
+
@User = User.new
|
583
|
+
@User.deserialize(params['User'])
|
584
|
+
end
|
585
|
+
@RequestId = params['RequestId']
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
# UpdateUserStatus请求参数结构体
|
590
|
+
class UpdateUserStatusRequest < TencentCloud::Common::AbstractModel
|
591
|
+
# @param UserStoreId: 用户目录ID
|
592
|
+
# @type UserStoreId: String
|
593
|
+
# @param UserId: 用户ID
|
594
|
+
# @type UserId: String
|
595
|
+
# @param Status: NORMAL(正常),LOCK(锁定),FREEZE(冻结),请传英文大写字母
|
596
|
+
# @type Status: String
|
597
|
+
|
598
|
+
attr_accessor :UserStoreId, :UserId, :Status
|
599
|
+
|
600
|
+
def initialize(userstoreid=nil, userid=nil, status=nil)
|
601
|
+
@UserStoreId = userstoreid
|
602
|
+
@UserId = userid
|
603
|
+
@Status = status
|
604
|
+
end
|
605
|
+
|
606
|
+
def deserialize(params)
|
607
|
+
@UserStoreId = params['UserStoreId']
|
608
|
+
@UserId = params['UserId']
|
609
|
+
@Status = params['Status']
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
# UpdateUserStatus返回参数结构体
|
614
|
+
class UpdateUserStatusResponse < TencentCloud::Common::AbstractModel
|
615
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
616
|
+
# @type RequestId: String
|
617
|
+
|
618
|
+
attr_accessor :RequestId
|
619
|
+
|
620
|
+
def initialize(requestid=nil)
|
621
|
+
@RequestId = requestid
|
622
|
+
end
|
623
|
+
|
624
|
+
def deserialize(params)
|
625
|
+
@RequestId = params['RequestId']
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# 用户信息
|
630
|
+
class User < TencentCloud::Common::AbstractModel
|
631
|
+
# @param UserId: 用户ID
|
632
|
+
# @type UserId: String
|
633
|
+
# @param UserName: 用户名
|
634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
635
|
+
# @type UserName: String
|
636
|
+
# @param PhoneNumber: 手机号
|
637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
638
|
+
# @type PhoneNumber: String
|
639
|
+
# @param Email: 邮箱
|
640
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
641
|
+
# @type Email: String
|
642
|
+
# @param LastSignOn: 上次登录时间
|
643
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
644
|
+
# @type LastSignOn: Integer
|
645
|
+
# @param CreatedDate: 创建时间
|
646
|
+
# @type CreatedDate: Integer
|
647
|
+
# @param Status: 状态
|
648
|
+
# @type Status: String
|
649
|
+
# @param UserDataSourceEnum: 用户来源
|
650
|
+
# @type UserDataSourceEnum: String
|
651
|
+
# @param Nickname: 昵称
|
652
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
653
|
+
# @type Nickname: String
|
654
|
+
# @param Address: 地址
|
655
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
656
|
+
# @type Address: String
|
657
|
+
# @param Birthdate: 生日
|
658
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
659
|
+
# @type Birthdate: Integer
|
660
|
+
# @param UserGroups: 用户组ID
|
661
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
662
|
+
# @type UserGroups: Array
|
663
|
+
# @param LastModifiedDate: 上次修改时间
|
664
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
665
|
+
# @type LastModifiedDate: Integer
|
666
|
+
# @param CustomAttributes: 自定义属性
|
667
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
668
|
+
# @type CustomAttributes: Array
|
669
|
+
# @param ResidentIdentityCard: 身份证号
|
670
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
671
|
+
# @type ResidentIdentityCard: String
|
672
|
+
# @param QqOpenId: QQ的OpenId
|
673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
674
|
+
# @type QqOpenId: String
|
675
|
+
# @param QqUnionId: QQ的UnionId
|
676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
677
|
+
# @type QqUnionId: String
|
678
|
+
# @param WechatOpenId: 微信的WechatOpenId
|
679
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
680
|
+
# @type WechatOpenId: String
|
681
|
+
# @param WechatUnionId: 微信的WechatUnionId
|
682
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
683
|
+
# @type WechatUnionId: String
|
684
|
+
# @param AlipayUserId: 支付宝的AlipayUserId
|
685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
686
|
+
# @type AlipayUserId: String
|
687
|
+
# @param Description: 描述
|
688
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
689
|
+
# @type Description: String
|
690
|
+
# @param Name: 姓名
|
691
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
692
|
+
# @type Name: String
|
693
|
+
# @param Locale: 坐标
|
694
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
695
|
+
# @type Locale: String
|
696
|
+
# @param Gender: 性别
|
697
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
698
|
+
# @type Gender: String
|
699
|
+
# @param IdentityVerificationMethod: 实名核验方式
|
700
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
701
|
+
# @type IdentityVerificationMethod: String
|
702
|
+
# @param IdentityVerified: 是否已经实名核验
|
703
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
704
|
+
# @type IdentityVerified: Boolean
|
705
|
+
# @param Job: 工作
|
706
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
707
|
+
# @type Job: String
|
708
|
+
# @param Nationality: 国家
|
709
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
710
|
+
# @type Nationality: String
|
711
|
+
# @param Primary: 是否主账号(进行过账号融合后,主账号为true,从账号为false)
|
712
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
713
|
+
# @type Primary: Boolean
|
714
|
+
# @param Zone: 时区
|
715
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
716
|
+
# @type Zone: String
|
717
|
+
# @param AlreadyFirstLogin: 是否已经首次登录
|
718
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
719
|
+
# @type AlreadyFirstLogin: Boolean
|
720
|
+
# @param TenantId: 租户id
|
721
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
722
|
+
# @type TenantId: String
|
723
|
+
# @param UserStoreId: 用户目录id
|
724
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
725
|
+
# @type UserStoreId: String
|
726
|
+
# @param Version: 版本
|
727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
728
|
+
# @type Version: Integer
|
729
|
+
# @param LockType: 锁定类型(分为管理员锁定,和登录策略锁定)
|
730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
731
|
+
# @type LockType: String
|
732
|
+
# @param LockTime: 锁定时间点
|
733
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
734
|
+
# @type LockTime: Integer
|
735
|
+
|
736
|
+
attr_accessor :UserId, :UserName, :PhoneNumber, :Email, :LastSignOn, :CreatedDate, :Status, :UserDataSourceEnum, :Nickname, :Address, :Birthdate, :UserGroups, :LastModifiedDate, :CustomAttributes, :ResidentIdentityCard, :QqOpenId, :QqUnionId, :WechatOpenId, :WechatUnionId, :AlipayUserId, :Description, :Name, :Locale, :Gender, :IdentityVerificationMethod, :IdentityVerified, :Job, :Nationality, :Primary, :Zone, :AlreadyFirstLogin, :TenantId, :UserStoreId, :Version, :LockType, :LockTime
|
737
|
+
|
738
|
+
def initialize(userid=nil, username=nil, phonenumber=nil, email=nil, lastsignon=nil, createddate=nil, status=nil, userdatasourceenum=nil, nickname=nil, address=nil, birthdate=nil, usergroups=nil, lastmodifieddate=nil, customattributes=nil, residentidentitycard=nil, qqopenid=nil, qqunionid=nil, wechatopenid=nil, wechatunionid=nil, alipayuserid=nil, description=nil, name=nil, locale=nil, gender=nil, identityverificationmethod=nil, identityverified=nil, job=nil, nationality=nil, primary=nil, zone=nil, alreadyfirstlogin=nil, tenantid=nil, userstoreid=nil, version=nil, locktype=nil, locktime=nil)
|
739
|
+
@UserId = userid
|
740
|
+
@UserName = username
|
741
|
+
@PhoneNumber = phonenumber
|
742
|
+
@Email = email
|
743
|
+
@LastSignOn = lastsignon
|
744
|
+
@CreatedDate = createddate
|
745
|
+
@Status = status
|
746
|
+
@UserDataSourceEnum = userdatasourceenum
|
747
|
+
@Nickname = nickname
|
748
|
+
@Address = address
|
749
|
+
@Birthdate = birthdate
|
750
|
+
@UserGroups = usergroups
|
751
|
+
@LastModifiedDate = lastmodifieddate
|
752
|
+
@CustomAttributes = customattributes
|
753
|
+
@ResidentIdentityCard = residentidentitycard
|
754
|
+
@QqOpenId = qqopenid
|
755
|
+
@QqUnionId = qqunionid
|
756
|
+
@WechatOpenId = wechatopenid
|
757
|
+
@WechatUnionId = wechatunionid
|
758
|
+
@AlipayUserId = alipayuserid
|
759
|
+
@Description = description
|
760
|
+
@Name = name
|
761
|
+
@Locale = locale
|
762
|
+
@Gender = gender
|
763
|
+
@IdentityVerificationMethod = identityverificationmethod
|
764
|
+
@IdentityVerified = identityverified
|
765
|
+
@Job = job
|
766
|
+
@Nationality = nationality
|
767
|
+
@Primary = primary
|
768
|
+
@Zone = zone
|
769
|
+
@AlreadyFirstLogin = alreadyfirstlogin
|
770
|
+
@TenantId = tenantid
|
771
|
+
@UserStoreId = userstoreid
|
772
|
+
@Version = version
|
773
|
+
@LockType = locktype
|
774
|
+
@LockTime = locktime
|
775
|
+
end
|
776
|
+
|
777
|
+
def deserialize(params)
|
778
|
+
@UserId = params['UserId']
|
779
|
+
@UserName = params['UserName']
|
780
|
+
@PhoneNumber = params['PhoneNumber']
|
781
|
+
@Email = params['Email']
|
782
|
+
@LastSignOn = params['LastSignOn']
|
783
|
+
@CreatedDate = params['CreatedDate']
|
784
|
+
@Status = params['Status']
|
785
|
+
@UserDataSourceEnum = params['UserDataSourceEnum']
|
786
|
+
@Nickname = params['Nickname']
|
787
|
+
@Address = params['Address']
|
788
|
+
@Birthdate = params['Birthdate']
|
789
|
+
@UserGroups = params['UserGroups']
|
790
|
+
@LastModifiedDate = params['LastModifiedDate']
|
791
|
+
unless params['CustomAttributes'].nil?
|
792
|
+
@CustomAttributes = []
|
793
|
+
params['CustomAttributes'].each do |i|
|
794
|
+
membermap_tmp = MemberMap.new
|
795
|
+
membermap_tmp.deserialize(i)
|
796
|
+
@CustomAttributes << membermap_tmp
|
797
|
+
end
|
798
|
+
end
|
799
|
+
@ResidentIdentityCard = params['ResidentIdentityCard']
|
800
|
+
@QqOpenId = params['QqOpenId']
|
801
|
+
@QqUnionId = params['QqUnionId']
|
802
|
+
@WechatOpenId = params['WechatOpenId']
|
803
|
+
@WechatUnionId = params['WechatUnionId']
|
804
|
+
@AlipayUserId = params['AlipayUserId']
|
805
|
+
@Description = params['Description']
|
806
|
+
@Name = params['Name']
|
807
|
+
@Locale = params['Locale']
|
808
|
+
@Gender = params['Gender']
|
809
|
+
@IdentityVerificationMethod = params['IdentityVerificationMethod']
|
810
|
+
@IdentityVerified = params['IdentityVerified']
|
811
|
+
@Job = params['Job']
|
812
|
+
@Nationality = params['Nationality']
|
813
|
+
@Primary = params['Primary']
|
814
|
+
@Zone = params['Zone']
|
815
|
+
@AlreadyFirstLogin = params['AlreadyFirstLogin']
|
816
|
+
@TenantId = params['TenantId']
|
817
|
+
@UserStoreId = params['UserStoreId']
|
818
|
+
@Version = params['Version']
|
819
|
+
@LockType = params['LockType']
|
820
|
+
@LockTime = params['LockTime']
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
60
824
|
end
|
61
825
|
end
|
62
826
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ciam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.334
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|