tencentcloud-sdk-weilingwith 3.0.658

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3d87fd93fac14e922c2068a674fba2fb8b3bae4d
4
+ data.tar.gz: e322567d7c6f850e45dcdb73be72355ffd2f1319
5
+ SHA512:
6
+ metadata.gz: ef330664cdf9ed694489a2a08dc3274fc566b9c551d5e285d188fc4decaec0a9000852e0bf0a12be10dea4524ad12a1da209d0fa95c60325adcc7e24c83b6ff0
7
+ data.tar.gz: e38a65448ff4024648d6bf445793101f52099f6d2afea1f3cb782faae5238373fd405f393edb191af1f996960ae6962b6ea9c929db9ca5a5bbe246119e69b667
data/lib/VERSION ADDED
@@ -0,0 +1 @@
1
+ 3.0.658
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tencentcloud-sdk-common'
4
+
5
+ require_relative 'v20230427/client'
6
+ require_relative 'v20230427/models'
7
+
8
+ module TencentCloud
9
+ module Weilingwith
10
+ end
11
+ end
@@ -0,0 +1,156 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require 'json'
18
+
19
+ module TencentCloud
20
+ module Weilingwith
21
+ module V20230427
22
+ class Client < TencentCloud::Common::AbstractClient
23
+
24
+ def initialize(credential, region, profile = nil)
25
+ api_version = '2023-04-27'
26
+ api_endpoint = 'weilingwith.tencentcloudapi.com'
27
+ sdk_version = 'WEILINGWITH_' + File.read(File.expand_path('../VERSION', __dir__)).strip
28
+ super(credential, region, api_version, api_endpoint, sdk_version, profile)
29
+ end
30
+
31
+
32
+ # 查询指定空间关联的应用列表
33
+
34
+ # @param request: Request instance for DescribeApplicationList.
35
+ # @type request: :class:`Tencentcloud::weilingwith::V20230427::DescribeApplicationListRequest`
36
+ # @rtype: :class:`Tencentcloud::weilingwith::V20230427::DescribeApplicationListResponse`
37
+ def DescribeApplicationList(request)
38
+ body = send_request('DescribeApplicationList', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = DescribeApplicationListResponse.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 DescribeEdgeApplicationToken.
59
+ # @type request: :class:`Tencentcloud::weilingwith::V20230427::DescribeEdgeApplicationTokenRequest`
60
+ # @rtype: :class:`Tencentcloud::weilingwith::V20230427::DescribeEdgeApplicationTokenResponse`
61
+ def DescribeEdgeApplicationToken(request)
62
+ body = send_request('DescribeEdgeApplicationToken', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = DescribeEdgeApplicationTokenResponse.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
+ # 查询接口列表
81
+
82
+ # @param request: Request instance for DescribeInterfaceList.
83
+ # @type request: :class:`Tencentcloud::weilingwith::V20230427::DescribeInterfaceListRequest`
84
+ # @rtype: :class:`Tencentcloud::weilingwith::V20230427::DescribeInterfaceListResponse`
85
+ def DescribeInterfaceList(request)
86
+ body = send_request('DescribeInterfaceList', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeInterfaceListResponse.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 DescribeWorkspaceList.
107
+ # @type request: :class:`Tencentcloud::weilingwith::V20230427::DescribeWorkspaceListRequest`
108
+ # @rtype: :class:`Tencentcloud::weilingwith::V20230427::DescribeWorkspaceListResponse`
109
+ def DescribeWorkspaceList(request)
110
+ body = send_request('DescribeWorkspaceList', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeWorkspaceListResponse.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 DescribeWorkspaceUserList.
131
+ # @type request: :class:`Tencentcloud::weilingwith::V20230427::DescribeWorkspaceUserListRequest`
132
+ # @rtype: :class:`Tencentcloud::weilingwith::V20230427::DescribeWorkspaceUserListResponse`
133
+ def DescribeWorkspaceUserList(request)
134
+ body = send_request('DescribeWorkspaceUserList', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DescribeWorkspaceUserListResponse.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
+ end
154
+ end
155
+ end
156
+ end
@@ -0,0 +1,286 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Weilingwith
19
+ module V20230427
20
+ # DescribeApplicationList请求参数结构体
21
+ class DescribeApplicationListRequest < TencentCloud::Common::AbstractModel
22
+
23
+
24
+ def initialize()
25
+ end
26
+
27
+ def deserialize(params)
28
+ end
29
+ end
30
+
31
+ # DescribeApplicationList返回参数结构体
32
+ class DescribeApplicationListResponse < TencentCloud::Common::AbstractModel
33
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
34
+ # @type RequestId: String
35
+
36
+ attr_accessor :RequestId
37
+
38
+ def initialize(requestid=nil)
39
+ @RequestId = requestid
40
+ end
41
+
42
+ def deserialize(params)
43
+ @RequestId = params['RequestId']
44
+ end
45
+ end
46
+
47
+ # DescribeEdgeApplicationToken请求参数结构体
48
+ class DescribeEdgeApplicationTokenRequest < TencentCloud::Common::AbstractModel
49
+
50
+
51
+ def initialize()
52
+ end
53
+
54
+ def deserialize(params)
55
+ end
56
+ end
57
+
58
+ # DescribeEdgeApplicationToken返回参数结构体
59
+ class DescribeEdgeApplicationTokenResponse < TencentCloud::Common::AbstractModel
60
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
61
+ # @type RequestId: String
62
+
63
+ attr_accessor :RequestId
64
+
65
+ def initialize(requestid=nil)
66
+ @RequestId = requestid
67
+ end
68
+
69
+ def deserialize(params)
70
+ @RequestId = params['RequestId']
71
+ end
72
+ end
73
+
74
+ # DescribeInterfaceList请求参数结构体
75
+ class DescribeInterfaceListRequest < TencentCloud::Common::AbstractModel
76
+
77
+
78
+ def initialize()
79
+ end
80
+
81
+ def deserialize(params)
82
+ end
83
+ end
84
+
85
+ # DescribeInterfaceList返回参数结构体
86
+ class DescribeInterfaceListResponse < TencentCloud::Common::AbstractModel
87
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
88
+ # @type RequestId: String
89
+
90
+ attr_accessor :RequestId
91
+
92
+ def initialize(requestid=nil)
93
+ @RequestId = requestid
94
+ end
95
+
96
+ def deserialize(params)
97
+ @RequestId = params['RequestId']
98
+ end
99
+ end
100
+
101
+ # DescribeWorkspaceList请求参数结构体
102
+ class DescribeWorkspaceListRequest < TencentCloud::Common::AbstractModel
103
+
104
+
105
+ def initialize()
106
+ end
107
+
108
+ def deserialize(params)
109
+ end
110
+ end
111
+
112
+ # DescribeWorkspaceList返回参数结构体
113
+ class DescribeWorkspaceListResponse < TencentCloud::Common::AbstractModel
114
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
115
+ # @type RequestId: String
116
+
117
+ attr_accessor :RequestId
118
+
119
+ def initialize(requestid=nil)
120
+ @RequestId = requestid
121
+ end
122
+
123
+ def deserialize(params)
124
+ @RequestId = params['RequestId']
125
+ end
126
+ end
127
+
128
+ # DescribeWorkspaceUserList请求参数结构体
129
+ class DescribeWorkspaceUserListRequest < TencentCloud::Common::AbstractModel
130
+ # @param Offset: 翻页页码
131
+ # @type Offset: Integer
132
+ # @param Limit: 翻页大小
133
+ # @type Limit: Integer
134
+ # @param WorkspaceId: 工作空间ID
135
+ # @type WorkspaceId: String
136
+ # @param ApplicationToken: token
137
+ # @type ApplicationToken: String
138
+ # @param TenantId: 租户ID
139
+ # @type TenantId: String
140
+ # @param UpdateAt: 更新时间戳,单位秒
141
+ # @type UpdateAt: Integer
142
+
143
+ attr_accessor :Offset, :Limit, :WorkspaceId, :ApplicationToken, :TenantId, :UpdateAt
144
+
145
+ def initialize(offset=nil, limit=nil, workspaceid=nil, applicationtoken=nil, tenantid=nil, updateat=nil)
146
+ @Offset = offset
147
+ @Limit = limit
148
+ @WorkspaceId = workspaceid
149
+ @ApplicationToken = applicationtoken
150
+ @TenantId = tenantid
151
+ @UpdateAt = updateat
152
+ end
153
+
154
+ def deserialize(params)
155
+ @Offset = params['Offset']
156
+ @Limit = params['Limit']
157
+ @WorkspaceId = params['WorkspaceId']
158
+ @ApplicationToken = params['ApplicationToken']
159
+ @TenantId = params['TenantId']
160
+ @UpdateAt = params['UpdateAt']
161
+ end
162
+ end
163
+
164
+ # DescribeWorkspaceUserList返回参数结构体
165
+ class DescribeWorkspaceUserListResponse < TencentCloud::Common::AbstractModel
166
+ # @param Result: 返回数据
167
+ # @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.SsoTeamUserResult`
168
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
169
+ # @type RequestId: String
170
+
171
+ attr_accessor :Result, :RequestId
172
+
173
+ def initialize(result=nil, requestid=nil)
174
+ @Result = result
175
+ @RequestId = requestid
176
+ end
177
+
178
+ def deserialize(params)
179
+ unless params['Result'].nil?
180
+ @Result = SsoTeamUserResult.new
181
+ @Result.deserialize(params['Result'])
182
+ end
183
+ @RequestId = params['RequestId']
184
+ end
185
+ end
186
+
187
+ # 部门用户
188
+ class SsoTeamUser < TencentCloud::Common::AbstractModel
189
+ # @param UserId: 用户ID
190
+ # 注意:此字段可能返回 null,表示取不到有效值。
191
+ # @type UserId: String
192
+ # @param RealName: 用户名称
193
+ # 注意:此字段可能返回 null,表示取不到有效值。
194
+ # @type RealName: String
195
+ # @param UserType: 用户类型
196
+ # 注意:此字段可能返回 null,表示取不到有效值。
197
+ # @type UserType: String
198
+ # @param TenantId: 所属租户ID
199
+ # 注意:此字段可能返回 null,表示取不到有效值。
200
+ # @type TenantId: String
201
+ # @param Email: 邮箱
202
+ # 注意:此字段可能返回 null,表示取不到有效值。
203
+ # @type Email: String
204
+ # @param Phone: 电话
205
+ # 注意:此字段可能返回 null,表示取不到有效值。
206
+ # @type Phone: String
207
+ # @param Status: 用户状态
208
+ # 注意:此字段可能返回 null,表示取不到有效值。
209
+ # @type Status: Integer
210
+ # @param CreateAt: 创建时间
211
+ # 注意:此字段可能返回 null,表示取不到有效值。
212
+ # @type CreateAt: Integer
213
+ # @param DepartmentId: 部门ID
214
+ # 注意:此字段可能返回 null,表示取不到有效值。
215
+ # @type DepartmentId: String
216
+ # @param DepartmentName: 部门名称
217
+ # 注意:此字段可能返回 null,表示取不到有效值。
218
+ # @type DepartmentName: String
219
+ # @param LinkFilter: 是否关联权限
220
+ # 注意:此字段可能返回 null,表示取不到有效值。
221
+ # @type LinkFilter: Integer
222
+
223
+ attr_accessor :UserId, :RealName, :UserType, :TenantId, :Email, :Phone, :Status, :CreateAt, :DepartmentId, :DepartmentName, :LinkFilter
224
+
225
+ def initialize(userid=nil, realname=nil, usertype=nil, tenantid=nil, email=nil, phone=nil, status=nil, createat=nil, departmentid=nil, departmentname=nil, linkfilter=nil)
226
+ @UserId = userid
227
+ @RealName = realname
228
+ @UserType = usertype
229
+ @TenantId = tenantid
230
+ @Email = email
231
+ @Phone = phone
232
+ @Status = status
233
+ @CreateAt = createat
234
+ @DepartmentId = departmentid
235
+ @DepartmentName = departmentname
236
+ @LinkFilter = linkfilter
237
+ end
238
+
239
+ def deserialize(params)
240
+ @UserId = params['UserId']
241
+ @RealName = params['RealName']
242
+ @UserType = params['UserType']
243
+ @TenantId = params['TenantId']
244
+ @Email = params['Email']
245
+ @Phone = params['Phone']
246
+ @Status = params['Status']
247
+ @CreateAt = params['CreateAt']
248
+ @DepartmentId = params['DepartmentId']
249
+ @DepartmentName = params['DepartmentName']
250
+ @LinkFilter = params['LinkFilter']
251
+ end
252
+ end
253
+
254
+ # 空间用户结果
255
+ class SsoTeamUserResult < TencentCloud::Common::AbstractModel
256
+ # @param Total: 总数
257
+ # 注意:此字段可能返回 null,表示取不到有效值。
258
+ # @type Total: Integer
259
+ # @param Users: 部门用户列表
260
+ # 注意:此字段可能返回 null,表示取不到有效值。
261
+ # @type Users: Array
262
+
263
+ attr_accessor :Total, :Users
264
+
265
+ def initialize(total=nil, users=nil)
266
+ @Total = total
267
+ @Users = users
268
+ end
269
+
270
+ def deserialize(params)
271
+ @Total = params['Total']
272
+ unless params['Users'].nil?
273
+ @Users = []
274
+ params['Users'].each do |i|
275
+ ssoteamuser_tmp = SsoTeamUser.new
276
+ ssoteamuser_tmp.deserialize(i)
277
+ @Users << ssoteamuser_tmp
278
+ end
279
+ end
280
+ end
281
+ end
282
+
283
+ end
284
+ end
285
+ end
286
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tencentcloud-sdk-weilingwith
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.658
5
+ platform: ruby
6
+ authors:
7
+ - Tencent Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-09-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tencentcloud-sdk-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ description: Tencent Cloud Ruby SDK is the official software development kit, which
28
+ allows Ruby developers to write software that makes use of Tencent Cloud service
29
+ WEILINGWITH.
30
+ email:
31
+ - tencentcloudapi@tencent.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/v20230427/models.rb
37
+ - lib/v20230427/client.rb
38
+ - lib/tencentcloud-sdk-weilingwith.rb
39
+ - lib/VERSION
40
+ homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
+ licenses:
42
+ - Apache-2.0
43
+ metadata:
44
+ source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-weilingwith
45
+ changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.0.14
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Tencent Cloud SDK for Ruby - WEILINGWITH
66
+ test_files: []