tencentcloud-sdk-icr 1.0.294
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 +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-icr.rb +11 -0
- data/lib/v20211014/client.rb +60 -0
- data/lib/v20211014/models.rb +456 -0
- metadata +66 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c398f8e1df9833130c28800a95bc6852f456bc62
|
4
|
+
data.tar.gz: dceee008d384380fe1408f474e5e2cc9cb532f98
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7cbafe8c6d84bce1ea7ff418e6c098a51f4e8a58f45e53cc900de12a13f9fb7c7312a4ccb0405e7af8be30e8efa3924623444115fcfc47acf02a10a78395fb30
|
7
|
+
data.tar.gz: f4c733a141bfa08cf8ecf8116999ed63223fdeeccc7bf113ce61c5eb884793618edfd76b7216de5a9e1d258a3904c988f205aa3d33d9e88493cb82329d557837
|
data/lib/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.0.294
|
@@ -0,0 +1,60 @@
|
|
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 Icr
|
21
|
+
module V20211014
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
23
|
+
|
24
|
+
def initialize(credential, region, profile = nil)
|
25
|
+
api_version = '2021-10-14'
|
26
|
+
api_endpoint = 'icr.tencentcloudapi.com'
|
27
|
+
sdk_version = 'ICR_' + 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 GetIndustryV1HomeMembers.
|
35
|
+
# @type request: :class:`Tencentcloud::icr::V20211014::GetIndustryV1HomeMembersRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::icr::V20211014::GetIndustryV1HomeMembersResponse`
|
37
|
+
def GetIndustryV1HomeMembers(request)
|
38
|
+
body = send_request('GetIndustryV1HomeMembers', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = GetIndustryV1HomeMembersResponse.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
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,456 @@
|
|
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 Icr
|
19
|
+
module V20211014
|
20
|
+
# 获取成员列表入参payload
|
21
|
+
class GetIndustryV1HomeMembersReqPayload < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ID: 用户ID
|
23
|
+
# @type ID: String
|
24
|
+
|
25
|
+
attr_accessor :ID
|
26
|
+
|
27
|
+
def initialize(id=nil)
|
28
|
+
@ID = id
|
29
|
+
end
|
30
|
+
|
31
|
+
def deserialize(params)
|
32
|
+
@ID = params['ID']
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
# GetIndustryV1HomeMembers请求参数结构体
|
37
|
+
class GetIndustryV1HomeMembersRequest < TencentCloud::Common::AbstractModel
|
38
|
+
# @param Payload: 无
|
39
|
+
# @type Payload: :class:`Tencentcloud::Icr.v20211014.models.GetIndustryV1HomeMembersReqPayload`
|
40
|
+
# @param Metadata: 无
|
41
|
+
# @type Metadata: :class:`Tencentcloud::Icr.v20211014.models.ReqMetadata`
|
42
|
+
|
43
|
+
attr_accessor :Payload, :Metadata
|
44
|
+
|
45
|
+
def initialize(payload=nil, metadata=nil)
|
46
|
+
@Payload = payload
|
47
|
+
@Metadata = metadata
|
48
|
+
end
|
49
|
+
|
50
|
+
def deserialize(params)
|
51
|
+
unless params['Payload'].nil?
|
52
|
+
@Payload = GetIndustryV1HomeMembersReqPayload.new
|
53
|
+
@Payload.deserialize(params['Payload'])
|
54
|
+
end
|
55
|
+
unless params['Metadata'].nil?
|
56
|
+
@Metadata = ReqMetadata.new
|
57
|
+
@Metadata.deserialize(params['Metadata'])
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# 获取成员列表回包DataList
|
63
|
+
class GetIndustryV1HomeMembersRespData < TencentCloud::Common::AbstractModel
|
64
|
+
# @param EditTime: 修改时间
|
65
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
66
|
+
# @type EditTime: Integer
|
67
|
+
# @param FeatureList: 功能列表
|
68
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
69
|
+
# @type FeatureList: :class:`Tencentcloud::Icr.v20211014.models.GetIndustryV1HomeMembersRespFeature`
|
70
|
+
# @param ID: 用户ID
|
71
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
72
|
+
# @type ID: String
|
73
|
+
# @param IndustryType: 用户行业分类
|
74
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
75
|
+
# @type IndustryType: String
|
76
|
+
# @param MemberNum: 子用户数量
|
77
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
78
|
+
# @type MemberNum: Integer
|
79
|
+
# @param ProductList: 机器人列表
|
80
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
81
|
+
# @type ProductList: :class:`Tencentcloud::Icr.v20211014.models.GetIndustryV1HomeMembersRespProduct`
|
82
|
+
# @param Remark: 备注
|
83
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
84
|
+
# @type Remark: String
|
85
|
+
# @param Status: 是否有效
|
86
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
87
|
+
# @type Status: Integer
|
88
|
+
# @param TypeList: 功能列表
|
89
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
90
|
+
# @type TypeList: :class:`Tencentcloud::Icr.v20211014.models.GetIndustryV1HomeMembersRespType`
|
91
|
+
# @param UserAccount: 用户账号
|
92
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
93
|
+
# @type UserAccount: String
|
94
|
+
|
95
|
+
attr_accessor :EditTime, :FeatureList, :ID, :IndustryType, :MemberNum, :ProductList, :Remark, :Status, :TypeList, :UserAccount
|
96
|
+
|
97
|
+
def initialize(edittime=nil, featurelist=nil, id=nil, industrytype=nil, membernum=nil, productlist=nil, remark=nil, status=nil, typelist=nil, useraccount=nil)
|
98
|
+
@EditTime = edittime
|
99
|
+
@FeatureList = featurelist
|
100
|
+
@ID = id
|
101
|
+
@IndustryType = industrytype
|
102
|
+
@MemberNum = membernum
|
103
|
+
@ProductList = productlist
|
104
|
+
@Remark = remark
|
105
|
+
@Status = status
|
106
|
+
@TypeList = typelist
|
107
|
+
@UserAccount = useraccount
|
108
|
+
end
|
109
|
+
|
110
|
+
def deserialize(params)
|
111
|
+
@EditTime = params['EditTime']
|
112
|
+
unless params['FeatureList'].nil?
|
113
|
+
@FeatureList = GetIndustryV1HomeMembersRespFeature.new
|
114
|
+
@FeatureList.deserialize(params['FeatureList'])
|
115
|
+
end
|
116
|
+
@ID = params['ID']
|
117
|
+
@IndustryType = params['IndustryType']
|
118
|
+
@MemberNum = params['MemberNum']
|
119
|
+
unless params['ProductList'].nil?
|
120
|
+
@ProductList = GetIndustryV1HomeMembersRespProduct.new
|
121
|
+
@ProductList.deserialize(params['ProductList'])
|
122
|
+
end
|
123
|
+
@Remark = params['Remark']
|
124
|
+
@Status = params['Status']
|
125
|
+
unless params['TypeList'].nil?
|
126
|
+
@TypeList = GetIndustryV1HomeMembersRespType.new
|
127
|
+
@TypeList.deserialize(params['TypeList'])
|
128
|
+
end
|
129
|
+
@UserAccount = params['UserAccount']
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# 获取成员列表接口回包Feature
|
134
|
+
class GetIndustryV1HomeMembersRespFeature < TencentCloud::Common::AbstractModel
|
135
|
+
# @param FeatureName: 功能名称
|
136
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
137
|
+
# @type FeatureName: String
|
138
|
+
# @param ID: 功能ID
|
139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
140
|
+
# @type ID: String
|
141
|
+
|
142
|
+
attr_accessor :FeatureName, :ID
|
143
|
+
|
144
|
+
def initialize(featurename=nil, id=nil)
|
145
|
+
@FeatureName = featurename
|
146
|
+
@ID = id
|
147
|
+
end
|
148
|
+
|
149
|
+
def deserialize(params)
|
150
|
+
@FeatureName = params['FeatureName']
|
151
|
+
@ID = params['ID']
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
# 获取成员列表回包Industry
|
156
|
+
class GetIndustryV1HomeMembersRespIndustry < TencentCloud::Common::AbstractModel
|
157
|
+
# @param ID: 行业ID
|
158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
159
|
+
# @type ID: String
|
160
|
+
# @param IndustryName: 行业名称
|
161
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
162
|
+
# @type IndustryName: String
|
163
|
+
|
164
|
+
attr_accessor :ID, :IndustryName
|
165
|
+
|
166
|
+
def initialize(id=nil, industryname=nil)
|
167
|
+
@ID = id
|
168
|
+
@IndustryName = industryname
|
169
|
+
end
|
170
|
+
|
171
|
+
def deserialize(params)
|
172
|
+
@ID = params['ID']
|
173
|
+
@IndustryName = params['IndustryName']
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# 获取成员列表回包Payload
|
178
|
+
class GetIndustryV1HomeMembersRespPayload < TencentCloud::Common::AbstractModel
|
179
|
+
# @param AccountLevel: 用户级别
|
180
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
181
|
+
# @type AccountLevel: String
|
182
|
+
# @param DataList: 用户列表
|
183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
184
|
+
# @type DataList: Array
|
185
|
+
# @param Limit: 每页数量
|
186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
187
|
+
# @type Limit: Integer
|
188
|
+
# @param Offset: 分页偏移量,从0开始
|
189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
190
|
+
# @type Offset: Integer
|
191
|
+
# @param Total: 用户总数
|
192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
193
|
+
# @type Total: Integer
|
194
|
+
|
195
|
+
attr_accessor :AccountLevel, :DataList, :Limit, :Offset, :Total
|
196
|
+
|
197
|
+
def initialize(accountlevel=nil, datalist=nil, limit=nil, offset=nil, total=nil)
|
198
|
+
@AccountLevel = accountlevel
|
199
|
+
@DataList = datalist
|
200
|
+
@Limit = limit
|
201
|
+
@Offset = offset
|
202
|
+
@Total = total
|
203
|
+
end
|
204
|
+
|
205
|
+
def deserialize(params)
|
206
|
+
@AccountLevel = params['AccountLevel']
|
207
|
+
unless params['DataList'].nil?
|
208
|
+
@DataList = []
|
209
|
+
params['DataList'].each do |i|
|
210
|
+
getindustryv1homemembersrespdata_tmp = GetIndustryV1HomeMembersRespData.new
|
211
|
+
getindustryv1homemembersrespdata_tmp.deserialize(i)
|
212
|
+
@DataList << getindustryv1homemembersrespdata_tmp
|
213
|
+
end
|
214
|
+
end
|
215
|
+
@Limit = params['Limit']
|
216
|
+
@Offset = params['Offset']
|
217
|
+
@Total = params['Total']
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
# 获取成员列表接口回包ProductList
|
222
|
+
class GetIndustryV1HomeMembersRespProduct < TencentCloud::Common::AbstractModel
|
223
|
+
# @param CreateTime: 创建时间
|
224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
225
|
+
# @type CreateTime: String
|
226
|
+
# @param EditTime: 编辑时间
|
227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
228
|
+
# @type EditTime: String
|
229
|
+
# @param AppKey: 机器人ID(AppKey信息)
|
230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
231
|
+
# @type AppKey: String
|
232
|
+
# @param Image: 机器人图标
|
233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
234
|
+
# @type Image: String
|
235
|
+
# @param Industry: 行业信息
|
236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
237
|
+
# @type Industry: Array
|
238
|
+
# @param OperatorList: 操作员列表
|
239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
240
|
+
# @type OperatorList: String
|
241
|
+
# @param ProductName: 机器人名字
|
242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
243
|
+
# @type ProductName: String
|
244
|
+
# @param Remark: 备注
|
245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
246
|
+
# @type Remark: String
|
247
|
+
# @param TemplateList: 模板列表
|
248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
249
|
+
# @type TemplateList: String
|
250
|
+
|
251
|
+
attr_accessor :CreateTime, :EditTime, :AppKey, :Image, :Industry, :OperatorList, :ProductName, :Remark, :TemplateList
|
252
|
+
|
253
|
+
def initialize(createtime=nil, edittime=nil, appkey=nil, image=nil, industry=nil, operatorlist=nil, productname=nil, remark=nil, templatelist=nil)
|
254
|
+
@CreateTime = createtime
|
255
|
+
@EditTime = edittime
|
256
|
+
@AppKey = appkey
|
257
|
+
@Image = image
|
258
|
+
@Industry = industry
|
259
|
+
@OperatorList = operatorlist
|
260
|
+
@ProductName = productname
|
261
|
+
@Remark = remark
|
262
|
+
@TemplateList = templatelist
|
263
|
+
end
|
264
|
+
|
265
|
+
def deserialize(params)
|
266
|
+
@CreateTime = params['CreateTime']
|
267
|
+
@EditTime = params['EditTime']
|
268
|
+
@AppKey = params['AppKey']
|
269
|
+
@Image = params['Image']
|
270
|
+
unless params['Industry'].nil?
|
271
|
+
@Industry = []
|
272
|
+
params['Industry'].each do |i|
|
273
|
+
getindustryv1homemembersrespindustry_tmp = GetIndustryV1HomeMembersRespIndustry.new
|
274
|
+
getindustryv1homemembersrespindustry_tmp.deserialize(i)
|
275
|
+
@Industry << getindustryv1homemembersrespindustry_tmp
|
276
|
+
end
|
277
|
+
end
|
278
|
+
@OperatorList = params['OperatorList']
|
279
|
+
@ProductName = params['ProductName']
|
280
|
+
@Remark = params['Remark']
|
281
|
+
@TemplateList = params['TemplateList']
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# 获取成员列表接口回包TypeList
|
286
|
+
class GetIndustryV1HomeMembersRespType < TencentCloud::Common::AbstractModel
|
287
|
+
# @param Type: 类型ID
|
288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
289
|
+
# @type Type: String
|
290
|
+
# @param TypeName: 类型名称
|
291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
292
|
+
# @type TypeName: String
|
293
|
+
|
294
|
+
attr_accessor :Type, :TypeName
|
295
|
+
|
296
|
+
def initialize(type=nil, typename=nil)
|
297
|
+
@Type = type
|
298
|
+
@TypeName = typename
|
299
|
+
end
|
300
|
+
|
301
|
+
def deserialize(params)
|
302
|
+
@Type = params['Type']
|
303
|
+
@TypeName = params['TypeName']
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
# GetIndustryV1HomeMembers返回参数结构体
|
308
|
+
class GetIndustryV1HomeMembersResponse < TencentCloud::Common::AbstractModel
|
309
|
+
# @param Metadata: 无
|
310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
311
|
+
# @type Metadata: :class:`Tencentcloud::Icr.v20211014.models.RspMetadata`
|
312
|
+
# @param Payload: 无
|
313
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
314
|
+
# @type Payload: :class:`Tencentcloud::Icr.v20211014.models.GetIndustryV1HomeMembersRespPayload`
|
315
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
316
|
+
# @type RequestId: String
|
317
|
+
|
318
|
+
attr_accessor :Metadata, :Payload, :RequestId
|
319
|
+
|
320
|
+
def initialize(metadata=nil, payload=nil, requestid=nil)
|
321
|
+
@Metadata = metadata
|
322
|
+
@Payload = payload
|
323
|
+
@RequestId = requestid
|
324
|
+
end
|
325
|
+
|
326
|
+
def deserialize(params)
|
327
|
+
unless params['Metadata'].nil?
|
328
|
+
@Metadata = RspMetadata.new
|
329
|
+
@Metadata.deserialize(params['Metadata'])
|
330
|
+
end
|
331
|
+
unless params['Payload'].nil?
|
332
|
+
@Payload = GetIndustryV1HomeMembersRespPayload.new
|
333
|
+
@Payload.deserialize(params['Payload'])
|
334
|
+
end
|
335
|
+
@RequestId = params['RequestId']
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
# 请求的Metadata
|
340
|
+
class ReqMetadata < TencentCloud::Common::AbstractModel
|
341
|
+
# @param ChannelID: 渠道
|
342
|
+
# @type ChannelID: String
|
343
|
+
# @param BusinessName: 无
|
344
|
+
# @type BusinessName: String
|
345
|
+
# @param GUID: 无
|
346
|
+
# @type GUID: String
|
347
|
+
# @param AppKey: 无
|
348
|
+
# @type AppKey: String
|
349
|
+
# @param LBS: 位置定位服务
|
350
|
+
# @type LBS: :class:`Tencentcloud::Icr.v20211014.models.ReqMetadataLBS`
|
351
|
+
# @param Vagrants: 透传字段
|
352
|
+
# @type Vagrants: Array
|
353
|
+
|
354
|
+
attr_accessor :ChannelID, :BusinessName, :GUID, :AppKey, :LBS, :Vagrants
|
355
|
+
|
356
|
+
def initialize(channelid=nil, businessname=nil, guid=nil, appkey=nil, lbs=nil, vagrants=nil)
|
357
|
+
@ChannelID = channelid
|
358
|
+
@BusinessName = businessname
|
359
|
+
@GUID = guid
|
360
|
+
@AppKey = appkey
|
361
|
+
@LBS = lbs
|
362
|
+
@Vagrants = vagrants
|
363
|
+
end
|
364
|
+
|
365
|
+
def deserialize(params)
|
366
|
+
@ChannelID = params['ChannelID']
|
367
|
+
@BusinessName = params['BusinessName']
|
368
|
+
@GUID = params['GUID']
|
369
|
+
@AppKey = params['AppKey']
|
370
|
+
unless params['LBS'].nil?
|
371
|
+
@LBS = ReqMetadataLBS.new
|
372
|
+
@LBS.deserialize(params['LBS'])
|
373
|
+
end
|
374
|
+
unless params['Vagrants'].nil?
|
375
|
+
@Vagrants = []
|
376
|
+
params['Vagrants'].each do |i|
|
377
|
+
reqmetadatavagrant_tmp = ReqMetadataVagrant.new
|
378
|
+
reqmetadatavagrant_tmp.deserialize(i)
|
379
|
+
@Vagrants << reqmetadatavagrant_tmp
|
380
|
+
end
|
381
|
+
end
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
# 请求参数的lbs
|
386
|
+
class ReqMetadataLBS < TencentCloud::Common::AbstractModel
|
387
|
+
# @param Latitude: 无
|
388
|
+
# @type Latitude: Float
|
389
|
+
# @param Longitude: 无
|
390
|
+
# @type Longitude: Float
|
391
|
+
|
392
|
+
attr_accessor :Latitude, :Longitude
|
393
|
+
|
394
|
+
def initialize(latitude=nil, longitude=nil)
|
395
|
+
@Latitude = latitude
|
396
|
+
@Longitude = longitude
|
397
|
+
end
|
398
|
+
|
399
|
+
def deserialize(params)
|
400
|
+
@Latitude = params['Latitude']
|
401
|
+
@Longitude = params['Longitude']
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# 请求参数Vagrant
|
406
|
+
class ReqMetadataVagrant < TencentCloud::Common::AbstractModel
|
407
|
+
# @param Key: 无
|
408
|
+
# @type Key: String
|
409
|
+
# @param Value: 无
|
410
|
+
# @type Value: String
|
411
|
+
|
412
|
+
attr_accessor :Key, :Value
|
413
|
+
|
414
|
+
def initialize(key=nil, value=nil)
|
415
|
+
@Key = key
|
416
|
+
@Value = value
|
417
|
+
end
|
418
|
+
|
419
|
+
def deserialize(params)
|
420
|
+
@Key = params['Key']
|
421
|
+
@Value = params['Value']
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# 回包的meta data
|
426
|
+
class RspMetadata < TencentCloud::Common::AbstractModel
|
427
|
+
# @param Code: 无
|
428
|
+
# @type Code: Integer
|
429
|
+
# @param Message: 无
|
430
|
+
# @type Message: String
|
431
|
+
# @param SessionID: 无
|
432
|
+
# @type SessionID: String
|
433
|
+
# @param SessionDelta: 无
|
434
|
+
# @type SessionDelta: String
|
435
|
+
|
436
|
+
attr_accessor :Code, :Message, :SessionID, :SessionDelta
|
437
|
+
|
438
|
+
def initialize(code=nil, message=nil, sessionid=nil, sessiondelta=nil)
|
439
|
+
@Code = code
|
440
|
+
@Message = message
|
441
|
+
@SessionID = sessionid
|
442
|
+
@SessionDelta = sessiondelta
|
443
|
+
end
|
444
|
+
|
445
|
+
def deserialize(params)
|
446
|
+
@Code = params['Code']
|
447
|
+
@Message = params['Message']
|
448
|
+
@SessionID = params['SessionID']
|
449
|
+
@SessionDelta = params['SessionDelta']
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
end
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tencentcloud-sdk-icr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.294
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tencent Cloud
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-04-12 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
|
+
ICR.
|
30
|
+
email:
|
31
|
+
- tencentcloudapi@tencent.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- lib/VERSION
|
37
|
+
- lib/tencentcloud-sdk-icr.rb
|
38
|
+
- lib/v20211014/client.rb
|
39
|
+
- lib/v20211014/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-icr
|
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 - ICR
|
66
|
+
test_files: []
|