tencentcloud-sdk-bma 1.0.364
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-bma.rb +11 -0
- data/lib/v20210624/client.rb +132 -0
- data/lib/v20210624/models.rb +327 -0
- metadata +66 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e41927c041eb39ec9cedff9791a8c04bf3ef428e
|
4
|
+
data.tar.gz: 29c67d48821df9dc7808d74529f7b4c12850abd7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 279b5dae018ae83413351bae15a3704996b7e24c013b6980060774c2e0549ce53528010be67eda6a1f01c4ed5ed0b4256d26fd37b1d0c99308673624d3051d22
|
7
|
+
data.tar.gz: 3b6e1942c75585a8e0277c53cf55bc00f156c783c9c92f88b19b866275bdd5518f712016fb2a224c9aa7c5e924dc2abc7d924305e0879d260fb1327243d70831
|
data/lib/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.0.364
|
@@ -0,0 +1,132 @@
|
|
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 Bma
|
21
|
+
module V20210624
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
23
|
+
|
24
|
+
def initialize(credential, region, profile = nil)
|
25
|
+
api_version = '2021-06-24'
|
26
|
+
api_endpoint = 'bma.tencentcloudapi.com'
|
27
|
+
sdk_version = 'BMA_' + 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 CreateCRBlock.
|
35
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRBlockRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRBlockResponse`
|
37
|
+
def CreateCRBlock(request)
|
38
|
+
body = send_request('CreateCRBlock', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateCRBlockResponse.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 CreateCRCompanyVerify.
|
59
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRCompanyVerifyRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRCompanyVerifyResponse`
|
61
|
+
def CreateCRCompanyVerify(request)
|
62
|
+
body = send_request('CreateCRCompanyVerify', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = CreateCRCompanyVerifyResponse.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 CreateCRRight.
|
83
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRRightRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRRightResponse`
|
85
|
+
def CreateCRRight(request)
|
86
|
+
body = send_request('CreateCRRight', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateCRRightResponse.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 DescribeCRWorkInfo.
|
107
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::DescribeCRWorkInfoRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::DescribeCRWorkInfoResponse`
|
109
|
+
def DescribeCRWorkInfo(request)
|
110
|
+
body = send_request('DescribeCRWorkInfo', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = DescribeCRWorkInfoResponse.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
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
@@ -0,0 +1,327 @@
|
|
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 Bma
|
19
|
+
module V20210624
|
20
|
+
# CreateCRBlock请求参数结构体
|
21
|
+
class CreateCRBlockRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param WorkId: 已存证的作品ID
|
23
|
+
# @type WorkId: Integer
|
24
|
+
# @param TortUrl: 侵权链接
|
25
|
+
# @type TortUrl: String
|
26
|
+
# @param TortTitle: 侵权标题
|
27
|
+
# @type TortTitle: String
|
28
|
+
# @param TortPlat: 侵权平台
|
29
|
+
# @type TortPlat: String
|
30
|
+
# @param BlockUrl: 拦截结果回调地址
|
31
|
+
# @type BlockUrl: String
|
32
|
+
# @param FileUrl: x
|
33
|
+
# @type FileUrl: String
|
34
|
+
# @param ValidStartDate: x
|
35
|
+
# @type ValidStartDate: String
|
36
|
+
# @param ValidEndDate: x
|
37
|
+
# @type ValidEndDate: String
|
38
|
+
# @param TortPic: xx
|
39
|
+
# @type TortPic: String
|
40
|
+
# @param CommFileUrl: x
|
41
|
+
# @type CommFileUrl: String
|
42
|
+
# @param CommValidStartDate: x
|
43
|
+
# @type CommValidStartDate: String
|
44
|
+
# @param CommValidEndDate: x
|
45
|
+
# @type CommValidEndDate: String
|
46
|
+
# @param IsProducer: x
|
47
|
+
# @type IsProducer: String
|
48
|
+
|
49
|
+
attr_accessor :WorkId, :TortUrl, :TortTitle, :TortPlat, :BlockUrl, :FileUrl, :ValidStartDate, :ValidEndDate, :TortPic, :CommFileUrl, :CommValidStartDate, :CommValidEndDate, :IsProducer
|
50
|
+
|
51
|
+
def initialize(workid=nil, torturl=nil, torttitle=nil, tortplat=nil, blockurl=nil, fileurl=nil, validstartdate=nil, validenddate=nil, tortpic=nil, commfileurl=nil, commvalidstartdate=nil, commvalidenddate=nil, isproducer=nil)
|
52
|
+
@WorkId = workid
|
53
|
+
@TortUrl = torturl
|
54
|
+
@TortTitle = torttitle
|
55
|
+
@TortPlat = tortplat
|
56
|
+
@BlockUrl = blockurl
|
57
|
+
@FileUrl = fileurl
|
58
|
+
@ValidStartDate = validstartdate
|
59
|
+
@ValidEndDate = validenddate
|
60
|
+
@TortPic = tortpic
|
61
|
+
@CommFileUrl = commfileurl
|
62
|
+
@CommValidStartDate = commvalidstartdate
|
63
|
+
@CommValidEndDate = commvalidenddate
|
64
|
+
@IsProducer = isproducer
|
65
|
+
end
|
66
|
+
|
67
|
+
def deserialize(params)
|
68
|
+
@WorkId = params['WorkId']
|
69
|
+
@TortUrl = params['TortUrl']
|
70
|
+
@TortTitle = params['TortTitle']
|
71
|
+
@TortPlat = params['TortPlat']
|
72
|
+
@BlockUrl = params['BlockUrl']
|
73
|
+
@FileUrl = params['FileUrl']
|
74
|
+
@ValidStartDate = params['ValidStartDate']
|
75
|
+
@ValidEndDate = params['ValidEndDate']
|
76
|
+
@TortPic = params['TortPic']
|
77
|
+
@CommFileUrl = params['CommFileUrl']
|
78
|
+
@CommValidStartDate = params['CommValidStartDate']
|
79
|
+
@CommValidEndDate = params['CommValidEndDate']
|
80
|
+
@IsProducer = params['IsProducer']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# CreateCRBlock返回参数结构体
|
85
|
+
class CreateCRBlockResponse < TencentCloud::Common::AbstractModel
|
86
|
+
# @param TortId: 侵权ID
|
87
|
+
# @type TortId: Integer
|
88
|
+
# @param TortNum: xxx
|
89
|
+
# @type TortNum: String
|
90
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
91
|
+
# @type RequestId: String
|
92
|
+
|
93
|
+
attr_accessor :TortId, :TortNum, :RequestId
|
94
|
+
|
95
|
+
def initialize(tortid=nil, tortnum=nil, requestid=nil)
|
96
|
+
@TortId = tortid
|
97
|
+
@TortNum = tortnum
|
98
|
+
@RequestId = requestid
|
99
|
+
end
|
100
|
+
|
101
|
+
def deserialize(params)
|
102
|
+
@TortId = params['TortId']
|
103
|
+
@TortNum = params['TortNum']
|
104
|
+
@RequestId = params['RequestId']
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# CreateCRCompanyVerify请求参数结构体
|
109
|
+
class CreateCRCompanyVerifyRequest < TencentCloud::Common::AbstractModel
|
110
|
+
# @param CompanyName: 企业名称
|
111
|
+
# @type CompanyName: String
|
112
|
+
# @param CompanyID: 企业证件号码
|
113
|
+
# @type CompanyID: String
|
114
|
+
# @param CompanyLegalName: 企业法人姓名
|
115
|
+
# @type CompanyLegalName: String
|
116
|
+
# @param ManagerName: 管理员名称
|
117
|
+
# @type ManagerName: String
|
118
|
+
# @param ManagerPhone: 管理员手机号
|
119
|
+
# @type ManagerPhone: String
|
120
|
+
# @param VerificationCode: 手机验证码
|
121
|
+
# @type VerificationCode: String
|
122
|
+
# @param CompanyIDType: 企业认证号码类型 1:社会信用代码 2:组织机构代码 3:企业工商注册码 4:其他 默认为1
|
123
|
+
# @type CompanyIDType: String
|
124
|
+
# @param Type: xxx
|
125
|
+
# @type Type: String
|
126
|
+
|
127
|
+
attr_accessor :CompanyName, :CompanyID, :CompanyLegalName, :ManagerName, :ManagerPhone, :VerificationCode, :CompanyIDType, :Type
|
128
|
+
|
129
|
+
def initialize(companyname=nil, companyid=nil, companylegalname=nil, managername=nil, managerphone=nil, verificationcode=nil, companyidtype=nil, type=nil)
|
130
|
+
@CompanyName = companyname
|
131
|
+
@CompanyID = companyid
|
132
|
+
@CompanyLegalName = companylegalname
|
133
|
+
@ManagerName = managername
|
134
|
+
@ManagerPhone = managerphone
|
135
|
+
@VerificationCode = verificationcode
|
136
|
+
@CompanyIDType = companyidtype
|
137
|
+
@Type = type
|
138
|
+
end
|
139
|
+
|
140
|
+
def deserialize(params)
|
141
|
+
@CompanyName = params['CompanyName']
|
142
|
+
@CompanyID = params['CompanyID']
|
143
|
+
@CompanyLegalName = params['CompanyLegalName']
|
144
|
+
@ManagerName = params['ManagerName']
|
145
|
+
@ManagerPhone = params['ManagerPhone']
|
146
|
+
@VerificationCode = params['VerificationCode']
|
147
|
+
@CompanyIDType = params['CompanyIDType']
|
148
|
+
@Type = params['Type']
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# CreateCRCompanyVerify返回参数结构体
|
153
|
+
class CreateCRCompanyVerifyResponse < TencentCloud::Common::AbstractModel
|
154
|
+
# @param Status: 认证状态 0-认证成功 1-认证失败
|
155
|
+
# @type Status: Integer
|
156
|
+
# @param Note: 认证结果返回
|
157
|
+
# @type Note: String
|
158
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
159
|
+
# @type RequestId: String
|
160
|
+
|
161
|
+
attr_accessor :Status, :Note, :RequestId
|
162
|
+
|
163
|
+
def initialize(status=nil, note=nil, requestid=nil)
|
164
|
+
@Status = status
|
165
|
+
@Note = note
|
166
|
+
@RequestId = requestid
|
167
|
+
end
|
168
|
+
|
169
|
+
def deserialize(params)
|
170
|
+
@Status = params['Status']
|
171
|
+
@Note = params['Note']
|
172
|
+
@RequestId = params['RequestId']
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
# CreateCRRight请求参数结构体
|
177
|
+
class CreateCRRightRequest < TencentCloud::Common::AbstractModel
|
178
|
+
# @param WorkId: 已存证的作品ID
|
179
|
+
# @type WorkId: Integer
|
180
|
+
# @param TortUrl: 侵权链接
|
181
|
+
# @type TortUrl: String
|
182
|
+
# @param TortTitle: 侵权标题
|
183
|
+
# @type TortTitle: String
|
184
|
+
# @param TortPlat: 侵权平台
|
185
|
+
# @type TortPlat: String
|
186
|
+
# @param RightUrl: 发函结果回调地址
|
187
|
+
# @type RightUrl: String
|
188
|
+
# @param FileUrl: x
|
189
|
+
# @type FileUrl: String
|
190
|
+
# @param ValidStartDate: x
|
191
|
+
# @type ValidStartDate: String
|
192
|
+
# @param ValidEndDate: x
|
193
|
+
# @type ValidEndDate: String
|
194
|
+
# @param CommFileUrl: x
|
195
|
+
# @type CommFileUrl: String
|
196
|
+
# @param CommValidStartDate: x
|
197
|
+
# @type CommValidStartDate: String
|
198
|
+
# @param CommValidEndDate: x
|
199
|
+
# @type CommValidEndDate: String
|
200
|
+
# @param HomeFileUrl: x
|
201
|
+
# @type HomeFileUrl: String
|
202
|
+
# @param HomeValidStartDate: x
|
203
|
+
# @type HomeValidStartDate: String
|
204
|
+
# @param HomeValidEndDate: x
|
205
|
+
# @type HomeValidEndDate: String
|
206
|
+
# @param IsProducer: x
|
207
|
+
# @type IsProducer: String
|
208
|
+
|
209
|
+
attr_accessor :WorkId, :TortUrl, :TortTitle, :TortPlat, :RightUrl, :FileUrl, :ValidStartDate, :ValidEndDate, :CommFileUrl, :CommValidStartDate, :CommValidEndDate, :HomeFileUrl, :HomeValidStartDate, :HomeValidEndDate, :IsProducer
|
210
|
+
|
211
|
+
def initialize(workid=nil, torturl=nil, torttitle=nil, tortplat=nil, righturl=nil, fileurl=nil, validstartdate=nil, validenddate=nil, commfileurl=nil, commvalidstartdate=nil, commvalidenddate=nil, homefileurl=nil, homevalidstartdate=nil, homevalidenddate=nil, isproducer=nil)
|
212
|
+
@WorkId = workid
|
213
|
+
@TortUrl = torturl
|
214
|
+
@TortTitle = torttitle
|
215
|
+
@TortPlat = tortplat
|
216
|
+
@RightUrl = righturl
|
217
|
+
@FileUrl = fileurl
|
218
|
+
@ValidStartDate = validstartdate
|
219
|
+
@ValidEndDate = validenddate
|
220
|
+
@CommFileUrl = commfileurl
|
221
|
+
@CommValidStartDate = commvalidstartdate
|
222
|
+
@CommValidEndDate = commvalidenddate
|
223
|
+
@HomeFileUrl = homefileurl
|
224
|
+
@HomeValidStartDate = homevalidstartdate
|
225
|
+
@HomeValidEndDate = homevalidenddate
|
226
|
+
@IsProducer = isproducer
|
227
|
+
end
|
228
|
+
|
229
|
+
def deserialize(params)
|
230
|
+
@WorkId = params['WorkId']
|
231
|
+
@TortUrl = params['TortUrl']
|
232
|
+
@TortTitle = params['TortTitle']
|
233
|
+
@TortPlat = params['TortPlat']
|
234
|
+
@RightUrl = params['RightUrl']
|
235
|
+
@FileUrl = params['FileUrl']
|
236
|
+
@ValidStartDate = params['ValidStartDate']
|
237
|
+
@ValidEndDate = params['ValidEndDate']
|
238
|
+
@CommFileUrl = params['CommFileUrl']
|
239
|
+
@CommValidStartDate = params['CommValidStartDate']
|
240
|
+
@CommValidEndDate = params['CommValidEndDate']
|
241
|
+
@HomeFileUrl = params['HomeFileUrl']
|
242
|
+
@HomeValidStartDate = params['HomeValidStartDate']
|
243
|
+
@HomeValidEndDate = params['HomeValidEndDate']
|
244
|
+
@IsProducer = params['IsProducer']
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
# CreateCRRight返回参数结构体
|
249
|
+
class CreateCRRightResponse < TencentCloud::Common::AbstractModel
|
250
|
+
# @param TortId: 侵权ID
|
251
|
+
# @type TortId: Integer
|
252
|
+
# @param TortNum: xxx
|
253
|
+
# @type TortNum: String
|
254
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
255
|
+
# @type RequestId: String
|
256
|
+
|
257
|
+
attr_accessor :TortId, :TortNum, :RequestId
|
258
|
+
|
259
|
+
def initialize(tortid=nil, tortnum=nil, requestid=nil)
|
260
|
+
@TortId = tortid
|
261
|
+
@TortNum = tortnum
|
262
|
+
@RequestId = requestid
|
263
|
+
end
|
264
|
+
|
265
|
+
def deserialize(params)
|
266
|
+
@TortId = params['TortId']
|
267
|
+
@TortNum = params['TortNum']
|
268
|
+
@RequestId = params['RequestId']
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# DescribeCRWorkInfo请求参数结构体
|
273
|
+
class DescribeCRWorkInfoRequest < TencentCloud::Common::AbstractModel
|
274
|
+
# @param WorkId: xxx
|
275
|
+
# @type WorkId: Integer
|
276
|
+
|
277
|
+
attr_accessor :WorkId
|
278
|
+
|
279
|
+
def initialize(workid=nil)
|
280
|
+
@WorkId = workid
|
281
|
+
end
|
282
|
+
|
283
|
+
def deserialize(params)
|
284
|
+
@WorkId = params['WorkId']
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# DescribeCRWorkInfo返回参数结构体
|
289
|
+
class DescribeCRWorkInfoResponse < TencentCloud::Common::AbstractModel
|
290
|
+
# @param WorkName: x
|
291
|
+
# @type WorkName: String
|
292
|
+
# @param MonitorStatus: x
|
293
|
+
# @type MonitorStatus: Integer
|
294
|
+
# @param AuthStatus: x
|
295
|
+
# @type AuthStatus: Integer
|
296
|
+
# @param CommStatus: x
|
297
|
+
# @type CommStatus: Integer
|
298
|
+
# @param IsProducer: x
|
299
|
+
# @type IsProducer: Integer
|
300
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
301
|
+
# @type RequestId: String
|
302
|
+
|
303
|
+
attr_accessor :WorkName, :MonitorStatus, :AuthStatus, :CommStatus, :IsProducer, :RequestId
|
304
|
+
|
305
|
+
def initialize(workname=nil, monitorstatus=nil, authstatus=nil, commstatus=nil, isproducer=nil, requestid=nil)
|
306
|
+
@WorkName = workname
|
307
|
+
@MonitorStatus = monitorstatus
|
308
|
+
@AuthStatus = authstatus
|
309
|
+
@CommStatus = commstatus
|
310
|
+
@IsProducer = isproducer
|
311
|
+
@RequestId = requestid
|
312
|
+
end
|
313
|
+
|
314
|
+
def deserialize(params)
|
315
|
+
@WorkName = params['WorkName']
|
316
|
+
@MonitorStatus = params['MonitorStatus']
|
317
|
+
@AuthStatus = params['AuthStatus']
|
318
|
+
@CommStatus = params['CommStatus']
|
319
|
+
@IsProducer = params['IsProducer']
|
320
|
+
@RequestId = params['RequestId']
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
end
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tencentcloud-sdk-bma
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.364
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tencent Cloud
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-07-26 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: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.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
|
+
BMA.
|
30
|
+
email:
|
31
|
+
- tencentcloudapi@tencent.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- lib/VERSION
|
37
|
+
- lib/tencentcloud-sdk-bma.rb
|
38
|
+
- lib/v20210624/client.rb
|
39
|
+
- lib/v20210624/models.rb
|
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-bma
|
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.6.14
|
63
|
+
signing_key:
|
64
|
+
specification_version: 4
|
65
|
+
summary: Tencent Cloud SDK for Ruby - BMA
|
66
|
+
test_files: []
|