tencentcloud-sdk-cloudstudio 3.0.412

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1670 @@
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 Cloudstudio
19
+ module V20210524
20
+ # 云主机创建工作空间DTO
21
+ class AgentSpaceDTO < TencentCloud::Common::AbstractModel
22
+ # @param Name: 工作空间名称
23
+ # @type Name: String
24
+ # @param ImageId: 镜像id
25
+ # @type ImageId: Integer
26
+ # @param ImageName: 镜像名称
27
+ # @type ImageName: String
28
+ # @param RemoteUser: 云主机登录名称
29
+ # @type RemoteUser: String
30
+ # @param RemoteHost: 云主机登录地址
31
+ # @type RemoteHost: String
32
+ # @param RemotePort: 云主机登录端口
33
+ # @type RemotePort: String
34
+ # @param WorkspaceType: 工作空间类型
35
+ # @type WorkspaceType: String
36
+ # @param WorkspaceVersion: 工作空间版本
37
+ # @type WorkspaceVersion: Integer
38
+ # @param WorkspaceResourceDTO: 工作空间资源结构
39
+ # @type WorkspaceResourceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceResourceDTO`
40
+ # @param Description: 描述
41
+ # @type Description: String
42
+
43
+ attr_accessor :Name, :ImageId, :ImageName, :RemoteUser, :RemoteHost, :RemotePort, :WorkspaceType, :WorkspaceVersion, :WorkspaceResourceDTO, :Description
44
+
45
+ def initialize(name=nil, imageid=nil, imagename=nil, remoteuser=nil, remotehost=nil, remoteport=nil, workspacetype=nil, workspaceversion=nil, workspaceresourcedto=nil, description=nil)
46
+ @Name = name
47
+ @ImageId = imageid
48
+ @ImageName = imagename
49
+ @RemoteUser = remoteuser
50
+ @RemoteHost = remotehost
51
+ @RemotePort = remoteport
52
+ @WorkspaceType = workspacetype
53
+ @WorkspaceVersion = workspaceversion
54
+ @WorkspaceResourceDTO = workspaceresourcedto
55
+ @Description = description
56
+ end
57
+
58
+ def deserialize(params)
59
+ @Name = params['Name']
60
+ @ImageId = params['ImageId']
61
+ @ImageName = params['ImageName']
62
+ @RemoteUser = params['RemoteUser']
63
+ @RemoteHost = params['RemoteHost']
64
+ @RemotePort = params['RemotePort']
65
+ @WorkspaceType = params['WorkspaceType']
66
+ @WorkspaceVersion = params['WorkspaceVersion']
67
+ unless params['WorkspaceResourceDTO'].nil?
68
+ @WorkspaceResourceDTO = WorkspaceResourceDTO.new
69
+ @WorkspaceResourceDTO.deserialize(params['WorkspaceResourceDTO'])
70
+ end
71
+ @Description = params['Description']
72
+ end
73
+ end
74
+
75
+ # CreateCustomizeTemplates请求参数结构体
76
+ class CreateCustomizeTemplatesRequest < TencentCloud::Common::AbstractModel
77
+ # @param CloudStudioSessionTeam: 用户所属组
78
+ # @type CloudStudioSessionTeam: String
79
+ # @param UserDefinedTemplateParams: 无
80
+ # @type UserDefinedTemplateParams: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplateParams`
81
+
82
+ attr_accessor :CloudStudioSessionTeam, :UserDefinedTemplateParams
83
+
84
+ def initialize(cloudstudiosessionteam=nil, userdefinedtemplateparams=nil)
85
+ @CloudStudioSessionTeam = cloudstudiosessionteam
86
+ @UserDefinedTemplateParams = userdefinedtemplateparams
87
+ end
88
+
89
+ def deserialize(params)
90
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
91
+ unless params['UserDefinedTemplateParams'].nil?
92
+ @UserDefinedTemplateParams = UserDefinedTemplateParams.new
93
+ @UserDefinedTemplateParams.deserialize(params['UserDefinedTemplateParams'])
94
+ end
95
+ end
96
+ end
97
+
98
+ # CreateCustomizeTemplates返回参数结构体
99
+ class CreateCustomizeTemplatesResponse < TencentCloud::Common::AbstractModel
100
+ # @param Data: 无
101
+ # 注意:此字段可能返回 null,表示取不到有效值。
102
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
103
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
104
+ # @type RequestId: String
105
+
106
+ attr_accessor :Data, :RequestId
107
+
108
+ def initialize(data=nil, requestid=nil)
109
+ @Data = data
110
+ @RequestId = requestid
111
+ end
112
+
113
+ def deserialize(params)
114
+ unless params['Data'].nil?
115
+ @Data = WorkspaceTemplateInfo.new
116
+ @Data.deserialize(params['Data'])
117
+ end
118
+ @RequestId = params['RequestId']
119
+ end
120
+ end
121
+
122
+ # CreateWorkspaceByAgent请求参数结构体
123
+ class CreateWorkspaceByAgentRequest < TencentCloud::Common::AbstractModel
124
+ # @param CloudStudioSessionTeam: 无
125
+ # @type CloudStudioSessionTeam: String
126
+ # @param AgentSpaceDTO: 无
127
+ # @type AgentSpaceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.AgentSpaceDTO`
128
+
129
+ attr_accessor :CloudStudioSessionTeam, :AgentSpaceDTO
130
+
131
+ def initialize(cloudstudiosessionteam=nil, agentspacedto=nil)
132
+ @CloudStudioSessionTeam = cloudstudiosessionteam
133
+ @AgentSpaceDTO = agentspacedto
134
+ end
135
+
136
+ def deserialize(params)
137
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
138
+ unless params['AgentSpaceDTO'].nil?
139
+ @AgentSpaceDTO = AgentSpaceDTO.new
140
+ @AgentSpaceDTO.deserialize(params['AgentSpaceDTO'])
141
+ end
142
+ end
143
+ end
144
+
145
+ # CreateWorkspaceByAgent返回参数结构体
146
+ class CreateWorkspaceByAgentResponse < TencentCloud::Common::AbstractModel
147
+ # @param Data: 无
148
+ # 注意:此字段可能返回 null,表示取不到有效值。
149
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceInfoDTO`
150
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
151
+ # @type RequestId: String
152
+
153
+ attr_accessor :Data, :RequestId
154
+
155
+ def initialize(data=nil, requestid=nil)
156
+ @Data = data
157
+ @RequestId = requestid
158
+ end
159
+
160
+ def deserialize(params)
161
+ unless params['Data'].nil?
162
+ @Data = WorkspaceInfoDTO.new
163
+ @Data.deserialize(params['Data'])
164
+ end
165
+ @RequestId = params['RequestId']
166
+ end
167
+ end
168
+
169
+ # CreateWorkspaceByTemplate请求参数结构体
170
+ class CreateWorkspaceByTemplateRequest < TencentCloud::Common::AbstractModel
171
+ # @param CloudStudioSessionTeam: 用户所属组
172
+ # @type CloudStudioSessionTeam: String
173
+ # @param TemplateId: 模版ID
174
+ # @type TemplateId: Integer
175
+
176
+ attr_accessor :CloudStudioSessionTeam, :TemplateId
177
+
178
+ def initialize(cloudstudiosessionteam=nil, templateid=nil)
179
+ @CloudStudioSessionTeam = cloudstudiosessionteam
180
+ @TemplateId = templateid
181
+ end
182
+
183
+ def deserialize(params)
184
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
185
+ @TemplateId = params['TemplateId']
186
+ end
187
+ end
188
+
189
+ # CreateWorkspaceByTemplate返回参数结构体
190
+ class CreateWorkspaceByTemplateResponse < TencentCloud::Common::AbstractModel
191
+ # @param Data: 创建工作空间返回的信息
192
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceInfo`
193
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
194
+ # @type RequestId: String
195
+
196
+ attr_accessor :Data, :RequestId
197
+
198
+ def initialize(data=nil, requestid=nil)
199
+ @Data = data
200
+ @RequestId = requestid
201
+ end
202
+
203
+ def deserialize(params)
204
+ unless params['Data'].nil?
205
+ @Data = WorkspaceInfo.new
206
+ @Data.deserialize(params['Data'])
207
+ end
208
+ @RequestId = params['RequestId']
209
+ end
210
+ end
211
+
212
+ # CreateWorkspaceByVersionControl请求参数结构体
213
+ class CreateWorkspaceByVersionControlRequest < TencentCloud::Common::AbstractModel
214
+ # @param WorkspaceDTO: 工作空间结构
215
+ # @type WorkspaceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceDTO`
216
+ # @param CloudStudioSessionTeam: 用户所属组
217
+ # @type CloudStudioSessionTeam: String
218
+
219
+ attr_accessor :WorkspaceDTO, :CloudStudioSessionTeam
220
+
221
+ def initialize(workspacedto=nil, cloudstudiosessionteam=nil)
222
+ @WorkspaceDTO = workspacedto
223
+ @CloudStudioSessionTeam = cloudstudiosessionteam
224
+ end
225
+
226
+ def deserialize(params)
227
+ unless params['WorkspaceDTO'].nil?
228
+ @WorkspaceDTO = WorkspaceDTO.new
229
+ @WorkspaceDTO.deserialize(params['WorkspaceDTO'])
230
+ end
231
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
232
+ end
233
+ end
234
+
235
+ # CreateWorkspaceByVersionControl返回参数结构体
236
+ class CreateWorkspaceByVersionControlResponse < TencentCloud::Common::AbstractModel
237
+ # @param Data: 无
238
+ # 注意:此字段可能返回 null,表示取不到有效值。
239
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceInfoDTO`
240
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
241
+ # @type RequestId: String
242
+
243
+ attr_accessor :Data, :RequestId
244
+
245
+ def initialize(data=nil, requestid=nil)
246
+ @Data = data
247
+ @RequestId = requestid
248
+ end
249
+
250
+ def deserialize(params)
251
+ unless params['Data'].nil?
252
+ @Data = WorkspaceInfoDTO.new
253
+ @Data.deserialize(params['Data'])
254
+ end
255
+ @RequestId = params['RequestId']
256
+ end
257
+ end
258
+
259
+ # 模板的预置参数
260
+ class CustomizeTemplatesPresetsInfo < TencentCloud::Common::AbstractModel
261
+ # @param Tags: 模板tag列表
262
+ # 注意:此字段可能返回 null,表示取不到有效值。
263
+ # @type Tags: Array
264
+ # @param Icons: 模板图标列表
265
+ # 注意:此字段可能返回 null,表示取不到有效值。
266
+ # @type Icons: Array
267
+ # @param Templates: 无
268
+ # 注意:此字段可能返回 null,表示取不到有效值。
269
+ # @type Templates: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplateParams`
270
+
271
+ attr_accessor :Tags, :Icons, :Templates
272
+
273
+ def initialize(tags=nil, icons=nil, templates=nil)
274
+ @Tags = tags
275
+ @Icons = icons
276
+ @Templates = templates
277
+ end
278
+
279
+ def deserialize(params)
280
+ @Tags = params['Tags']
281
+ @Icons = params['Icons']
282
+ unless params['Templates'].nil?
283
+ @Templates = UserDefinedTemplateParams.new
284
+ @Templates.deserialize(params['Templates'])
285
+ end
286
+ end
287
+ end
288
+
289
+ # DeleteCustomizeTemplatesById请求参数结构体
290
+ class DeleteCustomizeTemplatesByIdRequest < TencentCloud::Common::AbstractModel
291
+ # @param CloudStudioSessionTeam: 用户所属组
292
+ # @type CloudStudioSessionTeam: String
293
+ # @param Id: 模板ID
294
+ # @type Id: Integer
295
+
296
+ attr_accessor :CloudStudioSessionTeam, :Id
297
+
298
+ def initialize(cloudstudiosessionteam=nil, id=nil)
299
+ @CloudStudioSessionTeam = cloudstudiosessionteam
300
+ @Id = id
301
+ end
302
+
303
+ def deserialize(params)
304
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
305
+ @Id = params['Id']
306
+ end
307
+ end
308
+
309
+ # DeleteCustomizeTemplatesById返回参数结构体
310
+ class DeleteCustomizeTemplatesByIdResponse < TencentCloud::Common::AbstractModel
311
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
312
+ # @type RequestId: String
313
+
314
+ attr_accessor :RequestId
315
+
316
+ def initialize(requestid=nil)
317
+ @RequestId = requestid
318
+ end
319
+
320
+ def deserialize(params)
321
+ @RequestId = params['RequestId']
322
+ end
323
+ end
324
+
325
+ # DescribeCustomizeTemplatesById请求参数结构体
326
+ class DescribeCustomizeTemplatesByIdRequest < TencentCloud::Common::AbstractModel
327
+ # @param CloudStudioSessionTeam: 用户所属组
328
+ # @type CloudStudioSessionTeam: String
329
+ # @param Id: 模板ID
330
+ # @type Id: Integer
331
+
332
+ attr_accessor :CloudStudioSessionTeam, :Id
333
+
334
+ def initialize(cloudstudiosessionteam=nil, id=nil)
335
+ @CloudStudioSessionTeam = cloudstudiosessionteam
336
+ @Id = id
337
+ end
338
+
339
+ def deserialize(params)
340
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
341
+ @Id = params['Id']
342
+ end
343
+ end
344
+
345
+ # DescribeCustomizeTemplatesById返回参数结构体
346
+ class DescribeCustomizeTemplatesByIdResponse < TencentCloud::Common::AbstractModel
347
+ # @param Data: 无
348
+ # 注意:此字段可能返回 null,表示取不到有效值。
349
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
350
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
351
+ # @type RequestId: String
352
+
353
+ attr_accessor :Data, :RequestId
354
+
355
+ def initialize(data=nil, requestid=nil)
356
+ @Data = data
357
+ @RequestId = requestid
358
+ end
359
+
360
+ def deserialize(params)
361
+ unless params['Data'].nil?
362
+ @Data = WorkspaceTemplateInfo.new
363
+ @Data.deserialize(params['Data'])
364
+ end
365
+ @RequestId = params['RequestId']
366
+ end
367
+ end
368
+
369
+ # DescribeCustomizeTemplatesPresets请求参数结构体
370
+ class DescribeCustomizeTemplatesPresetsRequest < TencentCloud::Common::AbstractModel
371
+ # @param CloudStudioSessionTeam: 用户所属组
372
+ # @type CloudStudioSessionTeam: String
373
+ # @param SpaceKey: 空间标识
374
+ # @type SpaceKey: String
375
+
376
+ attr_accessor :CloudStudioSessionTeam, :SpaceKey
377
+
378
+ def initialize(cloudstudiosessionteam=nil, spacekey=nil)
379
+ @CloudStudioSessionTeam = cloudstudiosessionteam
380
+ @SpaceKey = spacekey
381
+ end
382
+
383
+ def deserialize(params)
384
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
385
+ @SpaceKey = params['SpaceKey']
386
+ end
387
+ end
388
+
389
+ # DescribeCustomizeTemplatesPresets返回参数结构体
390
+ class DescribeCustomizeTemplatesPresetsResponse < TencentCloud::Common::AbstractModel
391
+ # @param Data: 无
392
+ # 注意:此字段可能返回 null,表示取不到有效值。
393
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.CustomizeTemplatesPresetsInfo`
394
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
395
+ # @type RequestId: String
396
+
397
+ attr_accessor :Data, :RequestId
398
+
399
+ def initialize(data=nil, requestid=nil)
400
+ @Data = data
401
+ @RequestId = requestid
402
+ end
403
+
404
+ def deserialize(params)
405
+ unless params['Data'].nil?
406
+ @Data = CustomizeTemplatesPresetsInfo.new
407
+ @Data.deserialize(params['Data'])
408
+ end
409
+ @RequestId = params['RequestId']
410
+ end
411
+ end
412
+
413
+ # DescribeCustomizeTemplates请求参数结构体
414
+ class DescribeCustomizeTemplatesRequest < TencentCloud::Common::AbstractModel
415
+ # @param CloudStudioSessionTeam: 用户所属组
416
+ # @type CloudStudioSessionTeam: String
417
+
418
+ attr_accessor :CloudStudioSessionTeam
419
+
420
+ def initialize(cloudstudiosessionteam=nil)
421
+ @CloudStudioSessionTeam = cloudstudiosessionteam
422
+ end
423
+
424
+ def deserialize(params)
425
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
426
+ end
427
+ end
428
+
429
+ # DescribeCustomizeTemplates返回参数结构体
430
+ class DescribeCustomizeTemplatesResponse < TencentCloud::Common::AbstractModel
431
+ # @param Data: 无
432
+ # 注意:此字段可能返回 null,表示取不到有效值。
433
+ # @type Data: Array
434
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
435
+ # @type RequestId: String
436
+
437
+ attr_accessor :Data, :RequestId
438
+
439
+ def initialize(data=nil, requestid=nil)
440
+ @Data = data
441
+ @RequestId = requestid
442
+ end
443
+
444
+ def deserialize(params)
445
+ unless params['Data'].nil?
446
+ @Data = []
447
+ params['Data'].each do |i|
448
+ workspacetemplateinfo_tmp = WorkspaceTemplateInfo.new
449
+ workspacetemplateinfo_tmp.deserialize(i)
450
+ @Data << workspacetemplateinfo_tmp
451
+ end
452
+ end
453
+ @RequestId = params['RequestId']
454
+ end
455
+ end
456
+
457
+ # DescribeWorkspaceEnvList请求参数结构体
458
+ class DescribeWorkspaceEnvListRequest < TencentCloud::Common::AbstractModel
459
+ # @param CloudStudioSessionTeam: 用户所属组
460
+ # @type CloudStudioSessionTeam: String
461
+
462
+ attr_accessor :CloudStudioSessionTeam
463
+
464
+ def initialize(cloudstudiosessionteam=nil)
465
+ @CloudStudioSessionTeam = cloudstudiosessionteam
466
+ end
467
+
468
+ def deserialize(params)
469
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
470
+ end
471
+ end
472
+
473
+ # DescribeWorkspaceEnvList返回参数结构体
474
+ class DescribeWorkspaceEnvListResponse < TencentCloud::Common::AbstractModel
475
+ # @param Data: 无
476
+ # 注意:此字段可能返回 null,表示取不到有效值。
477
+ # @type Data: Array
478
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
479
+ # @type RequestId: String
480
+
481
+ attr_accessor :Data, :RequestId
482
+
483
+ def initialize(data=nil, requestid=nil)
484
+ @Data = data
485
+ @RequestId = requestid
486
+ end
487
+
488
+ def deserialize(params)
489
+ unless params['Data'].nil?
490
+ @Data = []
491
+ params['Data'].each do |i|
492
+ imageuserdto_tmp = ImageUserDTO.new
493
+ imageuserdto_tmp.deserialize(i)
494
+ @Data << imageuserdto_tmp
495
+ end
496
+ end
497
+ @RequestId = params['RequestId']
498
+ end
499
+ end
500
+
501
+ # DescribeWorkspaceNameExist请求参数结构体
502
+ class DescribeWorkspaceNameExistRequest < TencentCloud::Common::AbstractModel
503
+ # @param CloudStudioSessionTeam: 用户所属组
504
+ # @type CloudStudioSessionTeam: String
505
+ # @param Name: 工作空间名称
506
+ # @type Name: String
507
+ # @param WorkspaceId: 工作空间ID
508
+ # @type WorkspaceId: String
509
+
510
+ attr_accessor :CloudStudioSessionTeam, :Name, :WorkspaceId
511
+
512
+ def initialize(cloudstudiosessionteam=nil, name=nil, workspaceid=nil)
513
+ @CloudStudioSessionTeam = cloudstudiosessionteam
514
+ @Name = name
515
+ @WorkspaceId = workspaceid
516
+ end
517
+
518
+ def deserialize(params)
519
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
520
+ @Name = params['Name']
521
+ @WorkspaceId = params['WorkspaceId']
522
+ end
523
+ end
524
+
525
+ # DescribeWorkspaceNameExist返回参数结构体
526
+ class DescribeWorkspaceNameExistResponse < TencentCloud::Common::AbstractModel
527
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
528
+ # @type RequestId: String
529
+
530
+ attr_accessor :RequestId
531
+
532
+ def initialize(requestid=nil)
533
+ @RequestId = requestid
534
+ end
535
+
536
+ def deserialize(params)
537
+ @RequestId = params['RequestId']
538
+ end
539
+ end
540
+
541
+ # DescribeWorkspaceStatusList请求参数结构体
542
+ class DescribeWorkspaceStatusListRequest < TencentCloud::Common::AbstractModel
543
+ # @param CloudStudioSessionTeam: xxx
544
+ # @type CloudStudioSessionTeam: String
545
+
546
+ attr_accessor :CloudStudioSessionTeam
547
+
548
+ def initialize(cloudstudiosessionteam=nil)
549
+ @CloudStudioSessionTeam = cloudstudiosessionteam
550
+ end
551
+
552
+ def deserialize(params)
553
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
554
+ end
555
+ end
556
+
557
+ # DescribeWorkspaceStatusList返回参数结构体
558
+ class DescribeWorkspaceStatusListResponse < TencentCloud::Common::AbstractModel
559
+ # @param Data: xxx
560
+ # 注意:此字段可能返回 null,表示取不到有效值。
561
+ # @type Data: Array
562
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
563
+ # @type RequestId: String
564
+
565
+ attr_accessor :Data, :RequestId
566
+
567
+ def initialize(data=nil, requestid=nil)
568
+ @Data = data
569
+ @RequestId = requestid
570
+ end
571
+
572
+ def deserialize(params)
573
+ unless params['Data'].nil?
574
+ @Data = []
575
+ params['Data'].each do |i|
576
+ workspacestatusinfo_tmp = WorkspaceStatusInfo.new
577
+ workspacestatusinfo_tmp.deserialize(i)
578
+ @Data << workspacestatusinfo_tmp
579
+ end
580
+ end
581
+ @RequestId = params['RequestId']
582
+ end
583
+ end
584
+
585
+ # DescribeWorkspaceStatus请求参数结构体
586
+ class DescribeWorkspaceStatusRequest < TencentCloud::Common::AbstractModel
587
+ # @param CloudStudioSessionTeam: 用户所属组
588
+ # @type CloudStudioSessionTeam: String
589
+ # @param SpaceKey: 空间标识
590
+ # @type SpaceKey: String
591
+
592
+ attr_accessor :CloudStudioSessionTeam, :SpaceKey
593
+
594
+ def initialize(cloudstudiosessionteam=nil, spacekey=nil)
595
+ @CloudStudioSessionTeam = cloudstudiosessionteam
596
+ @SpaceKey = spacekey
597
+ end
598
+
599
+ def deserialize(params)
600
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
601
+ @SpaceKey = params['SpaceKey']
602
+ end
603
+ end
604
+
605
+ # DescribeWorkspaceStatus返回参数结构体
606
+ class DescribeWorkspaceStatusResponse < TencentCloud::Common::AbstractModel
607
+ # @param Data: 无
608
+ # 注意:此字段可能返回 null,表示取不到有效值。
609
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceStatusInfo`
610
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
611
+ # @type RequestId: String
612
+
613
+ attr_accessor :Data, :RequestId
614
+
615
+ def initialize(data=nil, requestid=nil)
616
+ @Data = data
617
+ @RequestId = requestid
618
+ end
619
+
620
+ def deserialize(params)
621
+ unless params['Data'].nil?
622
+ @Data = WorkspaceStatusInfo.new
623
+ @Data.deserialize(params['Data'])
624
+ end
625
+ @RequestId = params['RequestId']
626
+ end
627
+ end
628
+
629
+ # 可用镜像模板列表
630
+ class ImageUserDTO < TencentCloud::Common::AbstractModel
631
+ # @param Id: 镜像模板ID
632
+ # @type Id: String
633
+ # @param Name: 镜像模板名称
634
+ # @type Name: String
635
+ # @param Tag: Tag时间
636
+ # @type Tag: String
637
+ # @param Description: 描述
638
+ # @type Description: String
639
+ # @param DescriptionCN: 中文描述
640
+ # @type DescriptionCN: String
641
+ # @param IconUrl: 图标地址
642
+ # @type IconUrl: String
643
+ # @param Author: 创建人
644
+ # @type Author: String
645
+ # @param Visible: 访问状态
646
+ # @type Visible: String
647
+ # @param WorkspaceVersion: 版本
648
+ # @type WorkspaceVersion: Integer
649
+ # @param Sort: 分类
650
+ # @type Sort: Integer
651
+
652
+ attr_accessor :Id, :Name, :Tag, :Description, :DescriptionCN, :IconUrl, :Author, :Visible, :WorkspaceVersion, :Sort
653
+
654
+ def initialize(id=nil, name=nil, tag=nil, description=nil, descriptioncn=nil, iconurl=nil, author=nil, visible=nil, workspaceversion=nil, sort=nil)
655
+ @Id = id
656
+ @Name = name
657
+ @Tag = tag
658
+ @Description = description
659
+ @DescriptionCN = descriptioncn
660
+ @IconUrl = iconurl
661
+ @Author = author
662
+ @Visible = visible
663
+ @WorkspaceVersion = workspaceversion
664
+ @Sort = sort
665
+ end
666
+
667
+ def deserialize(params)
668
+ @Id = params['Id']
669
+ @Name = params['Name']
670
+ @Tag = params['Tag']
671
+ @Description = params['Description']
672
+ @DescriptionCN = params['DescriptionCN']
673
+ @IconUrl = params['IconUrl']
674
+ @Author = params['Author']
675
+ @Visible = params['Visible']
676
+ @WorkspaceVersion = params['WorkspaceVersion']
677
+ @Sort = params['Sort']
678
+ end
679
+ end
680
+
681
+ # ModifyCustomizeTemplateVersionControl请求参数结构体
682
+ class ModifyCustomizeTemplateVersionControlRequest < TencentCloud::Common::AbstractModel
683
+ # @param CloudStudioSessionTeam: 用户所属组
684
+ # @type CloudStudioSessionTeam: String
685
+ # @param TemplateId: 模版ID
686
+ # @type TemplateId: Integer
687
+ # @param Url: 仓库地址
688
+ # @type Url: String
689
+ # @param Ref: 代码仓库分支/标签
690
+ # @type Ref: String
691
+ # @param RefType: 代码仓库 ref 类型
692
+ # @type RefType: String
693
+
694
+ attr_accessor :CloudStudioSessionTeam, :TemplateId, :Url, :Ref, :RefType
695
+
696
+ def initialize(cloudstudiosessionteam=nil, templateid=nil, url=nil, ref=nil, reftype=nil)
697
+ @CloudStudioSessionTeam = cloudstudiosessionteam
698
+ @TemplateId = templateid
699
+ @Url = url
700
+ @Ref = ref
701
+ @RefType = reftype
702
+ end
703
+
704
+ def deserialize(params)
705
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
706
+ @TemplateId = params['TemplateId']
707
+ @Url = params['Url']
708
+ @Ref = params['Ref']
709
+ @RefType = params['RefType']
710
+ end
711
+ end
712
+
713
+ # ModifyCustomizeTemplateVersionControl返回参数结构体
714
+ class ModifyCustomizeTemplateVersionControlResponse < TencentCloud::Common::AbstractModel
715
+ # @param Data: 无
716
+ # 注意:此字段可能返回 null,表示取不到有效值。
717
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
718
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
719
+ # @type RequestId: String
720
+
721
+ attr_accessor :Data, :RequestId
722
+
723
+ def initialize(data=nil, requestid=nil)
724
+ @Data = data
725
+ @RequestId = requestid
726
+ end
727
+
728
+ def deserialize(params)
729
+ unless params['Data'].nil?
730
+ @Data = WorkspaceTemplateInfo.new
731
+ @Data.deserialize(params['Data'])
732
+ end
733
+ @RequestId = params['RequestId']
734
+ end
735
+ end
736
+
737
+ # ModifyCustomizeTemplatesFullById请求参数结构体
738
+ class ModifyCustomizeTemplatesFullByIdRequest < TencentCloud::Common::AbstractModel
739
+ # @param CloudStudioSessionTeam: 用户所属组
740
+ # @type CloudStudioSessionTeam: String
741
+ # @param Id: 模板ID
742
+ # @type Id: Integer
743
+ # @param UserDefinedTemplateParams: 自定义模板参数
744
+ # @type UserDefinedTemplateParams: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplateParams`
745
+
746
+ attr_accessor :CloudStudioSessionTeam, :Id, :UserDefinedTemplateParams
747
+
748
+ def initialize(cloudstudiosessionteam=nil, id=nil, userdefinedtemplateparams=nil)
749
+ @CloudStudioSessionTeam = cloudstudiosessionteam
750
+ @Id = id
751
+ @UserDefinedTemplateParams = userdefinedtemplateparams
752
+ end
753
+
754
+ def deserialize(params)
755
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
756
+ @Id = params['Id']
757
+ unless params['UserDefinedTemplateParams'].nil?
758
+ @UserDefinedTemplateParams = UserDefinedTemplateParams.new
759
+ @UserDefinedTemplateParams.deserialize(params['UserDefinedTemplateParams'])
760
+ end
761
+ end
762
+ end
763
+
764
+ # ModifyCustomizeTemplatesFullById返回参数结构体
765
+ class ModifyCustomizeTemplatesFullByIdResponse < TencentCloud::Common::AbstractModel
766
+ # @param Data: 自定义模板返回值
767
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
768
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
769
+ # @type RequestId: String
770
+
771
+ attr_accessor :Data, :RequestId
772
+
773
+ def initialize(data=nil, requestid=nil)
774
+ @Data = data
775
+ @RequestId = requestid
776
+ end
777
+
778
+ def deserialize(params)
779
+ unless params['Data'].nil?
780
+ @Data = WorkspaceTemplateInfo.new
781
+ @Data.deserialize(params['Data'])
782
+ end
783
+ @RequestId = params['RequestId']
784
+ end
785
+ end
786
+
787
+ # ModifyCustomizeTemplatesPartById请求参数结构体
788
+ class ModifyCustomizeTemplatesPartByIdRequest < TencentCloud::Common::AbstractModel
789
+ # @param CloudStudioSessionTeam: 用户所属组
790
+ # @type CloudStudioSessionTeam: String
791
+ # @param Id: 模板ID
792
+ # @type Id: Integer
793
+ # @param UserDefinedTemplatePatchedParams: 自定义模板Patched参数
794
+ # @type UserDefinedTemplatePatchedParams: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplatePatchedParams`
795
+
796
+ attr_accessor :CloudStudioSessionTeam, :Id, :UserDefinedTemplatePatchedParams
797
+
798
+ def initialize(cloudstudiosessionteam=nil, id=nil, userdefinedtemplatepatchedparams=nil)
799
+ @CloudStudioSessionTeam = cloudstudiosessionteam
800
+ @Id = id
801
+ @UserDefinedTemplatePatchedParams = userdefinedtemplatepatchedparams
802
+ end
803
+
804
+ def deserialize(params)
805
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
806
+ @Id = params['Id']
807
+ unless params['UserDefinedTemplatePatchedParams'].nil?
808
+ @UserDefinedTemplatePatchedParams = UserDefinedTemplatePatchedParams.new
809
+ @UserDefinedTemplatePatchedParams.deserialize(params['UserDefinedTemplatePatchedParams'])
810
+ end
811
+ end
812
+ end
813
+
814
+ # ModifyCustomizeTemplatesPartById返回参数结构体
815
+ class ModifyCustomizeTemplatesPartByIdResponse < TencentCloud::Common::AbstractModel
816
+ # @param Data: 自定义模板返回值
817
+ # @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
818
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
819
+ # @type RequestId: String
820
+
821
+ attr_accessor :Data, :RequestId
822
+
823
+ def initialize(data=nil, requestid=nil)
824
+ @Data = data
825
+ @RequestId = requestid
826
+ end
827
+
828
+ def deserialize(params)
829
+ unless params['Data'].nil?
830
+ @Data = WorkspaceTemplateInfo.new
831
+ @Data.deserialize(params['Data'])
832
+ end
833
+ @RequestId = params['RequestId']
834
+ end
835
+ end
836
+
837
+ # ModifyWorkspaceAttributes请求参数结构体
838
+ class ModifyWorkspaceAttributesRequest < TencentCloud::Common::AbstractModel
839
+ # @param CloudStudioSessionTeam: 用户所属组
840
+ # @type CloudStudioSessionTeam: String
841
+ # @param WorkspaceId: 工作空间ID
842
+ # @type WorkspaceId: Integer
843
+ # @param Name: 工作空间名称
844
+ # @type Name: String
845
+ # @param Description: 工作空间描述
846
+ # @type Description: String
847
+ # @param PriceId: xxx
848
+ # @type PriceId: Integer
849
+
850
+ attr_accessor :CloudStudioSessionTeam, :WorkspaceId, :Name, :Description, :PriceId
851
+
852
+ def initialize(cloudstudiosessionteam=nil, workspaceid=nil, name=nil, description=nil, priceid=nil)
853
+ @CloudStudioSessionTeam = cloudstudiosessionteam
854
+ @WorkspaceId = workspaceid
855
+ @Name = name
856
+ @Description = description
857
+ @PriceId = priceid
858
+ end
859
+
860
+ def deserialize(params)
861
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
862
+ @WorkspaceId = params['WorkspaceId']
863
+ @Name = params['Name']
864
+ @Description = params['Description']
865
+ @PriceId = params['PriceId']
866
+ end
867
+ end
868
+
869
+ # ModifyWorkspaceAttributes返回参数结构体
870
+ class ModifyWorkspaceAttributesResponse < TencentCloud::Common::AbstractModel
871
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
872
+ # @type RequestId: String
873
+
874
+ attr_accessor :RequestId
875
+
876
+ def initialize(requestid=nil)
877
+ @RequestId = requestid
878
+ end
879
+
880
+ def deserialize(params)
881
+ @RequestId = params['RequestId']
882
+ end
883
+ end
884
+
885
+ # RecoverWorkspace请求参数结构体
886
+ class RecoverWorkspaceRequest < TencentCloud::Common::AbstractModel
887
+ # @param CloudStudioSessionTeam: 无
888
+ # @type CloudStudioSessionTeam: String
889
+ # @param SpaceKey: 无
890
+ # @type SpaceKey: String
891
+
892
+ attr_accessor :CloudStudioSessionTeam, :SpaceKey
893
+
894
+ def initialize(cloudstudiosessionteam=nil, spacekey=nil)
895
+ @CloudStudioSessionTeam = cloudstudiosessionteam
896
+ @SpaceKey = spacekey
897
+ end
898
+
899
+ def deserialize(params)
900
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
901
+ @SpaceKey = params['SpaceKey']
902
+ end
903
+ end
904
+
905
+ # RecoverWorkspace返回参数结构体
906
+ class RecoverWorkspaceResponse < TencentCloud::Common::AbstractModel
907
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
908
+ # @type RequestId: String
909
+
910
+ attr_accessor :RequestId
911
+
912
+ def initialize(requestid=nil)
913
+ @RequestId = requestid
914
+ end
915
+
916
+ def deserialize(params)
917
+ @RequestId = params['RequestId']
918
+ end
919
+ end
920
+
921
+ # RemoveWorkspace请求参数结构体
922
+ class RemoveWorkspaceRequest < TencentCloud::Common::AbstractModel
923
+ # @param CloudStudioSessionTeam: 无
924
+ # @type CloudStudioSessionTeam: String
925
+ # @param SpaceKey: 无
926
+ # @type SpaceKey: String
927
+ # @param Force: 是否强制,true或者false
928
+ # @type Force: Boolean
929
+
930
+ attr_accessor :CloudStudioSessionTeam, :SpaceKey, :Force
931
+
932
+ def initialize(cloudstudiosessionteam=nil, spacekey=nil, force=nil)
933
+ @CloudStudioSessionTeam = cloudstudiosessionteam
934
+ @SpaceKey = spacekey
935
+ @Force = force
936
+ end
937
+
938
+ def deserialize(params)
939
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
940
+ @SpaceKey = params['SpaceKey']
941
+ @Force = params['Force']
942
+ end
943
+ end
944
+
945
+ # RemoveWorkspace返回参数结构体
946
+ class RemoveWorkspaceResponse < TencentCloud::Common::AbstractModel
947
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
948
+ # @type RequestId: String
949
+
950
+ attr_accessor :RequestId
951
+
952
+ def initialize(requestid=nil)
953
+ @RequestId = requestid
954
+ end
955
+
956
+ def deserialize(params)
957
+ @RequestId = params['RequestId']
958
+ end
959
+ end
960
+
961
+ # RunWorkspace请求参数结构体
962
+ class RunWorkspaceRequest < TencentCloud::Common::AbstractModel
963
+ # @param SpaceKey: 空间标识
964
+ # @type SpaceKey: String
965
+ # @param CloudStudioSessionTeam: 用户所属组
966
+ # @type CloudStudioSessionTeam: String
967
+
968
+ attr_accessor :SpaceKey, :CloudStudioSessionTeam
969
+
970
+ def initialize(spacekey=nil, cloudstudiosessionteam=nil)
971
+ @SpaceKey = spacekey
972
+ @CloudStudioSessionTeam = cloudstudiosessionteam
973
+ end
974
+
975
+ def deserialize(params)
976
+ @SpaceKey = params['SpaceKey']
977
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
978
+ end
979
+ end
980
+
981
+ # RunWorkspace返回参数结构体
982
+ class RunWorkspaceResponse < TencentCloud::Common::AbstractModel
983
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
984
+ # @type RequestId: String
985
+
986
+ attr_accessor :RequestId
987
+
988
+ def initialize(requestid=nil)
989
+ @RequestId = requestid
990
+ end
991
+
992
+ def deserialize(params)
993
+ @RequestId = params['RequestId']
994
+ end
995
+ end
996
+
997
+ # StopWorkspace请求参数结构体
998
+ class StopWorkspaceRequest < TencentCloud::Common::AbstractModel
999
+ # @param SpaceKey: 空间标识
1000
+ # @type SpaceKey: String
1001
+ # @param CloudStudioSessionTeam: 用户所属组
1002
+ # @type CloudStudioSessionTeam: String
1003
+ # @param Force: 是否强制终止,true或者false
1004
+ # @type Force: String
1005
+
1006
+ attr_accessor :SpaceKey, :CloudStudioSessionTeam, :Force
1007
+
1008
+ def initialize(spacekey=nil, cloudstudiosessionteam=nil, force=nil)
1009
+ @SpaceKey = spacekey
1010
+ @CloudStudioSessionTeam = cloudstudiosessionteam
1011
+ @Force = force
1012
+ end
1013
+
1014
+ def deserialize(params)
1015
+ @SpaceKey = params['SpaceKey']
1016
+ @CloudStudioSessionTeam = params['CloudStudioSessionTeam']
1017
+ @Force = params['Force']
1018
+ end
1019
+ end
1020
+
1021
+ # StopWorkspace返回参数结构体
1022
+ class StopWorkspaceResponse < TencentCloud::Common::AbstractModel
1023
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1024
+ # @type RequestId: String
1025
+
1026
+ attr_accessor :RequestId
1027
+
1028
+ def initialize(requestid=nil)
1029
+ @RequestId = requestid
1030
+ end
1031
+
1032
+ def deserialize(params)
1033
+ @RequestId = params['RequestId']
1034
+ end
1035
+ end
1036
+
1037
+ # 用户自定义模板参数
1038
+ class UserDefinedTemplateParams < TencentCloud::Common::AbstractModel
1039
+ # @param Name: 模板名称
1040
+ # 注意:此字段可能返回 null,表示取不到有效值。
1041
+ # @type Name: String
1042
+ # @param Icon: 模板图标地址
1043
+ # 注意:此字段可能返回 null,表示取不到有效值。
1044
+ # @type Icon: String
1045
+ # @param Tags: 模板标签列表
1046
+ # 注意:此字段可能返回 null,表示取不到有效值。
1047
+ # @type Tags: Array
1048
+ # @param Source: 模板来源
1049
+ # 注意:此字段可能返回 null,表示取不到有效值。
1050
+ # @type Source: String
1051
+ # @param Description: 模板描述
1052
+ # 注意:此字段可能返回 null,表示取不到有效值。
1053
+ # @type Description: String
1054
+ # @param VersionControlType: 模板仓库类型
1055
+ # 注意:此字段可能返回 null,表示取不到有效值。
1056
+ # @type VersionControlType: String
1057
+ # @param VersionControlUrl: 模板地址
1058
+ # 注意:此字段可能返回 null,表示取不到有效值。
1059
+ # @type VersionControlUrl: String
1060
+
1061
+ attr_accessor :Name, :Icon, :Tags, :Source, :Description, :VersionControlType, :VersionControlUrl
1062
+
1063
+ def initialize(name=nil, icon=nil, tags=nil, source=nil, description=nil, versioncontroltype=nil, versioncontrolurl=nil)
1064
+ @Name = name
1065
+ @Icon = icon
1066
+ @Tags = tags
1067
+ @Source = source
1068
+ @Description = description
1069
+ @VersionControlType = versioncontroltype
1070
+ @VersionControlUrl = versioncontrolurl
1071
+ end
1072
+
1073
+ def deserialize(params)
1074
+ @Name = params['Name']
1075
+ @Icon = params['Icon']
1076
+ @Tags = params['Tags']
1077
+ @Source = params['Source']
1078
+ @Description = params['Description']
1079
+ @VersionControlType = params['VersionControlType']
1080
+ @VersionControlUrl = params['VersionControlUrl']
1081
+ end
1082
+ end
1083
+
1084
+ # 用户自定义模板Patched参数
1085
+ class UserDefinedTemplatePatchedParams < TencentCloud::Common::AbstractModel
1086
+ # @param Source: 模板来源
1087
+ # 注意:此字段可能返回 null,表示取不到有效值。
1088
+ # @type Source: String
1089
+ # @param Name: 模板名称
1090
+ # 注意:此字段可能返回 null,表示取不到有效值。
1091
+ # @type Name: String
1092
+ # @param Icon: 模板图标地址
1093
+ # 注意:此字段可能返回 null,表示取不到有效值。
1094
+ # @type Icon: String
1095
+ # @param Description: 模板描述
1096
+ # 注意:此字段可能返回 null,表示取不到有效值。
1097
+ # @type Description: String
1098
+ # @param Tags: 模板标签列表
1099
+ # 注意:此字段可能返回 null,表示取不到有效值。
1100
+ # @type Tags: Array
1101
+
1102
+ attr_accessor :Source, :Name, :Icon, :Description, :Tags
1103
+
1104
+ def initialize(source=nil, name=nil, icon=nil, description=nil, tags=nil)
1105
+ @Source = source
1106
+ @Name = name
1107
+ @Icon = icon
1108
+ @Description = description
1109
+ @Tags = tags
1110
+ end
1111
+
1112
+ def deserialize(params)
1113
+ @Source = params['Source']
1114
+ @Name = params['Name']
1115
+ @Icon = params['Icon']
1116
+ @Description = params['Description']
1117
+ @Tags = params['Tags']
1118
+ end
1119
+ end
1120
+
1121
+ # 用户信息
1122
+ class UserInfoRsp < TencentCloud::Common::AbstractModel
1123
+ # @param Id: 用户ID
1124
+ # @type Id: Integer
1125
+ # @param AuthenticationUserInfo: 用户验证信息
1126
+ # @type AuthenticationUserInfo: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserSubInfo`
1127
+ # @param Avatar: 头像地址
1128
+ # 注意:此字段可能返回 null,表示取不到有效值。
1129
+ # @type Avatar: String
1130
+ # @param Features: 介绍
1131
+ # 注意:此字段可能返回 null,表示取不到有效值。
1132
+ # @type Features: String
1133
+ # @param PreviewStatus: 状况
1134
+ # @type PreviewStatus: Integer
1135
+
1136
+ attr_accessor :Id, :AuthenticationUserInfo, :Avatar, :Features, :PreviewStatus
1137
+
1138
+ def initialize(id=nil, authenticationuserinfo=nil, avatar=nil, features=nil, previewstatus=nil)
1139
+ @Id = id
1140
+ @AuthenticationUserInfo = authenticationuserinfo
1141
+ @Avatar = avatar
1142
+ @Features = features
1143
+ @PreviewStatus = previewstatus
1144
+ end
1145
+
1146
+ def deserialize(params)
1147
+ @Id = params['Id']
1148
+ unless params['AuthenticationUserInfo'].nil?
1149
+ @AuthenticationUserInfo = UserSubInfo.new
1150
+ @AuthenticationUserInfo.deserialize(params['AuthenticationUserInfo'])
1151
+ end
1152
+ @Avatar = params['Avatar']
1153
+ @Features = params['Features']
1154
+ @PreviewStatus = params['PreviewStatus']
1155
+ end
1156
+ end
1157
+
1158
+ # 用户验证信息
1159
+ class UserSubInfo < TencentCloud::Common::AbstractModel
1160
+ # @param Team: 团队名称
1161
+ # @type Team: String
1162
+ # @param UserName: 用户名
1163
+ # @type UserName: String
1164
+ # @param NickName: 昵称
1165
+ # @type NickName: String
1166
+ # @param IsAdmin: 是否为管理员
1167
+ # @type IsAdmin: Boolean
1168
+ # @param IsTrial: xxx
1169
+ # 注意:此字段可能返回 null,表示取不到有效值。
1170
+ # @type IsTrial: Boolean
1171
+
1172
+ attr_accessor :Team, :UserName, :NickName, :IsAdmin, :IsTrial
1173
+
1174
+ def initialize(team=nil, username=nil, nickname=nil, isadmin=nil, istrial=nil)
1175
+ @Team = team
1176
+ @UserName = username
1177
+ @NickName = nickname
1178
+ @IsAdmin = isadmin
1179
+ @IsTrial = istrial
1180
+ end
1181
+
1182
+ def deserialize(params)
1183
+ @Team = params['Team']
1184
+ @UserName = params['UserName']
1185
+ @NickName = params['NickName']
1186
+ @IsAdmin = params['IsAdmin']
1187
+ @IsTrial = params['IsTrial']
1188
+ end
1189
+ end
1190
+
1191
+ # 工作空间结构
1192
+ class WorkspaceDTO < TencentCloud::Common::AbstractModel
1193
+ # @param Name: 工作空间名称
1194
+ # @type Name: String
1195
+ # @param VersionControlType: 代码来源类型
1196
+ # @type VersionControlType: String
1197
+ # @param ImageId: 镜像id
1198
+ # @type ImageId: Integer
1199
+ # @param ImageName: 镜像名称
1200
+ # @type ImageName: String
1201
+ # @param Description: 描述
1202
+ # @type Description: String
1203
+ # @param WorkspaceVersion: 工作空间版本
1204
+ # @type WorkspaceVersion: Integer
1205
+ # @param WorkspaceResourceDTO: 工作空间资源结构
1206
+ # @type WorkspaceResourceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceResourceDTO`
1207
+ # @param VersionControlUrl: 代码仓库地址
1208
+ # @type VersionControlUrl: String
1209
+ # @param VersionControlRef: 代码Ref是分支还是标签
1210
+ # @type VersionControlRef: String
1211
+ # @param VersionControlRefType: 代码Ref地址
1212
+ # @type VersionControlRefType: String
1213
+ # @param SnapshotUid: 快照Uid
1214
+ # @type SnapshotUid: String
1215
+ # @param TemplateId: 模板id
1216
+ # @type TemplateId: Integer
1217
+ # @param PriceId: 价格id
1218
+ # @type PriceId: Integer
1219
+ # @param InitializeStatus: 初始化状态
1220
+ # @type InitializeStatus: Integer
1221
+ # @param VersionControlDesc: 描述
1222
+ # @type VersionControlDesc: String
1223
+
1224
+ attr_accessor :Name, :VersionControlType, :ImageId, :ImageName, :Description, :WorkspaceVersion, :WorkspaceResourceDTO, :VersionControlUrl, :VersionControlRef, :VersionControlRefType, :SnapshotUid, :TemplateId, :PriceId, :InitializeStatus, :VersionControlDesc
1225
+
1226
+ def initialize(name=nil, versioncontroltype=nil, imageid=nil, imagename=nil, description=nil, workspaceversion=nil, workspaceresourcedto=nil, versioncontrolurl=nil, versioncontrolref=nil, versioncontrolreftype=nil, snapshotuid=nil, templateid=nil, priceid=nil, initializestatus=nil, versioncontroldesc=nil)
1227
+ @Name = name
1228
+ @VersionControlType = versioncontroltype
1229
+ @ImageId = imageid
1230
+ @ImageName = imagename
1231
+ @Description = description
1232
+ @WorkspaceVersion = workspaceversion
1233
+ @WorkspaceResourceDTO = workspaceresourcedto
1234
+ @VersionControlUrl = versioncontrolurl
1235
+ @VersionControlRef = versioncontrolref
1236
+ @VersionControlRefType = versioncontrolreftype
1237
+ @SnapshotUid = snapshotuid
1238
+ @TemplateId = templateid
1239
+ @PriceId = priceid
1240
+ @InitializeStatus = initializestatus
1241
+ @VersionControlDesc = versioncontroldesc
1242
+ end
1243
+
1244
+ def deserialize(params)
1245
+ @Name = params['Name']
1246
+ @VersionControlType = params['VersionControlType']
1247
+ @ImageId = params['ImageId']
1248
+ @ImageName = params['ImageName']
1249
+ @Description = params['Description']
1250
+ @WorkspaceVersion = params['WorkspaceVersion']
1251
+ unless params['WorkspaceResourceDTO'].nil?
1252
+ @WorkspaceResourceDTO = WorkspaceResourceDTO.new
1253
+ @WorkspaceResourceDTO.deserialize(params['WorkspaceResourceDTO'])
1254
+ end
1255
+ @VersionControlUrl = params['VersionControlUrl']
1256
+ @VersionControlRef = params['VersionControlRef']
1257
+ @VersionControlRefType = params['VersionControlRefType']
1258
+ @SnapshotUid = params['SnapshotUid']
1259
+ @TemplateId = params['TemplateId']
1260
+ @PriceId = params['PriceId']
1261
+ @InitializeStatus = params['InitializeStatus']
1262
+ @VersionControlDesc = params['VersionControlDesc']
1263
+ end
1264
+ end
1265
+
1266
+ # 工作空间信息
1267
+ class WorkspaceInfo < TencentCloud::Common::AbstractModel
1268
+ # @param WorkspaceId: 工作空间ID
1269
+ # 注意:此字段可能返回 null,表示取不到有效值。
1270
+ # @type WorkspaceId: Integer
1271
+ # @param SpaceKey: 工作空间标识
1272
+ # 注意:此字段可能返回 null,表示取不到有效值。
1273
+ # @type SpaceKey: String
1274
+
1275
+ attr_accessor :WorkspaceId, :SpaceKey
1276
+
1277
+ def initialize(workspaceid=nil, spacekey=nil)
1278
+ @WorkspaceId = workspaceid
1279
+ @SpaceKey = spacekey
1280
+ end
1281
+
1282
+ def deserialize(params)
1283
+ @WorkspaceId = params['WorkspaceId']
1284
+ @SpaceKey = params['SpaceKey']
1285
+ end
1286
+ end
1287
+
1288
+ # 工作空间基本信息描述
1289
+ class WorkspaceInfoDTO < TencentCloud::Common::AbstractModel
1290
+ # @param CreateDate: 工作空间创建时间
1291
+ # @type CreateDate: String
1292
+ # @param SpaceKey: 空间key
1293
+ # @type SpaceKey: String
1294
+ # @param WorkspaceId: 工作空间id
1295
+ # @type WorkspaceId: Integer
1296
+
1297
+ attr_accessor :CreateDate, :SpaceKey, :WorkspaceId
1298
+
1299
+ def initialize(createdate=nil, spacekey=nil, workspaceid=nil)
1300
+ @CreateDate = createdate
1301
+ @SpaceKey = spacekey
1302
+ @WorkspaceId = workspaceid
1303
+ end
1304
+
1305
+ def deserialize(params)
1306
+ @CreateDate = params['CreateDate']
1307
+ @SpaceKey = params['SpaceKey']
1308
+ @WorkspaceId = params['WorkspaceId']
1309
+ end
1310
+ end
1311
+
1312
+ # 工作空间资源结构
1313
+ class WorkspaceResourceDTO < TencentCloud::Common::AbstractModel
1314
+ # @param CpuCoreNumber: CPU核心数
1315
+ # @type CpuCoreNumber: Integer
1316
+ # @param NormalMemory: 一般内存
1317
+ # @type NormalMemory: Integer
1318
+ # @param SystemStorage: 系统存储
1319
+ # @type SystemStorage: Integer
1320
+ # @param UserStorage: 用户存储
1321
+ # @type UserStorage: Integer
1322
+ # @param GpuNumber: GPU数
1323
+ # @type GpuNumber: Integer
1324
+ # @param GpuMemory: GPU内存
1325
+ # @type GpuMemory: Integer
1326
+
1327
+ attr_accessor :CpuCoreNumber, :NormalMemory, :SystemStorage, :UserStorage, :GpuNumber, :GpuMemory
1328
+
1329
+ def initialize(cpucorenumber=nil, normalmemory=nil, systemstorage=nil, userstorage=nil, gpunumber=nil, gpumemory=nil)
1330
+ @CpuCoreNumber = cpucorenumber
1331
+ @NormalMemory = normalmemory
1332
+ @SystemStorage = systemstorage
1333
+ @UserStorage = userstorage
1334
+ @GpuNumber = gpunumber
1335
+ @GpuMemory = gpumemory
1336
+ end
1337
+
1338
+ def deserialize(params)
1339
+ @CpuCoreNumber = params['CpuCoreNumber']
1340
+ @NormalMemory = params['NormalMemory']
1341
+ @SystemStorage = params['SystemStorage']
1342
+ @UserStorage = params['UserStorage']
1343
+ @GpuNumber = params['GpuNumber']
1344
+ @GpuMemory = params['GpuMemory']
1345
+ end
1346
+ end
1347
+
1348
+ # 用户空间共享信息
1349
+ class WorkspaceShareInfo < TencentCloud::Common::AbstractModel
1350
+ # @param Status: 共享或不共享状态
1351
+ # @type Status: Boolean
1352
+ # @param WithMe: 是否与我共享
1353
+ # 注意:此字段可能返回 null,表示取不到有效值。
1354
+ # @type WithMe: Boolean
1355
+ # @param BeginDate: 开始共享的时间
1356
+ # 注意:此字段可能返回 null,表示取不到有效值。
1357
+ # @type BeginDate: String
1358
+ # @param EndDate: 停止共享的时间
1359
+ # 注意:此字段可能返回 null,表示取不到有效值。
1360
+ # @type EndDate: String
1361
+ # @param Users: 停止共享的时间
1362
+ # @type Users: Array
1363
+
1364
+ attr_accessor :Status, :WithMe, :BeginDate, :EndDate, :Users
1365
+
1366
+ def initialize(status=nil, withme=nil, begindate=nil, enddate=nil, users=nil)
1367
+ @Status = status
1368
+ @WithMe = withme
1369
+ @BeginDate = begindate
1370
+ @EndDate = enddate
1371
+ @Users = users
1372
+ end
1373
+
1374
+ def deserialize(params)
1375
+ @Status = params['Status']
1376
+ @WithMe = params['WithMe']
1377
+ @BeginDate = params['BeginDate']
1378
+ @EndDate = params['EndDate']
1379
+ unless params['Users'].nil?
1380
+ @Users = []
1381
+ params['Users'].each do |i|
1382
+ userinforsp_tmp = UserInfoRsp.new
1383
+ userinforsp_tmp.deserialize(i)
1384
+ @Users << userinforsp_tmp
1385
+ end
1386
+ end
1387
+ end
1388
+ end
1389
+
1390
+ # 获取用户工作空间返回信息
1391
+ class WorkspaceStatusInfo < TencentCloud::Common::AbstractModel
1392
+ # @param Id: 空间ID
1393
+ # @type Id: Integer
1394
+ # @param Name: 空间名称
1395
+ # @type Name: String
1396
+ # @param Owner: 所属人
1397
+ # @type Owner: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserInfoRsp`
1398
+ # @param SpaceKey: 空间标识
1399
+ # @type SpaceKey: String
1400
+ # @param Status: 状态
1401
+ # @type Status: String
1402
+ # @param LastOpsDate: 最后操作时间
1403
+ # 注意:此字段可能返回 null,表示取不到有效值。
1404
+ # @type LastOpsDate: String
1405
+ # @param Description: 描述
1406
+ # 注意:此字段可能返回 null,表示取不到有效值。
1407
+ # @type Description: String
1408
+ # @param Share: 共享状态
1409
+ # @type Share: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceShareInfo`
1410
+ # @param WorkspaceType: 空间类型
1411
+ # @type WorkspaceType: String
1412
+ # @param Label: 标签
1413
+ # 注意:此字段可能返回 null,表示取不到有效值。
1414
+ # @type Label: String
1415
+ # @param WorkspaceVersion: 空间版本
1416
+ # @type WorkspaceVersion: Integer
1417
+ # @param ImageIcon: 图标地址
1418
+ # @type ImageIcon: String
1419
+ # @param CreateDate: 创建时间
1420
+ # 注意:此字段可能返回 null,表示取不到有效值。
1421
+ # @type CreateDate: String
1422
+ # @param VersionControlUrl: 版本控制地址
1423
+ # 注意:此字段可能返回 null,表示取不到有效值。
1424
+ # @type VersionControlUrl: String
1425
+ # @param VersionControlDesc: 版本控制描述
1426
+ # 注意:此字段可能返回 null,表示取不到有效值。
1427
+ # @type VersionControlDesc: String
1428
+ # @param VersionControlRef: 版本控制引用
1429
+ # 注意:此字段可能返回 null,表示取不到有效值。
1430
+ # @type VersionControlRef: String
1431
+ # @param VersionControlRefType: 版本控制引用类型
1432
+ # 注意:此字段可能返回 null,表示取不到有效值。
1433
+ # @type VersionControlRefType: String
1434
+ # @param VersionControlType: 版本控制类型
1435
+ # @type VersionControlType: String
1436
+ # @param TemplateId: 模板ID
1437
+ # 注意:此字段可能返回 null,表示取不到有效值。
1438
+ # @type TemplateId: Integer
1439
+ # @param SnapshotUid: 快照ID
1440
+ # 注意:此字段可能返回 null,表示取不到有效值。
1441
+ # @type SnapshotUid: String
1442
+ # @param SpecDesc: 类型
1443
+ # 注意:此字段可能返回 null,表示取不到有效值。
1444
+ # @type SpecDesc: String
1445
+ # @param Cpu: CPU数量
1446
+ # 注意:此字段可能返回 null,表示取不到有效值。
1447
+ # @type Cpu: Integer
1448
+ # @param Memory: 内存
1449
+ # 注意:此字段可能返回 null,表示取不到有效值。
1450
+ # @type Memory: Integer
1451
+
1452
+ attr_accessor :Id, :Name, :Owner, :SpaceKey, :Status, :LastOpsDate, :Description, :Share, :WorkspaceType, :Label, :WorkspaceVersion, :ImageIcon, :CreateDate, :VersionControlUrl, :VersionControlDesc, :VersionControlRef, :VersionControlRefType, :VersionControlType, :TemplateId, :SnapshotUid, :SpecDesc, :Cpu, :Memory
1453
+
1454
+ def initialize(id=nil, name=nil, owner=nil, spacekey=nil, status=nil, lastopsdate=nil, description=nil, share=nil, workspacetype=nil, label=nil, workspaceversion=nil, imageicon=nil, createdate=nil, versioncontrolurl=nil, versioncontroldesc=nil, versioncontrolref=nil, versioncontrolreftype=nil, versioncontroltype=nil, templateid=nil, snapshotuid=nil, specdesc=nil, cpu=nil, memory=nil)
1455
+ @Id = id
1456
+ @Name = name
1457
+ @Owner = owner
1458
+ @SpaceKey = spacekey
1459
+ @Status = status
1460
+ @LastOpsDate = lastopsdate
1461
+ @Description = description
1462
+ @Share = share
1463
+ @WorkspaceType = workspacetype
1464
+ @Label = label
1465
+ @WorkspaceVersion = workspaceversion
1466
+ @ImageIcon = imageicon
1467
+ @CreateDate = createdate
1468
+ @VersionControlUrl = versioncontrolurl
1469
+ @VersionControlDesc = versioncontroldesc
1470
+ @VersionControlRef = versioncontrolref
1471
+ @VersionControlRefType = versioncontrolreftype
1472
+ @VersionControlType = versioncontroltype
1473
+ @TemplateId = templateid
1474
+ @SnapshotUid = snapshotuid
1475
+ @SpecDesc = specdesc
1476
+ @Cpu = cpu
1477
+ @Memory = memory
1478
+ end
1479
+
1480
+ def deserialize(params)
1481
+ @Id = params['Id']
1482
+ @Name = params['Name']
1483
+ unless params['Owner'].nil?
1484
+ @Owner = UserInfoRsp.new
1485
+ @Owner.deserialize(params['Owner'])
1486
+ end
1487
+ @SpaceKey = params['SpaceKey']
1488
+ @Status = params['Status']
1489
+ @LastOpsDate = params['LastOpsDate']
1490
+ @Description = params['Description']
1491
+ unless params['Share'].nil?
1492
+ @Share = WorkspaceShareInfo.new
1493
+ @Share.deserialize(params['Share'])
1494
+ end
1495
+ @WorkspaceType = params['WorkspaceType']
1496
+ @Label = params['Label']
1497
+ @WorkspaceVersion = params['WorkspaceVersion']
1498
+ @ImageIcon = params['ImageIcon']
1499
+ @CreateDate = params['CreateDate']
1500
+ @VersionControlUrl = params['VersionControlUrl']
1501
+ @VersionControlDesc = params['VersionControlDesc']
1502
+ @VersionControlRef = params['VersionControlRef']
1503
+ @VersionControlRefType = params['VersionControlRefType']
1504
+ @VersionControlType = params['VersionControlType']
1505
+ @TemplateId = params['TemplateId']
1506
+ @SnapshotUid = params['SnapshotUid']
1507
+ @SpecDesc = params['SpecDesc']
1508
+ @Cpu = params['Cpu']
1509
+ @Memory = params['Memory']
1510
+ end
1511
+ end
1512
+
1513
+ # 工作空间模板信息
1514
+ class WorkspaceTemplateInfo < TencentCloud::Common::AbstractModel
1515
+ # @param Id: 模板ID
1516
+ # @type Id: Integer
1517
+ # @param Category: 模板分类
1518
+ # @type Category: String
1519
+ # @param Name: 模板名称
1520
+ # @type Name: String
1521
+ # @param Description: 模板描述
1522
+ # 注意:此字段可能返回 null,表示取不到有效值。
1523
+ # @type Description: String
1524
+ # @param DescriptionEN: 中文描述
1525
+ # 注意:此字段可能返回 null,表示取不到有效值。
1526
+ # @type DescriptionEN: String
1527
+ # @param Tags: 模板标签
1528
+ # 注意:此字段可能返回 null,表示取不到有效值。
1529
+ # @type Tags: String
1530
+ # @param Icon: 模板图标地址
1531
+ # 注意:此字段可能返回 null,表示取不到有效值。
1532
+ # @type Icon: String
1533
+ # @param VersionControlType: 默认仓库类型
1534
+ # 注意:此字段可能返回 null,表示取不到有效值。
1535
+ # @type VersionControlType: String
1536
+ # @param VersionControlUrl: 默认仓库地址
1537
+ # 注意:此字段可能返回 null,表示取不到有效值。
1538
+ # @type VersionControlUrl: String
1539
+ # @param VersionControlDesc: 默认仓库描述
1540
+ # 注意:此字段可能返回 null,表示取不到有效值。
1541
+ # @type VersionControlDesc: String
1542
+ # @param VersionControlOwner: 默认仓库所属人
1543
+ # 注意:此字段可能返回 null,表示取不到有效值。
1544
+ # @type VersionControlOwner: String
1545
+ # @param VersionControlRef: 默认仓库引用地址
1546
+ # 注意:此字段可能返回 null,表示取不到有效值。
1547
+ # @type VersionControlRef: String
1548
+ # @param VersionControlRefType: 默认仓库引用类型
1549
+ # 注意:此字段可能返回 null,表示取不到有效值。
1550
+ # @type VersionControlRefType: String
1551
+ # @param UserVersionControlUrl: 用户自定义仓库地址
1552
+ # 注意:此字段可能返回 null,表示取不到有效值。
1553
+ # @type UserVersionControlUrl: String
1554
+ # @param UserVersionControlType: 用户自定义仓库类型
1555
+ # 注意:此字段可能返回 null,表示取不到有效值。
1556
+ # @type UserVersionControlType: String
1557
+ # @param UserVersionControlRef: 用户自定义仓库引用
1558
+ # 注意:此字段可能返回 null,表示取不到有效值。
1559
+ # @type UserVersionControlRef: String
1560
+ # @param UserVersionControlRefType: 用户自定义仓库引用类型
1561
+ # 注意:此字段可能返回 null,表示取不到有效值。
1562
+ # @type UserVersionControlRefType: String
1563
+ # @param DevFile: xxx
1564
+ # 注意:此字段可能返回 null,表示取不到有效值。
1565
+ # @type DevFile: String
1566
+ # @param PluginFile: xxx
1567
+ # 注意:此字段可能返回 null,表示取不到有效值。
1568
+ # @type PluginFile: String
1569
+ # @param PrebuildFile: xxx
1570
+ # 注意:此字段可能返回 null,表示取不到有效值。
1571
+ # @type PrebuildFile: String
1572
+ # @param Marked: 是否标记
1573
+ # @type Marked: Boolean
1574
+ # @param MarkAt: 标记状态
1575
+ # @type MarkAt: Integer
1576
+ # @param CreateDate: 创建时间
1577
+ # @type CreateDate: String
1578
+ # @param LastModified: 最后修改时间
1579
+ # 注意:此字段可能返回 null,表示取不到有效值。
1580
+ # @type LastModified: String
1581
+ # @param Sort: 编号
1582
+ # @type Sort: Integer
1583
+ # @param SnapshotUid: xxx
1584
+ # 注意:此字段可能返回 null,表示取不到有效值。
1585
+ # @type SnapshotUid: String
1586
+ # @param UserId: 用户ID
1587
+ # 注意:此字段可能返回 null,表示取不到有效值。
1588
+ # @type UserId: Integer
1589
+ # @param Author: 用户名
1590
+ # 注意:此字段可能返回 null,表示取不到有效值。
1591
+ # @type Author: String
1592
+ # @param Me: 是否属于当前用户
1593
+ # @type Me: Boolean
1594
+ # @param AuthorAvatar: xxx
1595
+ # 注意:此字段可能返回 null,表示取不到有效值。
1596
+ # @type AuthorAvatar: String
1597
+
1598
+ attr_accessor :Id, :Category, :Name, :Description, :DescriptionEN, :Tags, :Icon, :VersionControlType, :VersionControlUrl, :VersionControlDesc, :VersionControlOwner, :VersionControlRef, :VersionControlRefType, :UserVersionControlUrl, :UserVersionControlType, :UserVersionControlRef, :UserVersionControlRefType, :DevFile, :PluginFile, :PrebuildFile, :Marked, :MarkAt, :CreateDate, :LastModified, :Sort, :SnapshotUid, :UserId, :Author, :Me, :AuthorAvatar
1599
+
1600
+ def initialize(id=nil, category=nil, name=nil, description=nil, descriptionen=nil, tags=nil, icon=nil, versioncontroltype=nil, versioncontrolurl=nil, versioncontroldesc=nil, versioncontrolowner=nil, versioncontrolref=nil, versioncontrolreftype=nil, userversioncontrolurl=nil, userversioncontroltype=nil, userversioncontrolref=nil, userversioncontrolreftype=nil, devfile=nil, pluginfile=nil, prebuildfile=nil, marked=nil, markat=nil, createdate=nil, lastmodified=nil, sort=nil, snapshotuid=nil, userid=nil, author=nil, me=nil, authoravatar=nil)
1601
+ @Id = id
1602
+ @Category = category
1603
+ @Name = name
1604
+ @Description = description
1605
+ @DescriptionEN = descriptionen
1606
+ @Tags = tags
1607
+ @Icon = icon
1608
+ @VersionControlType = versioncontroltype
1609
+ @VersionControlUrl = versioncontrolurl
1610
+ @VersionControlDesc = versioncontroldesc
1611
+ @VersionControlOwner = versioncontrolowner
1612
+ @VersionControlRef = versioncontrolref
1613
+ @VersionControlRefType = versioncontrolreftype
1614
+ @UserVersionControlUrl = userversioncontrolurl
1615
+ @UserVersionControlType = userversioncontroltype
1616
+ @UserVersionControlRef = userversioncontrolref
1617
+ @UserVersionControlRefType = userversioncontrolreftype
1618
+ @DevFile = devfile
1619
+ @PluginFile = pluginfile
1620
+ @PrebuildFile = prebuildfile
1621
+ @Marked = marked
1622
+ @MarkAt = markat
1623
+ @CreateDate = createdate
1624
+ @LastModified = lastmodified
1625
+ @Sort = sort
1626
+ @SnapshotUid = snapshotuid
1627
+ @UserId = userid
1628
+ @Author = author
1629
+ @Me = me
1630
+ @AuthorAvatar = authoravatar
1631
+ end
1632
+
1633
+ def deserialize(params)
1634
+ @Id = params['Id']
1635
+ @Category = params['Category']
1636
+ @Name = params['Name']
1637
+ @Description = params['Description']
1638
+ @DescriptionEN = params['DescriptionEN']
1639
+ @Tags = params['Tags']
1640
+ @Icon = params['Icon']
1641
+ @VersionControlType = params['VersionControlType']
1642
+ @VersionControlUrl = params['VersionControlUrl']
1643
+ @VersionControlDesc = params['VersionControlDesc']
1644
+ @VersionControlOwner = params['VersionControlOwner']
1645
+ @VersionControlRef = params['VersionControlRef']
1646
+ @VersionControlRefType = params['VersionControlRefType']
1647
+ @UserVersionControlUrl = params['UserVersionControlUrl']
1648
+ @UserVersionControlType = params['UserVersionControlType']
1649
+ @UserVersionControlRef = params['UserVersionControlRef']
1650
+ @UserVersionControlRefType = params['UserVersionControlRefType']
1651
+ @DevFile = params['DevFile']
1652
+ @PluginFile = params['PluginFile']
1653
+ @PrebuildFile = params['PrebuildFile']
1654
+ @Marked = params['Marked']
1655
+ @MarkAt = params['MarkAt']
1656
+ @CreateDate = params['CreateDate']
1657
+ @LastModified = params['LastModified']
1658
+ @Sort = params['Sort']
1659
+ @SnapshotUid = params['SnapshotUid']
1660
+ @UserId = params['UserId']
1661
+ @Author = params['Author']
1662
+ @Me = params['Me']
1663
+ @AuthorAvatar = params['AuthorAvatar']
1664
+ end
1665
+ end
1666
+
1667
+ end
1668
+ end
1669
+ end
1670
+