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 v20190718
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 AccessGroup struct {
24
25	// 权限组ID
26	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
27
28	// 权限组名称
29	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`
30
31	// 权限组描述
32	Description *string `json:"Description,omitempty" name:"Description"`
33
34	// 创建时间
35	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
36}
37
38type AccessRule struct {
39
40	// 权限规则ID
41	AccessRuleId *uint64 `json:"AccessRuleId,omitempty" name:"AccessRuleId"`
42
43	// 权限规则地址(网段或IP)
44	Address *string `json:"Address,omitempty" name:"Address"`
45
46	// 权限规则访问模式(1:只读;2:读写)
47	AccessMode *uint64 `json:"AccessMode,omitempty" name:"AccessMode"`
48
49	// 优先级(取值范围1~100,值越小优先级越高)
50	Priority *uint64 `json:"Priority,omitempty" name:"Priority"`
51
52	// 创建时间
53	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
54}
55
56type CreateAccessGroupRequest struct {
57	*tchttp.BaseRequest
58
59	// 权限组名称
60	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`
61
62	// 权限组描述
63	Description *string `json:"Description,omitempty" name:"Description"`
64}
65
66func (r *CreateAccessGroupRequest) ToJsonString() string {
67    b, _ := json.Marshal(r)
68    return string(b)
69}
70
71// FromJsonString It is highly **NOT** recommended to use this function
72// because it has no param check, nor strict type check
73func (r *CreateAccessGroupRequest) FromJsonString(s string) error {
74	f := make(map[string]interface{})
75	if err := json.Unmarshal([]byte(s), &f); err != nil {
76		return err
77	}
78	delete(f, "AccessGroupName")
79	delete(f, "Description")
80	if len(f) > 0 {
81		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateAccessGroupRequest has unknown keys!", "")
82	}
83	return json.Unmarshal([]byte(s), &r)
84}
85
86type CreateAccessGroupResponse struct {
87	*tchttp.BaseResponse
88	Response *struct {
89
90		// 权限组
91		AccessGroup *AccessGroup `json:"AccessGroup,omitempty" name:"AccessGroup"`
92
93		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
94		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
95	} `json:"Response"`
96}
97
98func (r *CreateAccessGroupResponse) ToJsonString() string {
99    b, _ := json.Marshal(r)
100    return string(b)
101}
102
103// FromJsonString It is highly **NOT** recommended to use this function
104// because it has no param check, nor strict type check
105func (r *CreateAccessGroupResponse) FromJsonString(s string) error {
106	return json.Unmarshal([]byte(s), &r)
107}
108
109type CreateAccessRulesRequest struct {
110	*tchttp.BaseRequest
111
112	// 多个权限规则,上限为10
113	AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules"`
114
115	// 权限组ID
116	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
117}
118
119func (r *CreateAccessRulesRequest) ToJsonString() string {
120    b, _ := json.Marshal(r)
121    return string(b)
122}
123
124// FromJsonString It is highly **NOT** recommended to use this function
125// because it has no param check, nor strict type check
126func (r *CreateAccessRulesRequest) FromJsonString(s string) error {
127	f := make(map[string]interface{})
128	if err := json.Unmarshal([]byte(s), &f); err != nil {
129		return err
130	}
131	delete(f, "AccessRules")
132	delete(f, "AccessGroupId")
133	if len(f) > 0 {
134		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateAccessRulesRequest has unknown keys!", "")
135	}
136	return json.Unmarshal([]byte(s), &r)
137}
138
139type CreateAccessRulesResponse struct {
140	*tchttp.BaseResponse
141	Response *struct {
142
143		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
144		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
145	} `json:"Response"`
146}
147
148func (r *CreateAccessRulesResponse) ToJsonString() string {
149    b, _ := json.Marshal(r)
150    return string(b)
151}
152
153// FromJsonString It is highly **NOT** recommended to use this function
154// because it has no param check, nor strict type check
155func (r *CreateAccessRulesResponse) FromJsonString(s string) error {
156	return json.Unmarshal([]byte(s), &r)
157}
158
159type CreateFileSystemRequest struct {
160	*tchttp.BaseRequest
161
162	// 文件系统名称
163	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`
164
165	// 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍
166	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`
167
168	// 文件系统描述
169	Description *string `json:"Description,omitempty" name:"Description"`
170}
171
172func (r *CreateFileSystemRequest) ToJsonString() string {
173    b, _ := json.Marshal(r)
174    return string(b)
175}
176
177// FromJsonString It is highly **NOT** recommended to use this function
178// because it has no param check, nor strict type check
179func (r *CreateFileSystemRequest) FromJsonString(s string) error {
180	f := make(map[string]interface{})
181	if err := json.Unmarshal([]byte(s), &f); err != nil {
182		return err
183	}
184	delete(f, "FileSystemName")
185	delete(f, "CapacityQuota")
186	delete(f, "Description")
187	if len(f) > 0 {
188		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateFileSystemRequest has unknown keys!", "")
189	}
190	return json.Unmarshal([]byte(s), &r)
191}
192
193type CreateFileSystemResponse struct {
194	*tchttp.BaseResponse
195	Response *struct {
196
197		// 文件系统
198		FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"`
199
200		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
201		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
202	} `json:"Response"`
203}
204
205func (r *CreateFileSystemResponse) ToJsonString() string {
206    b, _ := json.Marshal(r)
207    return string(b)
208}
209
210// FromJsonString It is highly **NOT** recommended to use this function
211// because it has no param check, nor strict type check
212func (r *CreateFileSystemResponse) FromJsonString(s string) error {
213	return json.Unmarshal([]byte(s), &r)
214}
215
216type CreateLifeCycleRulesRequest struct {
217	*tchttp.BaseRequest
218
219	// 文件系统ID
220	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
221
222	// 多个生命周期规则,上限为10
223	LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules"`
224}
225
226func (r *CreateLifeCycleRulesRequest) ToJsonString() string {
227    b, _ := json.Marshal(r)
228    return string(b)
229}
230
231// FromJsonString It is highly **NOT** recommended to use this function
232// because it has no param check, nor strict type check
233func (r *CreateLifeCycleRulesRequest) FromJsonString(s string) error {
234	f := make(map[string]interface{})
235	if err := json.Unmarshal([]byte(s), &f); err != nil {
236		return err
237	}
238	delete(f, "FileSystemId")
239	delete(f, "LifeCycleRules")
240	if len(f) > 0 {
241		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLifeCycleRulesRequest has unknown keys!", "")
242	}
243	return json.Unmarshal([]byte(s), &r)
244}
245
246type CreateLifeCycleRulesResponse struct {
247	*tchttp.BaseResponse
248	Response *struct {
249
250		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
251		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
252	} `json:"Response"`
253}
254
255func (r *CreateLifeCycleRulesResponse) ToJsonString() string {
256    b, _ := json.Marshal(r)
257    return string(b)
258}
259
260// FromJsonString It is highly **NOT** recommended to use this function
261// because it has no param check, nor strict type check
262func (r *CreateLifeCycleRulesResponse) FromJsonString(s string) error {
263	return json.Unmarshal([]byte(s), &r)
264}
265
266type CreateMountPointRequest struct {
267	*tchttp.BaseRequest
268
269	// 挂载点名称
270	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`
271
272	// 文件系统ID
273	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
274
275	// 权限组ID
276	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
277
278	// VPC网络ID
279	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
280
281	// 挂载点状态(1:打开;2:关闭)
282	MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"`
283
284	// VPC网络类型(1:CVM;2:黑石1.0;3:黑石2.0)
285	VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`
286}
287
288func (r *CreateMountPointRequest) ToJsonString() string {
289    b, _ := json.Marshal(r)
290    return string(b)
291}
292
293// FromJsonString It is highly **NOT** recommended to use this function
294// because it has no param check, nor strict type check
295func (r *CreateMountPointRequest) FromJsonString(s string) error {
296	f := make(map[string]interface{})
297	if err := json.Unmarshal([]byte(s), &f); err != nil {
298		return err
299	}
300	delete(f, "MountPointName")
301	delete(f, "FileSystemId")
302	delete(f, "AccessGroupId")
303	delete(f, "VpcId")
304	delete(f, "MountPointStatus")
305	delete(f, "VpcType")
306	if len(f) > 0 {
307		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateMountPointRequest has unknown keys!", "")
308	}
309	return json.Unmarshal([]byte(s), &r)
310}
311
312type CreateMountPointResponse struct {
313	*tchttp.BaseResponse
314	Response *struct {
315
316		// 挂载点
317		MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"`
318
319		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
320		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
321	} `json:"Response"`
322}
323
324func (r *CreateMountPointResponse) ToJsonString() string {
325    b, _ := json.Marshal(r)
326    return string(b)
327}
328
329// FromJsonString It is highly **NOT** recommended to use this function
330// because it has no param check, nor strict type check
331func (r *CreateMountPointResponse) FromJsonString(s string) error {
332	return json.Unmarshal([]byte(s), &r)
333}
334
335type CreateRestoreTasksRequest struct {
336	*tchttp.BaseRequest
337
338	// 文件系统ID
339	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
340
341	// 多个回热任务,上限为10
342	RestoreTasks []*RestoreTask `json:"RestoreTasks,omitempty" name:"RestoreTasks"`
343}
344
345func (r *CreateRestoreTasksRequest) 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 *CreateRestoreTasksRequest) 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, "FileSystemId")
358	delete(f, "RestoreTasks")
359	if len(f) > 0 {
360		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRestoreTasksRequest has unknown keys!", "")
361	}
362	return json.Unmarshal([]byte(s), &r)
363}
364
365type CreateRestoreTasksResponse struct {
366	*tchttp.BaseResponse
367	Response *struct {
368
369		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
370		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
371	} `json:"Response"`
372}
373
374func (r *CreateRestoreTasksResponse) ToJsonString() string {
375    b, _ := json.Marshal(r)
376    return string(b)
377}
378
379// FromJsonString It is highly **NOT** recommended to use this function
380// because it has no param check, nor strict type check
381func (r *CreateRestoreTasksResponse) FromJsonString(s string) error {
382	return json.Unmarshal([]byte(s), &r)
383}
384
385type DeleteAccessGroupRequest struct {
386	*tchttp.BaseRequest
387
388	// 权限组ID
389	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
390}
391
392func (r *DeleteAccessGroupRequest) ToJsonString() string {
393    b, _ := json.Marshal(r)
394    return string(b)
395}
396
397// FromJsonString It is highly **NOT** recommended to use this function
398// because it has no param check, nor strict type check
399func (r *DeleteAccessGroupRequest) FromJsonString(s string) error {
400	f := make(map[string]interface{})
401	if err := json.Unmarshal([]byte(s), &f); err != nil {
402		return err
403	}
404	delete(f, "AccessGroupId")
405	if len(f) > 0 {
406		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteAccessGroupRequest has unknown keys!", "")
407	}
408	return json.Unmarshal([]byte(s), &r)
409}
410
411type DeleteAccessGroupResponse struct {
412	*tchttp.BaseResponse
413	Response *struct {
414
415		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
416		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
417	} `json:"Response"`
418}
419
420func (r *DeleteAccessGroupResponse) ToJsonString() string {
421    b, _ := json.Marshal(r)
422    return string(b)
423}
424
425// FromJsonString It is highly **NOT** recommended to use this function
426// because it has no param check, nor strict type check
427func (r *DeleteAccessGroupResponse) FromJsonString(s string) error {
428	return json.Unmarshal([]byte(s), &r)
429}
430
431type DeleteAccessRulesRequest struct {
432	*tchttp.BaseRequest
433
434	// 多个权限规则ID,上限为10
435	AccessRuleIds []*uint64 `json:"AccessRuleIds,omitempty" name:"AccessRuleIds"`
436}
437
438func (r *DeleteAccessRulesRequest) ToJsonString() string {
439    b, _ := json.Marshal(r)
440    return string(b)
441}
442
443// FromJsonString It is highly **NOT** recommended to use this function
444// because it has no param check, nor strict type check
445func (r *DeleteAccessRulesRequest) FromJsonString(s string) error {
446	f := make(map[string]interface{})
447	if err := json.Unmarshal([]byte(s), &f); err != nil {
448		return err
449	}
450	delete(f, "AccessRuleIds")
451	if len(f) > 0 {
452		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteAccessRulesRequest has unknown keys!", "")
453	}
454	return json.Unmarshal([]byte(s), &r)
455}
456
457type DeleteAccessRulesResponse struct {
458	*tchttp.BaseResponse
459	Response *struct {
460
461		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
462		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
463	} `json:"Response"`
464}
465
466func (r *DeleteAccessRulesResponse) ToJsonString() string {
467    b, _ := json.Marshal(r)
468    return string(b)
469}
470
471// FromJsonString It is highly **NOT** recommended to use this function
472// because it has no param check, nor strict type check
473func (r *DeleteAccessRulesResponse) FromJsonString(s string) error {
474	return json.Unmarshal([]byte(s), &r)
475}
476
477type DeleteFileSystemRequest struct {
478	*tchttp.BaseRequest
479
480	// 文件系统ID
481	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
482}
483
484func (r *DeleteFileSystemRequest) ToJsonString() string {
485    b, _ := json.Marshal(r)
486    return string(b)
487}
488
489// FromJsonString It is highly **NOT** recommended to use this function
490// because it has no param check, nor strict type check
491func (r *DeleteFileSystemRequest) FromJsonString(s string) error {
492	f := make(map[string]interface{})
493	if err := json.Unmarshal([]byte(s), &f); err != nil {
494		return err
495	}
496	delete(f, "FileSystemId")
497	if len(f) > 0 {
498		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteFileSystemRequest has unknown keys!", "")
499	}
500	return json.Unmarshal([]byte(s), &r)
501}
502
503type DeleteFileSystemResponse struct {
504	*tchttp.BaseResponse
505	Response *struct {
506
507		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
508		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
509	} `json:"Response"`
510}
511
512func (r *DeleteFileSystemResponse) ToJsonString() string {
513    b, _ := json.Marshal(r)
514    return string(b)
515}
516
517// FromJsonString It is highly **NOT** recommended to use this function
518// because it has no param check, nor strict type check
519func (r *DeleteFileSystemResponse) FromJsonString(s string) error {
520	return json.Unmarshal([]byte(s), &r)
521}
522
523type DeleteLifeCycleRulesRequest struct {
524	*tchttp.BaseRequest
525
526	// 多个生命周期规则ID,上限为10
527	LifeCycleRuleIds []*uint64 `json:"LifeCycleRuleIds,omitempty" name:"LifeCycleRuleIds"`
528}
529
530func (r *DeleteLifeCycleRulesRequest) ToJsonString() string {
531    b, _ := json.Marshal(r)
532    return string(b)
533}
534
535// FromJsonString It is highly **NOT** recommended to use this function
536// because it has no param check, nor strict type check
537func (r *DeleteLifeCycleRulesRequest) FromJsonString(s string) error {
538	f := make(map[string]interface{})
539	if err := json.Unmarshal([]byte(s), &f); err != nil {
540		return err
541	}
542	delete(f, "LifeCycleRuleIds")
543	if len(f) > 0 {
544		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLifeCycleRulesRequest has unknown keys!", "")
545	}
546	return json.Unmarshal([]byte(s), &r)
547}
548
549type DeleteLifeCycleRulesResponse struct {
550	*tchttp.BaseResponse
551	Response *struct {
552
553		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
554		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
555	} `json:"Response"`
556}
557
558func (r *DeleteLifeCycleRulesResponse) ToJsonString() string {
559    b, _ := json.Marshal(r)
560    return string(b)
561}
562
563// FromJsonString It is highly **NOT** recommended to use this function
564// because it has no param check, nor strict type check
565func (r *DeleteLifeCycleRulesResponse) FromJsonString(s string) error {
566	return json.Unmarshal([]byte(s), &r)
567}
568
569type DeleteMountPointRequest struct {
570	*tchttp.BaseRequest
571
572	// 挂载点ID
573	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
574}
575
576func (r *DeleteMountPointRequest) ToJsonString() string {
577    b, _ := json.Marshal(r)
578    return string(b)
579}
580
581// FromJsonString It is highly **NOT** recommended to use this function
582// because it has no param check, nor strict type check
583func (r *DeleteMountPointRequest) FromJsonString(s string) error {
584	f := make(map[string]interface{})
585	if err := json.Unmarshal([]byte(s), &f); err != nil {
586		return err
587	}
588	delete(f, "MountPointId")
589	if len(f) > 0 {
590		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteMountPointRequest has unknown keys!", "")
591	}
592	return json.Unmarshal([]byte(s), &r)
593}
594
595type DeleteMountPointResponse struct {
596	*tchttp.BaseResponse
597	Response *struct {
598
599		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
600		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
601	} `json:"Response"`
602}
603
604func (r *DeleteMountPointResponse) 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 *DeleteMountPointResponse) FromJsonString(s string) error {
612	return json.Unmarshal([]byte(s), &r)
613}
614
615type DescribeAccessGroupsRequest struct {
616	*tchttp.BaseRequest
617
618	// 过滤条件,Name可选“AccessGroupId“和“AccessGroupName”,Values上限为10
619	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
620
621	// 偏移量,默认为0
622	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
623
624	// 返回数量,默认为所有
625	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
626}
627
628func (r *DescribeAccessGroupsRequest) ToJsonString() string {
629    b, _ := json.Marshal(r)
630    return string(b)
631}
632
633// FromJsonString It is highly **NOT** recommended to use this function
634// because it has no param check, nor strict type check
635func (r *DescribeAccessGroupsRequest) FromJsonString(s string) error {
636	f := make(map[string]interface{})
637	if err := json.Unmarshal([]byte(s), &f); err != nil {
638		return err
639	}
640	delete(f, "Filters")
641	delete(f, "Offset")
642	delete(f, "Limit")
643	if len(f) > 0 {
644		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAccessGroupsRequest has unknown keys!", "")
645	}
646	return json.Unmarshal([]byte(s), &r)
647}
648
649type DescribeAccessGroupsResponse struct {
650	*tchttp.BaseResponse
651	Response *struct {
652
653		// 权限组列表
654		AccessGroups []*AccessGroup `json:"AccessGroups,omitempty" name:"AccessGroups"`
655
656		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
657		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
658	} `json:"Response"`
659}
660
661func (r *DescribeAccessGroupsResponse) ToJsonString() string {
662    b, _ := json.Marshal(r)
663    return string(b)
664}
665
666// FromJsonString It is highly **NOT** recommended to use this function
667// because it has no param check, nor strict type check
668func (r *DescribeAccessGroupsResponse) FromJsonString(s string) error {
669	return json.Unmarshal([]byte(s), &r)
670}
671
672type DescribeAccessRulesRequest struct {
673	*tchttp.BaseRequest
674
675	// 权限组ID
676	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
677
678	// 偏移量,默认为0
679	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
680
681	// 返回数量,默认为所有
682	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
683}
684
685func (r *DescribeAccessRulesRequest) ToJsonString() string {
686    b, _ := json.Marshal(r)
687    return string(b)
688}
689
690// FromJsonString It is highly **NOT** recommended to use this function
691// because it has no param check, nor strict type check
692func (r *DescribeAccessRulesRequest) FromJsonString(s string) error {
693	f := make(map[string]interface{})
694	if err := json.Unmarshal([]byte(s), &f); err != nil {
695		return err
696	}
697	delete(f, "AccessGroupId")
698	delete(f, "Offset")
699	delete(f, "Limit")
700	if len(f) > 0 {
701		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAccessRulesRequest has unknown keys!", "")
702	}
703	return json.Unmarshal([]byte(s), &r)
704}
705
706type DescribeAccessRulesResponse struct {
707	*tchttp.BaseResponse
708	Response *struct {
709
710		// 权限规则列表
711		AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules"`
712
713		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
714		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
715	} `json:"Response"`
716}
717
718func (r *DescribeAccessRulesResponse) ToJsonString() string {
719    b, _ := json.Marshal(r)
720    return string(b)
721}
722
723// FromJsonString It is highly **NOT** recommended to use this function
724// because it has no param check, nor strict type check
725func (r *DescribeAccessRulesResponse) FromJsonString(s string) error {
726	return json.Unmarshal([]byte(s), &r)
727}
728
729type DescribeFileSystemRequest struct {
730	*tchttp.BaseRequest
731
732	// 文件系统ID
733	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
734}
735
736func (r *DescribeFileSystemRequest) ToJsonString() string {
737    b, _ := json.Marshal(r)
738    return string(b)
739}
740
741// FromJsonString It is highly **NOT** recommended to use this function
742// because it has no param check, nor strict type check
743func (r *DescribeFileSystemRequest) FromJsonString(s string) error {
744	f := make(map[string]interface{})
745	if err := json.Unmarshal([]byte(s), &f); err != nil {
746		return err
747	}
748	delete(f, "FileSystemId")
749	if len(f) > 0 {
750		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFileSystemRequest has unknown keys!", "")
751	}
752	return json.Unmarshal([]byte(s), &r)
753}
754
755type DescribeFileSystemResponse struct {
756	*tchttp.BaseResponse
757	Response *struct {
758
759		// 文件系统
760		FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"`
761
762		// 文件系统已使用容量(已弃用)
763	// 注意:此字段可能返回 null,表示取不到有效值。
764		FileSystemCapacityUsed *uint64 `json:"FileSystemCapacityUsed,omitempty" name:"FileSystemCapacityUsed"`
765
766		// 已使用容量(byte),包括标准和归档存储
767	// 注意:此字段可能返回 null,表示取不到有效值。
768		CapacityUsed *uint64 `json:"CapacityUsed,omitempty" name:"CapacityUsed"`
769
770		// 已使用归档存储容量(byte)
771	// 注意:此字段可能返回 null,表示取不到有效值。
772		ArchiveCapacityUsed *uint64 `json:"ArchiveCapacityUsed,omitempty" name:"ArchiveCapacityUsed"`
773
774		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
775		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
776	} `json:"Response"`
777}
778
779func (r *DescribeFileSystemResponse) ToJsonString() string {
780    b, _ := json.Marshal(r)
781    return string(b)
782}
783
784// FromJsonString It is highly **NOT** recommended to use this function
785// because it has no param check, nor strict type check
786func (r *DescribeFileSystemResponse) FromJsonString(s string) error {
787	return json.Unmarshal([]byte(s), &r)
788}
789
790type DescribeFileSystemsRequest struct {
791	*tchttp.BaseRequest
792
793	// 偏移量,默认为0
794	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
795
796	// 返回数量,默认为所有
797	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
798}
799
800func (r *DescribeFileSystemsRequest) ToJsonString() string {
801    b, _ := json.Marshal(r)
802    return string(b)
803}
804
805// FromJsonString It is highly **NOT** recommended to use this function
806// because it has no param check, nor strict type check
807func (r *DescribeFileSystemsRequest) FromJsonString(s string) error {
808	f := make(map[string]interface{})
809	if err := json.Unmarshal([]byte(s), &f); err != nil {
810		return err
811	}
812	delete(f, "Offset")
813	delete(f, "Limit")
814	if len(f) > 0 {
815		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFileSystemsRequest has unknown keys!", "")
816	}
817	return json.Unmarshal([]byte(s), &r)
818}
819
820type DescribeFileSystemsResponse struct {
821	*tchttp.BaseResponse
822	Response *struct {
823
824		// 文件系统列表
825		FileSystems []*FileSystem `json:"FileSystems,omitempty" name:"FileSystems"`
826
827		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
828		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
829	} `json:"Response"`
830}
831
832func (r *DescribeFileSystemsResponse) ToJsonString() string {
833    b, _ := json.Marshal(r)
834    return string(b)
835}
836
837// FromJsonString It is highly **NOT** recommended to use this function
838// because it has no param check, nor strict type check
839func (r *DescribeFileSystemsResponse) FromJsonString(s string) error {
840	return json.Unmarshal([]byte(s), &r)
841}
842
843type DescribeLifeCycleRulesRequest struct {
844	*tchttp.BaseRequest
845
846	// 文件系统ID
847	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
848}
849
850func (r *DescribeLifeCycleRulesRequest) ToJsonString() string {
851    b, _ := json.Marshal(r)
852    return string(b)
853}
854
855// FromJsonString It is highly **NOT** recommended to use this function
856// because it has no param check, nor strict type check
857func (r *DescribeLifeCycleRulesRequest) FromJsonString(s string) error {
858	f := make(map[string]interface{})
859	if err := json.Unmarshal([]byte(s), &f); err != nil {
860		return err
861	}
862	delete(f, "FileSystemId")
863	if len(f) > 0 {
864		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLifeCycleRulesRequest has unknown keys!", "")
865	}
866	return json.Unmarshal([]byte(s), &r)
867}
868
869type DescribeLifeCycleRulesResponse struct {
870	*tchttp.BaseResponse
871	Response *struct {
872
873		// 生命周期规则列表
874		LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules"`
875
876		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
877		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
878	} `json:"Response"`
879}
880
881func (r *DescribeLifeCycleRulesResponse) ToJsonString() string {
882    b, _ := json.Marshal(r)
883    return string(b)
884}
885
886// FromJsonString It is highly **NOT** recommended to use this function
887// because it has no param check, nor strict type check
888func (r *DescribeLifeCycleRulesResponse) FromJsonString(s string) error {
889	return json.Unmarshal([]byte(s), &r)
890}
891
892type DescribeMountPointRequest struct {
893	*tchttp.BaseRequest
894
895	// 挂载点ID
896	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
897}
898
899func (r *DescribeMountPointRequest) ToJsonString() string {
900    b, _ := json.Marshal(r)
901    return string(b)
902}
903
904// FromJsonString It is highly **NOT** recommended to use this function
905// because it has no param check, nor strict type check
906func (r *DescribeMountPointRequest) FromJsonString(s string) error {
907	f := make(map[string]interface{})
908	if err := json.Unmarshal([]byte(s), &f); err != nil {
909		return err
910	}
911	delete(f, "MountPointId")
912	if len(f) > 0 {
913		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMountPointRequest has unknown keys!", "")
914	}
915	return json.Unmarshal([]byte(s), &r)
916}
917
918type DescribeMountPointResponse struct {
919	*tchttp.BaseResponse
920	Response *struct {
921
922		// 挂载点
923		MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"`
924
925		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
926		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
927	} `json:"Response"`
928}
929
930func (r *DescribeMountPointResponse) ToJsonString() string {
931    b, _ := json.Marshal(r)
932    return string(b)
933}
934
935// FromJsonString It is highly **NOT** recommended to use this function
936// because it has no param check, nor strict type check
937func (r *DescribeMountPointResponse) FromJsonString(s string) error {
938	return json.Unmarshal([]byte(s), &r)
939}
940
941type DescribeMountPointsRequest struct {
942	*tchttp.BaseRequest
943
944	// 文件系统ID
945	// 注意:若根据AccessGroupId查看挂载点列表,则无需设置FileSystemId
946	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
947
948	// 权限组ID
949	// 注意:若根据FileSystemId查看挂载点列表,则无需设置AccessGroupId
950	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
951
952	// 偏移量,默认为0
953	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
954
955	// 返回数量,默认为所有
956	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
957}
958
959func (r *DescribeMountPointsRequest) ToJsonString() string {
960    b, _ := json.Marshal(r)
961    return string(b)
962}
963
964// FromJsonString It is highly **NOT** recommended to use this function
965// because it has no param check, nor strict type check
966func (r *DescribeMountPointsRequest) FromJsonString(s string) error {
967	f := make(map[string]interface{})
968	if err := json.Unmarshal([]byte(s), &f); err != nil {
969		return err
970	}
971	delete(f, "FileSystemId")
972	delete(f, "AccessGroupId")
973	delete(f, "Offset")
974	delete(f, "Limit")
975	if len(f) > 0 {
976		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMountPointsRequest has unknown keys!", "")
977	}
978	return json.Unmarshal([]byte(s), &r)
979}
980
981type DescribeMountPointsResponse struct {
982	*tchttp.BaseResponse
983	Response *struct {
984
985		// 挂载点列表
986		MountPoints []*MountPoint `json:"MountPoints,omitempty" name:"MountPoints"`
987
988		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
989		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
990	} `json:"Response"`
991}
992
993func (r *DescribeMountPointsResponse) ToJsonString() string {
994    b, _ := json.Marshal(r)
995    return string(b)
996}
997
998// FromJsonString It is highly **NOT** recommended to use this function
999// because it has no param check, nor strict type check
1000func (r *DescribeMountPointsResponse) FromJsonString(s string) error {
1001	return json.Unmarshal([]byte(s), &r)
1002}
1003
1004type DescribeResourceTagsRequest struct {
1005	*tchttp.BaseRequest
1006
1007	// 文件系统ID
1008	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
1009}
1010
1011func (r *DescribeResourceTagsRequest) ToJsonString() string {
1012    b, _ := json.Marshal(r)
1013    return string(b)
1014}
1015
1016// FromJsonString It is highly **NOT** recommended to use this function
1017// because it has no param check, nor strict type check
1018func (r *DescribeResourceTagsRequest) FromJsonString(s string) error {
1019	f := make(map[string]interface{})
1020	if err := json.Unmarshal([]byte(s), &f); err != nil {
1021		return err
1022	}
1023	delete(f, "FileSystemId")
1024	if len(f) > 0 {
1025		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeResourceTagsRequest has unknown keys!", "")
1026	}
1027	return json.Unmarshal([]byte(s), &r)
1028}
1029
1030type DescribeResourceTagsResponse struct {
1031	*tchttp.BaseResponse
1032	Response *struct {
1033
1034		// 资源标签列表
1035		Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
1036
1037		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1038		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1039	} `json:"Response"`
1040}
1041
1042func (r *DescribeResourceTagsResponse) ToJsonString() string {
1043    b, _ := json.Marshal(r)
1044    return string(b)
1045}
1046
1047// FromJsonString It is highly **NOT** recommended to use this function
1048// because it has no param check, nor strict type check
1049func (r *DescribeResourceTagsResponse) FromJsonString(s string) error {
1050	return json.Unmarshal([]byte(s), &r)
1051}
1052
1053type DescribeRestoreTasksRequest struct {
1054	*tchttp.BaseRequest
1055
1056	// 文件系统ID
1057	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
1058}
1059
1060func (r *DescribeRestoreTasksRequest) ToJsonString() string {
1061    b, _ := json.Marshal(r)
1062    return string(b)
1063}
1064
1065// FromJsonString It is highly **NOT** recommended to use this function
1066// because it has no param check, nor strict type check
1067func (r *DescribeRestoreTasksRequest) FromJsonString(s string) error {
1068	f := make(map[string]interface{})
1069	if err := json.Unmarshal([]byte(s), &f); err != nil {
1070		return err
1071	}
1072	delete(f, "FileSystemId")
1073	if len(f) > 0 {
1074		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRestoreTasksRequest has unknown keys!", "")
1075	}
1076	return json.Unmarshal([]byte(s), &r)
1077}
1078
1079type DescribeRestoreTasksResponse struct {
1080	*tchttp.BaseResponse
1081	Response *struct {
1082
1083		// 回热任务列表
1084		RestoreTasks []*RestoreTask `json:"RestoreTasks,omitempty" name:"RestoreTasks"`
1085
1086		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1087		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1088	} `json:"Response"`
1089}
1090
1091func (r *DescribeRestoreTasksResponse) ToJsonString() string {
1092    b, _ := json.Marshal(r)
1093    return string(b)
1094}
1095
1096// FromJsonString It is highly **NOT** recommended to use this function
1097// because it has no param check, nor strict type check
1098func (r *DescribeRestoreTasksResponse) FromJsonString(s string) error {
1099	return json.Unmarshal([]byte(s), &r)
1100}
1101
1102type FileSystem struct {
1103
1104	// appid
1105	AppId *uint64 `json:"AppId,omitempty" name:"AppId"`
1106
1107	// 文件系统名称
1108	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`
1109
1110	// 文件系统描述
1111	Description *string `json:"Description,omitempty" name:"Description"`
1112
1113	// 地域
1114	Region *string `json:"Region,omitempty" name:"Region"`
1115
1116	// 文件系统ID
1117	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
1118
1119	// 创建时间
1120	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
1121
1122	// 文件系统块大小(byte)
1123	BlockSize *uint64 `json:"BlockSize,omitempty" name:"BlockSize"`
1124
1125	// 文件系统容量(byte)
1126	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`
1127
1128	// 文件系统状态(1:创建中;2:创建成功;3:创建失败)
1129	Status *uint64 `json:"Status,omitempty" name:"Status"`
1130}
1131
1132type Filter struct {
1133
1134	// 过滤字段
1135	Name *string `json:"Name,omitempty" name:"Name"`
1136
1137	// 过滤值
1138	Values []*string `json:"Values,omitempty" name:"Values"`
1139}
1140
1141type LifeCycleRule struct {
1142
1143	// 生命周期规则ID
1144	LifeCycleRuleId *uint64 `json:"LifeCycleRuleId,omitempty" name:"LifeCycleRuleId"`
1145
1146	// 生命周期规则名称
1147	LifeCycleRuleName *string `json:"LifeCycleRuleName,omitempty" name:"LifeCycleRuleName"`
1148
1149	// 生命周期规则路径(目录或文件)
1150	Path *string `json:"Path,omitempty" name:"Path"`
1151
1152	// 生命周期规则转换列表
1153	Transitions []*Transition `json:"Transitions,omitempty" name:"Transitions"`
1154
1155	// 生命周期规则状态(1:打开;2:关闭)
1156	Status *uint64 `json:"Status,omitempty" name:"Status"`
1157
1158	// 创建时间
1159	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
1160}
1161
1162type ModifyAccessGroupRequest struct {
1163	*tchttp.BaseRequest
1164
1165	// 权限组ID
1166	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
1167
1168	// 权限组名称
1169	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`
1170
1171	// 权限组描述
1172	Description *string `json:"Description,omitempty" name:"Description"`
1173}
1174
1175func (r *ModifyAccessGroupRequest) ToJsonString() string {
1176    b, _ := json.Marshal(r)
1177    return string(b)
1178}
1179
1180// FromJsonString It is highly **NOT** recommended to use this function
1181// because it has no param check, nor strict type check
1182func (r *ModifyAccessGroupRequest) FromJsonString(s string) error {
1183	f := make(map[string]interface{})
1184	if err := json.Unmarshal([]byte(s), &f); err != nil {
1185		return err
1186	}
1187	delete(f, "AccessGroupId")
1188	delete(f, "AccessGroupName")
1189	delete(f, "Description")
1190	if len(f) > 0 {
1191		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyAccessGroupRequest has unknown keys!", "")
1192	}
1193	return json.Unmarshal([]byte(s), &r)
1194}
1195
1196type ModifyAccessGroupResponse struct {
1197	*tchttp.BaseResponse
1198	Response *struct {
1199
1200		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1201		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1202	} `json:"Response"`
1203}
1204
1205func (r *ModifyAccessGroupResponse) ToJsonString() string {
1206    b, _ := json.Marshal(r)
1207    return string(b)
1208}
1209
1210// FromJsonString It is highly **NOT** recommended to use this function
1211// because it has no param check, nor strict type check
1212func (r *ModifyAccessGroupResponse) FromJsonString(s string) error {
1213	return json.Unmarshal([]byte(s), &r)
1214}
1215
1216type ModifyAccessRulesRequest struct {
1217	*tchttp.BaseRequest
1218
1219	// 多个权限规则,上限为10
1220	AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules"`
1221}
1222
1223func (r *ModifyAccessRulesRequest) ToJsonString() string {
1224    b, _ := json.Marshal(r)
1225    return string(b)
1226}
1227
1228// FromJsonString It is highly **NOT** recommended to use this function
1229// because it has no param check, nor strict type check
1230func (r *ModifyAccessRulesRequest) FromJsonString(s string) error {
1231	f := make(map[string]interface{})
1232	if err := json.Unmarshal([]byte(s), &f); err != nil {
1233		return err
1234	}
1235	delete(f, "AccessRules")
1236	if len(f) > 0 {
1237		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyAccessRulesRequest has unknown keys!", "")
1238	}
1239	return json.Unmarshal([]byte(s), &r)
1240}
1241
1242type ModifyAccessRulesResponse struct {
1243	*tchttp.BaseResponse
1244	Response *struct {
1245
1246		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1247		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1248	} `json:"Response"`
1249}
1250
1251func (r *ModifyAccessRulesResponse) ToJsonString() string {
1252    b, _ := json.Marshal(r)
1253    return string(b)
1254}
1255
1256// FromJsonString It is highly **NOT** recommended to use this function
1257// because it has no param check, nor strict type check
1258func (r *ModifyAccessRulesResponse) FromJsonString(s string) error {
1259	return json.Unmarshal([]byte(s), &r)
1260}
1261
1262type ModifyFileSystemRequest struct {
1263	*tchttp.BaseRequest
1264
1265	// 文件系统ID
1266	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
1267
1268	// 文件系统名称
1269	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`
1270
1271	// 文件系统描述
1272	Description *string `json:"Description,omitempty" name:"Description"`
1273
1274	// 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍
1275	// 注意:修改的文件系统容量不能小于当前使用量
1276	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`
1277}
1278
1279func (r *ModifyFileSystemRequest) ToJsonString() string {
1280    b, _ := json.Marshal(r)
1281    return string(b)
1282}
1283
1284// FromJsonString It is highly **NOT** recommended to use this function
1285// because it has no param check, nor strict type check
1286func (r *ModifyFileSystemRequest) FromJsonString(s string) error {
1287	f := make(map[string]interface{})
1288	if err := json.Unmarshal([]byte(s), &f); err != nil {
1289		return err
1290	}
1291	delete(f, "FileSystemId")
1292	delete(f, "FileSystemName")
1293	delete(f, "Description")
1294	delete(f, "CapacityQuota")
1295	if len(f) > 0 {
1296		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyFileSystemRequest has unknown keys!", "")
1297	}
1298	return json.Unmarshal([]byte(s), &r)
1299}
1300
1301type ModifyFileSystemResponse struct {
1302	*tchttp.BaseResponse
1303	Response *struct {
1304
1305		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1306		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1307	} `json:"Response"`
1308}
1309
1310func (r *ModifyFileSystemResponse) ToJsonString() string {
1311    b, _ := json.Marshal(r)
1312    return string(b)
1313}
1314
1315// FromJsonString It is highly **NOT** recommended to use this function
1316// because it has no param check, nor strict type check
1317func (r *ModifyFileSystemResponse) FromJsonString(s string) error {
1318	return json.Unmarshal([]byte(s), &r)
1319}
1320
1321type ModifyLifeCycleRulesRequest struct {
1322	*tchttp.BaseRequest
1323
1324	// 多个生命周期规则,上限为10
1325	LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules"`
1326}
1327
1328func (r *ModifyLifeCycleRulesRequest) ToJsonString() string {
1329    b, _ := json.Marshal(r)
1330    return string(b)
1331}
1332
1333// FromJsonString It is highly **NOT** recommended to use this function
1334// because it has no param check, nor strict type check
1335func (r *ModifyLifeCycleRulesRequest) FromJsonString(s string) error {
1336	f := make(map[string]interface{})
1337	if err := json.Unmarshal([]byte(s), &f); err != nil {
1338		return err
1339	}
1340	delete(f, "LifeCycleRules")
1341	if len(f) > 0 {
1342		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLifeCycleRulesRequest has unknown keys!", "")
1343	}
1344	return json.Unmarshal([]byte(s), &r)
1345}
1346
1347type ModifyLifeCycleRulesResponse struct {
1348	*tchttp.BaseResponse
1349	Response *struct {
1350
1351		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1352		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1353	} `json:"Response"`
1354}
1355
1356func (r *ModifyLifeCycleRulesResponse) ToJsonString() string {
1357    b, _ := json.Marshal(r)
1358    return string(b)
1359}
1360
1361// FromJsonString It is highly **NOT** recommended to use this function
1362// because it has no param check, nor strict type check
1363func (r *ModifyLifeCycleRulesResponse) FromJsonString(s string) error {
1364	return json.Unmarshal([]byte(s), &r)
1365}
1366
1367type ModifyMountPointRequest struct {
1368	*tchttp.BaseRequest
1369
1370	// 挂载点ID
1371	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
1372
1373	// 挂载点名称
1374	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`
1375
1376	// 挂载点状态
1377	MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"`
1378
1379	// 权限组ID
1380	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
1381}
1382
1383func (r *ModifyMountPointRequest) ToJsonString() string {
1384    b, _ := json.Marshal(r)
1385    return string(b)
1386}
1387
1388// FromJsonString It is highly **NOT** recommended to use this function
1389// because it has no param check, nor strict type check
1390func (r *ModifyMountPointRequest) FromJsonString(s string) error {
1391	f := make(map[string]interface{})
1392	if err := json.Unmarshal([]byte(s), &f); err != nil {
1393		return err
1394	}
1395	delete(f, "MountPointId")
1396	delete(f, "MountPointName")
1397	delete(f, "MountPointStatus")
1398	delete(f, "AccessGroupId")
1399	if len(f) > 0 {
1400		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyMountPointRequest has unknown keys!", "")
1401	}
1402	return json.Unmarshal([]byte(s), &r)
1403}
1404
1405type ModifyMountPointResponse struct {
1406	*tchttp.BaseResponse
1407	Response *struct {
1408
1409		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1410		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1411	} `json:"Response"`
1412}
1413
1414func (r *ModifyMountPointResponse) ToJsonString() string {
1415    b, _ := json.Marshal(r)
1416    return string(b)
1417}
1418
1419// FromJsonString It is highly **NOT** recommended to use this function
1420// because it has no param check, nor strict type check
1421func (r *ModifyMountPointResponse) FromJsonString(s string) error {
1422	return json.Unmarshal([]byte(s), &r)
1423}
1424
1425type ModifyResourceTagsRequest struct {
1426	*tchttp.BaseRequest
1427
1428	// 文件系统ID
1429	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
1430
1431	// 多个资源标签,可以为空数组
1432	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
1433}
1434
1435func (r *ModifyResourceTagsRequest) ToJsonString() string {
1436    b, _ := json.Marshal(r)
1437    return string(b)
1438}
1439
1440// FromJsonString It is highly **NOT** recommended to use this function
1441// because it has no param check, nor strict type check
1442func (r *ModifyResourceTagsRequest) FromJsonString(s string) error {
1443	f := make(map[string]interface{})
1444	if err := json.Unmarshal([]byte(s), &f); err != nil {
1445		return err
1446	}
1447	delete(f, "FileSystemId")
1448	delete(f, "Tags")
1449	if len(f) > 0 {
1450		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyResourceTagsRequest has unknown keys!", "")
1451	}
1452	return json.Unmarshal([]byte(s), &r)
1453}
1454
1455type ModifyResourceTagsResponse struct {
1456	*tchttp.BaseResponse
1457	Response *struct {
1458
1459		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1460		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1461	} `json:"Response"`
1462}
1463
1464func (r *ModifyResourceTagsResponse) ToJsonString() string {
1465    b, _ := json.Marshal(r)
1466    return string(b)
1467}
1468
1469// FromJsonString It is highly **NOT** recommended to use this function
1470// because it has no param check, nor strict type check
1471func (r *ModifyResourceTagsResponse) FromJsonString(s string) error {
1472	return json.Unmarshal([]byte(s), &r)
1473}
1474
1475type MountPoint struct {
1476
1477	// 挂载点ID
1478	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
1479
1480	// 挂载点名称
1481	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`
1482
1483	// 文件系统ID
1484	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
1485
1486	// 权限组ID
1487	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
1488
1489	// VPC网络ID
1490	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
1491
1492	// 挂载点状态(1:打开;2:关闭)
1493	Status *uint64 `json:"Status,omitempty" name:"Status"`
1494
1495	// 创建时间
1496	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
1497
1498	// VPC网络类型
1499	VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`
1500}
1501
1502type RestoreTask struct {
1503
1504	// 回热任务ID
1505	RestoreTaskId *uint64 `json:"RestoreTaskId,omitempty" name:"RestoreTaskId"`
1506
1507	// 回热任务文件路径
1508	FilePath *string `json:"FilePath,omitempty" name:"FilePath"`
1509
1510	// 回热任务类型(1:标准;2:极速;3:批量)
1511	Type *uint64 `json:"Type,omitempty" name:"Type"`
1512
1513	// 指定恢复出的临时副本的有效时长(单位天)
1514	Days *uint64 `json:"Days,omitempty" name:"Days"`
1515
1516	// 回热任务状态(1:绑定文件中;2:绑定文件完成;3:文件回热中;4:文件回热完成)
1517	Status *uint64 `json:"Status,omitempty" name:"Status"`
1518
1519	// 创建时间
1520	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
1521}
1522
1523type Tag struct {
1524
1525	// 标签键
1526	Key *string `json:"Key,omitempty" name:"Key"`
1527
1528	// 标签值
1529	Value *string `json:"Value,omitempty" name:"Value"`
1530}
1531
1532type Transition struct {
1533
1534	// 触发时间(单位天)
1535	Days *uint64 `json:"Days,omitempty" name:"Days"`
1536
1537	// 转换类型(1:归档;2:删除)
1538	Type *uint64 `json:"Type,omitempty" name:"Type"`
1539}
1540