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