tencentcloud-sdk-organization 3.0.590 → 3.0.592
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181225/models.rb +43 -43
- data/lib/v20210331/client.rb +72 -0
- data/lib/v20210331/models.rb +351 -51
- 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: 659e9dfc9ea44220c3a4328a517fe1a2223f5e70
|
4
|
+
data.tar.gz: 164229f2f7cf67f571bfdaa8397981e651b2e6c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e5a0f0868214da7b6b3b7b38849df62f200a9ea1f120e666419123f44b065b6f7a569dfa4fdd090af7b9c78436ad774e8643c8bdb68f11ba8fb37bf54513a0c
|
7
|
+
data.tar.gz: 1c2b72fe562b3a0aea9ef12254ea2b0195287a269e915bf67ecb5b26194c551581f676557076708eec0c890253ef89a2d35ec07cb1a53c90c8ca7afdd66d3fc8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.592
|
data/lib/v20181225/models.rb
CHANGED
@@ -23,7 +23,7 @@ module TencentCloud
|
|
23
23
|
# @type Id: Integer
|
24
24
|
|
25
25
|
attr_accessor :Id
|
26
|
-
|
26
|
+
|
27
27
|
def initialize(id=nil)
|
28
28
|
@Id = id
|
29
29
|
end
|
@@ -39,7 +39,7 @@ module TencentCloud
|
|
39
39
|
# @type RequestId: String
|
40
40
|
|
41
41
|
attr_accessor :RequestId
|
42
|
-
|
42
|
+
|
43
43
|
def initialize(requestid=nil)
|
44
44
|
@RequestId = requestid
|
45
45
|
end
|
@@ -57,7 +57,7 @@ module TencentCloud
|
|
57
57
|
# @type Name: String
|
58
58
|
|
59
59
|
attr_accessor :ParentNodeId, :Name
|
60
|
-
|
60
|
+
|
61
61
|
def initialize(parentnodeid=nil, name=nil)
|
62
62
|
@ParentNodeId = parentnodeid
|
63
63
|
@Name = name
|
@@ -77,7 +77,7 @@ module TencentCloud
|
|
77
77
|
# @type RequestId: String
|
78
78
|
|
79
79
|
attr_accessor :NodeId, :RequestId
|
80
|
-
|
80
|
+
|
81
81
|
def initialize(nodeid=nil, requestid=nil)
|
82
82
|
@NodeId = nodeid
|
83
83
|
@RequestId = requestid
|
@@ -95,7 +95,7 @@ module TencentCloud
|
|
95
95
|
# @type Id: Integer
|
96
96
|
|
97
97
|
attr_accessor :Id
|
98
|
-
|
98
|
+
|
99
99
|
def initialize(id=nil)
|
100
100
|
@Id = id
|
101
101
|
end
|
@@ -111,7 +111,7 @@ module TencentCloud
|
|
111
111
|
# @type RequestId: String
|
112
112
|
|
113
113
|
attr_accessor :RequestId
|
114
|
-
|
114
|
+
|
115
115
|
def initialize(requestid=nil)
|
116
116
|
@RequestId = requestid
|
117
117
|
end
|
@@ -127,7 +127,7 @@ module TencentCloud
|
|
127
127
|
# @type OrgType: Integer
|
128
128
|
|
129
129
|
attr_accessor :OrgType
|
130
|
-
|
130
|
+
|
131
131
|
def initialize(orgtype=nil)
|
132
132
|
@OrgType = orgtype
|
133
133
|
end
|
@@ -151,7 +151,7 @@ module TencentCloud
|
|
151
151
|
# @type RequestId: String
|
152
152
|
|
153
153
|
attr_accessor :OrgId, :Nickname, :Mail, :OrgType, :RequestId
|
154
|
-
|
154
|
+
|
155
155
|
def initialize(orgid=nil, nickname=nil, mail=nil, orgtype=nil, requestid=nil)
|
156
156
|
@OrgId = orgid
|
157
157
|
@Nickname = nickname
|
@@ -177,7 +177,7 @@ module TencentCloud
|
|
177
177
|
# @type NodeId: Integer
|
178
178
|
|
179
179
|
attr_accessor :MemberUin, :NodeId
|
180
|
-
|
180
|
+
|
181
181
|
def initialize(memberuin=nil, nodeid=nil)
|
182
182
|
@MemberUin = memberuin
|
183
183
|
@NodeId = nodeid
|
@@ -195,7 +195,7 @@ module TencentCloud
|
|
195
195
|
# @type RequestId: String
|
196
196
|
|
197
197
|
attr_accessor :RequestId
|
198
|
-
|
198
|
+
|
199
199
|
def initialize(requestid=nil)
|
200
200
|
@RequestId = requestid
|
201
201
|
end
|
@@ -211,7 +211,7 @@ module TencentCloud
|
|
211
211
|
# @type Uins: Array
|
212
212
|
|
213
213
|
attr_accessor :Uins
|
214
|
-
|
214
|
+
|
215
215
|
def initialize(uins=nil)
|
216
216
|
@Uins = uins
|
217
217
|
end
|
@@ -227,7 +227,7 @@ module TencentCloud
|
|
227
227
|
# @type RequestId: String
|
228
228
|
|
229
229
|
attr_accessor :RequestId
|
230
|
-
|
230
|
+
|
231
231
|
def initialize(requestid=nil)
|
232
232
|
@RequestId = requestid
|
233
233
|
end
|
@@ -243,7 +243,7 @@ module TencentCloud
|
|
243
243
|
# @type NodeIds: Array
|
244
244
|
|
245
245
|
attr_accessor :NodeIds
|
246
|
-
|
246
|
+
|
247
247
|
def initialize(nodeids=nil)
|
248
248
|
@NodeIds = nodeids
|
249
249
|
end
|
@@ -259,7 +259,7 @@ module TencentCloud
|
|
259
259
|
# @type RequestId: String
|
260
260
|
|
261
261
|
attr_accessor :RequestId
|
262
|
-
|
262
|
+
|
263
263
|
def initialize(requestid=nil)
|
264
264
|
@RequestId = requestid
|
265
265
|
end
|
@@ -272,7 +272,7 @@ module TencentCloud
|
|
272
272
|
# DeleteOrganization请求参数结构体
|
273
273
|
class DeleteOrganizationRequest < TencentCloud::Common::AbstractModel
|
274
274
|
|
275
|
-
|
275
|
+
|
276
276
|
def initialize()
|
277
277
|
end
|
278
278
|
|
@@ -286,7 +286,7 @@ module TencentCloud
|
|
286
286
|
# @type RequestId: String
|
287
287
|
|
288
288
|
attr_accessor :RequestId
|
289
|
-
|
289
|
+
|
290
290
|
def initialize(requestid=nil)
|
291
291
|
@RequestId = requestid
|
292
292
|
end
|
@@ -302,7 +302,7 @@ module TencentCloud
|
|
302
302
|
# @type Id: Integer
|
303
303
|
|
304
304
|
attr_accessor :Id
|
305
|
-
|
305
|
+
|
306
306
|
def initialize(id=nil)
|
307
307
|
@Id = id
|
308
308
|
end
|
@@ -318,7 +318,7 @@ module TencentCloud
|
|
318
318
|
# @type RequestId: String
|
319
319
|
|
320
320
|
attr_accessor :RequestId
|
321
|
-
|
321
|
+
|
322
322
|
def initialize(requestid=nil)
|
323
323
|
@RequestId = requestid
|
324
324
|
end
|
@@ -334,7 +334,7 @@ module TencentCloud
|
|
334
334
|
# @type MemberUin: Integer
|
335
335
|
|
336
336
|
attr_accessor :MemberUin
|
337
|
-
|
337
|
+
|
338
338
|
def initialize(memberuin=nil)
|
339
339
|
@MemberUin = memberuin
|
340
340
|
end
|
@@ -364,7 +364,7 @@ module TencentCloud
|
|
364
364
|
# @type RequestId: String
|
365
365
|
|
366
366
|
attr_accessor :Uin, :Name, :Remark, :JoinTime, :NodeId, :NodeName, :ParentNodeId, :RequestId
|
367
|
-
|
367
|
+
|
368
368
|
def initialize(uin=nil, name=nil, remark=nil, jointime=nil, nodeid=nil, nodename=nil, parentnodeid=nil, requestid=nil)
|
369
369
|
@Uin = uin
|
370
370
|
@Name = name
|
@@ -391,7 +391,7 @@ module TencentCloud
|
|
391
391
|
# GetOrganization请求参数结构体
|
392
392
|
class GetOrganizationRequest < TencentCloud::Common::AbstractModel
|
393
393
|
|
394
|
-
|
394
|
+
|
395
395
|
def initialize()
|
396
396
|
end
|
397
397
|
|
@@ -417,7 +417,7 @@ module TencentCloud
|
|
417
417
|
# @type RequestId: String
|
418
418
|
|
419
419
|
attr_accessor :OrgId, :HostUin, :Nickname, :Mail, :OrgType, :IsEmpty, :RequestId
|
420
|
-
|
420
|
+
|
421
421
|
def initialize(orgid=nil, hostuin=nil, nickname=nil, mail=nil, orgtype=nil, isempty=nil, requestid=nil)
|
422
422
|
@OrgId = orgid
|
423
423
|
@HostUin = hostuin
|
@@ -449,7 +449,7 @@ module TencentCloud
|
|
449
449
|
# @type Limit: Integer
|
450
450
|
|
451
451
|
attr_accessor :Invited, :Offset, :Limit
|
452
|
-
|
452
|
+
|
453
453
|
def initialize(invited=nil, offset=nil, limit=nil)
|
454
454
|
@Invited = invited
|
455
455
|
@Offset = offset
|
@@ -473,7 +473,7 @@ module TencentCloud
|
|
473
473
|
# @type RequestId: String
|
474
474
|
|
475
475
|
attr_accessor :Invitations, :TotalCount, :RequestId
|
476
|
-
|
476
|
+
|
477
477
|
def initialize(invitations=nil, totalcount=nil, requestid=nil)
|
478
478
|
@Invitations = invitations
|
479
479
|
@TotalCount = totalcount
|
@@ -502,7 +502,7 @@ module TencentCloud
|
|
502
502
|
# @type Limit: Integer
|
503
503
|
|
504
504
|
attr_accessor :Offset, :Limit
|
505
|
-
|
505
|
+
|
506
506
|
def initialize(offset=nil, limit=nil)
|
507
507
|
@Offset = offset
|
508
508
|
@Limit = limit
|
@@ -524,7 +524,7 @@ module TencentCloud
|
|
524
524
|
# @type RequestId: String
|
525
525
|
|
526
526
|
attr_accessor :Members, :TotalCount, :RequestId
|
527
|
-
|
527
|
+
|
528
528
|
def initialize(members=nil, totalcount=nil, requestid=nil)
|
529
529
|
@Members = members
|
530
530
|
@TotalCount = totalcount
|
@@ -555,7 +555,7 @@ module TencentCloud
|
|
555
555
|
# @type Limit: Integer
|
556
556
|
|
557
557
|
attr_accessor :NodeId, :Offset, :Limit
|
558
|
-
|
558
|
+
|
559
559
|
def initialize(nodeid=nil, offset=nil, limit=nil)
|
560
560
|
@NodeId = nodeid
|
561
561
|
@Offset = offset
|
@@ -579,7 +579,7 @@ module TencentCloud
|
|
579
579
|
# @type RequestId: String
|
580
580
|
|
581
581
|
attr_accessor :TotalCount, :Members, :RequestId
|
582
|
-
|
582
|
+
|
583
583
|
def initialize(totalcount=nil, members=nil, requestid=nil)
|
584
584
|
@TotalCount = totalcount
|
585
585
|
@Members = members
|
@@ -603,7 +603,7 @@ module TencentCloud
|
|
603
603
|
# ListOrganizationNodes请求参数结构体
|
604
604
|
class ListOrganizationNodesRequest < TencentCloud::Common::AbstractModel
|
605
605
|
|
606
|
-
|
606
|
+
|
607
607
|
def initialize()
|
608
608
|
end
|
609
609
|
|
@@ -619,7 +619,7 @@ module TencentCloud
|
|
619
619
|
# @type RequestId: String
|
620
620
|
|
621
621
|
attr_accessor :Nodes, :RequestId
|
622
|
-
|
622
|
+
|
623
623
|
def initialize(nodes=nil, requestid=nil)
|
624
624
|
@Nodes = nodes
|
625
625
|
@RequestId = requestid
|
@@ -646,7 +646,7 @@ module TencentCloud
|
|
646
646
|
# @type Uins: Array
|
647
647
|
|
648
648
|
attr_accessor :NodeId, :Uins
|
649
|
-
|
649
|
+
|
650
650
|
def initialize(nodeid=nil, uins=nil)
|
651
651
|
@NodeId = nodeid
|
652
652
|
@Uins = uins
|
@@ -664,7 +664,7 @@ module TencentCloud
|
|
664
664
|
# @type RequestId: String
|
665
665
|
|
666
666
|
attr_accessor :RequestId
|
667
|
-
|
667
|
+
|
668
668
|
def initialize(requestid=nil)
|
669
669
|
@RequestId = requestid
|
670
670
|
end
|
@@ -700,7 +700,7 @@ module TencentCloud
|
|
700
700
|
# @type ExpireTime: String
|
701
701
|
|
702
702
|
attr_accessor :Id, :Uin, :HostUin, :HostName, :HostMail, :Status, :Name, :Remark, :OrgType, :InviteTime, :ExpireTime
|
703
|
-
|
703
|
+
|
704
704
|
def initialize(id=nil, uin=nil, hostuin=nil, hostname=nil, hostmail=nil, status=nil, name=nil, remark=nil, orgtype=nil, invitetime=nil, expiretime=nil)
|
705
705
|
@Id = id
|
706
706
|
@Uin = uin
|
@@ -742,7 +742,7 @@ module TencentCloud
|
|
742
742
|
# @type JoinTime: String
|
743
743
|
|
744
744
|
attr_accessor :Uin, :Name, :Remark, :JoinTime
|
745
|
-
|
745
|
+
|
746
746
|
def initialize(uin=nil, name=nil, remark=nil, jointime=nil)
|
747
747
|
@Uin = uin
|
748
748
|
@Name = name
|
@@ -770,7 +770,7 @@ module TencentCloud
|
|
770
770
|
# @type MemberCount: Integer
|
771
771
|
|
772
772
|
attr_accessor :NodeId, :Name, :ParentNodeId, :MemberCount
|
773
|
-
|
773
|
+
|
774
774
|
def initialize(nodeid=nil, name=nil, parentnodeid=nil, membercount=nil)
|
775
775
|
@NodeId = nodeid
|
776
776
|
@Name = name
|
@@ -792,7 +792,7 @@ module TencentCloud
|
|
792
792
|
# @type OrgId: Integer
|
793
793
|
|
794
794
|
attr_accessor :OrgId
|
795
|
-
|
795
|
+
|
796
796
|
def initialize(orgid=nil)
|
797
797
|
@OrgId = orgid
|
798
798
|
end
|
@@ -808,7 +808,7 @@ module TencentCloud
|
|
808
808
|
# @type RequestId: String
|
809
809
|
|
810
810
|
attr_accessor :RequestId
|
811
|
-
|
811
|
+
|
812
812
|
def initialize(requestid=nil)
|
813
813
|
@RequestId = requestid
|
814
814
|
end
|
@@ -828,7 +828,7 @@ module TencentCloud
|
|
828
828
|
# @type Remark: String
|
829
829
|
|
830
830
|
attr_accessor :InviteUin, :Name, :Remark
|
831
|
-
|
831
|
+
|
832
832
|
def initialize(inviteuin=nil, name=nil, remark=nil)
|
833
833
|
@InviteUin = inviteuin
|
834
834
|
@Name = name
|
@@ -848,7 +848,7 @@ module TencentCloud
|
|
848
848
|
# @type RequestId: String
|
849
849
|
|
850
850
|
attr_accessor :RequestId
|
851
|
-
|
851
|
+
|
852
852
|
def initialize(requestid=nil)
|
853
853
|
@RequestId = requestid
|
854
854
|
end
|
@@ -868,7 +868,7 @@ module TencentCloud
|
|
868
868
|
# @type Remark: String
|
869
869
|
|
870
870
|
attr_accessor :MemberUin, :Name, :Remark
|
871
|
-
|
871
|
+
|
872
872
|
def initialize(memberuin=nil, name=nil, remark=nil)
|
873
873
|
@MemberUin = memberuin
|
874
874
|
@Name = name
|
@@ -888,7 +888,7 @@ module TencentCloud
|
|
888
888
|
# @type RequestId: String
|
889
889
|
|
890
890
|
attr_accessor :RequestId
|
891
|
-
|
891
|
+
|
892
892
|
def initialize(requestid=nil)
|
893
893
|
@RequestId = requestid
|
894
894
|
end
|
@@ -908,7 +908,7 @@ module TencentCloud
|
|
908
908
|
# @type ParentNodeId: Integer
|
909
909
|
|
910
910
|
attr_accessor :NodeId, :Name, :ParentNodeId
|
911
|
-
|
911
|
+
|
912
912
|
def initialize(nodeid=nil, name=nil, parentnodeid=nil)
|
913
913
|
@NodeId = nodeid
|
914
914
|
@Name = name
|
@@ -928,7 +928,7 @@ module TencentCloud
|
|
928
928
|
# @type RequestId: String
|
929
929
|
|
930
930
|
attr_accessor :RequestId
|
931
|
-
|
931
|
+
|
932
932
|
def initialize(requestid=nil)
|
933
933
|
@RequestId = requestid
|
934
934
|
end
|
data/lib/v20210331/client.rb
CHANGED
@@ -269,6 +269,78 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 以成员维度获取组织财务信息
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeOrganizationFinancialByMember.
|
275
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationFinancialByMemberRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationFinancialByMemberResponse`
|
277
|
+
def DescribeOrganizationFinancialByMember(request)
|
278
|
+
body = send_request('DescribeOrganizationFinancialByMember', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeOrganizationFinancialByMemberResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
296
|
+
# 以月维度获取组织财务信息趋势
|
297
|
+
|
298
|
+
# @param request: Request instance for DescribeOrganizationFinancialByMonth.
|
299
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationFinancialByMonthRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationFinancialByMonthResponse`
|
301
|
+
def DescribeOrganizationFinancialByMonth(request)
|
302
|
+
body = send_request('DescribeOrganizationFinancialByMonth', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DescribeOrganizationFinancialByMonthResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
320
|
+
# 以产品维度获取组织财务信息
|
321
|
+
|
322
|
+
# @param request: Request instance for DescribeOrganizationFinancialByProduct.
|
323
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationFinancialByProductRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationFinancialByProductResponse`
|
325
|
+
def DescribeOrganizationFinancialByProduct(request)
|
326
|
+
body = send_request('DescribeOrganizationFinancialByProduct', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = DescribeOrganizationFinancialByProductResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
272
344
|
# 获取组织成员被绑定授权关系的子账号列表
|
273
345
|
|
274
346
|
# @param request: Request instance for DescribeOrganizationMemberAuthAccounts.
|
data/lib/v20210331/models.rb
CHANGED
@@ -29,7 +29,7 @@ module TencentCloud
|
|
29
29
|
# @type Phone: String
|
30
30
|
|
31
31
|
attr_accessor :MemberUin, :Email, :CountryCode, :Phone
|
32
|
-
|
32
|
+
|
33
33
|
def initialize(memberuin=nil, email=nil, countrycode=nil, phone=nil)
|
34
34
|
@MemberUin = memberuin
|
35
35
|
@Email = email
|
@@ -51,7 +51,7 @@ module TencentCloud
|
|
51
51
|
# @type RequestId: String
|
52
52
|
|
53
53
|
attr_accessor :RequestId
|
54
|
-
|
54
|
+
|
55
55
|
def initialize(requestid=nil)
|
56
56
|
@RequestId = requestid
|
57
57
|
end
|
@@ -71,7 +71,7 @@ module TencentCloud
|
|
71
71
|
# @type Remark: String
|
72
72
|
|
73
73
|
attr_accessor :ParentNodeId, :Name, :Remark
|
74
|
-
|
74
|
+
|
75
75
|
def initialize(parentnodeid=nil, name=nil, remark=nil)
|
76
76
|
@ParentNodeId = parentnodeid
|
77
77
|
@Name = name
|
@@ -93,7 +93,7 @@ module TencentCloud
|
|
93
93
|
# @type RequestId: String
|
94
94
|
|
95
95
|
attr_accessor :NodeId, :RequestId
|
96
|
-
|
96
|
+
|
97
97
|
def initialize(nodeid=nil, requestid=nil)
|
98
98
|
@NodeId = nodeid
|
99
99
|
@RequestId = requestid
|
@@ -118,7 +118,7 @@ module TencentCloud
|
|
118
118
|
# @type Manager: :class:`Tencentcloud::Organization.v20210331.models.MemberMainInfo`
|
119
119
|
|
120
120
|
attr_accessor :RelationId, :AuthName, :Manager
|
121
|
-
|
121
|
+
|
122
122
|
def initialize(relationid=nil, authname=nil, manager=nil)
|
123
123
|
@RelationId = relationid
|
124
124
|
@AuthName = authname
|
@@ -145,7 +145,7 @@ module TencentCloud
|
|
145
145
|
# @type OrgSubAccountUins: Array
|
146
146
|
|
147
147
|
attr_accessor :MemberUin, :PolicyId, :OrgSubAccountUins
|
148
|
-
|
148
|
+
|
149
149
|
def initialize(memberuin=nil, policyid=nil, orgsubaccountuins=nil)
|
150
150
|
@MemberUin = memberuin
|
151
151
|
@PolicyId = policyid
|
@@ -165,7 +165,7 @@ module TencentCloud
|
|
165
165
|
# @type RequestId: String
|
166
166
|
|
167
167
|
attr_accessor :RequestId
|
168
|
-
|
168
|
+
|
169
169
|
def initialize(requestid=nil)
|
170
170
|
@RequestId = requestid
|
171
171
|
end
|
@@ -185,7 +185,7 @@ module TencentCloud
|
|
185
185
|
# @type OrgSubAccountUin: Integer
|
186
186
|
|
187
187
|
attr_accessor :MemberUin, :PolicyId, :OrgSubAccountUin
|
188
|
-
|
188
|
+
|
189
189
|
def initialize(memberuin=nil, policyid=nil, orgsubaccountuin=nil)
|
190
190
|
@MemberUin = memberuin
|
191
191
|
@PolicyId = policyid
|
@@ -205,7 +205,7 @@ module TencentCloud
|
|
205
205
|
# @type RequestId: String
|
206
206
|
|
207
207
|
attr_accessor :RequestId
|
208
|
-
|
208
|
+
|
209
209
|
def initialize(requestid=nil)
|
210
210
|
@RequestId = requestid
|
211
211
|
end
|
@@ -227,7 +227,7 @@ module TencentCloud
|
|
227
227
|
# @type Description: String
|
228
228
|
|
229
229
|
attr_accessor :MemberUin, :PolicyName, :IdentityId, :Description
|
230
|
-
|
230
|
+
|
231
231
|
def initialize(memberuin=nil, policyname=nil, identityid=nil, description=nil)
|
232
232
|
@MemberUin = memberuin
|
233
233
|
@PolicyName = policyname
|
@@ -252,7 +252,7 @@ module TencentCloud
|
|
252
252
|
# @type RequestId: String
|
253
253
|
|
254
254
|
attr_accessor :PolicyId, :RequestId
|
255
|
-
|
255
|
+
|
256
256
|
def initialize(policyid=nil, requestid=nil)
|
257
257
|
@PolicyId = policyid
|
258
258
|
@RequestId = requestid
|
@@ -288,7 +288,7 @@ module TencentCloud
|
|
288
288
|
# @type AuthRelationId: Integer
|
289
289
|
|
290
290
|
attr_accessor :Name, :PolicyType, :PermissionIds, :NodeId, :AccountName, :Remark, :RecordId, :PayUin, :IdentityRoleID, :AuthRelationId
|
291
|
-
|
291
|
+
|
292
292
|
def initialize(name=nil, policytype=nil, permissionids=nil, nodeid=nil, accountname=nil, remark=nil, recordid=nil, payuin=nil, identityroleid=nil, authrelationid=nil)
|
293
293
|
@Name = name
|
294
294
|
@PolicyType = policytype
|
@@ -325,7 +325,7 @@ module TencentCloud
|
|
325
325
|
# @type RequestId: String
|
326
326
|
|
327
327
|
attr_accessor :Uin, :RequestId
|
328
|
-
|
328
|
+
|
329
329
|
def initialize(uin=nil, requestid=nil)
|
330
330
|
@Uin = uin
|
331
331
|
@RequestId = requestid
|
@@ -343,7 +343,7 @@ module TencentCloud
|
|
343
343
|
# @type MemberUin: Array
|
344
344
|
|
345
345
|
attr_accessor :MemberUin
|
346
|
-
|
346
|
+
|
347
347
|
def initialize(memberuin=nil)
|
348
348
|
@MemberUin = memberuin
|
349
349
|
end
|
@@ -359,7 +359,7 @@ module TencentCloud
|
|
359
359
|
# @type RequestId: String
|
360
360
|
|
361
361
|
attr_accessor :RequestId
|
362
|
-
|
362
|
+
|
363
363
|
def initialize(requestid=nil)
|
364
364
|
@RequestId = requestid
|
365
365
|
end
|
@@ -375,7 +375,7 @@ module TencentCloud
|
|
375
375
|
# @type NodeId: Array
|
376
376
|
|
377
377
|
attr_accessor :NodeId
|
378
|
-
|
378
|
+
|
379
379
|
def initialize(nodeid=nil)
|
380
380
|
@NodeId = nodeid
|
381
381
|
end
|
@@ -391,7 +391,7 @@ module TencentCloud
|
|
391
391
|
# @type RequestId: String
|
392
392
|
|
393
393
|
attr_accessor :RequestId
|
394
|
-
|
394
|
+
|
395
395
|
def initialize(requestid=nil)
|
396
396
|
@RequestId = requestid
|
397
397
|
end
|
@@ -411,7 +411,7 @@ module TencentCloud
|
|
411
411
|
# @type AuthName: String
|
412
412
|
|
413
413
|
attr_accessor :Offset, :Limit, :AuthName
|
414
|
-
|
414
|
+
|
415
415
|
def initialize(offset=nil, limit=nil, authname=nil)
|
416
416
|
@Offset = offset
|
417
417
|
@Limit = limit
|
@@ -437,7 +437,7 @@ module TencentCloud
|
|
437
437
|
# @type RequestId: String
|
438
438
|
|
439
439
|
attr_accessor :Total, :Items, :RequestId
|
440
|
-
|
440
|
+
|
441
441
|
def initialize(total=nil, items=nil, requestid=nil)
|
442
442
|
@Total = total
|
443
443
|
@Items = items
|
@@ -458,6 +458,210 @@ module TencentCloud
|
|
458
458
|
end
|
459
459
|
end
|
460
460
|
|
461
|
+
# DescribeOrganizationFinancialByMember请求参数结构体
|
462
|
+
class DescribeOrganizationFinancialByMemberRequest < TencentCloud::Common::AbstractModel
|
463
|
+
# @param Month: 查询开始月份。格式:yyyy-mm,例如:2021-01。
|
464
|
+
# @type Month: String
|
465
|
+
# @param Limit: 限制数目。取值范围:1~50,默认值:10
|
466
|
+
# @type Limit: Integer
|
467
|
+
# @param Offset: 偏移量。取值是limit的整数倍,默认值 : 0
|
468
|
+
# @type Offset: Integer
|
469
|
+
# @param EndMonth: 查询结束月份。格式:yyyy-mm,例如:2021-01,默认值为查询开始月份。
|
470
|
+
# @type EndMonth: String
|
471
|
+
# @param MemberUins: 查询成员列表。 最大100个
|
472
|
+
# @type MemberUins: Array
|
473
|
+
# @param ProductCodes: 查询产品列表。 最大100个
|
474
|
+
# @type ProductCodes: Array
|
475
|
+
|
476
|
+
attr_accessor :Month, :Limit, :Offset, :EndMonth, :MemberUins, :ProductCodes
|
477
|
+
|
478
|
+
def initialize(month=nil, limit=nil, offset=nil, endmonth=nil, memberuins=nil, productcodes=nil)
|
479
|
+
@Month = month
|
480
|
+
@Limit = limit
|
481
|
+
@Offset = offset
|
482
|
+
@EndMonth = endmonth
|
483
|
+
@MemberUins = memberuins
|
484
|
+
@ProductCodes = productcodes
|
485
|
+
end
|
486
|
+
|
487
|
+
def deserialize(params)
|
488
|
+
@Month = params['Month']
|
489
|
+
@Limit = params['Limit']
|
490
|
+
@Offset = params['Offset']
|
491
|
+
@EndMonth = params['EndMonth']
|
492
|
+
@MemberUins = params['MemberUins']
|
493
|
+
@ProductCodes = params['ProductCodes']
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
# DescribeOrganizationFinancialByMember返回参数结构体
|
498
|
+
class DescribeOrganizationFinancialByMemberResponse < TencentCloud::Common::AbstractModel
|
499
|
+
# @param TotalCost: 当月总消耗。
|
500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
501
|
+
# @type TotalCost: Float
|
502
|
+
# @param Items: 成员消耗详情。
|
503
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
504
|
+
# @type Items: Array
|
505
|
+
# @param Total: 总数目。
|
506
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
507
|
+
# @type Total: Integer
|
508
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
509
|
+
# @type RequestId: String
|
510
|
+
|
511
|
+
attr_accessor :TotalCost, :Items, :Total, :RequestId
|
512
|
+
|
513
|
+
def initialize(totalcost=nil, items=nil, total=nil, requestid=nil)
|
514
|
+
@TotalCost = totalcost
|
515
|
+
@Items = items
|
516
|
+
@Total = total
|
517
|
+
@RequestId = requestid
|
518
|
+
end
|
519
|
+
|
520
|
+
def deserialize(params)
|
521
|
+
@TotalCost = params['TotalCost']
|
522
|
+
unless params['Items'].nil?
|
523
|
+
@Items = []
|
524
|
+
params['Items'].each do |i|
|
525
|
+
orgmemberfinancial_tmp = OrgMemberFinancial.new
|
526
|
+
orgmemberfinancial_tmp.deserialize(i)
|
527
|
+
@Items << orgmemberfinancial_tmp
|
528
|
+
end
|
529
|
+
end
|
530
|
+
@Total = params['Total']
|
531
|
+
@RequestId = params['RequestId']
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
# DescribeOrganizationFinancialByMonth请求参数结构体
|
536
|
+
class DescribeOrganizationFinancialByMonthRequest < TencentCloud::Common::AbstractModel
|
537
|
+
# @param Limit: 查询月数。取值范围:1~6,默认值:6
|
538
|
+
# @type Limit: Integer
|
539
|
+
# @param EndMonth: 查询结束月份。格式:yyyy-mm,例如:2021-01
|
540
|
+
# @type EndMonth: String
|
541
|
+
# @param MemberUins: 查询成员列表。 最大100个
|
542
|
+
# @type MemberUins: Array
|
543
|
+
# @param ProductCodes: 查询产品列表。 最大100个
|
544
|
+
# @type ProductCodes: Array
|
545
|
+
|
546
|
+
attr_accessor :Limit, :EndMonth, :MemberUins, :ProductCodes
|
547
|
+
|
548
|
+
def initialize(limit=nil, endmonth=nil, memberuins=nil, productcodes=nil)
|
549
|
+
@Limit = limit
|
550
|
+
@EndMonth = endmonth
|
551
|
+
@MemberUins = memberuins
|
552
|
+
@ProductCodes = productcodes
|
553
|
+
end
|
554
|
+
|
555
|
+
def deserialize(params)
|
556
|
+
@Limit = params['Limit']
|
557
|
+
@EndMonth = params['EndMonth']
|
558
|
+
@MemberUins = params['MemberUins']
|
559
|
+
@ProductCodes = params['ProductCodes']
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
563
|
+
# DescribeOrganizationFinancialByMonth返回参数结构体
|
564
|
+
class DescribeOrganizationFinancialByMonthResponse < TencentCloud::Common::AbstractModel
|
565
|
+
# @param Items: 产品消耗详情。
|
566
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
567
|
+
# @type Items: Array
|
568
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
569
|
+
# @type RequestId: String
|
570
|
+
|
571
|
+
attr_accessor :Items, :RequestId
|
572
|
+
|
573
|
+
def initialize(items=nil, requestid=nil)
|
574
|
+
@Items = items
|
575
|
+
@RequestId = requestid
|
576
|
+
end
|
577
|
+
|
578
|
+
def deserialize(params)
|
579
|
+
unless params['Items'].nil?
|
580
|
+
@Items = []
|
581
|
+
params['Items'].each do |i|
|
582
|
+
orgfinancialbymonth_tmp = OrgFinancialByMonth.new
|
583
|
+
orgfinancialbymonth_tmp.deserialize(i)
|
584
|
+
@Items << orgfinancialbymonth_tmp
|
585
|
+
end
|
586
|
+
end
|
587
|
+
@RequestId = params['RequestId']
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
# DescribeOrganizationFinancialByProduct请求参数结构体
|
592
|
+
class DescribeOrganizationFinancialByProductRequest < TencentCloud::Common::AbstractModel
|
593
|
+
# @param Month: 查询开始月份。格式:yyyy-mm,例如:2021-01
|
594
|
+
# @type Month: String
|
595
|
+
# @param Limit: 限制数目。取值范围:1~50,默认值:10
|
596
|
+
# @type Limit: Integer
|
597
|
+
# @param Offset: 偏移量。取值是limit的整数倍,默认值 : 0
|
598
|
+
# @type Offset: Integer
|
599
|
+
# @param EndMonth: 查询结束月份。格式:yyyy-mm,例如:2021-01,默认值为查询开始月份
|
600
|
+
# @type EndMonth: String
|
601
|
+
# @param MemberUins: 查询成员列表。 最大100个
|
602
|
+
# @type MemberUins: Array
|
603
|
+
# @param ProductCodes: 查询产品列表。 最大100个
|
604
|
+
# @type ProductCodes: Array
|
605
|
+
|
606
|
+
attr_accessor :Month, :Limit, :Offset, :EndMonth, :MemberUins, :ProductCodes
|
607
|
+
|
608
|
+
def initialize(month=nil, limit=nil, offset=nil, endmonth=nil, memberuins=nil, productcodes=nil)
|
609
|
+
@Month = month
|
610
|
+
@Limit = limit
|
611
|
+
@Offset = offset
|
612
|
+
@EndMonth = endmonth
|
613
|
+
@MemberUins = memberuins
|
614
|
+
@ProductCodes = productcodes
|
615
|
+
end
|
616
|
+
|
617
|
+
def deserialize(params)
|
618
|
+
@Month = params['Month']
|
619
|
+
@Limit = params['Limit']
|
620
|
+
@Offset = params['Offset']
|
621
|
+
@EndMonth = params['EndMonth']
|
622
|
+
@MemberUins = params['MemberUins']
|
623
|
+
@ProductCodes = params['ProductCodes']
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
# DescribeOrganizationFinancialByProduct返回参数结构体
|
628
|
+
class DescribeOrganizationFinancialByProductResponse < TencentCloud::Common::AbstractModel
|
629
|
+
# @param TotalCost: 当月总消耗。
|
630
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
631
|
+
# @type TotalCost: Float
|
632
|
+
# @param Items: 产品消耗详情。
|
633
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
634
|
+
# @type Items: Array
|
635
|
+
# @param Total: 总数目。
|
636
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
637
|
+
# @type Total: Integer
|
638
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
639
|
+
# @type RequestId: String
|
640
|
+
|
641
|
+
attr_accessor :TotalCost, :Items, :Total, :RequestId
|
642
|
+
|
643
|
+
def initialize(totalcost=nil, items=nil, total=nil, requestid=nil)
|
644
|
+
@TotalCost = totalcost
|
645
|
+
@Items = items
|
646
|
+
@Total = total
|
647
|
+
@RequestId = requestid
|
648
|
+
end
|
649
|
+
|
650
|
+
def deserialize(params)
|
651
|
+
@TotalCost = params['TotalCost']
|
652
|
+
unless params['Items'].nil?
|
653
|
+
@Items = []
|
654
|
+
params['Items'].each do |i|
|
655
|
+
orgproductfinancial_tmp = OrgProductFinancial.new
|
656
|
+
orgproductfinancial_tmp.deserialize(i)
|
657
|
+
@Items << orgproductfinancial_tmp
|
658
|
+
end
|
659
|
+
end
|
660
|
+
@Total = params['Total']
|
661
|
+
@RequestId = params['RequestId']
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
461
665
|
# DescribeOrganizationMemberAuthAccounts请求参数结构体
|
462
666
|
class DescribeOrganizationMemberAuthAccountsRequest < TencentCloud::Common::AbstractModel
|
463
667
|
# @param Offset: 偏移量。
|
@@ -470,7 +674,7 @@ module TencentCloud
|
|
470
674
|
# @type PolicyId: Integer
|
471
675
|
|
472
676
|
attr_accessor :Offset, :Limit, :MemberUin, :PolicyId
|
473
|
-
|
677
|
+
|
474
678
|
def initialize(offset=nil, limit=nil, memberuin=nil, policyid=nil)
|
475
679
|
@Offset = offset
|
476
680
|
@Limit = limit
|
@@ -498,7 +702,7 @@ module TencentCloud
|
|
498
702
|
# @type RequestId: String
|
499
703
|
|
500
704
|
attr_accessor :Items, :Total, :RequestId
|
501
|
-
|
705
|
+
|
502
706
|
def initialize(items=nil, total=nil, requestid=nil)
|
503
707
|
@Items = items
|
504
708
|
@Total = total
|
@@ -529,7 +733,7 @@ module TencentCloud
|
|
529
733
|
# @type MemberUin: Integer
|
530
734
|
|
531
735
|
attr_accessor :Offset, :Limit, :MemberUin
|
532
|
-
|
736
|
+
|
533
737
|
def initialize(offset=nil, limit=nil, memberuin=nil)
|
534
738
|
@Offset = offset
|
535
739
|
@Limit = limit
|
@@ -555,7 +759,7 @@ module TencentCloud
|
|
555
759
|
# @type RequestId: String
|
556
760
|
|
557
761
|
attr_accessor :Items, :Total, :RequestId
|
558
|
-
|
762
|
+
|
559
763
|
def initialize(items=nil, total=nil, requestid=nil)
|
560
764
|
@Items = items
|
561
765
|
@Total = total
|
@@ -582,7 +786,7 @@ module TencentCloud
|
|
582
786
|
# @type MemberUin: Integer
|
583
787
|
|
584
788
|
attr_accessor :MemberUin
|
585
|
-
|
789
|
+
|
586
790
|
def initialize(memberuin=nil)
|
587
791
|
@MemberUin = memberuin
|
588
792
|
end
|
@@ -625,7 +829,7 @@ module TencentCloud
|
|
625
829
|
# @type RequestId: String
|
626
830
|
|
627
831
|
attr_accessor :BindId, :ApplyTime, :Email, :Phone, :BindStatus, :BindTime, :Description, :PhoneBind, :CountryCode, :RequestId
|
628
|
-
|
832
|
+
|
629
833
|
def initialize(bindid=nil, applytime=nil, email=nil, phone=nil, bindstatus=nil, bindtime=nil, description=nil, phonebind=nil, countrycode=nil, requestid=nil)
|
630
834
|
@BindId = bindid
|
631
835
|
@ApplyTime = applytime
|
@@ -665,7 +869,7 @@ module TencentCloud
|
|
665
869
|
# @type SearchKey: String
|
666
870
|
|
667
871
|
attr_accessor :Offset, :Limit, :MemberUin, :SearchKey
|
668
|
-
|
872
|
+
|
669
873
|
def initialize(offset=nil, limit=nil, memberuin=nil, searchkey=nil)
|
670
874
|
@Offset = offset
|
671
875
|
@Limit = limit
|
@@ -693,7 +897,7 @@ module TencentCloud
|
|
693
897
|
# @type RequestId: String
|
694
898
|
|
695
899
|
attr_accessor :Items, :Total, :RequestId
|
696
|
-
|
900
|
+
|
697
901
|
def initialize(items=nil, total=nil, requestid=nil)
|
698
902
|
@Items = items
|
699
903
|
@Total = total
|
@@ -730,7 +934,7 @@ module TencentCloud
|
|
730
934
|
# @type Product: String
|
731
935
|
|
732
936
|
attr_accessor :Offset, :Limit, :Lang, :SearchKey, :AuthName, :Product
|
733
|
-
|
937
|
+
|
734
938
|
def initialize(offset=nil, limit=nil, lang=nil, searchkey=nil, authname=nil, product=nil)
|
735
939
|
@Offset = offset
|
736
940
|
@Limit = limit
|
@@ -760,7 +964,7 @@ module TencentCloud
|
|
760
964
|
# @type RequestId: String
|
761
965
|
|
762
966
|
attr_accessor :Items, :Total, :RequestId
|
763
|
-
|
967
|
+
|
764
968
|
def initialize(items=nil, total=nil, requestid=nil)
|
765
969
|
@Items = items
|
766
970
|
@Total = total
|
@@ -789,7 +993,7 @@ module TencentCloud
|
|
789
993
|
# @type Offset: Integer
|
790
994
|
|
791
995
|
attr_accessor :Limit, :Offset
|
792
|
-
|
996
|
+
|
793
997
|
def initialize(limit=nil, offset=nil)
|
794
998
|
@Limit = limit
|
795
999
|
@Offset = offset
|
@@ -813,7 +1017,7 @@ module TencentCloud
|
|
813
1017
|
# @type RequestId: String
|
814
1018
|
|
815
1019
|
attr_accessor :Total, :Items, :RequestId
|
816
|
-
|
1020
|
+
|
817
1021
|
def initialize(total=nil, items=nil, requestid=nil)
|
818
1022
|
@Total = total
|
819
1023
|
@Items = items
|
@@ -842,7 +1046,7 @@ module TencentCloud
|
|
842
1046
|
# @type Product: String
|
843
1047
|
|
844
1048
|
attr_accessor :Lang, :Product
|
845
|
-
|
1049
|
+
|
846
1050
|
def initialize(lang=nil, product=nil)
|
847
1051
|
@Lang = lang
|
848
1052
|
@Product = product
|
@@ -908,7 +1112,7 @@ module TencentCloud
|
|
908
1112
|
# @type RequestId: String
|
909
1113
|
|
910
1114
|
attr_accessor :OrgId, :HostUin, :NickName, :OrgType, :IsManager, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :RootNodeId, :CreateTime, :JoinTime, :IsAllowQuit, :PayUin, :PayName, :IsAssignManager, :IsAuthManager, :RequestId
|
911
|
-
|
1115
|
+
|
912
1116
|
def initialize(orgid=nil, hostuin=nil, nickname=nil, orgtype=nil, ismanager=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, rootnodeid=nil, createtime=nil, jointime=nil, isallowquit=nil, payuin=nil, payname=nil, isassignmanager=nil, isauthmanager=nil, requestid=nil)
|
913
1117
|
@OrgId = orgid
|
914
1118
|
@HostUin = hostuin
|
@@ -965,7 +1169,7 @@ module TencentCloud
|
|
965
1169
|
# @type PolicyName: String
|
966
1170
|
|
967
1171
|
attr_accessor :PolicyId, :PolicyName
|
968
|
-
|
1172
|
+
|
969
1173
|
def initialize(policyid=nil, policyname=nil)
|
970
1174
|
@PolicyId = policyid
|
971
1175
|
@PolicyName = policyname
|
@@ -991,7 +1195,7 @@ module TencentCloud
|
|
991
1195
|
# @type IdentityType: Integer
|
992
1196
|
|
993
1197
|
attr_accessor :Offset, :Limit, :SearchKey, :IdentityId, :IdentityType
|
994
|
-
|
1198
|
+
|
995
1199
|
def initialize(offset=nil, limit=nil, searchkey=nil, identityid=nil, identitytype=nil)
|
996
1200
|
@Offset = offset
|
997
1201
|
@Limit = limit
|
@@ -1021,7 +1225,7 @@ module TencentCloud
|
|
1021
1225
|
# @type RequestId: String
|
1022
1226
|
|
1023
1227
|
attr_accessor :Total, :Items, :RequestId
|
1024
|
-
|
1228
|
+
|
1025
1229
|
def initialize(total=nil, items=nil, requestid=nil)
|
1026
1230
|
@Total = total
|
1027
1231
|
@Items = items
|
@@ -1052,7 +1256,7 @@ module TencentCloud
|
|
1052
1256
|
# @type IdentityAliasName: String
|
1053
1257
|
|
1054
1258
|
attr_accessor :IdentityId, :IdentityAliasName
|
1055
|
-
|
1259
|
+
|
1056
1260
|
def initialize(identityid=nil, identityaliasname=nil)
|
1057
1261
|
@IdentityId = identityid
|
1058
1262
|
@IdentityAliasName = identityaliasname
|
@@ -1074,7 +1278,7 @@ module TencentCloud
|
|
1074
1278
|
# @type MemberName: String
|
1075
1279
|
|
1076
1280
|
attr_accessor :MemberUin, :MemberName
|
1077
|
-
|
1281
|
+
|
1078
1282
|
def initialize(memberuin=nil, membername=nil)
|
1079
1283
|
@MemberUin = memberuin
|
1080
1284
|
@MemberName = membername
|
@@ -1094,7 +1298,7 @@ module TencentCloud
|
|
1094
1298
|
# @type MemberUin: Array
|
1095
1299
|
|
1096
1300
|
attr_accessor :NodeId, :MemberUin
|
1097
|
-
|
1301
|
+
|
1098
1302
|
def initialize(nodeid=nil, memberuin=nil)
|
1099
1303
|
@NodeId = nodeid
|
1100
1304
|
@MemberUin = memberuin
|
@@ -1112,7 +1316,7 @@ module TencentCloud
|
|
1112
1316
|
# @type RequestId: String
|
1113
1317
|
|
1114
1318
|
attr_accessor :RequestId
|
1115
|
-
|
1319
|
+
|
1116
1320
|
def initialize(requestid=nil)
|
1117
1321
|
@RequestId = requestid
|
1118
1322
|
end
|
@@ -1122,6 +1326,38 @@ module TencentCloud
|
|
1122
1326
|
end
|
1123
1327
|
end
|
1124
1328
|
|
1329
|
+
# 按月获取组织财务信息
|
1330
|
+
class OrgFinancialByMonth < TencentCloud::Common::AbstractModel
|
1331
|
+
# @param Id: 记录ID。
|
1332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1333
|
+
# @type Id: Integer
|
1334
|
+
# @param Month: 月份,格式:yyyy-mm,示例:2021-01。
|
1335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1336
|
+
# @type Month: String
|
1337
|
+
# @param TotalCost: 消耗金额,单元:元。
|
1338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1339
|
+
# @type TotalCost: Float
|
1340
|
+
# @param GrowthRate: 比上月增长率%。正数增长,负数下降,空值无法统计。
|
1341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1342
|
+
# @type GrowthRate: String
|
1343
|
+
|
1344
|
+
attr_accessor :Id, :Month, :TotalCost, :GrowthRate
|
1345
|
+
|
1346
|
+
def initialize(id=nil, month=nil, totalcost=nil, growthrate=nil)
|
1347
|
+
@Id = id
|
1348
|
+
@Month = month
|
1349
|
+
@TotalCost = totalcost
|
1350
|
+
@GrowthRate = growthrate
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
def deserialize(params)
|
1354
|
+
@Id = params['Id']
|
1355
|
+
@Month = params['Month']
|
1356
|
+
@TotalCost = params['TotalCost']
|
1357
|
+
@GrowthRate = params['GrowthRate']
|
1358
|
+
end
|
1359
|
+
end
|
1360
|
+
|
1125
1361
|
# 组织身份
|
1126
1362
|
class OrgIdentity < TencentCloud::Common::AbstractModel
|
1127
1363
|
# @param IdentityId: 身份ID。
|
@@ -1144,7 +1380,7 @@ module TencentCloud
|
|
1144
1380
|
# @type UpdateTime: String
|
1145
1381
|
|
1146
1382
|
attr_accessor :IdentityId, :IdentityAliasName, :Description, :IdentityPolicy, :IdentityType, :UpdateTime
|
1147
|
-
|
1383
|
+
|
1148
1384
|
def initialize(identityid=nil, identityaliasname=nil, description=nil, identitypolicy=nil, identitytype=nil, updatetime=nil)
|
1149
1385
|
@IdentityId = identityid
|
1150
1386
|
@IdentityAliasName = identityaliasname
|
@@ -1226,7 +1462,7 @@ module TencentCloud
|
|
1226
1462
|
# @type PermissionStatus: String
|
1227
1463
|
|
1228
1464
|
attr_accessor :MemberUin, :Name, :MemberType, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :NodeId, :NodeName, :Remark, :CreateTime, :UpdateTime, :IsAllowQuit, :PayUin, :PayName, :OrgIdentity, :BindStatus, :PermissionStatus
|
1229
|
-
|
1465
|
+
|
1230
1466
|
def initialize(memberuin=nil, name=nil, membertype=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, nodeid=nil, nodename=nil, remark=nil, createtime=nil, updatetime=nil, isallowquit=nil, payuin=nil, payname=nil, orgidentity=nil, bindstatus=nil, permissionstatus=nil)
|
1231
1467
|
@MemberUin = memberuin
|
1232
1468
|
@Name = name
|
@@ -1313,7 +1549,7 @@ module TencentCloud
|
|
1313
1549
|
# @type OrgSubAccountName: String
|
1314
1550
|
|
1315
1551
|
attr_accessor :OrgSubAccountUin, :PolicyId, :PolicyName, :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :CreateTime, :UpdateTime, :OrgSubAccountName
|
1316
|
-
|
1552
|
+
|
1317
1553
|
def initialize(orgsubaccountuin=nil, policyid=nil, policyname=nil, identityid=nil, identityrolename=nil, identityrolealiasname=nil, createtime=nil, updatetime=nil, orgsubaccountname=nil)
|
1318
1554
|
@OrgSubAccountUin = orgsubaccountuin
|
1319
1555
|
@PolicyId = policyid
|
@@ -1364,7 +1600,7 @@ module TencentCloud
|
|
1364
1600
|
# @type IdentityType: Integer
|
1365
1601
|
|
1366
1602
|
attr_accessor :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :Description, :CreateTime, :UpdateTime, :IdentityType
|
1367
|
-
|
1603
|
+
|
1368
1604
|
def initialize(identityid=nil, identityrolename=nil, identityrolealiasname=nil, description=nil, createtime=nil, updatetime=nil, identitytype=nil)
|
1369
1605
|
@IdentityId = identityid
|
1370
1606
|
@IdentityRoleName = identityrolename
|
@@ -1386,6 +1622,38 @@ module TencentCloud
|
|
1386
1622
|
end
|
1387
1623
|
end
|
1388
1624
|
|
1625
|
+
# 组织成员财务信息。
|
1626
|
+
class OrgMemberFinancial < TencentCloud::Common::AbstractModel
|
1627
|
+
# @param MemberUin: 成员Uin。
|
1628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1629
|
+
# @type MemberUin: Integer
|
1630
|
+
# @param MemberName: 成员名称。
|
1631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1632
|
+
# @type MemberName: String
|
1633
|
+
# @param TotalCost: 消耗金额,单位:元。
|
1634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1635
|
+
# @type TotalCost: Float
|
1636
|
+
# @param Ratio: 占比%。
|
1637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1638
|
+
# @type Ratio: String
|
1639
|
+
|
1640
|
+
attr_accessor :MemberUin, :MemberName, :TotalCost, :Ratio
|
1641
|
+
|
1642
|
+
def initialize(memberuin=nil, membername=nil, totalcost=nil, ratio=nil)
|
1643
|
+
@MemberUin = memberuin
|
1644
|
+
@MemberName = membername
|
1645
|
+
@TotalCost = totalcost
|
1646
|
+
@Ratio = ratio
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
def deserialize(params)
|
1650
|
+
@MemberUin = params['MemberUin']
|
1651
|
+
@MemberName = params['MemberName']
|
1652
|
+
@TotalCost = params['TotalCost']
|
1653
|
+
@Ratio = params['Ratio']
|
1654
|
+
end
|
1655
|
+
end
|
1656
|
+
|
1389
1657
|
# 组织成员被授权的策略
|
1390
1658
|
class OrgMemberPolicy < TencentCloud::Common::AbstractModel
|
1391
1659
|
# @param PolicyId: 策略ID。
|
@@ -1414,7 +1682,7 @@ module TencentCloud
|
|
1414
1682
|
# @type UpdateTime: String
|
1415
1683
|
|
1416
1684
|
attr_accessor :PolicyId, :PolicyName, :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :Description, :CreateTime, :UpdateTime
|
1417
|
-
|
1685
|
+
|
1418
1686
|
def initialize(policyid=nil, policyname=nil, identityid=nil, identityrolename=nil, identityrolealiasname=nil, description=nil, createtime=nil, updatetime=nil)
|
1419
1687
|
@PolicyId = policyid
|
1420
1688
|
@PolicyName = policyname
|
@@ -1460,7 +1728,7 @@ module TencentCloud
|
|
1460
1728
|
# @type UpdateTime: String
|
1461
1729
|
|
1462
1730
|
attr_accessor :NodeId, :Name, :ParentNodeId, :Remark, :CreateTime, :UpdateTime
|
1463
|
-
|
1731
|
+
|
1464
1732
|
def initialize(nodeid=nil, name=nil, parentnodeid=nil, remark=nil, createtime=nil, updatetime=nil)
|
1465
1733
|
@NodeId = nodeid
|
1466
1734
|
@Name = name
|
@@ -1488,7 +1756,7 @@ module TencentCloud
|
|
1488
1756
|
# @type Name: String
|
1489
1757
|
|
1490
1758
|
attr_accessor :Id, :Name
|
1491
|
-
|
1759
|
+
|
1492
1760
|
def initialize(id=nil, name=nil)
|
1493
1761
|
@Id = id
|
1494
1762
|
@Name = name
|
@@ -1500,6 +1768,38 @@ module TencentCloud
|
|
1500
1768
|
end
|
1501
1769
|
end
|
1502
1770
|
|
1771
|
+
# 组织产品财务信息
|
1772
|
+
class OrgProductFinancial < TencentCloud::Common::AbstractModel
|
1773
|
+
# @param ProductName: 产品Code。
|
1774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1775
|
+
# @type ProductName: String
|
1776
|
+
# @param ProductCode: 产品名。
|
1777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1778
|
+
# @type ProductCode: String
|
1779
|
+
# @param TotalCost: 产品消耗,单位:元。
|
1780
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1781
|
+
# @type TotalCost: Float
|
1782
|
+
# @param Ratio: 占比%。
|
1783
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1784
|
+
# @type Ratio: String
|
1785
|
+
|
1786
|
+
attr_accessor :ProductName, :ProductCode, :TotalCost, :Ratio
|
1787
|
+
|
1788
|
+
def initialize(productname=nil, productcode=nil, totalcost=nil, ratio=nil)
|
1789
|
+
@ProductName = productname
|
1790
|
+
@ProductCode = productcode
|
1791
|
+
@TotalCost = totalcost
|
1792
|
+
@Ratio = ratio
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
def deserialize(params)
|
1796
|
+
@ProductName = params['ProductName']
|
1797
|
+
@ProductCode = params['ProductCode']
|
1798
|
+
@TotalCost = params['TotalCost']
|
1799
|
+
@Ratio = params['Ratio']
|
1800
|
+
end
|
1801
|
+
end
|
1802
|
+
|
1503
1803
|
# UpdateOrganizationMemberEmailBind请求参数结构体
|
1504
1804
|
class UpdateOrganizationMemberEmailBindRequest < TencentCloud::Common::AbstractModel
|
1505
1805
|
# @param MemberUin: 成员Uin
|
@@ -1514,7 +1814,7 @@ module TencentCloud
|
|
1514
1814
|
# @type Phone: String
|
1515
1815
|
|
1516
1816
|
attr_accessor :MemberUin, :BindId, :Email, :CountryCode, :Phone
|
1517
|
-
|
1817
|
+
|
1518
1818
|
def initialize(memberuin=nil, bindid=nil, email=nil, countrycode=nil, phone=nil)
|
1519
1819
|
@MemberUin = memberuin
|
1520
1820
|
@BindId = bindid
|
@@ -1538,7 +1838,7 @@ module TencentCloud
|
|
1538
1838
|
# @type RequestId: String
|
1539
1839
|
|
1540
1840
|
attr_accessor :RequestId
|
1541
|
-
|
1841
|
+
|
1542
1842
|
def initialize(requestid=nil)
|
1543
1843
|
@RequestId = requestid
|
1544
1844
|
end
|
@@ -1558,7 +1858,7 @@ module TencentCloud
|
|
1558
1858
|
# @type Remark: String
|
1559
1859
|
|
1560
1860
|
attr_accessor :NodeId, :Name, :Remark
|
1561
|
-
|
1861
|
+
|
1562
1862
|
def initialize(nodeid=nil, name=nil, remark=nil)
|
1563
1863
|
@NodeId = nodeid
|
1564
1864
|
@Name = name
|
@@ -1578,7 +1878,7 @@ module TencentCloud
|
|
1578
1878
|
# @type RequestId: String
|
1579
1879
|
|
1580
1880
|
attr_accessor :RequestId
|
1581
|
-
|
1881
|
+
|
1582
1882
|
def initialize(requestid=nil)
|
1583
1883
|
@RequestId = requestid
|
1584
1884
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-organization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.592
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|