1// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//    http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package v20200324
16
17import (
18    "encoding/json"
19    tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors"
20    tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http"
21)
22
23type ApplyInstanceSnapshotRequest struct {
24	*tchttp.BaseRequest
25
26	// 实例 ID。
27	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
28
29	// 快照 ID。
30	SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"`
31}
32
33func (r *ApplyInstanceSnapshotRequest) ToJsonString() string {
34    b, _ := json.Marshal(r)
35    return string(b)
36}
37
38// FromJsonString It is highly **NOT** recommended to use this function
39// because it has no param check, nor strict type check
40func (r *ApplyInstanceSnapshotRequest) FromJsonString(s string) error {
41	f := make(map[string]interface{})
42	if err := json.Unmarshal([]byte(s), &f); err != nil {
43		return err
44	}
45	delete(f, "InstanceId")
46	delete(f, "SnapshotId")
47	if len(f) > 0 {
48		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ApplyInstanceSnapshotRequest has unknown keys!", "")
49	}
50	return json.Unmarshal([]byte(s), &r)
51}
52
53type ApplyInstanceSnapshotResponse struct {
54	*tchttp.BaseResponse
55	Response *struct {
56
57		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
58		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
59	} `json:"Response"`
60}
61
62func (r *ApplyInstanceSnapshotResponse) ToJsonString() string {
63    b, _ := json.Marshal(r)
64    return string(b)
65}
66
67// FromJsonString It is highly **NOT** recommended to use this function
68// because it has no param check, nor strict type check
69func (r *ApplyInstanceSnapshotResponse) FromJsonString(s string) error {
70	return json.Unmarshal([]byte(s), &r)
71}
72
73type AssociateInstancesKeyPairsRequest struct {
74	*tchttp.BaseRequest
75
76	// 密钥对 ID 列表。每次请求批量密钥对的上限为 100。
77	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`
78
79	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
80	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
81}
82
83func (r *AssociateInstancesKeyPairsRequest) ToJsonString() string {
84    b, _ := json.Marshal(r)
85    return string(b)
86}
87
88// FromJsonString It is highly **NOT** recommended to use this function
89// because it has no param check, nor strict type check
90func (r *AssociateInstancesKeyPairsRequest) FromJsonString(s string) error {
91	f := make(map[string]interface{})
92	if err := json.Unmarshal([]byte(s), &f); err != nil {
93		return err
94	}
95	delete(f, "KeyIds")
96	delete(f, "InstanceIds")
97	if len(f) > 0 {
98		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AssociateInstancesKeyPairsRequest has unknown keys!", "")
99	}
100	return json.Unmarshal([]byte(s), &r)
101}
102
103type AssociateInstancesKeyPairsResponse struct {
104	*tchttp.BaseResponse
105	Response *struct {
106
107		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
108		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
109	} `json:"Response"`
110}
111
112func (r *AssociateInstancesKeyPairsResponse) ToJsonString() string {
113    b, _ := json.Marshal(r)
114    return string(b)
115}
116
117// FromJsonString It is highly **NOT** recommended to use this function
118// because it has no param check, nor strict type check
119func (r *AssociateInstancesKeyPairsResponse) FromJsonString(s string) error {
120	return json.Unmarshal([]byte(s), &r)
121}
122
123type AttachCcnRequest struct {
124	*tchttp.BaseRequest
125
126	// 云联网实例ID。
127	CcnId *string `json:"CcnId,omitempty" name:"CcnId"`
128}
129
130func (r *AttachCcnRequest) ToJsonString() string {
131    b, _ := json.Marshal(r)
132    return string(b)
133}
134
135// FromJsonString It is highly **NOT** recommended to use this function
136// because it has no param check, nor strict type check
137func (r *AttachCcnRequest) FromJsonString(s string) error {
138	f := make(map[string]interface{})
139	if err := json.Unmarshal([]byte(s), &f); err != nil {
140		return err
141	}
142	delete(f, "CcnId")
143	if len(f) > 0 {
144		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AttachCcnRequest has unknown keys!", "")
145	}
146	return json.Unmarshal([]byte(s), &r)
147}
148
149type AttachCcnResponse struct {
150	*tchttp.BaseResponse
151	Response *struct {
152
153		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
154		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
155	} `json:"Response"`
156}
157
158func (r *AttachCcnResponse) ToJsonString() string {
159    b, _ := json.Marshal(r)
160    return string(b)
161}
162
163// FromJsonString It is highly **NOT** recommended to use this function
164// because it has no param check, nor strict type check
165func (r *AttachCcnResponse) FromJsonString(s string) error {
166	return json.Unmarshal([]byte(s), &r)
167}
168
169type Blueprint struct {
170
171	// 镜像 ID  ,是 Blueprint 的唯一标识。
172	BlueprintId *string `json:"BlueprintId,omitempty" name:"BlueprintId"`
173
174	// 镜像对外展示标题。
175	DisplayTitle *string `json:"DisplayTitle,omitempty" name:"DisplayTitle"`
176
177	// 镜像对外展示版本。
178	DisplayVersion *string `json:"DisplayVersion,omitempty" name:"DisplayVersion"`
179
180	// 镜像描述信息。
181	Description *string `json:"Description,omitempty" name:"Description"`
182
183	// 操作系统名称。
184	OsName *string `json:"OsName,omitempty" name:"OsName"`
185
186	// 操作系统平台。
187	Platform *string `json:"Platform,omitempty" name:"Platform"`
188
189	// 操作系统平台类型,如 LINUX_UNIX、WINDOWS。
190	PlatformType *string `json:"PlatformType,omitempty" name:"PlatformType"`
191
192	// 镜像类型,如 APP_OS、PURE_OS、PRIVATE。
193	BlueprintType *string `json:"BlueprintType,omitempty" name:"BlueprintType"`
194
195	// 镜像图片 URL。
196	ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
197
198	// 镜像所需系统盘大小,单位 GB。
199	RequiredSystemDiskSize *int64 `json:"RequiredSystemDiskSize,omitempty" name:"RequiredSystemDiskSize"`
200
201	// 镜像状态。
202	BlueprintState *string `json:"BlueprintState,omitempty" name:"BlueprintState"`
203
204	// 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
205	// 格式为: YYYY-MM-DDThh:mm:ssZ。
206	// 注意:此字段可能返回 null,表示取不到有效值。
207	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
208
209	// 镜像名称。
210	BlueprintName *string `json:"BlueprintName,omitempty" name:"BlueprintName"`
211
212	// 镜像是否支持自动化助手。
213	SupportAutomationTools *bool `json:"SupportAutomationTools,omitempty" name:"SupportAutomationTools"`
214
215	// 镜像所需内存大小, 单位: GB
216	RequiredMemorySize *int64 `json:"RequiredMemorySize,omitempty" name:"RequiredMemorySize"`
217
218	// CVM镜像共享到轻量应用服务器轻量应用服务器后的CVM镜像ID。
219	// 注意:此字段可能返回 null,表示取不到有效值。
220	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`
221}
222
223type BlueprintInstance struct {
224
225	// 镜像信息。
226	Blueprint *Blueprint `json:"Blueprint,omitempty" name:"Blueprint"`
227
228	// 软件列表。
229	SoftwareSet []*Software `json:"SoftwareSet,omitempty" name:"SoftwareSet"`
230
231	// 实例 ID。
232	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
233}
234
235type BlueprintPrice struct {
236
237	// 镜像单价,原价。单位元。
238	OriginalBlueprintPrice *float64 `json:"OriginalBlueprintPrice,omitempty" name:"OriginalBlueprintPrice"`
239
240	// 镜像总价,原价。单位元。
241	OriginalPrice *float64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`
242
243	// 折扣。
244	Discount *int64 `json:"Discount,omitempty" name:"Discount"`
245
246	// 镜像折扣后总价。单位元。
247	DiscountPrice *float64 `json:"DiscountPrice,omitempty" name:"DiscountPrice"`
248}
249
250type Bundle struct {
251
252	// 套餐 ID。
253	BundleId *string `json:"BundleId,omitempty" name:"BundleId"`
254
255	// 内存大小,单位 GB。
256	Memory *int64 `json:"Memory,omitempty" name:"Memory"`
257
258	// 系统盘类型。
259	// 取值范围:
260	// <li> LOCAL_BASIC:本地硬盘</li><li> LOCAL_SSD:本地 SSD 硬盘</li><li> CLOUD_BASIC:普通云硬盘</li><li> CLOUD_SSD:SSD 云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li>
261	SystemDiskType *string `json:"SystemDiskType,omitempty" name:"SystemDiskType"`
262
263	// 系统盘大小。
264	SystemDiskSize *int64 `json:"SystemDiskSize,omitempty" name:"SystemDiskSize"`
265
266	// 每月网络流量,单位 Gb。
267	MonthlyTraffic *int64 `json:"MonthlyTraffic,omitempty" name:"MonthlyTraffic"`
268
269	// 是否支持 Linux/Unix 平台。
270	SupportLinuxUnixPlatform *bool `json:"SupportLinuxUnixPlatform,omitempty" name:"SupportLinuxUnixPlatform"`
271
272	// 是否支持 Windows 平台。
273	SupportWindowsPlatform *bool `json:"SupportWindowsPlatform,omitempty" name:"SupportWindowsPlatform"`
274
275	// 套餐当前单位价格信息。
276	Price *Price `json:"Price,omitempty" name:"Price"`
277
278	// CPU 核数。
279	CPU *int64 `json:"CPU,omitempty" name:"CPU"`
280
281	// 峰值带宽,单位 Mbps。
282	InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`
283
284	// 网络计费类型。
285	InternetChargeType *string `json:"InternetChargeType,omitempty" name:"InternetChargeType"`
286
287	// 套餐售卖状态,取值:‘AVAILABLE’(可用) , ‘SOLD_OUT’(售罄)
288	BundleSalesState *string `json:"BundleSalesState,omitempty" name:"BundleSalesState"`
289
290	// 套餐类型。
291	// 取值范围:
292	// <li> GENERAL_BUNDLE:通用型</li><li> STORAGE_BUNDLE:存储型 </li>
293	BundleType *string `json:"BundleType,omitempty" name:"BundleType"`
294
295	// 套餐展示标签.
296	// 取值范围:
297	// "ACTIVITY": 活动套餐,
298	// "NORMAL": 普通套餐
299	// "CAREFREE": 无忧套餐
300	BundleDisplayLabel *string `json:"BundleDisplayLabel,omitempty" name:"BundleDisplayLabel"`
301}
302
303type CcnAttachedInstance struct {
304
305	// 云联网ID。
306	CcnId *string `json:"CcnId,omitempty" name:"CcnId"`
307
308	// 关联实例CIDR。
309	CidrBlock []*string `json:"CidrBlock,omitempty" name:"CidrBlock"`
310
311	// 关联实例状态:
312	//
313	// •  PENDING:申请中
314	// •  ACTIVE:已连接
315	// •  EXPIRED:已过期
316	// •  REJECTED:已拒绝
317	// •  DELETED:已删除
318	// •  FAILED:失败的(2小时后将异步强制解关联)
319	// •  ATTACHING:关联中
320	// •  DETACHING:解关联中
321	// •  DETACHFAILED:解关联失败(2小时后将异步强制解关联)
322	State *string `json:"State,omitempty" name:"State"`
323
324	// 关联时间。
325	// 注意:此字段可能返回 null,表示取不到有效值。
326	AttachedTime *string `json:"AttachedTime,omitempty" name:"AttachedTime"`
327
328	// 备注
329	Description *string `json:"Description,omitempty" name:"Description"`
330}
331
332type CreateBlueprintRequest struct {
333	*tchttp.BaseRequest
334
335	// 镜像名称。最大长度60。
336	BlueprintName *string `json:"BlueprintName,omitempty" name:"BlueprintName"`
337
338	// 镜像描述。最大长度60。
339	Description *string `json:"Description,omitempty" name:"Description"`
340
341	// 需要制作镜像的实例ID。
342	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
343}
344
345func (r *CreateBlueprintRequest) ToJsonString() string {
346    b, _ := json.Marshal(r)
347    return string(b)
348}
349
350// FromJsonString It is highly **NOT** recommended to use this function
351// because it has no param check, nor strict type check
352func (r *CreateBlueprintRequest) FromJsonString(s string) error {
353	f := make(map[string]interface{})
354	if err := json.Unmarshal([]byte(s), &f); err != nil {
355		return err
356	}
357	delete(f, "BlueprintName")
358	delete(f, "Description")
359	delete(f, "InstanceId")
360	if len(f) > 0 {
361		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateBlueprintRequest has unknown keys!", "")
362	}
363	return json.Unmarshal([]byte(s), &r)
364}
365
366type CreateBlueprintResponse struct {
367	*tchttp.BaseResponse
368	Response *struct {
369
370		// 自定义镜像ID。
371		BlueprintId *string `json:"BlueprintId,omitempty" name:"BlueprintId"`
372
373		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
374		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
375	} `json:"Response"`
376}
377
378func (r *CreateBlueprintResponse) ToJsonString() string {
379    b, _ := json.Marshal(r)
380    return string(b)
381}
382
383// FromJsonString It is highly **NOT** recommended to use this function
384// because it has no param check, nor strict type check
385func (r *CreateBlueprintResponse) FromJsonString(s string) error {
386	return json.Unmarshal([]byte(s), &r)
387}
388
389type CreateFirewallRulesRequest struct {
390	*tchttp.BaseRequest
391
392	// 实例 ID。
393	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
394
395	// 防火墙规则列表。
396	FirewallRules []*FirewallRule `json:"FirewallRules,omitempty" name:"FirewallRules"`
397
398	// 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。
399	FirewallVersion *uint64 `json:"FirewallVersion,omitempty" name:"FirewallVersion"`
400}
401
402func (r *CreateFirewallRulesRequest) ToJsonString() string {
403    b, _ := json.Marshal(r)
404    return string(b)
405}
406
407// FromJsonString It is highly **NOT** recommended to use this function
408// because it has no param check, nor strict type check
409func (r *CreateFirewallRulesRequest) FromJsonString(s string) error {
410	f := make(map[string]interface{})
411	if err := json.Unmarshal([]byte(s), &f); err != nil {
412		return err
413	}
414	delete(f, "InstanceId")
415	delete(f, "FirewallRules")
416	delete(f, "FirewallVersion")
417	if len(f) > 0 {
418		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateFirewallRulesRequest has unknown keys!", "")
419	}
420	return json.Unmarshal([]byte(s), &r)
421}
422
423type CreateFirewallRulesResponse struct {
424	*tchttp.BaseResponse
425	Response *struct {
426
427		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
428		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
429	} `json:"Response"`
430}
431
432func (r *CreateFirewallRulesResponse) ToJsonString() string {
433    b, _ := json.Marshal(r)
434    return string(b)
435}
436
437// FromJsonString It is highly **NOT** recommended to use this function
438// because it has no param check, nor strict type check
439func (r *CreateFirewallRulesResponse) FromJsonString(s string) error {
440	return json.Unmarshal([]byte(s), &r)
441}
442
443type CreateInstanceSnapshotRequest struct {
444	*tchttp.BaseRequest
445
446	// 需要创建快照的实例 ID。
447	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
448
449	// 快照名称,最长为 60 个字符。
450	SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"`
451}
452
453func (r *CreateInstanceSnapshotRequest) ToJsonString() string {
454    b, _ := json.Marshal(r)
455    return string(b)
456}
457
458// FromJsonString It is highly **NOT** recommended to use this function
459// because it has no param check, nor strict type check
460func (r *CreateInstanceSnapshotRequest) FromJsonString(s string) error {
461	f := make(map[string]interface{})
462	if err := json.Unmarshal([]byte(s), &f); err != nil {
463		return err
464	}
465	delete(f, "InstanceId")
466	delete(f, "SnapshotName")
467	if len(f) > 0 {
468		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateInstanceSnapshotRequest has unknown keys!", "")
469	}
470	return json.Unmarshal([]byte(s), &r)
471}
472
473type CreateInstanceSnapshotResponse struct {
474	*tchttp.BaseResponse
475	Response *struct {
476
477		// 快照 ID。
478		SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"`
479
480		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
481		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
482	} `json:"Response"`
483}
484
485func (r *CreateInstanceSnapshotResponse) ToJsonString() string {
486    b, _ := json.Marshal(r)
487    return string(b)
488}
489
490// FromJsonString It is highly **NOT** recommended to use this function
491// because it has no param check, nor strict type check
492func (r *CreateInstanceSnapshotResponse) FromJsonString(s string) error {
493	return json.Unmarshal([]byte(s), &r)
494}
495
496type CreateKeyPairRequest struct {
497	*tchttp.BaseRequest
498
499	// 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。
500	KeyName *string `json:"KeyName,omitempty" name:"KeyName"`
501}
502
503func (r *CreateKeyPairRequest) ToJsonString() string {
504    b, _ := json.Marshal(r)
505    return string(b)
506}
507
508// FromJsonString It is highly **NOT** recommended to use this function
509// because it has no param check, nor strict type check
510func (r *CreateKeyPairRequest) FromJsonString(s string) error {
511	f := make(map[string]interface{})
512	if err := json.Unmarshal([]byte(s), &f); err != nil {
513		return err
514	}
515	delete(f, "KeyName")
516	if len(f) > 0 {
517		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateKeyPairRequest has unknown keys!", "")
518	}
519	return json.Unmarshal([]byte(s), &r)
520}
521
522type CreateKeyPairResponse struct {
523	*tchttp.BaseResponse
524	Response *struct {
525
526		// 密钥对信息。
527		KeyPair *KeyPair `json:"KeyPair,omitempty" name:"KeyPair"`
528
529		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
530		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
531	} `json:"Response"`
532}
533
534func (r *CreateKeyPairResponse) ToJsonString() string {
535    b, _ := json.Marshal(r)
536    return string(b)
537}
538
539// FromJsonString It is highly **NOT** recommended to use this function
540// because it has no param check, nor strict type check
541func (r *CreateKeyPairResponse) FromJsonString(s string) error {
542	return json.Unmarshal([]byte(s), &r)
543}
544
545type DeleteBlueprintsRequest struct {
546	*tchttp.BaseRequest
547
548	// 镜像ID列表。镜像ID,可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
549	BlueprintIds []*string `json:"BlueprintIds,omitempty" name:"BlueprintIds"`
550}
551
552func (r *DeleteBlueprintsRequest) ToJsonString() string {
553    b, _ := json.Marshal(r)
554    return string(b)
555}
556
557// FromJsonString It is highly **NOT** recommended to use this function
558// because it has no param check, nor strict type check
559func (r *DeleteBlueprintsRequest) FromJsonString(s string) error {
560	f := make(map[string]interface{})
561	if err := json.Unmarshal([]byte(s), &f); err != nil {
562		return err
563	}
564	delete(f, "BlueprintIds")
565	if len(f) > 0 {
566		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteBlueprintsRequest has unknown keys!", "")
567	}
568	return json.Unmarshal([]byte(s), &r)
569}
570
571type DeleteBlueprintsResponse struct {
572	*tchttp.BaseResponse
573	Response *struct {
574
575		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
576		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
577	} `json:"Response"`
578}
579
580func (r *DeleteBlueprintsResponse) ToJsonString() string {
581    b, _ := json.Marshal(r)
582    return string(b)
583}
584
585// FromJsonString It is highly **NOT** recommended to use this function
586// because it has no param check, nor strict type check
587func (r *DeleteBlueprintsResponse) FromJsonString(s string) error {
588	return json.Unmarshal([]byte(s), &r)
589}
590
591type DeleteFirewallRulesRequest struct {
592	*tchttp.BaseRequest
593
594	// 实例 ID。
595	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
596
597	// 防火墙规则列表。
598	FirewallRules []*FirewallRule `json:"FirewallRules,omitempty" name:"FirewallRules"`
599
600	// 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。
601	FirewallVersion *uint64 `json:"FirewallVersion,omitempty" name:"FirewallVersion"`
602}
603
604func (r *DeleteFirewallRulesRequest) ToJsonString() string {
605    b, _ := json.Marshal(r)
606    return string(b)
607}
608
609// FromJsonString It is highly **NOT** recommended to use this function
610// because it has no param check, nor strict type check
611func (r *DeleteFirewallRulesRequest) FromJsonString(s string) error {
612	f := make(map[string]interface{})
613	if err := json.Unmarshal([]byte(s), &f); err != nil {
614		return err
615	}
616	delete(f, "InstanceId")
617	delete(f, "FirewallRules")
618	delete(f, "FirewallVersion")
619	if len(f) > 0 {
620		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteFirewallRulesRequest has unknown keys!", "")
621	}
622	return json.Unmarshal([]byte(s), &r)
623}
624
625type DeleteFirewallRulesResponse struct {
626	*tchttp.BaseResponse
627	Response *struct {
628
629		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
630		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
631	} `json:"Response"`
632}
633
634func (r *DeleteFirewallRulesResponse) ToJsonString() string {
635    b, _ := json.Marshal(r)
636    return string(b)
637}
638
639// FromJsonString It is highly **NOT** recommended to use this function
640// because it has no param check, nor strict type check
641func (r *DeleteFirewallRulesResponse) FromJsonString(s string) error {
642	return json.Unmarshal([]byte(s), &r)
643}
644
645type DeleteKeyPairsRequest struct {
646	*tchttp.BaseRequest
647
648	// 密钥对 ID 列表,每次请求批量密钥对的上限为 10。
649	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`
650}
651
652func (r *DeleteKeyPairsRequest) ToJsonString() string {
653    b, _ := json.Marshal(r)
654    return string(b)
655}
656
657// FromJsonString It is highly **NOT** recommended to use this function
658// because it has no param check, nor strict type check
659func (r *DeleteKeyPairsRequest) FromJsonString(s string) error {
660	f := make(map[string]interface{})
661	if err := json.Unmarshal([]byte(s), &f); err != nil {
662		return err
663	}
664	delete(f, "KeyIds")
665	if len(f) > 0 {
666		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteKeyPairsRequest has unknown keys!", "")
667	}
668	return json.Unmarshal([]byte(s), &r)
669}
670
671type DeleteKeyPairsResponse struct {
672	*tchttp.BaseResponse
673	Response *struct {
674
675		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
676		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
677	} `json:"Response"`
678}
679
680func (r *DeleteKeyPairsResponse) ToJsonString() string {
681    b, _ := json.Marshal(r)
682    return string(b)
683}
684
685// FromJsonString It is highly **NOT** recommended to use this function
686// because it has no param check, nor strict type check
687func (r *DeleteKeyPairsResponse) FromJsonString(s string) error {
688	return json.Unmarshal([]byte(s), &r)
689}
690
691type DeleteSnapshotsRequest struct {
692	*tchttp.BaseRequest
693
694	// 要删除的快照 ID 列表,可通过 DescribeSnapshots 查询。
695	SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"`
696}
697
698func (r *DeleteSnapshotsRequest) ToJsonString() string {
699    b, _ := json.Marshal(r)
700    return string(b)
701}
702
703// FromJsonString It is highly **NOT** recommended to use this function
704// because it has no param check, nor strict type check
705func (r *DeleteSnapshotsRequest) FromJsonString(s string) error {
706	f := make(map[string]interface{})
707	if err := json.Unmarshal([]byte(s), &f); err != nil {
708		return err
709	}
710	delete(f, "SnapshotIds")
711	if len(f) > 0 {
712		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteSnapshotsRequest has unknown keys!", "")
713	}
714	return json.Unmarshal([]byte(s), &r)
715}
716
717type DeleteSnapshotsResponse struct {
718	*tchttp.BaseResponse
719	Response *struct {
720
721		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
722		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
723	} `json:"Response"`
724}
725
726func (r *DeleteSnapshotsResponse) ToJsonString() string {
727    b, _ := json.Marshal(r)
728    return string(b)
729}
730
731// FromJsonString It is highly **NOT** recommended to use this function
732// because it has no param check, nor strict type check
733func (r *DeleteSnapshotsResponse) FromJsonString(s string) error {
734	return json.Unmarshal([]byte(s), &r)
735}
736
737type DeniedAction struct {
738
739	// 限制操作名。
740	Action *string `json:"Action,omitempty" name:"Action"`
741
742	// 限制操作消息码。
743	Code *string `json:"Code,omitempty" name:"Code"`
744
745	// 限制操作消息。
746	Message *string `json:"Message,omitempty" name:"Message"`
747}
748
749type DescribeBlueprintInstancesRequest struct {
750	*tchttp.BaseRequest
751
752	// 实例 ID 列表,当前最多支持 1 个。
753	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
754}
755
756func (r *DescribeBlueprintInstancesRequest) ToJsonString() string {
757    b, _ := json.Marshal(r)
758    return string(b)
759}
760
761// FromJsonString It is highly **NOT** recommended to use this function
762// because it has no param check, nor strict type check
763func (r *DescribeBlueprintInstancesRequest) FromJsonString(s string) error {
764	f := make(map[string]interface{})
765	if err := json.Unmarshal([]byte(s), &f); err != nil {
766		return err
767	}
768	delete(f, "InstanceIds")
769	if len(f) > 0 {
770		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBlueprintInstancesRequest has unknown keys!", "")
771	}
772	return json.Unmarshal([]byte(s), &r)
773}
774
775type DescribeBlueprintInstancesResponse struct {
776	*tchttp.BaseResponse
777	Response *struct {
778
779		// 符合条件的镜像实例数量。
780		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
781
782		// 镜像实例列表信息。
783		BlueprintInstanceSet []*BlueprintInstance `json:"BlueprintInstanceSet,omitempty" name:"BlueprintInstanceSet"`
784
785		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
786		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
787	} `json:"Response"`
788}
789
790func (r *DescribeBlueprintInstancesResponse) ToJsonString() string {
791    b, _ := json.Marshal(r)
792    return string(b)
793}
794
795// FromJsonString It is highly **NOT** recommended to use this function
796// because it has no param check, nor strict type check
797func (r *DescribeBlueprintInstancesResponse) FromJsonString(s string) error {
798	return json.Unmarshal([]byte(s), &r)
799}
800
801type DescribeBlueprintsRequest struct {
802	*tchttp.BaseRequest
803
804	// 镜像 ID 列表。
805	BlueprintIds []*string `json:"BlueprintIds,omitempty" name:"BlueprintIds"`
806
807	// 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
808	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
809
810	// 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
811	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
812
813	// 过滤器列表。
814	// <li>blueprint-id</li>按照【镜像 ID】进行过滤。
815	// 类型:String
816	// 必选:否
817	// <li>blueprint-type</li>按照【镜像类型】进行过滤。
818	// 取值:APP_OS(应用镜像 );PURE_OS(系统镜像);PRIVATE(自定义镜像);SHARED(共享镜像)。
819	// 类型:String
820	// 必选:否
821	// <li>platform-type</li>按照【镜像平台类型】进行过滤。
822	// 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。
823	// 类型:String
824	// 必选:否
825	// <li>blueprint-name</li>按照【镜像名称】进行过滤。
826	// 类型:String
827	// 必选:否
828	// <li>blueprint-state</li>按照【镜像状态】进行过滤。
829	// 类型:String
830	// 必选:否
831	//
832	// 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。
833	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
834}
835
836func (r *DescribeBlueprintsRequest) ToJsonString() string {
837    b, _ := json.Marshal(r)
838    return string(b)
839}
840
841// FromJsonString It is highly **NOT** recommended to use this function
842// because it has no param check, nor strict type check
843func (r *DescribeBlueprintsRequest) FromJsonString(s string) error {
844	f := make(map[string]interface{})
845	if err := json.Unmarshal([]byte(s), &f); err != nil {
846		return err
847	}
848	delete(f, "BlueprintIds")
849	delete(f, "Offset")
850	delete(f, "Limit")
851	delete(f, "Filters")
852	if len(f) > 0 {
853		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBlueprintsRequest has unknown keys!", "")
854	}
855	return json.Unmarshal([]byte(s), &r)
856}
857
858type DescribeBlueprintsResponse struct {
859	*tchttp.BaseResponse
860	Response *struct {
861
862		// 符合条件的镜像数量。
863		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
864
865		// 镜像详细信息列表。
866		BlueprintSet []*Blueprint `json:"BlueprintSet,omitempty" name:"BlueprintSet"`
867
868		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
869		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
870	} `json:"Response"`
871}
872
873func (r *DescribeBlueprintsResponse) ToJsonString() string {
874    b, _ := json.Marshal(r)
875    return string(b)
876}
877
878// FromJsonString It is highly **NOT** recommended to use this function
879// because it has no param check, nor strict type check
880func (r *DescribeBlueprintsResponse) FromJsonString(s string) error {
881	return json.Unmarshal([]byte(s), &r)
882}
883
884type DescribeBundleDiscountRequest struct {
885	*tchttp.BaseRequest
886
887	// 套餐 ID。
888	BundleId *string `json:"BundleId,omitempty" name:"BundleId"`
889}
890
891func (r *DescribeBundleDiscountRequest) ToJsonString() string {
892    b, _ := json.Marshal(r)
893    return string(b)
894}
895
896// FromJsonString It is highly **NOT** recommended to use this function
897// because it has no param check, nor strict type check
898func (r *DescribeBundleDiscountRequest) FromJsonString(s string) error {
899	f := make(map[string]interface{})
900	if err := json.Unmarshal([]byte(s), &f); err != nil {
901		return err
902	}
903	delete(f, "BundleId")
904	if len(f) > 0 {
905		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBundleDiscountRequest has unknown keys!", "")
906	}
907	return json.Unmarshal([]byte(s), &r)
908}
909
910type DescribeBundleDiscountResponse struct {
911	*tchttp.BaseResponse
912	Response *struct {
913
914		// 币种:CNY人民币,USD 美元。
915		Currency *string `json:"Currency,omitempty" name:"Currency"`
916
917		// 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。
918		DiscountDetail []*DiscountDetail `json:"DiscountDetail,omitempty" name:"DiscountDetail"`
919
920		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
921		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
922	} `json:"Response"`
923}
924
925func (r *DescribeBundleDiscountResponse) ToJsonString() string {
926    b, _ := json.Marshal(r)
927    return string(b)
928}
929
930// FromJsonString It is highly **NOT** recommended to use this function
931// because it has no param check, nor strict type check
932func (r *DescribeBundleDiscountResponse) FromJsonString(s string) error {
933	return json.Unmarshal([]byte(s), &r)
934}
935
936type DescribeBundlesRequest struct {
937	*tchttp.BaseRequest
938
939	// 套餐 ID 列表。
940	BundleIds []*string `json:"BundleIds,omitempty" name:"BundleIds"`
941
942	// 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
943	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
944
945	// 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
946	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
947
948	// 过滤器列表。
949	// <li>bundle-id</li>按照【套餐 ID】进行过滤。
950	// 类型:String
951	// 必选:否
952	// <li>support-platform-type</li>按照【系统类型】进行过滤。
953	// 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)
954	// 类型:String
955	// 必选:否
956	// 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BundleIds 和 Filters。
957	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
958
959	// 可用区列表。默认为全部可用区。
960	Zones []*string `json:"Zones,omitempty" name:"Zones"`
961}
962
963func (r *DescribeBundlesRequest) ToJsonString() string {
964    b, _ := json.Marshal(r)
965    return string(b)
966}
967
968// FromJsonString It is highly **NOT** recommended to use this function
969// because it has no param check, nor strict type check
970func (r *DescribeBundlesRequest) FromJsonString(s string) error {
971	f := make(map[string]interface{})
972	if err := json.Unmarshal([]byte(s), &f); err != nil {
973		return err
974	}
975	delete(f, "BundleIds")
976	delete(f, "Offset")
977	delete(f, "Limit")
978	delete(f, "Filters")
979	delete(f, "Zones")
980	if len(f) > 0 {
981		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBundlesRequest has unknown keys!", "")
982	}
983	return json.Unmarshal([]byte(s), &r)
984}
985
986type DescribeBundlesResponse struct {
987	*tchttp.BaseResponse
988	Response *struct {
989
990		// 套餐详细信息列表。
991		BundleSet []*Bundle `json:"BundleSet,omitempty" name:"BundleSet"`
992
993		// 符合要求的套餐总数,用于分页展示。
994		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
995
996		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
997		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
998	} `json:"Response"`
999}
1000
1001func (r *DescribeBundlesResponse) ToJsonString() string {
1002    b, _ := json.Marshal(r)
1003    return string(b)
1004}
1005
1006// FromJsonString It is highly **NOT** recommended to use this function
1007// because it has no param check, nor strict type check
1008func (r *DescribeBundlesResponse) FromJsonString(s string) error {
1009	return json.Unmarshal([]byte(s), &r)
1010}
1011
1012type DescribeCcnAttachedInstancesRequest struct {
1013	*tchttp.BaseRequest
1014}
1015
1016func (r *DescribeCcnAttachedInstancesRequest) ToJsonString() string {
1017    b, _ := json.Marshal(r)
1018    return string(b)
1019}
1020
1021// FromJsonString It is highly **NOT** recommended to use this function
1022// because it has no param check, nor strict type check
1023func (r *DescribeCcnAttachedInstancesRequest) FromJsonString(s string) error {
1024	f := make(map[string]interface{})
1025	if err := json.Unmarshal([]byte(s), &f); err != nil {
1026		return err
1027	}
1028	if len(f) > 0 {
1029		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCcnAttachedInstancesRequest has unknown keys!", "")
1030	}
1031	return json.Unmarshal([]byte(s), &r)
1032}
1033
1034type DescribeCcnAttachedInstancesResponse struct {
1035	*tchttp.BaseResponse
1036	Response *struct {
1037
1038		// 云联网关联的实例列表。
1039	// 注意:此字段可能返回 null,表示取不到有效值。
1040		CcnAttachedInstanceSet []*CcnAttachedInstance `json:"CcnAttachedInstanceSet,omitempty" name:"CcnAttachedInstanceSet"`
1041
1042		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1043		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1044	} `json:"Response"`
1045}
1046
1047func (r *DescribeCcnAttachedInstancesResponse) ToJsonString() string {
1048    b, _ := json.Marshal(r)
1049    return string(b)
1050}
1051
1052// FromJsonString It is highly **NOT** recommended to use this function
1053// because it has no param check, nor strict type check
1054func (r *DescribeCcnAttachedInstancesResponse) FromJsonString(s string) error {
1055	return json.Unmarshal([]byte(s), &r)
1056}
1057
1058type DescribeFirewallRulesRequest struct {
1059	*tchttp.BaseRequest
1060
1061	// 实例 ID。
1062	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1063
1064	// 偏移量,默认为 0。
1065	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1066
1067	// 返回数量,默认为 20,最大值为 100。
1068	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1069}
1070
1071func (r *DescribeFirewallRulesRequest) ToJsonString() string {
1072    b, _ := json.Marshal(r)
1073    return string(b)
1074}
1075
1076// FromJsonString It is highly **NOT** recommended to use this function
1077// because it has no param check, nor strict type check
1078func (r *DescribeFirewallRulesRequest) FromJsonString(s string) error {
1079	f := make(map[string]interface{})
1080	if err := json.Unmarshal([]byte(s), &f); err != nil {
1081		return err
1082	}
1083	delete(f, "InstanceId")
1084	delete(f, "Offset")
1085	delete(f, "Limit")
1086	if len(f) > 0 {
1087		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFirewallRulesRequest has unknown keys!", "")
1088	}
1089	return json.Unmarshal([]byte(s), &r)
1090}
1091
1092type DescribeFirewallRulesResponse struct {
1093	*tchttp.BaseResponse
1094	Response *struct {
1095
1096		// 符合条件的防火墙规则数量。
1097		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1098
1099		// 防火墙规则详细信息列表。
1100		FirewallRuleSet []*FirewallRuleInfo `json:"FirewallRuleSet,omitempty" name:"FirewallRuleSet"`
1101
1102		// 防火墙版本号。
1103		FirewallVersion *uint64 `json:"FirewallVersion,omitempty" name:"FirewallVersion"`
1104
1105		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1106		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1107	} `json:"Response"`
1108}
1109
1110func (r *DescribeFirewallRulesResponse) ToJsonString() string {
1111    b, _ := json.Marshal(r)
1112    return string(b)
1113}
1114
1115// FromJsonString It is highly **NOT** recommended to use this function
1116// because it has no param check, nor strict type check
1117func (r *DescribeFirewallRulesResponse) FromJsonString(s string) error {
1118	return json.Unmarshal([]byte(s), &r)
1119}
1120
1121type DescribeFirewallRulesTemplateRequest struct {
1122	*tchttp.BaseRequest
1123}
1124
1125func (r *DescribeFirewallRulesTemplateRequest) ToJsonString() string {
1126    b, _ := json.Marshal(r)
1127    return string(b)
1128}
1129
1130// FromJsonString It is highly **NOT** recommended to use this function
1131// because it has no param check, nor strict type check
1132func (r *DescribeFirewallRulesTemplateRequest) FromJsonString(s string) error {
1133	f := make(map[string]interface{})
1134	if err := json.Unmarshal([]byte(s), &f); err != nil {
1135		return err
1136	}
1137	if len(f) > 0 {
1138		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFirewallRulesTemplateRequest has unknown keys!", "")
1139	}
1140	return json.Unmarshal([]byte(s), &r)
1141}
1142
1143type DescribeFirewallRulesTemplateResponse struct {
1144	*tchttp.BaseResponse
1145	Response *struct {
1146
1147		// 符合条件的防火墙规则数量。
1148		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1149
1150		// 防火墙规则详细信息列表。
1151		FirewallRuleSet []*FirewallRuleInfo `json:"FirewallRuleSet,omitempty" name:"FirewallRuleSet"`
1152
1153		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1154		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1155	} `json:"Response"`
1156}
1157
1158func (r *DescribeFirewallRulesTemplateResponse) ToJsonString() string {
1159    b, _ := json.Marshal(r)
1160    return string(b)
1161}
1162
1163// FromJsonString It is highly **NOT** recommended to use this function
1164// because it has no param check, nor strict type check
1165func (r *DescribeFirewallRulesTemplateResponse) FromJsonString(s string) error {
1166	return json.Unmarshal([]byte(s), &r)
1167}
1168
1169type DescribeGeneralResourceQuotasRequest struct {
1170	*tchttp.BaseRequest
1171
1172	// 资源名列表,取值为:USER_KEY_PAIR、INSTANCE、SNAPSHOT。
1173	ResourceNames []*string `json:"ResourceNames,omitempty" name:"ResourceNames"`
1174}
1175
1176func (r *DescribeGeneralResourceQuotasRequest) ToJsonString() string {
1177    b, _ := json.Marshal(r)
1178    return string(b)
1179}
1180
1181// FromJsonString It is highly **NOT** recommended to use this function
1182// because it has no param check, nor strict type check
1183func (r *DescribeGeneralResourceQuotasRequest) FromJsonString(s string) error {
1184	f := make(map[string]interface{})
1185	if err := json.Unmarshal([]byte(s), &f); err != nil {
1186		return err
1187	}
1188	delete(f, "ResourceNames")
1189	if len(f) > 0 {
1190		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGeneralResourceQuotasRequest has unknown keys!", "")
1191	}
1192	return json.Unmarshal([]byte(s), &r)
1193}
1194
1195type DescribeGeneralResourceQuotasResponse struct {
1196	*tchttp.BaseResponse
1197	Response *struct {
1198
1199		// 通用资源配额详细信息列表。
1200		GeneralResourceQuotaSet []*GeneralResourceQuota `json:"GeneralResourceQuotaSet,omitempty" name:"GeneralResourceQuotaSet"`
1201
1202		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1203		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1204	} `json:"Response"`
1205}
1206
1207func (r *DescribeGeneralResourceQuotasResponse) ToJsonString() string {
1208    b, _ := json.Marshal(r)
1209    return string(b)
1210}
1211
1212// FromJsonString It is highly **NOT** recommended to use this function
1213// because it has no param check, nor strict type check
1214func (r *DescribeGeneralResourceQuotasResponse) FromJsonString(s string) error {
1215	return json.Unmarshal([]byte(s), &r)
1216}
1217
1218type DescribeInstanceLoginKeyPairAttributeRequest struct {
1219	*tchttp.BaseRequest
1220
1221	// 实例ID。
1222	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1223}
1224
1225func (r *DescribeInstanceLoginKeyPairAttributeRequest) ToJsonString() string {
1226    b, _ := json.Marshal(r)
1227    return string(b)
1228}
1229
1230// FromJsonString It is highly **NOT** recommended to use this function
1231// because it has no param check, nor strict type check
1232func (r *DescribeInstanceLoginKeyPairAttributeRequest) FromJsonString(s string) error {
1233	f := make(map[string]interface{})
1234	if err := json.Unmarshal([]byte(s), &f); err != nil {
1235		return err
1236	}
1237	delete(f, "InstanceId")
1238	if len(f) > 0 {
1239		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstanceLoginKeyPairAttributeRequest has unknown keys!", "")
1240	}
1241	return json.Unmarshal([]byte(s), &r)
1242}
1243
1244type DescribeInstanceLoginKeyPairAttributeResponse struct {
1245	*tchttp.BaseResponse
1246	Response *struct {
1247
1248		// 是否允许使用默认密钥对登录,YES:允许登录 NO:禁止登录。
1249		PermitLogin *string `json:"PermitLogin,omitempty" name:"PermitLogin"`
1250
1251		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1252		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1253	} `json:"Response"`
1254}
1255
1256func (r *DescribeInstanceLoginKeyPairAttributeResponse) ToJsonString() string {
1257    b, _ := json.Marshal(r)
1258    return string(b)
1259}
1260
1261// FromJsonString It is highly **NOT** recommended to use this function
1262// because it has no param check, nor strict type check
1263func (r *DescribeInstanceLoginKeyPairAttributeResponse) FromJsonString(s string) error {
1264	return json.Unmarshal([]byte(s), &r)
1265}
1266
1267type DescribeInstanceVncUrlRequest struct {
1268	*tchttp.BaseRequest
1269
1270	// 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
1271	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1272}
1273
1274func (r *DescribeInstanceVncUrlRequest) ToJsonString() string {
1275    b, _ := json.Marshal(r)
1276    return string(b)
1277}
1278
1279// FromJsonString It is highly **NOT** recommended to use this function
1280// because it has no param check, nor strict type check
1281func (r *DescribeInstanceVncUrlRequest) FromJsonString(s string) error {
1282	f := make(map[string]interface{})
1283	if err := json.Unmarshal([]byte(s), &f); err != nil {
1284		return err
1285	}
1286	delete(f, "InstanceId")
1287	if len(f) > 0 {
1288		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstanceVncUrlRequest has unknown keys!", "")
1289	}
1290	return json.Unmarshal([]byte(s), &r)
1291}
1292
1293type DescribeInstanceVncUrlResponse struct {
1294	*tchttp.BaseResponse
1295	Response *struct {
1296
1297		// 实例的管理终端地址。
1298		InstanceVncUrl *string `json:"InstanceVncUrl,omitempty" name:"InstanceVncUrl"`
1299
1300		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1301		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1302	} `json:"Response"`
1303}
1304
1305func (r *DescribeInstanceVncUrlResponse) ToJsonString() string {
1306    b, _ := json.Marshal(r)
1307    return string(b)
1308}
1309
1310// FromJsonString It is highly **NOT** recommended to use this function
1311// because it has no param check, nor strict type check
1312func (r *DescribeInstanceVncUrlResponse) FromJsonString(s string) error {
1313	return json.Unmarshal([]byte(s), &r)
1314}
1315
1316type DescribeInstancesDeniedActionsRequest struct {
1317	*tchttp.BaseRequest
1318
1319	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
1320	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
1321}
1322
1323func (r *DescribeInstancesDeniedActionsRequest) ToJsonString() string {
1324    b, _ := json.Marshal(r)
1325    return string(b)
1326}
1327
1328// FromJsonString It is highly **NOT** recommended to use this function
1329// because it has no param check, nor strict type check
1330func (r *DescribeInstancesDeniedActionsRequest) FromJsonString(s string) error {
1331	f := make(map[string]interface{})
1332	if err := json.Unmarshal([]byte(s), &f); err != nil {
1333		return err
1334	}
1335	delete(f, "InstanceIds")
1336	if len(f) > 0 {
1337		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstancesDeniedActionsRequest has unknown keys!", "")
1338	}
1339	return json.Unmarshal([]byte(s), &r)
1340}
1341
1342type DescribeInstancesDeniedActionsResponse struct {
1343	*tchttp.BaseResponse
1344	Response *struct {
1345
1346		// 实例操作限制列表详细信息。
1347		InstanceDeniedActionSet []*InstanceDeniedActions `json:"InstanceDeniedActionSet,omitempty" name:"InstanceDeniedActionSet"`
1348
1349		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1350		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1351	} `json:"Response"`
1352}
1353
1354func (r *DescribeInstancesDeniedActionsResponse) ToJsonString() string {
1355    b, _ := json.Marshal(r)
1356    return string(b)
1357}
1358
1359// FromJsonString It is highly **NOT** recommended to use this function
1360// because it has no param check, nor strict type check
1361func (r *DescribeInstancesDeniedActionsResponse) FromJsonString(s string) error {
1362	return json.Unmarshal([]byte(s), &r)
1363}
1364
1365type DescribeInstancesRequest struct {
1366	*tchttp.BaseRequest
1367
1368	// 实例 ID 列表。每次请求批量实例的上限为 100。
1369	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
1370
1371	// 过滤器列表。
1372	// <li>instance-name</li>按照【实例名称】进行过滤。
1373	// 类型:String
1374	// 必选:否
1375	// <li>private-ip-address</li>按照【实例主网卡的内网 IP】进行过滤。
1376	// 类型:String
1377	// 必选:否
1378	// <li>public-ip-address</li>按照【实例主网卡的公网 IP】进行过滤。
1379	// 类型:String
1380	// 必选:否
1381	// 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 InstanceIds 和 Filters。
1382	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
1383
1384	// 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
1385	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1386
1387	// 返回数量,默认为 20,最大值为 200。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
1388	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1389}
1390
1391func (r *DescribeInstancesRequest) ToJsonString() string {
1392    b, _ := json.Marshal(r)
1393    return string(b)
1394}
1395
1396// FromJsonString It is highly **NOT** recommended to use this function
1397// because it has no param check, nor strict type check
1398func (r *DescribeInstancesRequest) FromJsonString(s string) error {
1399	f := make(map[string]interface{})
1400	if err := json.Unmarshal([]byte(s), &f); err != nil {
1401		return err
1402	}
1403	delete(f, "InstanceIds")
1404	delete(f, "Filters")
1405	delete(f, "Offset")
1406	delete(f, "Limit")
1407	if len(f) > 0 {
1408		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstancesRequest has unknown keys!", "")
1409	}
1410	return json.Unmarshal([]byte(s), &r)
1411}
1412
1413type DescribeInstancesResponse struct {
1414	*tchttp.BaseResponse
1415	Response *struct {
1416
1417		// 符合条件的实例数量。
1418		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1419
1420		// 实例详细信息列表。
1421		InstanceSet []*Instance `json:"InstanceSet,omitempty" name:"InstanceSet"`
1422
1423		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1424		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1425	} `json:"Response"`
1426}
1427
1428func (r *DescribeInstancesResponse) ToJsonString() string {
1429    b, _ := json.Marshal(r)
1430    return string(b)
1431}
1432
1433// FromJsonString It is highly **NOT** recommended to use this function
1434// because it has no param check, nor strict type check
1435func (r *DescribeInstancesResponse) FromJsonString(s string) error {
1436	return json.Unmarshal([]byte(s), &r)
1437}
1438
1439type DescribeInstancesReturnableRequest struct {
1440	*tchttp.BaseRequest
1441
1442	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
1443	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
1444
1445	// 偏移量,默认为 0。
1446	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1447
1448	// 返回数量,默认为 20,最大值为 100。
1449	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1450}
1451
1452func (r *DescribeInstancesReturnableRequest) ToJsonString() string {
1453    b, _ := json.Marshal(r)
1454    return string(b)
1455}
1456
1457// FromJsonString It is highly **NOT** recommended to use this function
1458// because it has no param check, nor strict type check
1459func (r *DescribeInstancesReturnableRequest) FromJsonString(s string) error {
1460	f := make(map[string]interface{})
1461	if err := json.Unmarshal([]byte(s), &f); err != nil {
1462		return err
1463	}
1464	delete(f, "InstanceIds")
1465	delete(f, "Offset")
1466	delete(f, "Limit")
1467	if len(f) > 0 {
1468		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstancesReturnableRequest has unknown keys!", "")
1469	}
1470	return json.Unmarshal([]byte(s), &r)
1471}
1472
1473type DescribeInstancesReturnableResponse struct {
1474	*tchttp.BaseResponse
1475	Response *struct {
1476
1477		// 符合条件的实例数量。
1478		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1479
1480		// 可退还实例详细信息列表。
1481		InstanceReturnableSet []*InstanceReturnable `json:"InstanceReturnableSet,omitempty" name:"InstanceReturnableSet"`
1482
1483		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1484		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1485	} `json:"Response"`
1486}
1487
1488func (r *DescribeInstancesReturnableResponse) ToJsonString() string {
1489    b, _ := json.Marshal(r)
1490    return string(b)
1491}
1492
1493// FromJsonString It is highly **NOT** recommended to use this function
1494// because it has no param check, nor strict type check
1495func (r *DescribeInstancesReturnableResponse) FromJsonString(s string) error {
1496	return json.Unmarshal([]byte(s), &r)
1497}
1498
1499type DescribeInstancesTrafficPackagesRequest struct {
1500	*tchttp.BaseRequest
1501
1502	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
1503	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
1504
1505	// 偏移量,默认为 0。
1506	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1507
1508	// 返回数量,默认为 20,最大值为 100。
1509	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1510}
1511
1512func (r *DescribeInstancesTrafficPackagesRequest) ToJsonString() string {
1513    b, _ := json.Marshal(r)
1514    return string(b)
1515}
1516
1517// FromJsonString It is highly **NOT** recommended to use this function
1518// because it has no param check, nor strict type check
1519func (r *DescribeInstancesTrafficPackagesRequest) FromJsonString(s string) error {
1520	f := make(map[string]interface{})
1521	if err := json.Unmarshal([]byte(s), &f); err != nil {
1522		return err
1523	}
1524	delete(f, "InstanceIds")
1525	delete(f, "Offset")
1526	delete(f, "Limit")
1527	if len(f) > 0 {
1528		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstancesTrafficPackagesRequest has unknown keys!", "")
1529	}
1530	return json.Unmarshal([]byte(s), &r)
1531}
1532
1533type DescribeInstancesTrafficPackagesResponse struct {
1534	*tchttp.BaseResponse
1535	Response *struct {
1536
1537		// 符合条件的实例流量包详情数量。
1538		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1539
1540		// 实例流量包详情列表。
1541		InstanceTrafficPackageSet []*InstanceTrafficPackage `json:"InstanceTrafficPackageSet,omitempty" name:"InstanceTrafficPackageSet"`
1542
1543		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1544		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1545	} `json:"Response"`
1546}
1547
1548func (r *DescribeInstancesTrafficPackagesResponse) ToJsonString() string {
1549    b, _ := json.Marshal(r)
1550    return string(b)
1551}
1552
1553// FromJsonString It is highly **NOT** recommended to use this function
1554// because it has no param check, nor strict type check
1555func (r *DescribeInstancesTrafficPackagesResponse) FromJsonString(s string) error {
1556	return json.Unmarshal([]byte(s), &r)
1557}
1558
1559type DescribeKeyPairsRequest struct {
1560	*tchttp.BaseRequest
1561
1562	// 密钥对 ID 列表。
1563	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`
1564
1565	// 偏移量,默认为 0。
1566	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1567
1568	// 返回数量,默认为 20,最大值为 100。
1569	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1570
1571	// 过滤器列表。
1572	// <li>key-id</li>按照【密钥对ID】进行过滤。
1573	// 类型:String
1574	// 必选:否
1575	// <li>key-name</li>按照【密钥对名称】进行过滤。
1576	// 类型:String
1577	// 必选:否
1578	// 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。
1579	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
1580}
1581
1582func (r *DescribeKeyPairsRequest) ToJsonString() string {
1583    b, _ := json.Marshal(r)
1584    return string(b)
1585}
1586
1587// FromJsonString It is highly **NOT** recommended to use this function
1588// because it has no param check, nor strict type check
1589func (r *DescribeKeyPairsRequest) FromJsonString(s string) error {
1590	f := make(map[string]interface{})
1591	if err := json.Unmarshal([]byte(s), &f); err != nil {
1592		return err
1593	}
1594	delete(f, "KeyIds")
1595	delete(f, "Offset")
1596	delete(f, "Limit")
1597	delete(f, "Filters")
1598	if len(f) > 0 {
1599		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeKeyPairsRequest has unknown keys!", "")
1600	}
1601	return json.Unmarshal([]byte(s), &r)
1602}
1603
1604type DescribeKeyPairsResponse struct {
1605	*tchttp.BaseResponse
1606	Response *struct {
1607
1608		// 符合条件的密钥对数量。
1609		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1610
1611		// 密钥对详细信息列表。
1612		KeyPairSet []*KeyPair `json:"KeyPairSet,omitempty" name:"KeyPairSet"`
1613
1614		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1615		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1616	} `json:"Response"`
1617}
1618
1619func (r *DescribeKeyPairsResponse) ToJsonString() string {
1620    b, _ := json.Marshal(r)
1621    return string(b)
1622}
1623
1624// FromJsonString It is highly **NOT** recommended to use this function
1625// because it has no param check, nor strict type check
1626func (r *DescribeKeyPairsResponse) FromJsonString(s string) error {
1627	return json.Unmarshal([]byte(s), &r)
1628}
1629
1630type DescribeModifyInstanceBundlesRequest struct {
1631	*tchttp.BaseRequest
1632
1633	// 实例 ID。
1634	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1635
1636	// 过滤器列表。
1637	// <li>bundle-id</li>按照【套餐 ID】进行过滤。
1638	// 类型:String
1639	// 必选:否
1640	// <li>support-platform-type</li>按照【系统类型】进行过滤。
1641	// 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)
1642	// 类型:String
1643	// 必选:否
1644	// 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
1645	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
1646
1647	// 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
1648	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1649
1650	// 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
1651	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1652}
1653
1654func (r *DescribeModifyInstanceBundlesRequest) ToJsonString() string {
1655    b, _ := json.Marshal(r)
1656    return string(b)
1657}
1658
1659// FromJsonString It is highly **NOT** recommended to use this function
1660// because it has no param check, nor strict type check
1661func (r *DescribeModifyInstanceBundlesRequest) FromJsonString(s string) error {
1662	f := make(map[string]interface{})
1663	if err := json.Unmarshal([]byte(s), &f); err != nil {
1664		return err
1665	}
1666	delete(f, "InstanceId")
1667	delete(f, "Filters")
1668	delete(f, "Offset")
1669	delete(f, "Limit")
1670	if len(f) > 0 {
1671		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeModifyInstanceBundlesRequest has unknown keys!", "")
1672	}
1673	return json.Unmarshal([]byte(s), &r)
1674}
1675
1676type DescribeModifyInstanceBundlesResponse struct {
1677	*tchttp.BaseResponse
1678	Response *struct {
1679
1680		// 符合条件的套餐数量。
1681		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1682
1683		// 变更套餐详细信息。
1684		ModifyBundleSet []*ModifyBundle `json:"ModifyBundleSet,omitempty" name:"ModifyBundleSet"`
1685
1686		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1687		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1688	} `json:"Response"`
1689}
1690
1691func (r *DescribeModifyInstanceBundlesResponse) ToJsonString() string {
1692    b, _ := json.Marshal(r)
1693    return string(b)
1694}
1695
1696// FromJsonString It is highly **NOT** recommended to use this function
1697// because it has no param check, nor strict type check
1698func (r *DescribeModifyInstanceBundlesResponse) FromJsonString(s string) error {
1699	return json.Unmarshal([]byte(s), &r)
1700}
1701
1702type DescribeRegionsRequest struct {
1703	*tchttp.BaseRequest
1704}
1705
1706func (r *DescribeRegionsRequest) ToJsonString() string {
1707    b, _ := json.Marshal(r)
1708    return string(b)
1709}
1710
1711// FromJsonString It is highly **NOT** recommended to use this function
1712// because it has no param check, nor strict type check
1713func (r *DescribeRegionsRequest) FromJsonString(s string) error {
1714	f := make(map[string]interface{})
1715	if err := json.Unmarshal([]byte(s), &f); err != nil {
1716		return err
1717	}
1718	if len(f) > 0 {
1719		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRegionsRequest has unknown keys!", "")
1720	}
1721	return json.Unmarshal([]byte(s), &r)
1722}
1723
1724type DescribeRegionsResponse struct {
1725	*tchttp.BaseResponse
1726	Response *struct {
1727
1728		// 地域数量。
1729		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1730
1731		// 地域信息列表。
1732		RegionSet []*RegionInfo `json:"RegionSet,omitempty" name:"RegionSet"`
1733
1734		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1735		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1736	} `json:"Response"`
1737}
1738
1739func (r *DescribeRegionsResponse) ToJsonString() string {
1740    b, _ := json.Marshal(r)
1741    return string(b)
1742}
1743
1744// FromJsonString It is highly **NOT** recommended to use this function
1745// because it has no param check, nor strict type check
1746func (r *DescribeRegionsResponse) FromJsonString(s string) error {
1747	return json.Unmarshal([]byte(s), &r)
1748}
1749
1750type DescribeResetInstanceBlueprintsRequest struct {
1751	*tchttp.BaseRequest
1752
1753	// 实例ID
1754	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1755
1756	// 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
1757	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1758
1759	// 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
1760	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1761
1762	// 过滤器列表。
1763	// <li>blueprint-id</li>按照【镜像 ID】进行过滤。
1764	// 类型:String
1765	// 必选:否
1766	// <li>blueprint-type</li>按照【镜像类型】进行过滤。
1767	// 取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。
1768	// 类型:String
1769	// 必选:否
1770	// <li>platform-type</li>按照【镜像平台类型】进行过滤。
1771	// 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。
1772	// 类型:String
1773	// 必选:否
1774	// <li>blueprint-name</li>按照【镜像名称】进行过滤。
1775	// 类型:String
1776	// 必选:否
1777	// <li>blueprint-state</li>按照【镜像状态】进行过滤。
1778	// 类型:String
1779	// 必选:否
1780	//
1781	// 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。
1782	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
1783}
1784
1785func (r *DescribeResetInstanceBlueprintsRequest) ToJsonString() string {
1786    b, _ := json.Marshal(r)
1787    return string(b)
1788}
1789
1790// FromJsonString It is highly **NOT** recommended to use this function
1791// because it has no param check, nor strict type check
1792func (r *DescribeResetInstanceBlueprintsRequest) FromJsonString(s string) error {
1793	f := make(map[string]interface{})
1794	if err := json.Unmarshal([]byte(s), &f); err != nil {
1795		return err
1796	}
1797	delete(f, "InstanceId")
1798	delete(f, "Offset")
1799	delete(f, "Limit")
1800	delete(f, "Filters")
1801	if len(f) > 0 {
1802		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeResetInstanceBlueprintsRequest has unknown keys!", "")
1803	}
1804	return json.Unmarshal([]byte(s), &r)
1805}
1806
1807type DescribeResetInstanceBlueprintsResponse struct {
1808	*tchttp.BaseResponse
1809	Response *struct {
1810
1811		// 符合条件的镜像数量。
1812		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1813
1814		// 镜像重置信息列表
1815		ResetInstanceBlueprintSet []*ResetInstanceBlueprint `json:"ResetInstanceBlueprintSet,omitempty" name:"ResetInstanceBlueprintSet"`
1816
1817		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1818		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1819	} `json:"Response"`
1820}
1821
1822func (r *DescribeResetInstanceBlueprintsResponse) ToJsonString() string {
1823    b, _ := json.Marshal(r)
1824    return string(b)
1825}
1826
1827// FromJsonString It is highly **NOT** recommended to use this function
1828// because it has no param check, nor strict type check
1829func (r *DescribeResetInstanceBlueprintsResponse) FromJsonString(s string) error {
1830	return json.Unmarshal([]byte(s), &r)
1831}
1832
1833type DescribeSnapshotsDeniedActionsRequest struct {
1834	*tchttp.BaseRequest
1835
1836	// 快照 ID 列表, 可通过 DescribeSnapshots 查询。
1837	SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"`
1838}
1839
1840func (r *DescribeSnapshotsDeniedActionsRequest) ToJsonString() string {
1841    b, _ := json.Marshal(r)
1842    return string(b)
1843}
1844
1845// FromJsonString It is highly **NOT** recommended to use this function
1846// because it has no param check, nor strict type check
1847func (r *DescribeSnapshotsDeniedActionsRequest) FromJsonString(s string) error {
1848	f := make(map[string]interface{})
1849	if err := json.Unmarshal([]byte(s), &f); err != nil {
1850		return err
1851	}
1852	delete(f, "SnapshotIds")
1853	if len(f) > 0 {
1854		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSnapshotsDeniedActionsRequest has unknown keys!", "")
1855	}
1856	return json.Unmarshal([]byte(s), &r)
1857}
1858
1859type DescribeSnapshotsDeniedActionsResponse struct {
1860	*tchttp.BaseResponse
1861	Response *struct {
1862
1863		// 快照操作限制列表详细信息。
1864		SnapshotDeniedActionSet []*SnapshotDeniedActions `json:"SnapshotDeniedActionSet,omitempty" name:"SnapshotDeniedActionSet"`
1865
1866		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1867		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1868	} `json:"Response"`
1869}
1870
1871func (r *DescribeSnapshotsDeniedActionsResponse) ToJsonString() string {
1872    b, _ := json.Marshal(r)
1873    return string(b)
1874}
1875
1876// FromJsonString It is highly **NOT** recommended to use this function
1877// because it has no param check, nor strict type check
1878func (r *DescribeSnapshotsDeniedActionsResponse) FromJsonString(s string) error {
1879	return json.Unmarshal([]byte(s), &r)
1880}
1881
1882type DescribeSnapshotsRequest struct {
1883	*tchttp.BaseRequest
1884
1885	// 要查询快照的 ID 列表。
1886	// 参数不支持同时指定 SnapshotIds 和 Filters。
1887	SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"`
1888
1889	// 过滤器列表。
1890	// <li>snapshot-id</li>按照【快照 ID】进行过滤。
1891	// 类型:String
1892	// 必选:否
1893	// <li>disk-id</li>按照【磁盘 ID】进行过滤。
1894	// 类型:String
1895	// 必选:否
1896	// <li>snapshot-name</li>按照【快照名称】进行过滤。
1897	// 类型:String
1898	// 必选:否
1899	// <li>instance-id</li>按照【实例 ID 】进行过滤。
1900	// 类型:String
1901	// 必选:否
1902	// 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。
1903	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
1904
1905	// 偏移量,默认为 0。
1906	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1907
1908	// 返回数量,默认为 20,最大值为 100。
1909	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1910}
1911
1912func (r *DescribeSnapshotsRequest) ToJsonString() string {
1913    b, _ := json.Marshal(r)
1914    return string(b)
1915}
1916
1917// FromJsonString It is highly **NOT** recommended to use this function
1918// because it has no param check, nor strict type check
1919func (r *DescribeSnapshotsRequest) FromJsonString(s string) error {
1920	f := make(map[string]interface{})
1921	if err := json.Unmarshal([]byte(s), &f); err != nil {
1922		return err
1923	}
1924	delete(f, "SnapshotIds")
1925	delete(f, "Filters")
1926	delete(f, "Offset")
1927	delete(f, "Limit")
1928	if len(f) > 0 {
1929		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSnapshotsRequest has unknown keys!", "")
1930	}
1931	return json.Unmarshal([]byte(s), &r)
1932}
1933
1934type DescribeSnapshotsResponse struct {
1935	*tchttp.BaseResponse
1936	Response *struct {
1937
1938		// 快照的数量。
1939		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1940
1941		// 快照的详情列表。
1942		SnapshotSet []*Snapshot `json:"SnapshotSet,omitempty" name:"SnapshotSet"`
1943
1944		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1945		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1946	} `json:"Response"`
1947}
1948
1949func (r *DescribeSnapshotsResponse) ToJsonString() string {
1950    b, _ := json.Marshal(r)
1951    return string(b)
1952}
1953
1954// FromJsonString It is highly **NOT** recommended to use this function
1955// because it has no param check, nor strict type check
1956func (r *DescribeSnapshotsResponse) FromJsonString(s string) error {
1957	return json.Unmarshal([]byte(s), &r)
1958}
1959
1960type DescribeZonesRequest struct {
1961	*tchttp.BaseRequest
1962}
1963
1964func (r *DescribeZonesRequest) ToJsonString() string {
1965    b, _ := json.Marshal(r)
1966    return string(b)
1967}
1968
1969// FromJsonString It is highly **NOT** recommended to use this function
1970// because it has no param check, nor strict type check
1971func (r *DescribeZonesRequest) FromJsonString(s string) error {
1972	f := make(map[string]interface{})
1973	if err := json.Unmarshal([]byte(s), &f); err != nil {
1974		return err
1975	}
1976	if len(f) > 0 {
1977		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeZonesRequest has unknown keys!", "")
1978	}
1979	return json.Unmarshal([]byte(s), &r)
1980}
1981
1982type DescribeZonesResponse struct {
1983	*tchttp.BaseResponse
1984	Response *struct {
1985
1986		// 可用区数量
1987		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1988
1989		// 可用区详细信息列表
1990		ZoneInfoSet []*ZoneInfo `json:"ZoneInfoSet,omitempty" name:"ZoneInfoSet"`
1991
1992		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1993		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1994	} `json:"Response"`
1995}
1996
1997func (r *DescribeZonesResponse) ToJsonString() string {
1998    b, _ := json.Marshal(r)
1999    return string(b)
2000}
2001
2002// FromJsonString It is highly **NOT** recommended to use this function
2003// because it has no param check, nor strict type check
2004func (r *DescribeZonesResponse) FromJsonString(s string) error {
2005	return json.Unmarshal([]byte(s), &r)
2006}
2007
2008type DetachCcnRequest struct {
2009	*tchttp.BaseRequest
2010
2011	// 云联网实例ID。
2012	CcnId *string `json:"CcnId,omitempty" name:"CcnId"`
2013}
2014
2015func (r *DetachCcnRequest) ToJsonString() string {
2016    b, _ := json.Marshal(r)
2017    return string(b)
2018}
2019
2020// FromJsonString It is highly **NOT** recommended to use this function
2021// because it has no param check, nor strict type check
2022func (r *DetachCcnRequest) FromJsonString(s string) error {
2023	f := make(map[string]interface{})
2024	if err := json.Unmarshal([]byte(s), &f); err != nil {
2025		return err
2026	}
2027	delete(f, "CcnId")
2028	if len(f) > 0 {
2029		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DetachCcnRequest has unknown keys!", "")
2030	}
2031	return json.Unmarshal([]byte(s), &r)
2032}
2033
2034type DetachCcnResponse struct {
2035	*tchttp.BaseResponse
2036	Response *struct {
2037
2038		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2039		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2040	} `json:"Response"`
2041}
2042
2043func (r *DetachCcnResponse) ToJsonString() string {
2044    b, _ := json.Marshal(r)
2045    return string(b)
2046}
2047
2048// FromJsonString It is highly **NOT** recommended to use this function
2049// because it has no param check, nor strict type check
2050func (r *DetachCcnResponse) FromJsonString(s string) error {
2051	return json.Unmarshal([]byte(s), &r)
2052}
2053
2054type DisassociateInstancesKeyPairsRequest struct {
2055	*tchttp.BaseRequest
2056
2057	// 密钥对 ID 列表。每次请求批量密钥对的上限为 100。
2058	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`
2059
2060	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
2061	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
2062}
2063
2064func (r *DisassociateInstancesKeyPairsRequest) ToJsonString() string {
2065    b, _ := json.Marshal(r)
2066    return string(b)
2067}
2068
2069// FromJsonString It is highly **NOT** recommended to use this function
2070// because it has no param check, nor strict type check
2071func (r *DisassociateInstancesKeyPairsRequest) FromJsonString(s string) error {
2072	f := make(map[string]interface{})
2073	if err := json.Unmarshal([]byte(s), &f); err != nil {
2074		return err
2075	}
2076	delete(f, "KeyIds")
2077	delete(f, "InstanceIds")
2078	if len(f) > 0 {
2079		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DisassociateInstancesKeyPairsRequest has unknown keys!", "")
2080	}
2081	return json.Unmarshal([]byte(s), &r)
2082}
2083
2084type DisassociateInstancesKeyPairsResponse struct {
2085	*tchttp.BaseResponse
2086	Response *struct {
2087
2088		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2089		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2090	} `json:"Response"`
2091}
2092
2093func (r *DisassociateInstancesKeyPairsResponse) ToJsonString() string {
2094    b, _ := json.Marshal(r)
2095    return string(b)
2096}
2097
2098// FromJsonString It is highly **NOT** recommended to use this function
2099// because it has no param check, nor strict type check
2100func (r *DisassociateInstancesKeyPairsResponse) FromJsonString(s string) error {
2101	return json.Unmarshal([]byte(s), &r)
2102}
2103
2104type DiscountDetail struct {
2105
2106	// 计费时长。
2107	TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"`
2108
2109	// 计费单元。
2110	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`
2111
2112	// 总价。
2113	TotalCost *float64 `json:"TotalCost,omitempty" name:"TotalCost"`
2114
2115	// 折后总价。
2116	RealTotalCost *float64 `json:"RealTotalCost,omitempty" name:"RealTotalCost"`
2117
2118	// 折扣。
2119	Discount *int64 `json:"Discount,omitempty" name:"Discount"`
2120
2121	// 具体折扣详情。
2122	PolicyDetail *PolicyDetail `json:"PolicyDetail,omitempty" name:"PolicyDetail"`
2123}
2124
2125type Filter struct {
2126
2127	// 需要过滤的字段。
2128	Name *string `json:"Name,omitempty" name:"Name"`
2129
2130	// 字段的过滤值。
2131	Values []*string `json:"Values,omitempty" name:"Values"`
2132}
2133
2134type FirewallRule struct {
2135
2136	// 协议,取值:TCP,UDP,ICMP,ALL。
2137	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
2138
2139	// 端口,取值:ALL,单独的端口,逗号分隔的离散端口,减号分隔的端口范围。
2140	Port *string `json:"Port,omitempty" name:"Port"`
2141
2142	// 网段或 IP (互斥)。默认为 0.0.0.0/0,表示所有来源。
2143	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`
2144
2145	// 取值:ACCEPT,DROP。默认为 ACCEPT。
2146	Action *string `json:"Action,omitempty" name:"Action"`
2147
2148	// 防火墙规则描述。
2149	FirewallRuleDescription *string `json:"FirewallRuleDescription,omitempty" name:"FirewallRuleDescription"`
2150}
2151
2152type FirewallRuleInfo struct {
2153
2154	// 应用类型,取值:自定义,HTTP(80),HTTPS(443),Linux登录(22),Windows登录(3389),MySQL(3306),SQL Server(1433),全部TCP,全部UDP,Ping-ICMP,ALL。
2155	AppType *string `json:"AppType,omitempty" name:"AppType"`
2156
2157	// 协议,取值:TCP,UDP,ICMP,ALL。
2158	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
2159
2160	// 端口,取值:ALL,单独的端口,逗号分隔的离散端口,减号分隔的端口范围。
2161	Port *string `json:"Port,omitempty" name:"Port"`
2162
2163	// 网段或 IP (互斥)。默认为 0.0.0.0/0,表示所有来源。
2164	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`
2165
2166	// 取值:ACCEPT,DROP。默认为 ACCEPT。
2167	Action *string `json:"Action,omitempty" name:"Action"`
2168
2169	// 防火墙规则描述。
2170	FirewallRuleDescription *string `json:"FirewallRuleDescription,omitempty" name:"FirewallRuleDescription"`
2171}
2172
2173type GeneralResourceQuota struct {
2174
2175	// 资源名称。
2176	ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"`
2177
2178	// 资源当前可用数量。
2179	ResourceQuotaAvailable *int64 `json:"ResourceQuotaAvailable,omitempty" name:"ResourceQuotaAvailable"`
2180
2181	// 资源总数量。
2182	ResourceQuotaTotal *int64 `json:"ResourceQuotaTotal,omitempty" name:"ResourceQuotaTotal"`
2183}
2184
2185type ImportKeyPairRequest struct {
2186	*tchttp.BaseRequest
2187
2188	// 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。
2189	KeyName *string `json:"KeyName,omitempty" name:"KeyName"`
2190
2191	// 密钥对的公钥内容, OpenSSH RSA 格式。
2192	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`
2193}
2194
2195func (r *ImportKeyPairRequest) ToJsonString() string {
2196    b, _ := json.Marshal(r)
2197    return string(b)
2198}
2199
2200// FromJsonString It is highly **NOT** recommended to use this function
2201// because it has no param check, nor strict type check
2202func (r *ImportKeyPairRequest) FromJsonString(s string) error {
2203	f := make(map[string]interface{})
2204	if err := json.Unmarshal([]byte(s), &f); err != nil {
2205		return err
2206	}
2207	delete(f, "KeyName")
2208	delete(f, "PublicKey")
2209	if len(f) > 0 {
2210		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ImportKeyPairRequest has unknown keys!", "")
2211	}
2212	return json.Unmarshal([]byte(s), &r)
2213}
2214
2215type ImportKeyPairResponse struct {
2216	*tchttp.BaseResponse
2217	Response *struct {
2218
2219		// 密钥对 ID。
2220		KeyId *string `json:"KeyId,omitempty" name:"KeyId"`
2221
2222		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2223		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2224	} `json:"Response"`
2225}
2226
2227func (r *ImportKeyPairResponse) ToJsonString() string {
2228    b, _ := json.Marshal(r)
2229    return string(b)
2230}
2231
2232// FromJsonString It is highly **NOT** recommended to use this function
2233// because it has no param check, nor strict type check
2234func (r *ImportKeyPairResponse) FromJsonString(s string) error {
2235	return json.Unmarshal([]byte(s), &r)
2236}
2237
2238type InquirePriceCreateBlueprintRequest struct {
2239	*tchttp.BaseRequest
2240
2241	// 自定义镜像的个数。默认值为1。
2242	BlueprintCount *int64 `json:"BlueprintCount,omitempty" name:"BlueprintCount"`
2243}
2244
2245func (r *InquirePriceCreateBlueprintRequest) ToJsonString() string {
2246    b, _ := json.Marshal(r)
2247    return string(b)
2248}
2249
2250// FromJsonString It is highly **NOT** recommended to use this function
2251// because it has no param check, nor strict type check
2252func (r *InquirePriceCreateBlueprintRequest) FromJsonString(s string) error {
2253	f := make(map[string]interface{})
2254	if err := json.Unmarshal([]byte(s), &f); err != nil {
2255		return err
2256	}
2257	delete(f, "BlueprintCount")
2258	if len(f) > 0 {
2259		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "InquirePriceCreateBlueprintRequest has unknown keys!", "")
2260	}
2261	return json.Unmarshal([]byte(s), &r)
2262}
2263
2264type InquirePriceCreateBlueprintResponse struct {
2265	*tchttp.BaseResponse
2266	Response *struct {
2267
2268		// 自定义镜像的价格参数。
2269		BlueprintPrice *BlueprintPrice `json:"BlueprintPrice,omitempty" name:"BlueprintPrice"`
2270
2271		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2272		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2273	} `json:"Response"`
2274}
2275
2276func (r *InquirePriceCreateBlueprintResponse) ToJsonString() string {
2277    b, _ := json.Marshal(r)
2278    return string(b)
2279}
2280
2281// FromJsonString It is highly **NOT** recommended to use this function
2282// because it has no param check, nor strict type check
2283func (r *InquirePriceCreateBlueprintResponse) FromJsonString(s string) error {
2284	return json.Unmarshal([]byte(s), &r)
2285}
2286
2287type InquirePriceCreateInstancesRequest struct {
2288	*tchttp.BaseRequest
2289
2290	// 实例的套餐 ID。
2291	BundleId *string `json:"BundleId,omitempty" name:"BundleId"`
2292
2293	// 创建数量,默认为 1。
2294	InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"`
2295
2296	// 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
2297	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitempty" name:"InstanceChargePrepaid"`
2298
2299	// 应用镜像 ID,使用收费应用镜像时必填。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
2300	BlueprintId *string `json:"BlueprintId,omitempty" name:"BlueprintId"`
2301}
2302
2303func (r *InquirePriceCreateInstancesRequest) ToJsonString() string {
2304    b, _ := json.Marshal(r)
2305    return string(b)
2306}
2307
2308// FromJsonString It is highly **NOT** recommended to use this function
2309// because it has no param check, nor strict type check
2310func (r *InquirePriceCreateInstancesRequest) FromJsonString(s string) error {
2311	f := make(map[string]interface{})
2312	if err := json.Unmarshal([]byte(s), &f); err != nil {
2313		return err
2314	}
2315	delete(f, "BundleId")
2316	delete(f, "InstanceCount")
2317	delete(f, "InstanceChargePrepaid")
2318	delete(f, "BlueprintId")
2319	if len(f) > 0 {
2320		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "InquirePriceCreateInstancesRequest has unknown keys!", "")
2321	}
2322	return json.Unmarshal([]byte(s), &r)
2323}
2324
2325type InquirePriceCreateInstancesResponse struct {
2326	*tchttp.BaseResponse
2327	Response *struct {
2328
2329		// 询价信息。
2330		Price *Price `json:"Price,omitempty" name:"Price"`
2331
2332		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2333		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2334	} `json:"Response"`
2335}
2336
2337func (r *InquirePriceCreateInstancesResponse) ToJsonString() string {
2338    b, _ := json.Marshal(r)
2339    return string(b)
2340}
2341
2342// FromJsonString It is highly **NOT** recommended to use this function
2343// because it has no param check, nor strict type check
2344func (r *InquirePriceCreateInstancesResponse) FromJsonString(s string) error {
2345	return json.Unmarshal([]byte(s), &r)
2346}
2347
2348type InquirePriceRenewInstancesRequest struct {
2349	*tchttp.BaseRequest
2350
2351	// 待续费的实例。
2352	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
2353
2354	// 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
2355	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitempty" name:"InstanceChargePrepaid"`
2356}
2357
2358func (r *InquirePriceRenewInstancesRequest) ToJsonString() string {
2359    b, _ := json.Marshal(r)
2360    return string(b)
2361}
2362
2363// FromJsonString It is highly **NOT** recommended to use this function
2364// because it has no param check, nor strict type check
2365func (r *InquirePriceRenewInstancesRequest) FromJsonString(s string) error {
2366	f := make(map[string]interface{})
2367	if err := json.Unmarshal([]byte(s), &f); err != nil {
2368		return err
2369	}
2370	delete(f, "InstanceIds")
2371	delete(f, "InstanceChargePrepaid")
2372	if len(f) > 0 {
2373		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "InquirePriceRenewInstancesRequest has unknown keys!", "")
2374	}
2375	return json.Unmarshal([]byte(s), &r)
2376}
2377
2378type InquirePriceRenewInstancesResponse struct {
2379	*tchttp.BaseResponse
2380	Response *struct {
2381
2382		// 询价信息。
2383		Price *Price `json:"Price,omitempty" name:"Price"`
2384
2385		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2386		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2387	} `json:"Response"`
2388}
2389
2390func (r *InquirePriceRenewInstancesResponse) ToJsonString() string {
2391    b, _ := json.Marshal(r)
2392    return string(b)
2393}
2394
2395// FromJsonString It is highly **NOT** recommended to use this function
2396// because it has no param check, nor strict type check
2397func (r *InquirePriceRenewInstancesResponse) FromJsonString(s string) error {
2398	return json.Unmarshal([]byte(s), &r)
2399}
2400
2401type Instance struct {
2402
2403	// 实例 ID。
2404	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
2405
2406	// 套餐 ID。
2407	BundleId *string `json:"BundleId,omitempty" name:"BundleId"`
2408
2409	// 镜像 ID。
2410	BlueprintId *string `json:"BlueprintId,omitempty" name:"BlueprintId"`
2411
2412	// 实例的 CPU 核数,单位:核。
2413	CPU *int64 `json:"CPU,omitempty" name:"CPU"`
2414
2415	// 实例内存容量,单位:GB 。
2416	Memory *int64 `json:"Memory,omitempty" name:"Memory"`
2417
2418	// 实例名称。
2419	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`
2420
2421	// 实例计费模式。取值范围:
2422	// PREPAID:表示预付费,即包年包月。
2423	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`
2424
2425	// 实例系统盘信息。
2426	SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"`
2427
2428	// 实例主网卡的内网 IP。
2429	// 注意:此字段可能返回 空,表示取不到有效值。
2430	PrivateAddresses []*string `json:"PrivateAddresses,omitempty" name:"PrivateAddresses"`
2431
2432	// 实例主网卡的公网 IP。
2433	// 注意:此字段可能返回 空,表示取不到有效值。
2434	PublicAddresses []*string `json:"PublicAddresses,omitempty" name:"PublicAddresses"`
2435
2436	// 实例带宽信息。
2437	InternetAccessible *InternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"`
2438
2439	// 自动续费标识。取值范围:
2440	// NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费
2441	// NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 。
2442	RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"`
2443
2444	// 实例登录设置。
2445	LoginSettings *LoginSettings `json:"LoginSettings,omitempty" name:"LoginSettings"`
2446
2447	// 实例状态。取值范围:
2448	// <li>PENDING:表示创建中</li><li>LAUNCH_FAILED:表示创建失败</li><li>RUNNING:表示运行中</li><li>STOPPED:表示关机</li><li>STARTING:表示开机中</li><li>STOPPING:表示关机中</li><li>REBOOTING:表示重启中</li><li>SHUTDOWN:表示停止待销毁</li><li>TERMINATING:表示销毁中</li>
2449	InstanceState *string `json:"InstanceState,omitempty" name:"InstanceState"`
2450
2451	// 实例全局唯一 ID。
2452	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
2453
2454	// 实例的最新操作。例:StopInstances、ResetInstance。注意:此字段可能返回 空值,表示取不到有效值。
2455	LatestOperation *string `json:"LatestOperation,omitempty" name:"LatestOperation"`
2456
2457	// 实例的最新操作状态。取值范围:
2458	// SUCCESS:表示操作成功
2459	// OPERATING:表示操作执行中
2460	// FAILED:表示操作失败
2461	// 注意:此字段可能返回 空值,表示取不到有效值。
2462	LatestOperationState *string `json:"LatestOperationState,omitempty" name:"LatestOperationState"`
2463
2464	// 实例最新操作的唯一请求 ID。
2465	// 注意:此字段可能返回 空值,表示取不到有效值。
2466	LatestOperationRequestId *string `json:"LatestOperationRequestId,omitempty" name:"LatestOperationRequestId"`
2467
2468	// 隔离时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
2469	// 格式为: YYYY-MM-DDThh:mm:ssZ。
2470	// 注意:此字段可能返回 null,表示取不到有效值。
2471	IsolatedTime *string `json:"IsolatedTime,omitempty" name:"IsolatedTime"`
2472
2473	// 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
2474	// 格式为: YYYY-MM-DDThh:mm:ssZ。
2475	// 注意:此字段可能返回 null,表示取不到有效值。
2476	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
2477
2478	// 到期时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
2479	// 格式为: YYYY-MM-DDThh:mm:ssZ 。
2480	// 注意:此字段可能返回 null,表示取不到有效值。
2481	ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"`
2482
2483	// 操作系统平台类型,如 LINUX_UNIX、WINDOWS。
2484	PlatformType *string `json:"PlatformType,omitempty" name:"PlatformType"`
2485
2486	// 操作系统平台。
2487	Platform *string `json:"Platform,omitempty" name:"Platform"`
2488
2489	// 操作系统名称。
2490	OsName *string `json:"OsName,omitempty" name:"OsName"`
2491
2492	// 可用区。
2493	Zone *string `json:"Zone,omitempty" name:"Zone"`
2494}
2495
2496type InstanceChargePrepaid struct {
2497
2498	// 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
2499	Period *int64 `json:"Period,omitempty" name:"Period"`
2500
2501	// 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费<br><li>DISABLE_NOTIFY_AND_AUTO_RENEW:不自动续费,且不通知<br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
2502	RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"`
2503}
2504
2505type InstanceDeniedActions struct {
2506
2507	// 实例 ID。
2508	// 注意:此字段可能返回 null,表示取不到有效值。
2509	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
2510
2511	// 操作限制列表。
2512	DeniedActions []*DeniedAction `json:"DeniedActions,omitempty" name:"DeniedActions"`
2513}
2514
2515type InstancePrice struct {
2516
2517	// 套餐单价原价。
2518	OriginalBundlePrice *float64 `json:"OriginalBundlePrice,omitempty" name:"OriginalBundlePrice"`
2519
2520	// 原价。
2521	OriginalPrice *float64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`
2522
2523	// 折扣。
2524	Discount *int64 `json:"Discount,omitempty" name:"Discount"`
2525
2526	// 折后价。
2527	DiscountPrice *float64 `json:"DiscountPrice,omitempty" name:"DiscountPrice"`
2528}
2529
2530type InstanceReturnable struct {
2531
2532	// 实例 ID。
2533	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
2534
2535	// 实例是否可退还。
2536	IsReturnable *bool `json:"IsReturnable,omitempty" name:"IsReturnable"`
2537
2538	// 实例退还失败错误码。
2539	ReturnFailCode *int64 `json:"ReturnFailCode,omitempty" name:"ReturnFailCode"`
2540
2541	// 实例退还失败错误信息。
2542	ReturnFailMessage *string `json:"ReturnFailMessage,omitempty" name:"ReturnFailMessage"`
2543}
2544
2545type InstanceTrafficPackage struct {
2546
2547	// 实例ID。
2548	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
2549
2550	// 流量包详情列表。
2551	TrafficPackageSet []*TrafficPackage `json:"TrafficPackageSet,omitempty" name:"TrafficPackageSet"`
2552}
2553
2554type InternetAccessible struct {
2555
2556	// 网络计费类型,取值范围:
2557	// <li>按流量包付费:TRAFFIC_POSTPAID_BY_HOUR</li>
2558	// <li>按带宽付费: BANDWIDTH_POSTPAID_BY_HOUR</li>
2559	InternetChargeType *string `json:"InternetChargeType,omitempty" name:"InternetChargeType"`
2560
2561	// 公网出带宽上限,单位:Mbps。
2562	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`
2563
2564	// 是否分配公网 IP。
2565	PublicIpAssigned *bool `json:"PublicIpAssigned,omitempty" name:"PublicIpAssigned"`
2566}
2567
2568type KeyPair struct {
2569
2570	// 密钥对 ID ,是密钥对的唯一标识。
2571	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`
2572
2573	// 密钥对名称。
2574	KeyName *string `json:"KeyName,omitempty" name:"KeyName"`
2575
2576	// 密钥对的纯文本公钥。
2577	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`
2578
2579	// 密钥对关联的实例 ID 列表。
2580	// 注意:此字段可能返回 null,表示取不到有效值。
2581	AssociatedInstanceIds []*string `json:"AssociatedInstanceIds,omitempty" name:"AssociatedInstanceIds"`
2582
2583	// 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ
2584	// 注意:此字段可能返回 null,表示取不到有效值。
2585	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
2586
2587	// 密钥对私钥。
2588	// 注意:此字段可能返回 null,表示取不到有效值。
2589	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
2590}
2591
2592type LoginSettings struct {
2593
2594	// 密钥 ID 列表。关联密钥后,就可以通过对应的私钥来访问实例。注意:此字段可能返回 [],表示取不到有效值。
2595	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`
2596}
2597
2598type ModifyBlueprintAttributeRequest struct {
2599	*tchttp.BaseRequest
2600
2601	// 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
2602	BlueprintId *string `json:"BlueprintId,omitempty" name:"BlueprintId"`
2603
2604	// 设置新的镜像名称。最大长度60。
2605	BlueprintName *string `json:"BlueprintName,omitempty" name:"BlueprintName"`
2606
2607	// 设置新的镜像描述。最大长度60。
2608	Description *string `json:"Description,omitempty" name:"Description"`
2609}
2610
2611func (r *ModifyBlueprintAttributeRequest) ToJsonString() string {
2612    b, _ := json.Marshal(r)
2613    return string(b)
2614}
2615
2616// FromJsonString It is highly **NOT** recommended to use this function
2617// because it has no param check, nor strict type check
2618func (r *ModifyBlueprintAttributeRequest) FromJsonString(s string) error {
2619	f := make(map[string]interface{})
2620	if err := json.Unmarshal([]byte(s), &f); err != nil {
2621		return err
2622	}
2623	delete(f, "BlueprintId")
2624	delete(f, "BlueprintName")
2625	delete(f, "Description")
2626	if len(f) > 0 {
2627		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBlueprintAttributeRequest has unknown keys!", "")
2628	}
2629	return json.Unmarshal([]byte(s), &r)
2630}
2631
2632type ModifyBlueprintAttributeResponse struct {
2633	*tchttp.BaseResponse
2634	Response *struct {
2635
2636		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2637		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2638	} `json:"Response"`
2639}
2640
2641func (r *ModifyBlueprintAttributeResponse) ToJsonString() string {
2642    b, _ := json.Marshal(r)
2643    return string(b)
2644}
2645
2646// FromJsonString It is highly **NOT** recommended to use this function
2647// because it has no param check, nor strict type check
2648func (r *ModifyBlueprintAttributeResponse) FromJsonString(s string) error {
2649	return json.Unmarshal([]byte(s), &r)
2650}
2651
2652type ModifyBundle struct {
2653
2654	// 更改实例套餐后需要补的差价。
2655	ModifyPrice *Price `json:"ModifyPrice,omitempty" name:"ModifyPrice"`
2656
2657	// 变更套餐状态。取值:
2658	// <li>SOLD_OUT:套餐售罄</li>
2659	// <li>AVAILABLE:支持套餐变更</li>
2660	// <li>UNAVAILABLE:暂不支持套餐变更</li>
2661	ModifyBundleState *string `json:"ModifyBundleState,omitempty" name:"ModifyBundleState"`
2662
2663	// 套餐信息。
2664	Bundle *Bundle `json:"Bundle,omitempty" name:"Bundle"`
2665}
2666
2667type ModifyFirewallRuleDescriptionRequest struct {
2668	*tchttp.BaseRequest
2669
2670	// 实例 ID。
2671	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
2672
2673	// 防火墙规则。
2674	FirewallRule *FirewallRule `json:"FirewallRule,omitempty" name:"FirewallRule"`
2675
2676	// 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。
2677	FirewallVersion *uint64 `json:"FirewallVersion,omitempty" name:"FirewallVersion"`
2678}
2679
2680func (r *ModifyFirewallRuleDescriptionRequest) ToJsonString() string {
2681    b, _ := json.Marshal(r)
2682    return string(b)
2683}
2684
2685// FromJsonString It is highly **NOT** recommended to use this function
2686// because it has no param check, nor strict type check
2687func (r *ModifyFirewallRuleDescriptionRequest) FromJsonString(s string) error {
2688	f := make(map[string]interface{})
2689	if err := json.Unmarshal([]byte(s), &f); err != nil {
2690		return err
2691	}
2692	delete(f, "InstanceId")
2693	delete(f, "FirewallRule")
2694	delete(f, "FirewallVersion")
2695	if len(f) > 0 {
2696		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyFirewallRuleDescriptionRequest has unknown keys!", "")
2697	}
2698	return json.Unmarshal([]byte(s), &r)
2699}
2700
2701type ModifyFirewallRuleDescriptionResponse struct {
2702	*tchttp.BaseResponse
2703	Response *struct {
2704
2705		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2706		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2707	} `json:"Response"`
2708}
2709
2710func (r *ModifyFirewallRuleDescriptionResponse) ToJsonString() string {
2711    b, _ := json.Marshal(r)
2712    return string(b)
2713}
2714
2715// FromJsonString It is highly **NOT** recommended to use this function
2716// because it has no param check, nor strict type check
2717func (r *ModifyFirewallRuleDescriptionResponse) FromJsonString(s string) error {
2718	return json.Unmarshal([]byte(s), &r)
2719}
2720
2721type ModifyFirewallRulesRequest struct {
2722	*tchttp.BaseRequest
2723
2724	// 实例 ID。
2725	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
2726
2727	// 防火墙规则列表。
2728	FirewallRules []*FirewallRule `json:"FirewallRules,omitempty" name:"FirewallRules"`
2729
2730	// 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。
2731	FirewallVersion *uint64 `json:"FirewallVersion,omitempty" name:"FirewallVersion"`
2732}
2733
2734func (r *ModifyFirewallRulesRequest) ToJsonString() string {
2735    b, _ := json.Marshal(r)
2736    return string(b)
2737}
2738
2739// FromJsonString It is highly **NOT** recommended to use this function
2740// because it has no param check, nor strict type check
2741func (r *ModifyFirewallRulesRequest) FromJsonString(s string) error {
2742	f := make(map[string]interface{})
2743	if err := json.Unmarshal([]byte(s), &f); err != nil {
2744		return err
2745	}
2746	delete(f, "InstanceId")
2747	delete(f, "FirewallRules")
2748	delete(f, "FirewallVersion")
2749	if len(f) > 0 {
2750		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyFirewallRulesRequest has unknown keys!", "")
2751	}
2752	return json.Unmarshal([]byte(s), &r)
2753}
2754
2755type ModifyFirewallRulesResponse struct {
2756	*tchttp.BaseResponse
2757	Response *struct {
2758
2759		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2760		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2761	} `json:"Response"`
2762}
2763
2764func (r *ModifyFirewallRulesResponse) ToJsonString() string {
2765    b, _ := json.Marshal(r)
2766    return string(b)
2767}
2768
2769// FromJsonString It is highly **NOT** recommended to use this function
2770// because it has no param check, nor strict type check
2771func (r *ModifyFirewallRulesResponse) FromJsonString(s string) error {
2772	return json.Unmarshal([]byte(s), &r)
2773}
2774
2775type ModifyInstancesAttributeRequest struct {
2776	*tchttp.BaseRequest
2777
2778	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
2779	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
2780
2781	// 实例名称。可任意命名,但不得超过 60 个字符。
2782	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`
2783}
2784
2785func (r *ModifyInstancesAttributeRequest) ToJsonString() string {
2786    b, _ := json.Marshal(r)
2787    return string(b)
2788}
2789
2790// FromJsonString It is highly **NOT** recommended to use this function
2791// because it has no param check, nor strict type check
2792func (r *ModifyInstancesAttributeRequest) FromJsonString(s string) error {
2793	f := make(map[string]interface{})
2794	if err := json.Unmarshal([]byte(s), &f); err != nil {
2795		return err
2796	}
2797	delete(f, "InstanceIds")
2798	delete(f, "InstanceName")
2799	if len(f) > 0 {
2800		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyInstancesAttributeRequest has unknown keys!", "")
2801	}
2802	return json.Unmarshal([]byte(s), &r)
2803}
2804
2805type ModifyInstancesAttributeResponse struct {
2806	*tchttp.BaseResponse
2807	Response *struct {
2808
2809		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2810		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2811	} `json:"Response"`
2812}
2813
2814func (r *ModifyInstancesAttributeResponse) ToJsonString() string {
2815    b, _ := json.Marshal(r)
2816    return string(b)
2817}
2818
2819// FromJsonString It is highly **NOT** recommended to use this function
2820// because it has no param check, nor strict type check
2821func (r *ModifyInstancesAttributeResponse) FromJsonString(s string) error {
2822	return json.Unmarshal([]byte(s), &r)
2823}
2824
2825type ModifyInstancesLoginKeyPairAttributeRequest struct {
2826	*tchttp.BaseRequest
2827
2828	// 实例 ID 列表。每次请求批量实例的上限为 100。
2829	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
2830
2831	// 是否允许使用默认密钥对登录,YES:允许登录;NO:禁止登录
2832	PermitLogin *string `json:"PermitLogin,omitempty" name:"PermitLogin"`
2833}
2834
2835func (r *ModifyInstancesLoginKeyPairAttributeRequest) ToJsonString() string {
2836    b, _ := json.Marshal(r)
2837    return string(b)
2838}
2839
2840// FromJsonString It is highly **NOT** recommended to use this function
2841// because it has no param check, nor strict type check
2842func (r *ModifyInstancesLoginKeyPairAttributeRequest) FromJsonString(s string) error {
2843	f := make(map[string]interface{})
2844	if err := json.Unmarshal([]byte(s), &f); err != nil {
2845		return err
2846	}
2847	delete(f, "InstanceIds")
2848	delete(f, "PermitLogin")
2849	if len(f) > 0 {
2850		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyInstancesLoginKeyPairAttributeRequest has unknown keys!", "")
2851	}
2852	return json.Unmarshal([]byte(s), &r)
2853}
2854
2855type ModifyInstancesLoginKeyPairAttributeResponse struct {
2856	*tchttp.BaseResponse
2857	Response *struct {
2858
2859		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2860		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2861	} `json:"Response"`
2862}
2863
2864func (r *ModifyInstancesLoginKeyPairAttributeResponse) ToJsonString() string {
2865    b, _ := json.Marshal(r)
2866    return string(b)
2867}
2868
2869// FromJsonString It is highly **NOT** recommended to use this function
2870// because it has no param check, nor strict type check
2871func (r *ModifyInstancesLoginKeyPairAttributeResponse) FromJsonString(s string) error {
2872	return json.Unmarshal([]byte(s), &r)
2873}
2874
2875type ModifyInstancesRenewFlagRequest struct {
2876	*tchttp.BaseRequest
2877
2878	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
2879	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
2880
2881	// 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费<br><br>若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
2882	RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"`
2883}
2884
2885func (r *ModifyInstancesRenewFlagRequest) ToJsonString() string {
2886    b, _ := json.Marshal(r)
2887    return string(b)
2888}
2889
2890// FromJsonString It is highly **NOT** recommended to use this function
2891// because it has no param check, nor strict type check
2892func (r *ModifyInstancesRenewFlagRequest) FromJsonString(s string) error {
2893	f := make(map[string]interface{})
2894	if err := json.Unmarshal([]byte(s), &f); err != nil {
2895		return err
2896	}
2897	delete(f, "InstanceIds")
2898	delete(f, "RenewFlag")
2899	if len(f) > 0 {
2900		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyInstancesRenewFlagRequest has unknown keys!", "")
2901	}
2902	return json.Unmarshal([]byte(s), &r)
2903}
2904
2905type ModifyInstancesRenewFlagResponse struct {
2906	*tchttp.BaseResponse
2907	Response *struct {
2908
2909		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2910		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2911	} `json:"Response"`
2912}
2913
2914func (r *ModifyInstancesRenewFlagResponse) ToJsonString() string {
2915    b, _ := json.Marshal(r)
2916    return string(b)
2917}
2918
2919// FromJsonString It is highly **NOT** recommended to use this function
2920// because it has no param check, nor strict type check
2921func (r *ModifyInstancesRenewFlagResponse) FromJsonString(s string) error {
2922	return json.Unmarshal([]byte(s), &r)
2923}
2924
2925type ModifySnapshotAttributeRequest struct {
2926	*tchttp.BaseRequest
2927
2928	// 快照 ID, 可通过 DescribeSnapshots 查询。
2929	SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"`
2930
2931	// 新的快照名称,最长为 60 个字符。
2932	SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"`
2933}
2934
2935func (r *ModifySnapshotAttributeRequest) ToJsonString() string {
2936    b, _ := json.Marshal(r)
2937    return string(b)
2938}
2939
2940// FromJsonString It is highly **NOT** recommended to use this function
2941// because it has no param check, nor strict type check
2942func (r *ModifySnapshotAttributeRequest) FromJsonString(s string) error {
2943	f := make(map[string]interface{})
2944	if err := json.Unmarshal([]byte(s), &f); err != nil {
2945		return err
2946	}
2947	delete(f, "SnapshotId")
2948	delete(f, "SnapshotName")
2949	if len(f) > 0 {
2950		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifySnapshotAttributeRequest has unknown keys!", "")
2951	}
2952	return json.Unmarshal([]byte(s), &r)
2953}
2954
2955type ModifySnapshotAttributeResponse struct {
2956	*tchttp.BaseResponse
2957	Response *struct {
2958
2959		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2960		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2961	} `json:"Response"`
2962}
2963
2964func (r *ModifySnapshotAttributeResponse) ToJsonString() string {
2965    b, _ := json.Marshal(r)
2966    return string(b)
2967}
2968
2969// FromJsonString It is highly **NOT** recommended to use this function
2970// because it has no param check, nor strict type check
2971func (r *ModifySnapshotAttributeResponse) FromJsonString(s string) error {
2972	return json.Unmarshal([]byte(s), &r)
2973}
2974
2975type PolicyDetail struct {
2976
2977	// 用户折扣。
2978	UserDiscount *int64 `json:"UserDiscount,omitempty" name:"UserDiscount"`
2979
2980	// 公共折扣。
2981	CommonDiscount *int64 `json:"CommonDiscount,omitempty" name:"CommonDiscount"`
2982
2983	// 最终折扣。
2984	FinalDiscount *int64 `json:"FinalDiscount,omitempty" name:"FinalDiscount"`
2985}
2986
2987type Price struct {
2988
2989	// 实例价格。
2990	InstancePrice *InstancePrice `json:"InstancePrice,omitempty" name:"InstancePrice"`
2991}
2992
2993type RebootInstancesRequest struct {
2994	*tchttp.BaseRequest
2995
2996	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
2997	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
2998}
2999
3000func (r *RebootInstancesRequest) ToJsonString() string {
3001    b, _ := json.Marshal(r)
3002    return string(b)
3003}
3004
3005// FromJsonString It is highly **NOT** recommended to use this function
3006// because it has no param check, nor strict type check
3007func (r *RebootInstancesRequest) FromJsonString(s string) error {
3008	f := make(map[string]interface{})
3009	if err := json.Unmarshal([]byte(s), &f); err != nil {
3010		return err
3011	}
3012	delete(f, "InstanceIds")
3013	if len(f) > 0 {
3014		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RebootInstancesRequest has unknown keys!", "")
3015	}
3016	return json.Unmarshal([]byte(s), &r)
3017}
3018
3019type RebootInstancesResponse struct {
3020	*tchttp.BaseResponse
3021	Response *struct {
3022
3023		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3024		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3025	} `json:"Response"`
3026}
3027
3028func (r *RebootInstancesResponse) ToJsonString() string {
3029    b, _ := json.Marshal(r)
3030    return string(b)
3031}
3032
3033// FromJsonString It is highly **NOT** recommended to use this function
3034// because it has no param check, nor strict type check
3035func (r *RebootInstancesResponse) FromJsonString(s string) error {
3036	return json.Unmarshal([]byte(s), &r)
3037}
3038
3039type RegionInfo struct {
3040
3041	// 地域名称,例如,ap-guangzhou。
3042	Region *string `json:"Region,omitempty" name:"Region"`
3043
3044	// 地域描述,例如,华南地区(广州)。
3045	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`
3046
3047	// 地域是否可用状态,取值仅为AVAILABLE。
3048	RegionState *string `json:"RegionState,omitempty" name:"RegionState"`
3049
3050	// 是否中国大陆地域
3051	IsChinaMainland *bool `json:"IsChinaMainland,omitempty" name:"IsChinaMainland"`
3052}
3053
3054type ResetAttachCcnRequest struct {
3055	*tchttp.BaseRequest
3056
3057	// 云联网实例ID。
3058	CcnId *string `json:"CcnId,omitempty" name:"CcnId"`
3059}
3060
3061func (r *ResetAttachCcnRequest) ToJsonString() string {
3062    b, _ := json.Marshal(r)
3063    return string(b)
3064}
3065
3066// FromJsonString It is highly **NOT** recommended to use this function
3067// because it has no param check, nor strict type check
3068func (r *ResetAttachCcnRequest) FromJsonString(s string) error {
3069	f := make(map[string]interface{})
3070	if err := json.Unmarshal([]byte(s), &f); err != nil {
3071		return err
3072	}
3073	delete(f, "CcnId")
3074	if len(f) > 0 {
3075		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResetAttachCcnRequest has unknown keys!", "")
3076	}
3077	return json.Unmarshal([]byte(s), &r)
3078}
3079
3080type ResetAttachCcnResponse struct {
3081	*tchttp.BaseResponse
3082	Response *struct {
3083
3084		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3085		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3086	} `json:"Response"`
3087}
3088
3089func (r *ResetAttachCcnResponse) ToJsonString() string {
3090    b, _ := json.Marshal(r)
3091    return string(b)
3092}
3093
3094// FromJsonString It is highly **NOT** recommended to use this function
3095// because it has no param check, nor strict type check
3096func (r *ResetAttachCcnResponse) FromJsonString(s string) error {
3097	return json.Unmarshal([]byte(s), &r)
3098}
3099
3100type ResetInstanceBlueprint struct {
3101
3102	// 镜像详细信息
3103	BlueprintInfo *Blueprint `json:"BlueprintInfo,omitempty" name:"BlueprintInfo"`
3104
3105	// 实例镜像是否可重置为目标镜像
3106	IsResettable *bool `json:"IsResettable,omitempty" name:"IsResettable"`
3107
3108	// 不可重置信息.当镜像可重置时为""
3109	NonResettableMessage *string `json:"NonResettableMessage,omitempty" name:"NonResettableMessage"`
3110}
3111
3112type ResetInstanceRequest struct {
3113	*tchttp.BaseRequest
3114
3115	// 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
3116	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
3117
3118	// 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
3119	BlueprintId *string `json:"BlueprintId,omitempty" name:"BlueprintId"`
3120}
3121
3122func (r *ResetInstanceRequest) ToJsonString() string {
3123    b, _ := json.Marshal(r)
3124    return string(b)
3125}
3126
3127// FromJsonString It is highly **NOT** recommended to use this function
3128// because it has no param check, nor strict type check
3129func (r *ResetInstanceRequest) FromJsonString(s string) error {
3130	f := make(map[string]interface{})
3131	if err := json.Unmarshal([]byte(s), &f); err != nil {
3132		return err
3133	}
3134	delete(f, "InstanceId")
3135	delete(f, "BlueprintId")
3136	if len(f) > 0 {
3137		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResetInstanceRequest has unknown keys!", "")
3138	}
3139	return json.Unmarshal([]byte(s), &r)
3140}
3141
3142type ResetInstanceResponse struct {
3143	*tchttp.BaseResponse
3144	Response *struct {
3145
3146		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3147		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3148	} `json:"Response"`
3149}
3150
3151func (r *ResetInstanceResponse) ToJsonString() string {
3152    b, _ := json.Marshal(r)
3153    return string(b)
3154}
3155
3156// FromJsonString It is highly **NOT** recommended to use this function
3157// because it has no param check, nor strict type check
3158func (r *ResetInstanceResponse) FromJsonString(s string) error {
3159	return json.Unmarshal([]byte(s), &r)
3160}
3161
3162type ResetInstancesPasswordRequest struct {
3163	*tchttp.BaseRequest
3164
3165	// 实例 ID 列表。每次请求批量实例的上限为 100。
3166	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
3167
3168	// 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
3169	// `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字:0-9<br><li>特殊字符: ()\`~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
3170	// `WINDOWS` 实例密码必须 12-30 位,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字: 0-9<br><li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/<br><li>如果实例即包含 `LINUX_UNIX` 实例又包含 `WINDOWS` 实例,则密码复杂度限制按照 `WINDOWS` 实例的限制。
3171	Password *string `json:"Password,omitempty" name:"Password"`
3172
3173	// 待重置密码的实例操作系统用户名。不得超过 64 个字符。
3174	UserName *string `json:"UserName,omitempty" name:"UserName"`
3175}
3176
3177func (r *ResetInstancesPasswordRequest) ToJsonString() string {
3178    b, _ := json.Marshal(r)
3179    return string(b)
3180}
3181
3182// FromJsonString It is highly **NOT** recommended to use this function
3183// because it has no param check, nor strict type check
3184func (r *ResetInstancesPasswordRequest) FromJsonString(s string) error {
3185	f := make(map[string]interface{})
3186	if err := json.Unmarshal([]byte(s), &f); err != nil {
3187		return err
3188	}
3189	delete(f, "InstanceIds")
3190	delete(f, "Password")
3191	delete(f, "UserName")
3192	if len(f) > 0 {
3193		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResetInstancesPasswordRequest has unknown keys!", "")
3194	}
3195	return json.Unmarshal([]byte(s), &r)
3196}
3197
3198type ResetInstancesPasswordResponse struct {
3199	*tchttp.BaseResponse
3200	Response *struct {
3201
3202		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3203		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3204	} `json:"Response"`
3205}
3206
3207func (r *ResetInstancesPasswordResponse) ToJsonString() string {
3208    b, _ := json.Marshal(r)
3209    return string(b)
3210}
3211
3212// FromJsonString It is highly **NOT** recommended to use this function
3213// because it has no param check, nor strict type check
3214func (r *ResetInstancesPasswordResponse) FromJsonString(s string) error {
3215	return json.Unmarshal([]byte(s), &r)
3216}
3217
3218type Snapshot struct {
3219
3220	// 快照 ID。
3221	SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"`
3222
3223	// 创建此快照的磁盘类型。取值:<li>SYSTEM_DISK:系统盘</li>
3224	DiskUsage *string `json:"DiskUsage,omitempty" name:"DiskUsage"`
3225
3226	// 创建此快照的磁盘 ID。
3227	DiskId *string `json:"DiskId,omitempty" name:"DiskId"`
3228
3229	// 创建此快照的磁盘大小,单位 GB。
3230	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`
3231
3232	// 快照名称,用户自定义的快照别名。
3233	SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"`
3234
3235	// 快照的状态。取值范围:
3236	// <li>NORMAL:正常 </li>
3237	// <li>CREATING:创建中</li>
3238	// <li>ROLLBACKING:回滚中。</li>
3239	SnapshotState *string `json:"SnapshotState,omitempty" name:"SnapshotState"`
3240
3241	// 创建或回滚快照进度百分比,成功后此字段取值为 100。
3242	Percent *int64 `json:"Percent,omitempty" name:"Percent"`
3243
3244	// 快照的最新操作,只有创建、回滚快照时记录。
3245	// 取值如 CreateInstanceSnapshot,RollbackInstanceSnapshot。
3246	// 注意:此字段可能返回 null,表示取不到有效值。
3247	LatestOperation *string `json:"LatestOperation,omitempty" name:"LatestOperation"`
3248
3249	// 快照的最新操作状态,只有创建、回滚快照时记录。
3250	// 取值范围:
3251	// <li>SUCCESS:表示操作成功</li>
3252	// <li>OPERATING:表示操作执行中</li>
3253	// <li>FAILED:表示操作失败</li>
3254	// 注意:此字段可能返回 null,表示取不到有效值。
3255	LatestOperationState *string `json:"LatestOperationState,omitempty" name:"LatestOperationState"`
3256
3257	// 快照最新操作的唯一请求 ID,只有创建、回滚快照时记录。
3258	// 注意:此字段可能返回 null,表示取不到有效值。
3259	LatestOperationRequestId *string `json:"LatestOperationRequestId,omitempty" name:"LatestOperationRequestId"`
3260
3261	// 快照的创建时间。
3262	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
3263}
3264
3265type SnapshotDeniedActions struct {
3266
3267	// 快照 ID。
3268	SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"`
3269
3270	// 操作限制列表。
3271	DeniedActions []*DeniedAction `json:"DeniedActions,omitempty" name:"DeniedActions"`
3272}
3273
3274type Software struct {
3275
3276	// 软件名称。
3277	Name *string `json:"Name,omitempty" name:"Name"`
3278
3279	// 软件版本。
3280	Version *string `json:"Version,omitempty" name:"Version"`
3281
3282	// 软件图片 URL。
3283	ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
3284
3285	// 软件安装目录。
3286	InstallDir *string `json:"InstallDir,omitempty" name:"InstallDir"`
3287
3288	// 软件详情列表。
3289	DetailSet []*SoftwareDetail `json:"DetailSet,omitempty" name:"DetailSet"`
3290}
3291
3292type SoftwareDetail struct {
3293
3294	// 详情唯一键。
3295	Key *string `json:"Key,omitempty" name:"Key"`
3296
3297	// 详情标题。
3298	Title *string `json:"Title,omitempty" name:"Title"`
3299
3300	// 详情值。
3301	Value *string `json:"Value,omitempty" name:"Value"`
3302}
3303
3304type StartInstancesRequest struct {
3305	*tchttp.BaseRequest
3306
3307	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
3308	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
3309}
3310
3311func (r *StartInstancesRequest) ToJsonString() string {
3312    b, _ := json.Marshal(r)
3313    return string(b)
3314}
3315
3316// FromJsonString It is highly **NOT** recommended to use this function
3317// because it has no param check, nor strict type check
3318func (r *StartInstancesRequest) FromJsonString(s string) error {
3319	f := make(map[string]interface{})
3320	if err := json.Unmarshal([]byte(s), &f); err != nil {
3321		return err
3322	}
3323	delete(f, "InstanceIds")
3324	if len(f) > 0 {
3325		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StartInstancesRequest has unknown keys!", "")
3326	}
3327	return json.Unmarshal([]byte(s), &r)
3328}
3329
3330type StartInstancesResponse struct {
3331	*tchttp.BaseResponse
3332	Response *struct {
3333
3334		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3335		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3336	} `json:"Response"`
3337}
3338
3339func (r *StartInstancesResponse) ToJsonString() string {
3340    b, _ := json.Marshal(r)
3341    return string(b)
3342}
3343
3344// FromJsonString It is highly **NOT** recommended to use this function
3345// because it has no param check, nor strict type check
3346func (r *StartInstancesResponse) FromJsonString(s string) error {
3347	return json.Unmarshal([]byte(s), &r)
3348}
3349
3350type StopInstancesRequest struct {
3351	*tchttp.BaseRequest
3352
3353	// 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
3354	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
3355}
3356
3357func (r *StopInstancesRequest) ToJsonString() string {
3358    b, _ := json.Marshal(r)
3359    return string(b)
3360}
3361
3362// FromJsonString It is highly **NOT** recommended to use this function
3363// because it has no param check, nor strict type check
3364func (r *StopInstancesRequest) FromJsonString(s string) error {
3365	f := make(map[string]interface{})
3366	if err := json.Unmarshal([]byte(s), &f); err != nil {
3367		return err
3368	}
3369	delete(f, "InstanceIds")
3370	if len(f) > 0 {
3371		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopInstancesRequest has unknown keys!", "")
3372	}
3373	return json.Unmarshal([]byte(s), &r)
3374}
3375
3376type StopInstancesResponse struct {
3377	*tchttp.BaseResponse
3378	Response *struct {
3379
3380		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3381		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3382	} `json:"Response"`
3383}
3384
3385func (r *StopInstancesResponse) ToJsonString() string {
3386    b, _ := json.Marshal(r)
3387    return string(b)
3388}
3389
3390// FromJsonString It is highly **NOT** recommended to use this function
3391// because it has no param check, nor strict type check
3392func (r *StopInstancesResponse) FromJsonString(s string) error {
3393	return json.Unmarshal([]byte(s), &r)
3394}
3395
3396type SystemDisk struct {
3397
3398	// 系统盘类型。
3399	// 取值范围:
3400	// <li> LOCAL_BASIC:本地硬盘</li><li> LOCAL_SSD:本地 SSD 硬盘</li><li> CLOUD_BASIC:普通云硬盘</li><li> CLOUD_SSD:SSD 云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li>
3401	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`
3402
3403	// 系统盘大小,单位:GB。
3404	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`
3405
3406	// 系统盘ID。
3407	// 注意:此字段可能返回 null,表示取不到有效值。
3408	DiskId *string `json:"DiskId,omitempty" name:"DiskId"`
3409}
3410
3411type TerminateInstancesRequest struct {
3412	*tchttp.BaseRequest
3413
3414	// 实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
3415	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
3416}
3417
3418func (r *TerminateInstancesRequest) ToJsonString() string {
3419    b, _ := json.Marshal(r)
3420    return string(b)
3421}
3422
3423// FromJsonString It is highly **NOT** recommended to use this function
3424// because it has no param check, nor strict type check
3425func (r *TerminateInstancesRequest) FromJsonString(s string) error {
3426	f := make(map[string]interface{})
3427	if err := json.Unmarshal([]byte(s), &f); err != nil {
3428		return err
3429	}
3430	delete(f, "InstanceIds")
3431	if len(f) > 0 {
3432		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "TerminateInstancesRequest has unknown keys!", "")
3433	}
3434	return json.Unmarshal([]byte(s), &r)
3435}
3436
3437type TerminateInstancesResponse struct {
3438	*tchttp.BaseResponse
3439	Response *struct {
3440
3441		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3442		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3443	} `json:"Response"`
3444}
3445
3446func (r *TerminateInstancesResponse) ToJsonString() string {
3447    b, _ := json.Marshal(r)
3448    return string(b)
3449}
3450
3451// FromJsonString It is highly **NOT** recommended to use this function
3452// because it has no param check, nor strict type check
3453func (r *TerminateInstancesResponse) FromJsonString(s string) error {
3454	return json.Unmarshal([]byte(s), &r)
3455}
3456
3457type TrafficPackage struct {
3458
3459	// 流量包ID。
3460	TrafficPackageId *string `json:"TrafficPackageId,omitempty" name:"TrafficPackageId"`
3461
3462	// 流量包生效周期内已使用流量,单位字节。
3463	TrafficUsed *int64 `json:"TrafficUsed,omitempty" name:"TrafficUsed"`
3464
3465	// 流量包生效周期内的总流量,单位字节。
3466	TrafficPackageTotal *int64 `json:"TrafficPackageTotal,omitempty" name:"TrafficPackageTotal"`
3467
3468	// 流量包生效周期内的剩余流量,单位字节。
3469	TrafficPackageRemaining *int64 `json:"TrafficPackageRemaining,omitempty" name:"TrafficPackageRemaining"`
3470
3471	// 流量包生效周期内超出流量包额度的流量,单位字节。
3472	TrafficOverflow *int64 `json:"TrafficOverflow,omitempty" name:"TrafficOverflow"`
3473
3474	// 流量包生效周期开始时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3475	// 格式为: YYYY-MM-DDThh:mm:ssZ。
3476	// 注意:此字段可能返回 null,表示取不到有效值。
3477	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
3478
3479	// 流量包生效周期结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3480	// 格式为: YYYY-MM-DDThh:mm:ssZ。
3481	// 注意:此字段可能返回 null,表示取不到有效值。
3482	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
3483
3484	// 流量包到期时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3485	// 格式为: YYYY-MM-DDThh:mm:ssZ。
3486	// 注意:此字段可能返回 null,表示取不到有效值。
3487	Deadline *string `json:"Deadline,omitempty" name:"Deadline"`
3488
3489	// 流量包状态:
3490	// <li>NETWORK_NORMAL:正常</li>
3491	// <li>OVERDUE_NETWORK_DISABLED:欠费断网</li>
3492	Status *string `json:"Status,omitempty" name:"Status"`
3493}
3494
3495type ZoneInfo struct {
3496
3497	// 可用区
3498	Zone *string `json:"Zone,omitempty" name:"Zone"`
3499
3500	// 可用区中文名称
3501	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
3502
3503	// 实例购买页可用区展示标签
3504	InstanceDisplayLabel *string `json:"InstanceDisplayLabel,omitempty" name:"InstanceDisplayLabel"`
3505}
3506