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 v20190924
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 AccessVpc struct {
24
25	// Vpc的Id
26	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
27
28	// 子网Id
29	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
30
31	// 内网接入状态
32	Status *string `json:"Status,omitempty" name:"Status"`
33
34	// 内网接入Ip
35	AccessIp *string `json:"AccessIp,omitempty" name:"AccessIp"`
36}
37
38type AutoDelStrategyInfo struct {
39
40	// 用户名
41	Username *string `json:"Username,omitempty" name:"Username"`
42
43	// 仓库名
44	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
45
46	// 类型
47	Type *string `json:"Type,omitempty" name:"Type"`
48
49	// 策略值
50	Value *int64 `json:"Value,omitempty" name:"Value"`
51
52	// Valid
53	Valid *int64 `json:"Valid,omitempty" name:"Valid"`
54
55	// 创建时间
56	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
57}
58
59type AutoDelStrategyInfoResp struct {
60
61	// 总数目
62	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
63
64	// 自动删除策略列表
65	// 注意:此字段可能返回 null,表示取不到有效值。
66	StrategyInfo []*AutoDelStrategyInfo `json:"StrategyInfo,omitempty" name:"StrategyInfo"`
67}
68
69type BatchDeleteImagePersonalRequest struct {
70	*tchttp.BaseRequest
71
72	// 仓库名称
73	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
74
75	// Tag列表
76	Tags []*string `json:"Tags,omitempty" name:"Tags"`
77}
78
79func (r *BatchDeleteImagePersonalRequest) ToJsonString() string {
80    b, _ := json.Marshal(r)
81    return string(b)
82}
83
84// FromJsonString It is highly **NOT** recommended to use this function
85// because it has no param check, nor strict type check
86func (r *BatchDeleteImagePersonalRequest) FromJsonString(s string) error {
87	f := make(map[string]interface{})
88	if err := json.Unmarshal([]byte(s), &f); err != nil {
89		return err
90	}
91	delete(f, "RepoName")
92	delete(f, "Tags")
93	if len(f) > 0 {
94		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "BatchDeleteImagePersonalRequest has unknown keys!", "")
95	}
96	return json.Unmarshal([]byte(s), &r)
97}
98
99type BatchDeleteImagePersonalResponse struct {
100	*tchttp.BaseResponse
101	Response *struct {
102
103		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
104		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
105	} `json:"Response"`
106}
107
108func (r *BatchDeleteImagePersonalResponse) ToJsonString() string {
109    b, _ := json.Marshal(r)
110    return string(b)
111}
112
113// FromJsonString It is highly **NOT** recommended to use this function
114// because it has no param check, nor strict type check
115func (r *BatchDeleteImagePersonalResponse) FromJsonString(s string) error {
116	return json.Unmarshal([]byte(s), &r)
117}
118
119type BatchDeleteRepositoryPersonalRequest struct {
120	*tchttp.BaseRequest
121
122	// 仓库名称数组
123	RepoNames []*string `json:"RepoNames,omitempty" name:"RepoNames"`
124}
125
126func (r *BatchDeleteRepositoryPersonalRequest) ToJsonString() string {
127    b, _ := json.Marshal(r)
128    return string(b)
129}
130
131// FromJsonString It is highly **NOT** recommended to use this function
132// because it has no param check, nor strict type check
133func (r *BatchDeleteRepositoryPersonalRequest) FromJsonString(s string) error {
134	f := make(map[string]interface{})
135	if err := json.Unmarshal([]byte(s), &f); err != nil {
136		return err
137	}
138	delete(f, "RepoNames")
139	if len(f) > 0 {
140		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "BatchDeleteRepositoryPersonalRequest has unknown keys!", "")
141	}
142	return json.Unmarshal([]byte(s), &r)
143}
144
145type BatchDeleteRepositoryPersonalResponse struct {
146	*tchttp.BaseResponse
147	Response *struct {
148
149		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
150		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
151	} `json:"Response"`
152}
153
154func (r *BatchDeleteRepositoryPersonalResponse) ToJsonString() string {
155    b, _ := json.Marshal(r)
156    return string(b)
157}
158
159// FromJsonString It is highly **NOT** recommended to use this function
160// because it has no param check, nor strict type check
161func (r *BatchDeleteRepositoryPersonalResponse) FromJsonString(s string) error {
162	return json.Unmarshal([]byte(s), &r)
163}
164
165type CheckInstanceNameRequest struct {
166	*tchttp.BaseRequest
167
168	// 待创建的实例名称
169	RegistryName *string `json:"RegistryName,omitempty" name:"RegistryName"`
170}
171
172func (r *CheckInstanceNameRequest) 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 *CheckInstanceNameRequest) 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, "RegistryName")
185	if len(f) > 0 {
186		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CheckInstanceNameRequest has unknown keys!", "")
187	}
188	return json.Unmarshal([]byte(s), &r)
189}
190
191type CheckInstanceNameResponse struct {
192	*tchttp.BaseResponse
193	Response *struct {
194
195		// 检查结果,true为合法,false为非法
196		IsValidated *bool `json:"IsValidated,omitempty" name:"IsValidated"`
197
198		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
199		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
200	} `json:"Response"`
201}
202
203func (r *CheckInstanceNameResponse) ToJsonString() string {
204    b, _ := json.Marshal(r)
205    return string(b)
206}
207
208// FromJsonString It is highly **NOT** recommended to use this function
209// because it has no param check, nor strict type check
210func (r *CheckInstanceNameResponse) FromJsonString(s string) error {
211	return json.Unmarshal([]byte(s), &r)
212}
213
214type CheckInstanceRequest struct {
215	*tchttp.BaseRequest
216
217	// 待检测的实例Id
218	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
219}
220
221func (r *CheckInstanceRequest) ToJsonString() string {
222    b, _ := json.Marshal(r)
223    return string(b)
224}
225
226// FromJsonString It is highly **NOT** recommended to use this function
227// because it has no param check, nor strict type check
228func (r *CheckInstanceRequest) FromJsonString(s string) error {
229	f := make(map[string]interface{})
230	if err := json.Unmarshal([]byte(s), &f); err != nil {
231		return err
232	}
233	delete(f, "RegistryId")
234	if len(f) > 0 {
235		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CheckInstanceRequest has unknown keys!", "")
236	}
237	return json.Unmarshal([]byte(s), &r)
238}
239
240type CheckInstanceResponse struct {
241	*tchttp.BaseResponse
242	Response *struct {
243
244		// 检查结果,true为合法,false为非法
245		IsValidated *bool `json:"IsValidated,omitempty" name:"IsValidated"`
246
247		// 实例所在的RegionId
248		RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"`
249
250		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
251		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
252	} `json:"Response"`
253}
254
255func (r *CheckInstanceResponse) 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 *CheckInstanceResponse) FromJsonString(s string) error {
263	return json.Unmarshal([]byte(s), &r)
264}
265
266type CreateApplicationTriggerPersonalRequest struct {
267	*tchttp.BaseRequest
268
269	// 触发器关联的镜像仓库,library/test格式
270	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
271
272	// 触发器名称
273	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`
274
275	// 触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发
276	InvokeMethod *string `json:"InvokeMethod,omitempty" name:"InvokeMethod"`
277
278	// 应用所在TKE集群ID
279	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
280
281	// 应用所在TKE集群命名空间
282	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
283
284	// 应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。
285	WorkloadType *string `json:"WorkloadType,omitempty" name:"WorkloadType"`
286
287	// 应用所在TKE集群工作负载名称
288	WorkloadName *string `json:"WorkloadName,omitempty" name:"WorkloadName"`
289
290	// 应用所在TKE集群工作负载下容器名称
291	ContainerName *string `json:"ContainerName,omitempty" name:"ContainerName"`
292
293	// 应用所在TKE集群地域
294	ClusterRegion *int64 `json:"ClusterRegion,omitempty" name:"ClusterRegion"`
295
296	// 触发方式对应的表达式
297	InvokeExpr *string `json:"InvokeExpr,omitempty" name:"InvokeExpr"`
298}
299
300func (r *CreateApplicationTriggerPersonalRequest) ToJsonString() string {
301    b, _ := json.Marshal(r)
302    return string(b)
303}
304
305// FromJsonString It is highly **NOT** recommended to use this function
306// because it has no param check, nor strict type check
307func (r *CreateApplicationTriggerPersonalRequest) FromJsonString(s string) error {
308	f := make(map[string]interface{})
309	if err := json.Unmarshal([]byte(s), &f); err != nil {
310		return err
311	}
312	delete(f, "RepoName")
313	delete(f, "TriggerName")
314	delete(f, "InvokeMethod")
315	delete(f, "ClusterId")
316	delete(f, "Namespace")
317	delete(f, "WorkloadType")
318	delete(f, "WorkloadName")
319	delete(f, "ContainerName")
320	delete(f, "ClusterRegion")
321	delete(f, "InvokeExpr")
322	if len(f) > 0 {
323		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateApplicationTriggerPersonalRequest has unknown keys!", "")
324	}
325	return json.Unmarshal([]byte(s), &r)
326}
327
328type CreateApplicationTriggerPersonalResponse struct {
329	*tchttp.BaseResponse
330	Response *struct {
331
332		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
333		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
334	} `json:"Response"`
335}
336
337func (r *CreateApplicationTriggerPersonalResponse) ToJsonString() string {
338    b, _ := json.Marshal(r)
339    return string(b)
340}
341
342// FromJsonString It is highly **NOT** recommended to use this function
343// because it has no param check, nor strict type check
344func (r *CreateApplicationTriggerPersonalResponse) FromJsonString(s string) error {
345	return json.Unmarshal([]byte(s), &r)
346}
347
348type CreateImageLifecyclePersonalRequest struct {
349	*tchttp.BaseRequest
350
351	// 仓库名称
352	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
353
354	// keep_last_days:保留最近几天的数据;keep_last_nums:保留最近多少个
355	Type *string `json:"Type,omitempty" name:"Type"`
356
357	// 策略值
358	Val *int64 `json:"Val,omitempty" name:"Val"`
359}
360
361func (r *CreateImageLifecyclePersonalRequest) ToJsonString() string {
362    b, _ := json.Marshal(r)
363    return string(b)
364}
365
366// FromJsonString It is highly **NOT** recommended to use this function
367// because it has no param check, nor strict type check
368func (r *CreateImageLifecyclePersonalRequest) FromJsonString(s string) error {
369	f := make(map[string]interface{})
370	if err := json.Unmarshal([]byte(s), &f); err != nil {
371		return err
372	}
373	delete(f, "RepoName")
374	delete(f, "Type")
375	delete(f, "Val")
376	if len(f) > 0 {
377		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateImageLifecyclePersonalRequest has unknown keys!", "")
378	}
379	return json.Unmarshal([]byte(s), &r)
380}
381
382type CreateImageLifecyclePersonalResponse struct {
383	*tchttp.BaseResponse
384	Response *struct {
385
386		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
387		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
388	} `json:"Response"`
389}
390
391func (r *CreateImageLifecyclePersonalResponse) ToJsonString() string {
392    b, _ := json.Marshal(r)
393    return string(b)
394}
395
396// FromJsonString It is highly **NOT** recommended to use this function
397// because it has no param check, nor strict type check
398func (r *CreateImageLifecyclePersonalResponse) FromJsonString(s string) error {
399	return json.Unmarshal([]byte(s), &r)
400}
401
402type CreateImmutableTagRulesRequest struct {
403	*tchttp.BaseRequest
404
405	// 实例 Id
406	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
407
408	// 命名空间
409	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
410
411	// 规则
412	Rule *ImmutableTagRule `json:"Rule,omitempty" name:"Rule"`
413}
414
415func (r *CreateImmutableTagRulesRequest) ToJsonString() string {
416    b, _ := json.Marshal(r)
417    return string(b)
418}
419
420// FromJsonString It is highly **NOT** recommended to use this function
421// because it has no param check, nor strict type check
422func (r *CreateImmutableTagRulesRequest) FromJsonString(s string) error {
423	f := make(map[string]interface{})
424	if err := json.Unmarshal([]byte(s), &f); err != nil {
425		return err
426	}
427	delete(f, "RegistryId")
428	delete(f, "NamespaceName")
429	delete(f, "Rule")
430	if len(f) > 0 {
431		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateImmutableTagRulesRequest has unknown keys!", "")
432	}
433	return json.Unmarshal([]byte(s), &r)
434}
435
436type CreateImmutableTagRulesResponse struct {
437	*tchttp.BaseResponse
438	Response *struct {
439
440		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
441		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
442	} `json:"Response"`
443}
444
445func (r *CreateImmutableTagRulesResponse) ToJsonString() string {
446    b, _ := json.Marshal(r)
447    return string(b)
448}
449
450// FromJsonString It is highly **NOT** recommended to use this function
451// because it has no param check, nor strict type check
452func (r *CreateImmutableTagRulesResponse) FromJsonString(s string) error {
453	return json.Unmarshal([]byte(s), &r)
454}
455
456type CreateInstanceRequest struct {
457	*tchttp.BaseRequest
458
459	// 企业版实例名称
460	RegistryName *string `json:"RegistryName,omitempty" name:"RegistryName"`
461
462	// 企业版实例类型(basic 基础版;standard 标准版;premium 高级版)
463	RegistryType *string `json:"RegistryType,omitempty" name:"RegistryType"`
464
465	// 云标签描述
466	TagSpecification *TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`
467
468	// 实例计费类型,0表示按量计费,1表示预付费,默认为按量计费
469	RegistryChargeType *int64 `json:"RegistryChargeType,omitempty" name:"RegistryChargeType"`
470}
471
472func (r *CreateInstanceRequest) ToJsonString() string {
473    b, _ := json.Marshal(r)
474    return string(b)
475}
476
477// FromJsonString It is highly **NOT** recommended to use this function
478// because it has no param check, nor strict type check
479func (r *CreateInstanceRequest) FromJsonString(s string) error {
480	f := make(map[string]interface{})
481	if err := json.Unmarshal([]byte(s), &f); err != nil {
482		return err
483	}
484	delete(f, "RegistryName")
485	delete(f, "RegistryType")
486	delete(f, "TagSpecification")
487	delete(f, "RegistryChargeType")
488	if len(f) > 0 {
489		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateInstanceRequest has unknown keys!", "")
490	}
491	return json.Unmarshal([]byte(s), &r)
492}
493
494type CreateInstanceResponse struct {
495	*tchttp.BaseResponse
496	Response *struct {
497
498		// 企业版实例Id
499		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
500
501		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
502		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
503	} `json:"Response"`
504}
505
506func (r *CreateInstanceResponse) 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 *CreateInstanceResponse) FromJsonString(s string) error {
514	return json.Unmarshal([]byte(s), &r)
515}
516
517type CreateInstanceTokenRequest struct {
518	*tchttp.BaseRequest
519
520	// 实例Id
521	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
522
523	// 访问凭证类型,longterm 为长期访问凭证,temp 为临时访问凭证,默认是临时访问凭证,有效期1小时
524	TokenType *string `json:"TokenType,omitempty" name:"TokenType"`
525
526	// 长期访问凭证描述信息
527	Desc *string `json:"Desc,omitempty" name:"Desc"`
528}
529
530func (r *CreateInstanceTokenRequest) 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 *CreateInstanceTokenRequest) 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, "RegistryId")
543	delete(f, "TokenType")
544	delete(f, "Desc")
545	if len(f) > 0 {
546		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateInstanceTokenRequest has unknown keys!", "")
547	}
548	return json.Unmarshal([]byte(s), &r)
549}
550
551type CreateInstanceTokenResponse struct {
552	*tchttp.BaseResponse
553	Response *struct {
554
555		// 用户名
556	// 注意:此字段可能返回 null,表示取不到有效值。
557		Username *string `json:"Username,omitempty" name:"Username"`
558
559		// 访问凭证
560		Token *string `json:"Token,omitempty" name:"Token"`
561
562		// 访问凭证过期时间戳,是一个时间戳数字,无单位
563		ExpTime *int64 `json:"ExpTime,omitempty" name:"ExpTime"`
564
565		// 长期凭证的TokenId,短期凭证没有TokenId
566	// 注意:此字段可能返回 null,表示取不到有效值。
567		TokenId *string `json:"TokenId,omitempty" name:"TokenId"`
568
569		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
570		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
571	} `json:"Response"`
572}
573
574func (r *CreateInstanceTokenResponse) ToJsonString() string {
575    b, _ := json.Marshal(r)
576    return string(b)
577}
578
579// FromJsonString It is highly **NOT** recommended to use this function
580// because it has no param check, nor strict type check
581func (r *CreateInstanceTokenResponse) FromJsonString(s string) error {
582	return json.Unmarshal([]byte(s), &r)
583}
584
585type CreateInternalEndpointDnsRequest struct {
586	*tchttp.BaseRequest
587
588	// tcr实例id
589	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
590
591	// 私有网络id
592	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
593
594	// tcr内网访问链路ip
595	EniLBIp *string `json:"EniLBIp,omitempty" name:"EniLBIp"`
596
597	// true:为默认域名,公网域名一致
598	// false: 使用vpc域名
599	// 默认为vpc域名
600	UsePublicDomain *bool `json:"UsePublicDomain,omitempty" name:"UsePublicDomain"`
601}
602
603func (r *CreateInternalEndpointDnsRequest) ToJsonString() string {
604    b, _ := json.Marshal(r)
605    return string(b)
606}
607
608// FromJsonString It is highly **NOT** recommended to use this function
609// because it has no param check, nor strict type check
610func (r *CreateInternalEndpointDnsRequest) FromJsonString(s string) error {
611	f := make(map[string]interface{})
612	if err := json.Unmarshal([]byte(s), &f); err != nil {
613		return err
614	}
615	delete(f, "InstanceId")
616	delete(f, "VpcId")
617	delete(f, "EniLBIp")
618	delete(f, "UsePublicDomain")
619	if len(f) > 0 {
620		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateInternalEndpointDnsRequest has unknown keys!", "")
621	}
622	return json.Unmarshal([]byte(s), &r)
623}
624
625type CreateInternalEndpointDnsResponse struct {
626	*tchttp.BaseResponse
627	Response *struct {
628
629		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
630		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
631	} `json:"Response"`
632}
633
634func (r *CreateInternalEndpointDnsResponse) ToJsonString() string {
635    b, _ := json.Marshal(r)
636    return string(b)
637}
638
639// FromJsonString It is highly **NOT** recommended to use this function
640// because it has no param check, nor strict type check
641func (r *CreateInternalEndpointDnsResponse) FromJsonString(s string) error {
642	return json.Unmarshal([]byte(s), &r)
643}
644
645type CreateMultipleSecurityPolicyRequest struct {
646	*tchttp.BaseRequest
647
648	// 实例Id
649	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
650
651	// 安全组策略
652	SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"`
653}
654
655func (r *CreateMultipleSecurityPolicyRequest) ToJsonString() string {
656    b, _ := json.Marshal(r)
657    return string(b)
658}
659
660// FromJsonString It is highly **NOT** recommended to use this function
661// because it has no param check, nor strict type check
662func (r *CreateMultipleSecurityPolicyRequest) FromJsonString(s string) error {
663	f := make(map[string]interface{})
664	if err := json.Unmarshal([]byte(s), &f); err != nil {
665		return err
666	}
667	delete(f, "RegistryId")
668	delete(f, "SecurityGroupPolicySet")
669	if len(f) > 0 {
670		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateMultipleSecurityPolicyRequest has unknown keys!", "")
671	}
672	return json.Unmarshal([]byte(s), &r)
673}
674
675type CreateMultipleSecurityPolicyResponse struct {
676	*tchttp.BaseResponse
677	Response *struct {
678
679		// 实例Id
680		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
681
682		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
683		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
684	} `json:"Response"`
685}
686
687func (r *CreateMultipleSecurityPolicyResponse) ToJsonString() string {
688    b, _ := json.Marshal(r)
689    return string(b)
690}
691
692// FromJsonString It is highly **NOT** recommended to use this function
693// because it has no param check, nor strict type check
694func (r *CreateMultipleSecurityPolicyResponse) FromJsonString(s string) error {
695	return json.Unmarshal([]byte(s), &r)
696}
697
698type CreateNamespacePersonalRequest struct {
699	*tchttp.BaseRequest
700
701	// 命名空间名称
702	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
703}
704
705func (r *CreateNamespacePersonalRequest) ToJsonString() string {
706    b, _ := json.Marshal(r)
707    return string(b)
708}
709
710// FromJsonString It is highly **NOT** recommended to use this function
711// because it has no param check, nor strict type check
712func (r *CreateNamespacePersonalRequest) FromJsonString(s string) error {
713	f := make(map[string]interface{})
714	if err := json.Unmarshal([]byte(s), &f); err != nil {
715		return err
716	}
717	delete(f, "Namespace")
718	if len(f) > 0 {
719		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateNamespacePersonalRequest has unknown keys!", "")
720	}
721	return json.Unmarshal([]byte(s), &r)
722}
723
724type CreateNamespacePersonalResponse struct {
725	*tchttp.BaseResponse
726	Response *struct {
727
728		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
729		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
730	} `json:"Response"`
731}
732
733func (r *CreateNamespacePersonalResponse) ToJsonString() string {
734    b, _ := json.Marshal(r)
735    return string(b)
736}
737
738// FromJsonString It is highly **NOT** recommended to use this function
739// because it has no param check, nor strict type check
740func (r *CreateNamespacePersonalResponse) FromJsonString(s string) error {
741	return json.Unmarshal([]byte(s), &r)
742}
743
744type CreateNamespaceRequest struct {
745	*tchttp.BaseRequest
746
747	// 实例ID
748	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
749
750	// 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)
751	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
752
753	// 是否公开,true为公开,fale为私有
754	IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
755}
756
757func (r *CreateNamespaceRequest) ToJsonString() string {
758    b, _ := json.Marshal(r)
759    return string(b)
760}
761
762// FromJsonString It is highly **NOT** recommended to use this function
763// because it has no param check, nor strict type check
764func (r *CreateNamespaceRequest) FromJsonString(s string) error {
765	f := make(map[string]interface{})
766	if err := json.Unmarshal([]byte(s), &f); err != nil {
767		return err
768	}
769	delete(f, "RegistryId")
770	delete(f, "NamespaceName")
771	delete(f, "IsPublic")
772	if len(f) > 0 {
773		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateNamespaceRequest has unknown keys!", "")
774	}
775	return json.Unmarshal([]byte(s), &r)
776}
777
778type CreateNamespaceResponse struct {
779	*tchttp.BaseResponse
780	Response *struct {
781
782		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
783		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
784	} `json:"Response"`
785}
786
787func (r *CreateNamespaceResponse) ToJsonString() string {
788    b, _ := json.Marshal(r)
789    return string(b)
790}
791
792// FromJsonString It is highly **NOT** recommended to use this function
793// because it has no param check, nor strict type check
794func (r *CreateNamespaceResponse) FromJsonString(s string) error {
795	return json.Unmarshal([]byte(s), &r)
796}
797
798type CreateReplicationInstanceRequest struct {
799	*tchttp.BaseRequest
800
801	// 主实例iD
802	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
803
804	// 复制实例地域ID
805	ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"`
806}
807
808func (r *CreateReplicationInstanceRequest) ToJsonString() string {
809    b, _ := json.Marshal(r)
810    return string(b)
811}
812
813// FromJsonString It is highly **NOT** recommended to use this function
814// because it has no param check, nor strict type check
815func (r *CreateReplicationInstanceRequest) FromJsonString(s string) error {
816	f := make(map[string]interface{})
817	if err := json.Unmarshal([]byte(s), &f); err != nil {
818		return err
819	}
820	delete(f, "RegistryId")
821	delete(f, "ReplicationRegionId")
822	if len(f) > 0 {
823		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateReplicationInstanceRequest has unknown keys!", "")
824	}
825	return json.Unmarshal([]byte(s), &r)
826}
827
828type CreateReplicationInstanceResponse struct {
829	*tchttp.BaseResponse
830	Response *struct {
831
832		// 企业版复制实例Id
833		ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"`
834
835		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
836		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
837	} `json:"Response"`
838}
839
840func (r *CreateReplicationInstanceResponse) ToJsonString() string {
841    b, _ := json.Marshal(r)
842    return string(b)
843}
844
845// FromJsonString It is highly **NOT** recommended to use this function
846// because it has no param check, nor strict type check
847func (r *CreateReplicationInstanceResponse) FromJsonString(s string) error {
848	return json.Unmarshal([]byte(s), &r)
849}
850
851type CreateRepositoryPersonalRequest struct {
852	*tchttp.BaseRequest
853
854	// 仓库名称
855	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
856
857	// 是否公共,1:公共,0:私有
858	Public *uint64 `json:"Public,omitempty" name:"Public"`
859
860	// 仓库描述
861	Description *string `json:"Description,omitempty" name:"Description"`
862}
863
864func (r *CreateRepositoryPersonalRequest) ToJsonString() string {
865    b, _ := json.Marshal(r)
866    return string(b)
867}
868
869// FromJsonString It is highly **NOT** recommended to use this function
870// because it has no param check, nor strict type check
871func (r *CreateRepositoryPersonalRequest) FromJsonString(s string) error {
872	f := make(map[string]interface{})
873	if err := json.Unmarshal([]byte(s), &f); err != nil {
874		return err
875	}
876	delete(f, "RepoName")
877	delete(f, "Public")
878	delete(f, "Description")
879	if len(f) > 0 {
880		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRepositoryPersonalRequest has unknown keys!", "")
881	}
882	return json.Unmarshal([]byte(s), &r)
883}
884
885type CreateRepositoryPersonalResponse struct {
886	*tchttp.BaseResponse
887	Response *struct {
888
889		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
890		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
891	} `json:"Response"`
892}
893
894func (r *CreateRepositoryPersonalResponse) ToJsonString() string {
895    b, _ := json.Marshal(r)
896    return string(b)
897}
898
899// FromJsonString It is highly **NOT** recommended to use this function
900// because it has no param check, nor strict type check
901func (r *CreateRepositoryPersonalResponse) FromJsonString(s string) error {
902	return json.Unmarshal([]byte(s), &r)
903}
904
905type CreateRepositoryRequest struct {
906	*tchttp.BaseRequest
907
908	// 实例ID
909	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
910
911	// 命名空间名称
912	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
913
914	// 仓库名称
915	RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
916
917	// 仓库简短描述
918	BriefDescription *string `json:"BriefDescription,omitempty" name:"BriefDescription"`
919
920	// 仓库详细描述
921	Description *string `json:"Description,omitempty" name:"Description"`
922}
923
924func (r *CreateRepositoryRequest) ToJsonString() string {
925    b, _ := json.Marshal(r)
926    return string(b)
927}
928
929// FromJsonString It is highly **NOT** recommended to use this function
930// because it has no param check, nor strict type check
931func (r *CreateRepositoryRequest) FromJsonString(s string) error {
932	f := make(map[string]interface{})
933	if err := json.Unmarshal([]byte(s), &f); err != nil {
934		return err
935	}
936	delete(f, "RegistryId")
937	delete(f, "NamespaceName")
938	delete(f, "RepositoryName")
939	delete(f, "BriefDescription")
940	delete(f, "Description")
941	if len(f) > 0 {
942		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRepositoryRequest has unknown keys!", "")
943	}
944	return json.Unmarshal([]byte(s), &r)
945}
946
947type CreateRepositoryResponse struct {
948	*tchttp.BaseResponse
949	Response *struct {
950
951		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
952		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
953	} `json:"Response"`
954}
955
956func (r *CreateRepositoryResponse) ToJsonString() string {
957    b, _ := json.Marshal(r)
958    return string(b)
959}
960
961// FromJsonString It is highly **NOT** recommended to use this function
962// because it has no param check, nor strict type check
963func (r *CreateRepositoryResponse) FromJsonString(s string) error {
964	return json.Unmarshal([]byte(s), &r)
965}
966
967type CreateSecurityPolicyRequest struct {
968	*tchttp.BaseRequest
969
970	// 实例Id
971	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
972
973	// 192.168.0.0/24
974	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`
975
976	// 备注
977	Description *string `json:"Description,omitempty" name:"Description"`
978}
979
980func (r *CreateSecurityPolicyRequest) ToJsonString() string {
981    b, _ := json.Marshal(r)
982    return string(b)
983}
984
985// FromJsonString It is highly **NOT** recommended to use this function
986// because it has no param check, nor strict type check
987func (r *CreateSecurityPolicyRequest) FromJsonString(s string) error {
988	f := make(map[string]interface{})
989	if err := json.Unmarshal([]byte(s), &f); err != nil {
990		return err
991	}
992	delete(f, "RegistryId")
993	delete(f, "CidrBlock")
994	delete(f, "Description")
995	if len(f) > 0 {
996		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateSecurityPolicyRequest has unknown keys!", "")
997	}
998	return json.Unmarshal([]byte(s), &r)
999}
1000
1001type CreateSecurityPolicyResponse struct {
1002	*tchttp.BaseResponse
1003	Response *struct {
1004
1005		// 实例Id
1006		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1007
1008		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1009		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1010	} `json:"Response"`
1011}
1012
1013func (r *CreateSecurityPolicyResponse) ToJsonString() string {
1014    b, _ := json.Marshal(r)
1015    return string(b)
1016}
1017
1018// FromJsonString It is highly **NOT** recommended to use this function
1019// because it has no param check, nor strict type check
1020func (r *CreateSecurityPolicyResponse) FromJsonString(s string) error {
1021	return json.Unmarshal([]byte(s), &r)
1022}
1023
1024type CreateTagRetentionExecutionRequest struct {
1025	*tchttp.BaseRequest
1026
1027	// 主实例iD
1028	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1029
1030	// 版本保留规则Id
1031	RetentionId *int64 `json:"RetentionId,omitempty" name:"RetentionId"`
1032
1033	// 是否模拟执行,默认值为false,即非模拟执行
1034	DryRun *bool `json:"DryRun,omitempty" name:"DryRun"`
1035}
1036
1037func (r *CreateTagRetentionExecutionRequest) ToJsonString() string {
1038    b, _ := json.Marshal(r)
1039    return string(b)
1040}
1041
1042// FromJsonString It is highly **NOT** recommended to use this function
1043// because it has no param check, nor strict type check
1044func (r *CreateTagRetentionExecutionRequest) FromJsonString(s string) error {
1045	f := make(map[string]interface{})
1046	if err := json.Unmarshal([]byte(s), &f); err != nil {
1047		return err
1048	}
1049	delete(f, "RegistryId")
1050	delete(f, "RetentionId")
1051	delete(f, "DryRun")
1052	if len(f) > 0 {
1053		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTagRetentionExecutionRequest has unknown keys!", "")
1054	}
1055	return json.Unmarshal([]byte(s), &r)
1056}
1057
1058type CreateTagRetentionExecutionResponse struct {
1059	*tchttp.BaseResponse
1060	Response *struct {
1061
1062		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1063		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1064	} `json:"Response"`
1065}
1066
1067func (r *CreateTagRetentionExecutionResponse) ToJsonString() string {
1068    b, _ := json.Marshal(r)
1069    return string(b)
1070}
1071
1072// FromJsonString It is highly **NOT** recommended to use this function
1073// because it has no param check, nor strict type check
1074func (r *CreateTagRetentionExecutionResponse) FromJsonString(s string) error {
1075	return json.Unmarshal([]byte(s), &r)
1076}
1077
1078type CreateTagRetentionRuleRequest struct {
1079	*tchttp.BaseRequest
1080
1081	// 主实例iD
1082	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1083
1084	// 命名空间的Id
1085	NamespaceId *int64 `json:"NamespaceId,omitempty" name:"NamespaceId"`
1086
1087	// 保留策略
1088	RetentionRule *RetentionRule `json:"RetentionRule,omitempty" name:"RetentionRule"`
1089
1090	// 执行周期,当前只能选择: manual;daily;weekly;monthly
1091	CronSetting *string `json:"CronSetting,omitempty" name:"CronSetting"`
1092
1093	// 是否禁用规则,默认值为false
1094	Disabled *bool `json:"Disabled,omitempty" name:"Disabled"`
1095}
1096
1097func (r *CreateTagRetentionRuleRequest) ToJsonString() string {
1098    b, _ := json.Marshal(r)
1099    return string(b)
1100}
1101
1102// FromJsonString It is highly **NOT** recommended to use this function
1103// because it has no param check, nor strict type check
1104func (r *CreateTagRetentionRuleRequest) FromJsonString(s string) error {
1105	f := make(map[string]interface{})
1106	if err := json.Unmarshal([]byte(s), &f); err != nil {
1107		return err
1108	}
1109	delete(f, "RegistryId")
1110	delete(f, "NamespaceId")
1111	delete(f, "RetentionRule")
1112	delete(f, "CronSetting")
1113	delete(f, "Disabled")
1114	if len(f) > 0 {
1115		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTagRetentionRuleRequest has unknown keys!", "")
1116	}
1117	return json.Unmarshal([]byte(s), &r)
1118}
1119
1120type CreateTagRetentionRuleResponse struct {
1121	*tchttp.BaseResponse
1122	Response *struct {
1123
1124		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1125		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1126	} `json:"Response"`
1127}
1128
1129func (r *CreateTagRetentionRuleResponse) ToJsonString() string {
1130    b, _ := json.Marshal(r)
1131    return string(b)
1132}
1133
1134// FromJsonString It is highly **NOT** recommended to use this function
1135// because it has no param check, nor strict type check
1136func (r *CreateTagRetentionRuleResponse) FromJsonString(s string) error {
1137	return json.Unmarshal([]byte(s), &r)
1138}
1139
1140type CreateUserPersonalRequest struct {
1141	*tchttp.BaseRequest
1142
1143	// 用户密码,密码必须为8到16位
1144	Password *string `json:"Password,omitempty" name:"Password"`
1145}
1146
1147func (r *CreateUserPersonalRequest) ToJsonString() string {
1148    b, _ := json.Marshal(r)
1149    return string(b)
1150}
1151
1152// FromJsonString It is highly **NOT** recommended to use this function
1153// because it has no param check, nor strict type check
1154func (r *CreateUserPersonalRequest) FromJsonString(s string) error {
1155	f := make(map[string]interface{})
1156	if err := json.Unmarshal([]byte(s), &f); err != nil {
1157		return err
1158	}
1159	delete(f, "Password")
1160	if len(f) > 0 {
1161		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateUserPersonalRequest has unknown keys!", "")
1162	}
1163	return json.Unmarshal([]byte(s), &r)
1164}
1165
1166type CreateUserPersonalResponse struct {
1167	*tchttp.BaseResponse
1168	Response *struct {
1169
1170		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1171		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1172	} `json:"Response"`
1173}
1174
1175func (r *CreateUserPersonalResponse) 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 *CreateUserPersonalResponse) FromJsonString(s string) error {
1183	return json.Unmarshal([]byte(s), &r)
1184}
1185
1186type CreateWebhookTriggerRequest struct {
1187	*tchttp.BaseRequest
1188
1189	// 实例 Id
1190	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1191
1192	// 触发器参数
1193	Trigger *WebhookTrigger `json:"Trigger,omitempty" name:"Trigger"`
1194
1195	// 命名空间
1196	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
1197}
1198
1199func (r *CreateWebhookTriggerRequest) ToJsonString() string {
1200    b, _ := json.Marshal(r)
1201    return string(b)
1202}
1203
1204// FromJsonString It is highly **NOT** recommended to use this function
1205// because it has no param check, nor strict type check
1206func (r *CreateWebhookTriggerRequest) FromJsonString(s string) error {
1207	f := make(map[string]interface{})
1208	if err := json.Unmarshal([]byte(s), &f); err != nil {
1209		return err
1210	}
1211	delete(f, "RegistryId")
1212	delete(f, "Trigger")
1213	delete(f, "Namespace")
1214	if len(f) > 0 {
1215		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateWebhookTriggerRequest has unknown keys!", "")
1216	}
1217	return json.Unmarshal([]byte(s), &r)
1218}
1219
1220type CreateWebhookTriggerResponse struct {
1221	*tchttp.BaseResponse
1222	Response *struct {
1223
1224		// 新建的触发器
1225		Trigger *WebhookTrigger `json:"Trigger,omitempty" name:"Trigger"`
1226
1227		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1228		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1229	} `json:"Response"`
1230}
1231
1232func (r *CreateWebhookTriggerResponse) ToJsonString() string {
1233    b, _ := json.Marshal(r)
1234    return string(b)
1235}
1236
1237// FromJsonString It is highly **NOT** recommended to use this function
1238// because it has no param check, nor strict type check
1239func (r *CreateWebhookTriggerResponse) FromJsonString(s string) error {
1240	return json.Unmarshal([]byte(s), &r)
1241}
1242
1243type DeleteApplicationTriggerPersonalRequest struct {
1244	*tchttp.BaseRequest
1245
1246	// 触发器名称
1247	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`
1248}
1249
1250func (r *DeleteApplicationTriggerPersonalRequest) ToJsonString() string {
1251    b, _ := json.Marshal(r)
1252    return string(b)
1253}
1254
1255// FromJsonString It is highly **NOT** recommended to use this function
1256// because it has no param check, nor strict type check
1257func (r *DeleteApplicationTriggerPersonalRequest) FromJsonString(s string) error {
1258	f := make(map[string]interface{})
1259	if err := json.Unmarshal([]byte(s), &f); err != nil {
1260		return err
1261	}
1262	delete(f, "TriggerName")
1263	if len(f) > 0 {
1264		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteApplicationTriggerPersonalRequest has unknown keys!", "")
1265	}
1266	return json.Unmarshal([]byte(s), &r)
1267}
1268
1269type DeleteApplicationTriggerPersonalResponse struct {
1270	*tchttp.BaseResponse
1271	Response *struct {
1272
1273		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1274		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1275	} `json:"Response"`
1276}
1277
1278func (r *DeleteApplicationTriggerPersonalResponse) ToJsonString() string {
1279    b, _ := json.Marshal(r)
1280    return string(b)
1281}
1282
1283// FromJsonString It is highly **NOT** recommended to use this function
1284// because it has no param check, nor strict type check
1285func (r *DeleteApplicationTriggerPersonalResponse) FromJsonString(s string) error {
1286	return json.Unmarshal([]byte(s), &r)
1287}
1288
1289type DeleteImageLifecycleGlobalPersonalRequest struct {
1290	*tchttp.BaseRequest
1291}
1292
1293func (r *DeleteImageLifecycleGlobalPersonalRequest) ToJsonString() string {
1294    b, _ := json.Marshal(r)
1295    return string(b)
1296}
1297
1298// FromJsonString It is highly **NOT** recommended to use this function
1299// because it has no param check, nor strict type check
1300func (r *DeleteImageLifecycleGlobalPersonalRequest) FromJsonString(s string) error {
1301	f := make(map[string]interface{})
1302	if err := json.Unmarshal([]byte(s), &f); err != nil {
1303		return err
1304	}
1305	if len(f) > 0 {
1306		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteImageLifecycleGlobalPersonalRequest has unknown keys!", "")
1307	}
1308	return json.Unmarshal([]byte(s), &r)
1309}
1310
1311type DeleteImageLifecycleGlobalPersonalResponse struct {
1312	*tchttp.BaseResponse
1313	Response *struct {
1314
1315		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1316		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1317	} `json:"Response"`
1318}
1319
1320func (r *DeleteImageLifecycleGlobalPersonalResponse) ToJsonString() string {
1321    b, _ := json.Marshal(r)
1322    return string(b)
1323}
1324
1325// FromJsonString It is highly **NOT** recommended to use this function
1326// because it has no param check, nor strict type check
1327func (r *DeleteImageLifecycleGlobalPersonalResponse) FromJsonString(s string) error {
1328	return json.Unmarshal([]byte(s), &r)
1329}
1330
1331type DeleteImageLifecyclePersonalRequest struct {
1332	*tchttp.BaseRequest
1333
1334	// 仓库名称
1335	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
1336}
1337
1338func (r *DeleteImageLifecyclePersonalRequest) ToJsonString() string {
1339    b, _ := json.Marshal(r)
1340    return string(b)
1341}
1342
1343// FromJsonString It is highly **NOT** recommended to use this function
1344// because it has no param check, nor strict type check
1345func (r *DeleteImageLifecyclePersonalRequest) FromJsonString(s string) error {
1346	f := make(map[string]interface{})
1347	if err := json.Unmarshal([]byte(s), &f); err != nil {
1348		return err
1349	}
1350	delete(f, "RepoName")
1351	if len(f) > 0 {
1352		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteImageLifecyclePersonalRequest has unknown keys!", "")
1353	}
1354	return json.Unmarshal([]byte(s), &r)
1355}
1356
1357type DeleteImageLifecyclePersonalResponse struct {
1358	*tchttp.BaseResponse
1359	Response *struct {
1360
1361		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1362		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1363	} `json:"Response"`
1364}
1365
1366func (r *DeleteImageLifecyclePersonalResponse) ToJsonString() string {
1367    b, _ := json.Marshal(r)
1368    return string(b)
1369}
1370
1371// FromJsonString It is highly **NOT** recommended to use this function
1372// because it has no param check, nor strict type check
1373func (r *DeleteImageLifecyclePersonalResponse) FromJsonString(s string) error {
1374	return json.Unmarshal([]byte(s), &r)
1375}
1376
1377type DeleteImagePersonalRequest struct {
1378	*tchttp.BaseRequest
1379
1380	// 仓库名称
1381	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
1382
1383	// Tag名
1384	Tag *string `json:"Tag,omitempty" name:"Tag"`
1385}
1386
1387func (r *DeleteImagePersonalRequest) 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 *DeleteImagePersonalRequest) FromJsonString(s string) error {
1395	f := make(map[string]interface{})
1396	if err := json.Unmarshal([]byte(s), &f); err != nil {
1397		return err
1398	}
1399	delete(f, "RepoName")
1400	delete(f, "Tag")
1401	if len(f) > 0 {
1402		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteImagePersonalRequest has unknown keys!", "")
1403	}
1404	return json.Unmarshal([]byte(s), &r)
1405}
1406
1407type DeleteImagePersonalResponse struct {
1408	*tchttp.BaseResponse
1409	Response *struct {
1410
1411		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1412		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1413	} `json:"Response"`
1414}
1415
1416func (r *DeleteImagePersonalResponse) ToJsonString() string {
1417    b, _ := json.Marshal(r)
1418    return string(b)
1419}
1420
1421// FromJsonString It is highly **NOT** recommended to use this function
1422// because it has no param check, nor strict type check
1423func (r *DeleteImagePersonalResponse) FromJsonString(s string) error {
1424	return json.Unmarshal([]byte(s), &r)
1425}
1426
1427type DeleteImageRequest struct {
1428	*tchttp.BaseRequest
1429
1430	// 实例Id
1431	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1432
1433	// 镜像仓库名称
1434	RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
1435
1436	// 镜像版本
1437	ImageVersion *string `json:"ImageVersion,omitempty" name:"ImageVersion"`
1438
1439	// 命名空间名称
1440	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
1441}
1442
1443func (r *DeleteImageRequest) ToJsonString() string {
1444    b, _ := json.Marshal(r)
1445    return string(b)
1446}
1447
1448// FromJsonString It is highly **NOT** recommended to use this function
1449// because it has no param check, nor strict type check
1450func (r *DeleteImageRequest) FromJsonString(s string) error {
1451	f := make(map[string]interface{})
1452	if err := json.Unmarshal([]byte(s), &f); err != nil {
1453		return err
1454	}
1455	delete(f, "RegistryId")
1456	delete(f, "RepositoryName")
1457	delete(f, "ImageVersion")
1458	delete(f, "NamespaceName")
1459	if len(f) > 0 {
1460		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteImageRequest has unknown keys!", "")
1461	}
1462	return json.Unmarshal([]byte(s), &r)
1463}
1464
1465type DeleteImageResponse struct {
1466	*tchttp.BaseResponse
1467	Response *struct {
1468
1469		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1470		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1471	} `json:"Response"`
1472}
1473
1474func (r *DeleteImageResponse) ToJsonString() string {
1475    b, _ := json.Marshal(r)
1476    return string(b)
1477}
1478
1479// FromJsonString It is highly **NOT** recommended to use this function
1480// because it has no param check, nor strict type check
1481func (r *DeleteImageResponse) FromJsonString(s string) error {
1482	return json.Unmarshal([]byte(s), &r)
1483}
1484
1485type DeleteImmutableTagRulesRequest struct {
1486	*tchttp.BaseRequest
1487
1488	// 实例 Id
1489	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1490
1491	// 命名空间
1492	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
1493
1494	// 规则 Id
1495	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
1496}
1497
1498func (r *DeleteImmutableTagRulesRequest) ToJsonString() string {
1499    b, _ := json.Marshal(r)
1500    return string(b)
1501}
1502
1503// FromJsonString It is highly **NOT** recommended to use this function
1504// because it has no param check, nor strict type check
1505func (r *DeleteImmutableTagRulesRequest) FromJsonString(s string) error {
1506	f := make(map[string]interface{})
1507	if err := json.Unmarshal([]byte(s), &f); err != nil {
1508		return err
1509	}
1510	delete(f, "RegistryId")
1511	delete(f, "NamespaceName")
1512	delete(f, "RuleId")
1513	if len(f) > 0 {
1514		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteImmutableTagRulesRequest has unknown keys!", "")
1515	}
1516	return json.Unmarshal([]byte(s), &r)
1517}
1518
1519type DeleteImmutableTagRulesResponse struct {
1520	*tchttp.BaseResponse
1521	Response *struct {
1522
1523		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1524		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1525	} `json:"Response"`
1526}
1527
1528func (r *DeleteImmutableTagRulesResponse) ToJsonString() string {
1529    b, _ := json.Marshal(r)
1530    return string(b)
1531}
1532
1533// FromJsonString It is highly **NOT** recommended to use this function
1534// because it has no param check, nor strict type check
1535func (r *DeleteImmutableTagRulesResponse) FromJsonString(s string) error {
1536	return json.Unmarshal([]byte(s), &r)
1537}
1538
1539type DeleteInstanceRequest struct {
1540	*tchttp.BaseRequest
1541
1542	// 实例id
1543	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1544
1545	// 是否删除存储桶,默认为false
1546	DeleteBucket *bool `json:"DeleteBucket,omitempty" name:"DeleteBucket"`
1547}
1548
1549func (r *DeleteInstanceRequest) ToJsonString() string {
1550    b, _ := json.Marshal(r)
1551    return string(b)
1552}
1553
1554// FromJsonString It is highly **NOT** recommended to use this function
1555// because it has no param check, nor strict type check
1556func (r *DeleteInstanceRequest) FromJsonString(s string) error {
1557	f := make(map[string]interface{})
1558	if err := json.Unmarshal([]byte(s), &f); err != nil {
1559		return err
1560	}
1561	delete(f, "RegistryId")
1562	delete(f, "DeleteBucket")
1563	if len(f) > 0 {
1564		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteInstanceRequest has unknown keys!", "")
1565	}
1566	return json.Unmarshal([]byte(s), &r)
1567}
1568
1569type DeleteInstanceResponse struct {
1570	*tchttp.BaseResponse
1571	Response *struct {
1572
1573		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1574		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1575	} `json:"Response"`
1576}
1577
1578func (r *DeleteInstanceResponse) ToJsonString() string {
1579    b, _ := json.Marshal(r)
1580    return string(b)
1581}
1582
1583// FromJsonString It is highly **NOT** recommended to use this function
1584// because it has no param check, nor strict type check
1585func (r *DeleteInstanceResponse) FromJsonString(s string) error {
1586	return json.Unmarshal([]byte(s), &r)
1587}
1588
1589type DeleteInstanceTokenRequest struct {
1590	*tchttp.BaseRequest
1591
1592	// 实例 ID
1593	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1594
1595	// 访问凭证 ID
1596	TokenId *string `json:"TokenId,omitempty" name:"TokenId"`
1597}
1598
1599func (r *DeleteInstanceTokenRequest) ToJsonString() string {
1600    b, _ := json.Marshal(r)
1601    return string(b)
1602}
1603
1604// FromJsonString It is highly **NOT** recommended to use this function
1605// because it has no param check, nor strict type check
1606func (r *DeleteInstanceTokenRequest) FromJsonString(s string) error {
1607	f := make(map[string]interface{})
1608	if err := json.Unmarshal([]byte(s), &f); err != nil {
1609		return err
1610	}
1611	delete(f, "RegistryId")
1612	delete(f, "TokenId")
1613	if len(f) > 0 {
1614		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteInstanceTokenRequest has unknown keys!", "")
1615	}
1616	return json.Unmarshal([]byte(s), &r)
1617}
1618
1619type DeleteInstanceTokenResponse struct {
1620	*tchttp.BaseResponse
1621	Response *struct {
1622
1623		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1624		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1625	} `json:"Response"`
1626}
1627
1628func (r *DeleteInstanceTokenResponse) ToJsonString() string {
1629    b, _ := json.Marshal(r)
1630    return string(b)
1631}
1632
1633// FromJsonString It is highly **NOT** recommended to use this function
1634// because it has no param check, nor strict type check
1635func (r *DeleteInstanceTokenResponse) FromJsonString(s string) error {
1636	return json.Unmarshal([]byte(s), &r)
1637}
1638
1639type DeleteInternalEndpointDnsRequest struct {
1640	*tchttp.BaseRequest
1641
1642	// tcr实例id
1643	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1644
1645	// 私有网络id
1646	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
1647
1648	// tcr内网访问链路ip
1649	EniLBIp *string `json:"EniLBIp,omitempty" name:"EniLBIp"`
1650
1651	// true:使用默认域名
1652	// false:  使用带有vpc的域名
1653	UsePublicDomain *bool `json:"UsePublicDomain,omitempty" name:"UsePublicDomain"`
1654}
1655
1656func (r *DeleteInternalEndpointDnsRequest) ToJsonString() string {
1657    b, _ := json.Marshal(r)
1658    return string(b)
1659}
1660
1661// FromJsonString It is highly **NOT** recommended to use this function
1662// because it has no param check, nor strict type check
1663func (r *DeleteInternalEndpointDnsRequest) FromJsonString(s string) error {
1664	f := make(map[string]interface{})
1665	if err := json.Unmarshal([]byte(s), &f); err != nil {
1666		return err
1667	}
1668	delete(f, "InstanceId")
1669	delete(f, "VpcId")
1670	delete(f, "EniLBIp")
1671	delete(f, "UsePublicDomain")
1672	if len(f) > 0 {
1673		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteInternalEndpointDnsRequest has unknown keys!", "")
1674	}
1675	return json.Unmarshal([]byte(s), &r)
1676}
1677
1678type DeleteInternalEndpointDnsResponse struct {
1679	*tchttp.BaseResponse
1680	Response *struct {
1681
1682		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1683		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1684	} `json:"Response"`
1685}
1686
1687func (r *DeleteInternalEndpointDnsResponse) ToJsonString() string {
1688    b, _ := json.Marshal(r)
1689    return string(b)
1690}
1691
1692// FromJsonString It is highly **NOT** recommended to use this function
1693// because it has no param check, nor strict type check
1694func (r *DeleteInternalEndpointDnsResponse) FromJsonString(s string) error {
1695	return json.Unmarshal([]byte(s), &r)
1696}
1697
1698type DeleteMultipleSecurityPolicyRequest struct {
1699	*tchttp.BaseRequest
1700
1701	// 实例Id
1702	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1703
1704	// 安全组策略
1705	SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"`
1706}
1707
1708func (r *DeleteMultipleSecurityPolicyRequest) ToJsonString() string {
1709    b, _ := json.Marshal(r)
1710    return string(b)
1711}
1712
1713// FromJsonString It is highly **NOT** recommended to use this function
1714// because it has no param check, nor strict type check
1715func (r *DeleteMultipleSecurityPolicyRequest) FromJsonString(s string) error {
1716	f := make(map[string]interface{})
1717	if err := json.Unmarshal([]byte(s), &f); err != nil {
1718		return err
1719	}
1720	delete(f, "RegistryId")
1721	delete(f, "SecurityGroupPolicySet")
1722	if len(f) > 0 {
1723		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteMultipleSecurityPolicyRequest has unknown keys!", "")
1724	}
1725	return json.Unmarshal([]byte(s), &r)
1726}
1727
1728type DeleteMultipleSecurityPolicyResponse struct {
1729	*tchttp.BaseResponse
1730	Response *struct {
1731
1732		// 实例Id
1733		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1734
1735		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1736		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1737	} `json:"Response"`
1738}
1739
1740func (r *DeleteMultipleSecurityPolicyResponse) ToJsonString() string {
1741    b, _ := json.Marshal(r)
1742    return string(b)
1743}
1744
1745// FromJsonString It is highly **NOT** recommended to use this function
1746// because it has no param check, nor strict type check
1747func (r *DeleteMultipleSecurityPolicyResponse) FromJsonString(s string) error {
1748	return json.Unmarshal([]byte(s), &r)
1749}
1750
1751type DeleteNamespacePersonalRequest struct {
1752	*tchttp.BaseRequest
1753
1754	// 命名空间名称
1755	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
1756}
1757
1758func (r *DeleteNamespacePersonalRequest) ToJsonString() string {
1759    b, _ := json.Marshal(r)
1760    return string(b)
1761}
1762
1763// FromJsonString It is highly **NOT** recommended to use this function
1764// because it has no param check, nor strict type check
1765func (r *DeleteNamespacePersonalRequest) FromJsonString(s string) error {
1766	f := make(map[string]interface{})
1767	if err := json.Unmarshal([]byte(s), &f); err != nil {
1768		return err
1769	}
1770	delete(f, "Namespace")
1771	if len(f) > 0 {
1772		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteNamespacePersonalRequest has unknown keys!", "")
1773	}
1774	return json.Unmarshal([]byte(s), &r)
1775}
1776
1777type DeleteNamespacePersonalResponse struct {
1778	*tchttp.BaseResponse
1779	Response *struct {
1780
1781		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1782		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1783	} `json:"Response"`
1784}
1785
1786func (r *DeleteNamespacePersonalResponse) ToJsonString() string {
1787    b, _ := json.Marshal(r)
1788    return string(b)
1789}
1790
1791// FromJsonString It is highly **NOT** recommended to use this function
1792// because it has no param check, nor strict type check
1793func (r *DeleteNamespacePersonalResponse) FromJsonString(s string) error {
1794	return json.Unmarshal([]byte(s), &r)
1795}
1796
1797type DeleteNamespaceRequest struct {
1798	*tchttp.BaseRequest
1799
1800	// 实例ID
1801	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1802
1803	// 命名空间的名称
1804	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
1805}
1806
1807func (r *DeleteNamespaceRequest) ToJsonString() string {
1808    b, _ := json.Marshal(r)
1809    return string(b)
1810}
1811
1812// FromJsonString It is highly **NOT** recommended to use this function
1813// because it has no param check, nor strict type check
1814func (r *DeleteNamespaceRequest) FromJsonString(s string) error {
1815	f := make(map[string]interface{})
1816	if err := json.Unmarshal([]byte(s), &f); err != nil {
1817		return err
1818	}
1819	delete(f, "RegistryId")
1820	delete(f, "NamespaceName")
1821	if len(f) > 0 {
1822		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteNamespaceRequest has unknown keys!", "")
1823	}
1824	return json.Unmarshal([]byte(s), &r)
1825}
1826
1827type DeleteNamespaceResponse struct {
1828	*tchttp.BaseResponse
1829	Response *struct {
1830
1831		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1832		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1833	} `json:"Response"`
1834}
1835
1836func (r *DeleteNamespaceResponse) ToJsonString() string {
1837    b, _ := json.Marshal(r)
1838    return string(b)
1839}
1840
1841// FromJsonString It is highly **NOT** recommended to use this function
1842// because it has no param check, nor strict type check
1843func (r *DeleteNamespaceResponse) FromJsonString(s string) error {
1844	return json.Unmarshal([]byte(s), &r)
1845}
1846
1847type DeleteRepositoryPersonalRequest struct {
1848	*tchttp.BaseRequest
1849
1850	// 仓库名称
1851	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
1852}
1853
1854func (r *DeleteRepositoryPersonalRequest) ToJsonString() string {
1855    b, _ := json.Marshal(r)
1856    return string(b)
1857}
1858
1859// FromJsonString It is highly **NOT** recommended to use this function
1860// because it has no param check, nor strict type check
1861func (r *DeleteRepositoryPersonalRequest) FromJsonString(s string) error {
1862	f := make(map[string]interface{})
1863	if err := json.Unmarshal([]byte(s), &f); err != nil {
1864		return err
1865	}
1866	delete(f, "RepoName")
1867	if len(f) > 0 {
1868		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteRepositoryPersonalRequest has unknown keys!", "")
1869	}
1870	return json.Unmarshal([]byte(s), &r)
1871}
1872
1873type DeleteRepositoryPersonalResponse struct {
1874	*tchttp.BaseResponse
1875	Response *struct {
1876
1877		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1878		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1879	} `json:"Response"`
1880}
1881
1882func (r *DeleteRepositoryPersonalResponse) ToJsonString() string {
1883    b, _ := json.Marshal(r)
1884    return string(b)
1885}
1886
1887// FromJsonString It is highly **NOT** recommended to use this function
1888// because it has no param check, nor strict type check
1889func (r *DeleteRepositoryPersonalResponse) FromJsonString(s string) error {
1890	return json.Unmarshal([]byte(s), &r)
1891}
1892
1893type DeleteRepositoryRequest struct {
1894	*tchttp.BaseRequest
1895
1896	// 实例Id
1897	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1898
1899	// 命名空间的名称
1900	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
1901
1902	// 镜像仓库的名称
1903	RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
1904}
1905
1906func (r *DeleteRepositoryRequest) ToJsonString() string {
1907    b, _ := json.Marshal(r)
1908    return string(b)
1909}
1910
1911// FromJsonString It is highly **NOT** recommended to use this function
1912// because it has no param check, nor strict type check
1913func (r *DeleteRepositoryRequest) FromJsonString(s string) error {
1914	f := make(map[string]interface{})
1915	if err := json.Unmarshal([]byte(s), &f); err != nil {
1916		return err
1917	}
1918	delete(f, "RegistryId")
1919	delete(f, "NamespaceName")
1920	delete(f, "RepositoryName")
1921	if len(f) > 0 {
1922		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteRepositoryRequest has unknown keys!", "")
1923	}
1924	return json.Unmarshal([]byte(s), &r)
1925}
1926
1927type DeleteRepositoryResponse struct {
1928	*tchttp.BaseResponse
1929	Response *struct {
1930
1931		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1932		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1933	} `json:"Response"`
1934}
1935
1936func (r *DeleteRepositoryResponse) ToJsonString() string {
1937    b, _ := json.Marshal(r)
1938    return string(b)
1939}
1940
1941// FromJsonString It is highly **NOT** recommended to use this function
1942// because it has no param check, nor strict type check
1943func (r *DeleteRepositoryResponse) FromJsonString(s string) error {
1944	return json.Unmarshal([]byte(s), &r)
1945}
1946
1947type DeleteSecurityPolicyRequest struct {
1948	*tchttp.BaseRequest
1949
1950	// 实例Id
1951	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1952
1953	// 白名单Id
1954	PolicyIndex *int64 `json:"PolicyIndex,omitempty" name:"PolicyIndex"`
1955
1956	// 白名单版本
1957	PolicyVersion *string `json:"PolicyVersion,omitempty" name:"PolicyVersion"`
1958}
1959
1960func (r *DeleteSecurityPolicyRequest) ToJsonString() string {
1961    b, _ := json.Marshal(r)
1962    return string(b)
1963}
1964
1965// FromJsonString It is highly **NOT** recommended to use this function
1966// because it has no param check, nor strict type check
1967func (r *DeleteSecurityPolicyRequest) FromJsonString(s string) error {
1968	f := make(map[string]interface{})
1969	if err := json.Unmarshal([]byte(s), &f); err != nil {
1970		return err
1971	}
1972	delete(f, "RegistryId")
1973	delete(f, "PolicyIndex")
1974	delete(f, "PolicyVersion")
1975	if len(f) > 0 {
1976		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteSecurityPolicyRequest has unknown keys!", "")
1977	}
1978	return json.Unmarshal([]byte(s), &r)
1979}
1980
1981type DeleteSecurityPolicyResponse struct {
1982	*tchttp.BaseResponse
1983	Response *struct {
1984
1985		// 实例Id
1986		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
1987
1988		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1989		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1990	} `json:"Response"`
1991}
1992
1993func (r *DeleteSecurityPolicyResponse) ToJsonString() string {
1994    b, _ := json.Marshal(r)
1995    return string(b)
1996}
1997
1998// FromJsonString It is highly **NOT** recommended to use this function
1999// because it has no param check, nor strict type check
2000func (r *DeleteSecurityPolicyResponse) FromJsonString(s string) error {
2001	return json.Unmarshal([]byte(s), &r)
2002}
2003
2004type DeleteTagRetentionRuleRequest struct {
2005	*tchttp.BaseRequest
2006
2007	// 主实例iD
2008	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2009
2010	// 版本保留规则的Id
2011	RetentionId *int64 `json:"RetentionId,omitempty" name:"RetentionId"`
2012}
2013
2014func (r *DeleteTagRetentionRuleRequest) ToJsonString() string {
2015    b, _ := json.Marshal(r)
2016    return string(b)
2017}
2018
2019// FromJsonString It is highly **NOT** recommended to use this function
2020// because it has no param check, nor strict type check
2021func (r *DeleteTagRetentionRuleRequest) FromJsonString(s string) error {
2022	f := make(map[string]interface{})
2023	if err := json.Unmarshal([]byte(s), &f); err != nil {
2024		return err
2025	}
2026	delete(f, "RegistryId")
2027	delete(f, "RetentionId")
2028	if len(f) > 0 {
2029		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteTagRetentionRuleRequest has unknown keys!", "")
2030	}
2031	return json.Unmarshal([]byte(s), &r)
2032}
2033
2034type DeleteTagRetentionRuleResponse struct {
2035	*tchttp.BaseResponse
2036	Response *struct {
2037
2038		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2039		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2040	} `json:"Response"`
2041}
2042
2043func (r *DeleteTagRetentionRuleResponse) ToJsonString() string {
2044    b, _ := json.Marshal(r)
2045    return string(b)
2046}
2047
2048// FromJsonString It is highly **NOT** recommended to use this function
2049// because it has no param check, nor strict type check
2050func (r *DeleteTagRetentionRuleResponse) FromJsonString(s string) error {
2051	return json.Unmarshal([]byte(s), &r)
2052}
2053
2054type DeleteWebhookTriggerRequest struct {
2055	*tchttp.BaseRequest
2056
2057	// 实例Id
2058	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2059
2060	// 命名空间
2061	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
2062
2063	// 触发器 Id
2064	Id *int64 `json:"Id,omitempty" name:"Id"`
2065}
2066
2067func (r *DeleteWebhookTriggerRequest) ToJsonString() string {
2068    b, _ := json.Marshal(r)
2069    return string(b)
2070}
2071
2072// FromJsonString It is highly **NOT** recommended to use this function
2073// because it has no param check, nor strict type check
2074func (r *DeleteWebhookTriggerRequest) FromJsonString(s string) error {
2075	f := make(map[string]interface{})
2076	if err := json.Unmarshal([]byte(s), &f); err != nil {
2077		return err
2078	}
2079	delete(f, "RegistryId")
2080	delete(f, "Namespace")
2081	delete(f, "Id")
2082	if len(f) > 0 {
2083		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWebhookTriggerRequest has unknown keys!", "")
2084	}
2085	return json.Unmarshal([]byte(s), &r)
2086}
2087
2088type DeleteWebhookTriggerResponse struct {
2089	*tchttp.BaseResponse
2090	Response *struct {
2091
2092		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2093		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2094	} `json:"Response"`
2095}
2096
2097func (r *DeleteWebhookTriggerResponse) ToJsonString() string {
2098    b, _ := json.Marshal(r)
2099    return string(b)
2100}
2101
2102// FromJsonString It is highly **NOT** recommended to use this function
2103// because it has no param check, nor strict type check
2104func (r *DeleteWebhookTriggerResponse) FromJsonString(s string) error {
2105	return json.Unmarshal([]byte(s), &r)
2106}
2107
2108type DescribeApplicationTriggerLogPersonalRequest struct {
2109	*tchttp.BaseRequest
2110
2111	// 仓库名称
2112	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
2113
2114	// 偏移量,默认为0
2115	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
2116
2117	// 返回最大数量,默认 20, 最大值 100
2118	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
2119
2120	// 升序或降序
2121	Order *string `json:"Order,omitempty" name:"Order"`
2122
2123	// 按某列排序
2124	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`
2125}
2126
2127func (r *DescribeApplicationTriggerLogPersonalRequest) ToJsonString() string {
2128    b, _ := json.Marshal(r)
2129    return string(b)
2130}
2131
2132// FromJsonString It is highly **NOT** recommended to use this function
2133// because it has no param check, nor strict type check
2134func (r *DescribeApplicationTriggerLogPersonalRequest) FromJsonString(s string) error {
2135	f := make(map[string]interface{})
2136	if err := json.Unmarshal([]byte(s), &f); err != nil {
2137		return err
2138	}
2139	delete(f, "RepoName")
2140	delete(f, "Offset")
2141	delete(f, "Limit")
2142	delete(f, "Order")
2143	delete(f, "OrderBy")
2144	if len(f) > 0 {
2145		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeApplicationTriggerLogPersonalRequest has unknown keys!", "")
2146	}
2147	return json.Unmarshal([]byte(s), &r)
2148}
2149
2150type DescribeApplicationTriggerLogPersonalResp struct {
2151
2152	// 返回总数
2153	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
2154
2155	// 触发日志列表
2156	// 注意:此字段可能返回 null,表示取不到有效值。
2157	LogInfo []*TriggerLogResp `json:"LogInfo,omitempty" name:"LogInfo"`
2158}
2159
2160type DescribeApplicationTriggerLogPersonalResponse struct {
2161	*tchttp.BaseResponse
2162	Response *struct {
2163
2164		// 触发日志返回值
2165		Data *DescribeApplicationTriggerLogPersonalResp `json:"Data,omitempty" name:"Data"`
2166
2167		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2168		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2169	} `json:"Response"`
2170}
2171
2172func (r *DescribeApplicationTriggerLogPersonalResponse) ToJsonString() string {
2173    b, _ := json.Marshal(r)
2174    return string(b)
2175}
2176
2177// FromJsonString It is highly **NOT** recommended to use this function
2178// because it has no param check, nor strict type check
2179func (r *DescribeApplicationTriggerLogPersonalResponse) FromJsonString(s string) error {
2180	return json.Unmarshal([]byte(s), &r)
2181}
2182
2183type DescribeApplicationTriggerPersonalRequest struct {
2184	*tchttp.BaseRequest
2185
2186	// 仓库名称
2187	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
2188
2189	// 触发器名称
2190	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`
2191
2192	// 偏移量,默认为0
2193	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
2194
2195	// 返回最大数量,默认 20, 最大值 100
2196	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
2197}
2198
2199func (r *DescribeApplicationTriggerPersonalRequest) ToJsonString() string {
2200    b, _ := json.Marshal(r)
2201    return string(b)
2202}
2203
2204// FromJsonString It is highly **NOT** recommended to use this function
2205// because it has no param check, nor strict type check
2206func (r *DescribeApplicationTriggerPersonalRequest) FromJsonString(s string) error {
2207	f := make(map[string]interface{})
2208	if err := json.Unmarshal([]byte(s), &f); err != nil {
2209		return err
2210	}
2211	delete(f, "RepoName")
2212	delete(f, "TriggerName")
2213	delete(f, "Offset")
2214	delete(f, "Limit")
2215	if len(f) > 0 {
2216		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeApplicationTriggerPersonalRequest has unknown keys!", "")
2217	}
2218	return json.Unmarshal([]byte(s), &r)
2219}
2220
2221type DescribeApplicationTriggerPersonalResp struct {
2222
2223	// 返回条目总数
2224	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
2225
2226	// 触发器列表
2227	TriggerInfo []*TriggerResp `json:"TriggerInfo,omitempty" name:"TriggerInfo"`
2228}
2229
2230type DescribeApplicationTriggerPersonalResponse struct {
2231	*tchttp.BaseResponse
2232	Response *struct {
2233
2234		// 触发器列表返回值
2235		Data *DescribeApplicationTriggerPersonalResp `json:"Data,omitempty" name:"Data"`
2236
2237		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2238		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2239	} `json:"Response"`
2240}
2241
2242func (r *DescribeApplicationTriggerPersonalResponse) ToJsonString() string {
2243    b, _ := json.Marshal(r)
2244    return string(b)
2245}
2246
2247// FromJsonString It is highly **NOT** recommended to use this function
2248// because it has no param check, nor strict type check
2249func (r *DescribeApplicationTriggerPersonalResponse) FromJsonString(s string) error {
2250	return json.Unmarshal([]byte(s), &r)
2251}
2252
2253type DescribeChartDownloadInfoRequest struct {
2254	*tchttp.BaseRequest
2255
2256	// 实例ID
2257	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2258
2259	// 命名空间
2260	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
2261
2262	// Chart包的名称
2263	ChartName *string `json:"ChartName,omitempty" name:"ChartName"`
2264
2265	// Chart包的版本
2266	ChartVersion *string `json:"ChartVersion,omitempty" name:"ChartVersion"`
2267}
2268
2269func (r *DescribeChartDownloadInfoRequest) ToJsonString() string {
2270    b, _ := json.Marshal(r)
2271    return string(b)
2272}
2273
2274// FromJsonString It is highly **NOT** recommended to use this function
2275// because it has no param check, nor strict type check
2276func (r *DescribeChartDownloadInfoRequest) FromJsonString(s string) error {
2277	f := make(map[string]interface{})
2278	if err := json.Unmarshal([]byte(s), &f); err != nil {
2279		return err
2280	}
2281	delete(f, "RegistryId")
2282	delete(f, "NamespaceName")
2283	delete(f, "ChartName")
2284	delete(f, "ChartVersion")
2285	if len(f) > 0 {
2286		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeChartDownloadInfoRequest has unknown keys!", "")
2287	}
2288	return json.Unmarshal([]byte(s), &r)
2289}
2290
2291type DescribeChartDownloadInfoResponse struct {
2292	*tchttp.BaseResponse
2293	Response *struct {
2294
2295		// 用于下载的url的预签名地址
2296		PreSignedDownloadURL *string `json:"PreSignedDownloadURL,omitempty" name:"PreSignedDownloadURL"`
2297
2298		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2299		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2300	} `json:"Response"`
2301}
2302
2303func (r *DescribeChartDownloadInfoResponse) ToJsonString() string {
2304    b, _ := json.Marshal(r)
2305    return string(b)
2306}
2307
2308// FromJsonString It is highly **NOT** recommended to use this function
2309// because it has no param check, nor strict type check
2310func (r *DescribeChartDownloadInfoResponse) FromJsonString(s string) error {
2311	return json.Unmarshal([]byte(s), &r)
2312}
2313
2314type DescribeExternalEndpointStatusRequest struct {
2315	*tchttp.BaseRequest
2316
2317	// 实例Id
2318	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2319}
2320
2321func (r *DescribeExternalEndpointStatusRequest) ToJsonString() string {
2322    b, _ := json.Marshal(r)
2323    return string(b)
2324}
2325
2326// FromJsonString It is highly **NOT** recommended to use this function
2327// because it has no param check, nor strict type check
2328func (r *DescribeExternalEndpointStatusRequest) FromJsonString(s string) error {
2329	f := make(map[string]interface{})
2330	if err := json.Unmarshal([]byte(s), &f); err != nil {
2331		return err
2332	}
2333	delete(f, "RegistryId")
2334	if len(f) > 0 {
2335		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeExternalEndpointStatusRequest has unknown keys!", "")
2336	}
2337	return json.Unmarshal([]byte(s), &r)
2338}
2339
2340type DescribeExternalEndpointStatusResponse struct {
2341	*tchttp.BaseResponse
2342	Response *struct {
2343
2344		// 开启公网访问状态,开启中(Opening)、已开启(Opened)、关闭(Closed)
2345		Status *string `json:"Status,omitempty" name:"Status"`
2346
2347		// 原因
2348	// 注意:此字段可能返回 null,表示取不到有效值。
2349		Reason *string `json:"Reason,omitempty" name:"Reason"`
2350
2351		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2352		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2353	} `json:"Response"`
2354}
2355
2356func (r *DescribeExternalEndpointStatusResponse) ToJsonString() string {
2357    b, _ := json.Marshal(r)
2358    return string(b)
2359}
2360
2361// FromJsonString It is highly **NOT** recommended to use this function
2362// because it has no param check, nor strict type check
2363func (r *DescribeExternalEndpointStatusResponse) FromJsonString(s string) error {
2364	return json.Unmarshal([]byte(s), &r)
2365}
2366
2367type DescribeFavorRepositoryPersonalRequest struct {
2368	*tchttp.BaseRequest
2369
2370	// 仓库名称
2371	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
2372
2373	// 分页Limit
2374	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
2375
2376	// Offset用于分页
2377	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
2378}
2379
2380func (r *DescribeFavorRepositoryPersonalRequest) ToJsonString() string {
2381    b, _ := json.Marshal(r)
2382    return string(b)
2383}
2384
2385// FromJsonString It is highly **NOT** recommended to use this function
2386// because it has no param check, nor strict type check
2387func (r *DescribeFavorRepositoryPersonalRequest) FromJsonString(s string) error {
2388	f := make(map[string]interface{})
2389	if err := json.Unmarshal([]byte(s), &f); err != nil {
2390		return err
2391	}
2392	delete(f, "RepoName")
2393	delete(f, "Limit")
2394	delete(f, "Offset")
2395	if len(f) > 0 {
2396		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFavorRepositoryPersonalRequest has unknown keys!", "")
2397	}
2398	return json.Unmarshal([]byte(s), &r)
2399}
2400
2401type DescribeFavorRepositoryPersonalResponse struct {
2402	*tchttp.BaseResponse
2403	Response *struct {
2404
2405		// 个人收藏仓库列表返回信息
2406		Data *FavorResp `json:"Data,omitempty" name:"Data"`
2407
2408		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2409		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2410	} `json:"Response"`
2411}
2412
2413func (r *DescribeFavorRepositoryPersonalResponse) ToJsonString() string {
2414    b, _ := json.Marshal(r)
2415    return string(b)
2416}
2417
2418// FromJsonString It is highly **NOT** recommended to use this function
2419// because it has no param check, nor strict type check
2420func (r *DescribeFavorRepositoryPersonalResponse) FromJsonString(s string) error {
2421	return json.Unmarshal([]byte(s), &r)
2422}
2423
2424type DescribeImageFilterPersonalRequest struct {
2425	*tchttp.BaseRequest
2426
2427	// 仓库名称
2428	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
2429
2430	// Tag名
2431	Tag *string `json:"Tag,omitempty" name:"Tag"`
2432}
2433
2434func (r *DescribeImageFilterPersonalRequest) ToJsonString() string {
2435    b, _ := json.Marshal(r)
2436    return string(b)
2437}
2438
2439// FromJsonString It is highly **NOT** recommended to use this function
2440// because it has no param check, nor strict type check
2441func (r *DescribeImageFilterPersonalRequest) FromJsonString(s string) error {
2442	f := make(map[string]interface{})
2443	if err := json.Unmarshal([]byte(s), &f); err != nil {
2444		return err
2445	}
2446	delete(f, "RepoName")
2447	delete(f, "Tag")
2448	if len(f) > 0 {
2449		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeImageFilterPersonalRequest has unknown keys!", "")
2450	}
2451	return json.Unmarshal([]byte(s), &r)
2452}
2453
2454type DescribeImageFilterPersonalResponse struct {
2455	*tchttp.BaseResponse
2456	Response *struct {
2457
2458		// 返回tag镜像内容相同的tag列表
2459		Data *SameImagesResp `json:"Data,omitempty" name:"Data"`
2460
2461		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2462		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2463	} `json:"Response"`
2464}
2465
2466func (r *DescribeImageFilterPersonalResponse) ToJsonString() string {
2467    b, _ := json.Marshal(r)
2468    return string(b)
2469}
2470
2471// FromJsonString It is highly **NOT** recommended to use this function
2472// because it has no param check, nor strict type check
2473func (r *DescribeImageFilterPersonalResponse) FromJsonString(s string) error {
2474	return json.Unmarshal([]byte(s), &r)
2475}
2476
2477type DescribeImageLifecycleGlobalPersonalRequest struct {
2478	*tchttp.BaseRequest
2479}
2480
2481func (r *DescribeImageLifecycleGlobalPersonalRequest) ToJsonString() string {
2482    b, _ := json.Marshal(r)
2483    return string(b)
2484}
2485
2486// FromJsonString It is highly **NOT** recommended to use this function
2487// because it has no param check, nor strict type check
2488func (r *DescribeImageLifecycleGlobalPersonalRequest) FromJsonString(s string) error {
2489	f := make(map[string]interface{})
2490	if err := json.Unmarshal([]byte(s), &f); err != nil {
2491		return err
2492	}
2493	if len(f) > 0 {
2494		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeImageLifecycleGlobalPersonalRequest has unknown keys!", "")
2495	}
2496	return json.Unmarshal([]byte(s), &r)
2497}
2498
2499type DescribeImageLifecycleGlobalPersonalResponse struct {
2500	*tchttp.BaseResponse
2501	Response *struct {
2502
2503		// 全局自动删除策略信息
2504		Data *AutoDelStrategyInfoResp `json:"Data,omitempty" name:"Data"`
2505
2506		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2507		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2508	} `json:"Response"`
2509}
2510
2511func (r *DescribeImageLifecycleGlobalPersonalResponse) ToJsonString() string {
2512    b, _ := json.Marshal(r)
2513    return string(b)
2514}
2515
2516// FromJsonString It is highly **NOT** recommended to use this function
2517// because it has no param check, nor strict type check
2518func (r *DescribeImageLifecycleGlobalPersonalResponse) FromJsonString(s string) error {
2519	return json.Unmarshal([]byte(s), &r)
2520}
2521
2522type DescribeImageLifecyclePersonalRequest struct {
2523	*tchttp.BaseRequest
2524
2525	// 仓库名称
2526	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
2527}
2528
2529func (r *DescribeImageLifecyclePersonalRequest) ToJsonString() string {
2530    b, _ := json.Marshal(r)
2531    return string(b)
2532}
2533
2534// FromJsonString It is highly **NOT** recommended to use this function
2535// because it has no param check, nor strict type check
2536func (r *DescribeImageLifecyclePersonalRequest) FromJsonString(s string) error {
2537	f := make(map[string]interface{})
2538	if err := json.Unmarshal([]byte(s), &f); err != nil {
2539		return err
2540	}
2541	delete(f, "RepoName")
2542	if len(f) > 0 {
2543		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeImageLifecyclePersonalRequest has unknown keys!", "")
2544	}
2545	return json.Unmarshal([]byte(s), &r)
2546}
2547
2548type DescribeImageLifecyclePersonalResponse struct {
2549	*tchttp.BaseResponse
2550	Response *struct {
2551
2552		// 自动删除策略信息
2553		Data *AutoDelStrategyInfoResp `json:"Data,omitempty" name:"Data"`
2554
2555		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2556		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2557	} `json:"Response"`
2558}
2559
2560func (r *DescribeImageLifecyclePersonalResponse) ToJsonString() string {
2561    b, _ := json.Marshal(r)
2562    return string(b)
2563}
2564
2565// FromJsonString It is highly **NOT** recommended to use this function
2566// because it has no param check, nor strict type check
2567func (r *DescribeImageLifecyclePersonalResponse) FromJsonString(s string) error {
2568	return json.Unmarshal([]byte(s), &r)
2569}
2570
2571type DescribeImageManifestsRequest struct {
2572	*tchttp.BaseRequest
2573
2574	// 实例ID
2575	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2576
2577	// 命名空间名称
2578	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
2579
2580	// 镜像仓库名称
2581	RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
2582
2583	// 镜像版本
2584	ImageVersion *string `json:"ImageVersion,omitempty" name:"ImageVersion"`
2585}
2586
2587func (r *DescribeImageManifestsRequest) ToJsonString() string {
2588    b, _ := json.Marshal(r)
2589    return string(b)
2590}
2591
2592// FromJsonString It is highly **NOT** recommended to use this function
2593// because it has no param check, nor strict type check
2594func (r *DescribeImageManifestsRequest) FromJsonString(s string) error {
2595	f := make(map[string]interface{})
2596	if err := json.Unmarshal([]byte(s), &f); err != nil {
2597		return err
2598	}
2599	delete(f, "RegistryId")
2600	delete(f, "NamespaceName")
2601	delete(f, "RepositoryName")
2602	delete(f, "ImageVersion")
2603	if len(f) > 0 {
2604		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeImageManifestsRequest has unknown keys!", "")
2605	}
2606	return json.Unmarshal([]byte(s), &r)
2607}
2608
2609type DescribeImageManifestsResponse struct {
2610	*tchttp.BaseResponse
2611	Response *struct {
2612
2613		// 镜像的Manifest信息
2614		Manifest *string `json:"Manifest,omitempty" name:"Manifest"`
2615
2616		// 镜像的配置信息
2617		Config *string `json:"Config,omitempty" name:"Config"`
2618
2619		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2620		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2621	} `json:"Response"`
2622}
2623
2624func (r *DescribeImageManifestsResponse) ToJsonString() string {
2625    b, _ := json.Marshal(r)
2626    return string(b)
2627}
2628
2629// FromJsonString It is highly **NOT** recommended to use this function
2630// because it has no param check, nor strict type check
2631func (r *DescribeImageManifestsResponse) FromJsonString(s string) error {
2632	return json.Unmarshal([]byte(s), &r)
2633}
2634
2635type DescribeImagePersonalRequest struct {
2636	*tchttp.BaseRequest
2637
2638	// 仓库名称
2639	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
2640
2641	// 偏移量,默认为0
2642	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
2643
2644	// 返回最大数量,默认 20, 最大值 100
2645	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
2646
2647	// tag名称,可根据输入搜索
2648	Tag *string `json:"Tag,omitempty" name:"Tag"`
2649}
2650
2651func (r *DescribeImagePersonalRequest) ToJsonString() string {
2652    b, _ := json.Marshal(r)
2653    return string(b)
2654}
2655
2656// FromJsonString It is highly **NOT** recommended to use this function
2657// because it has no param check, nor strict type check
2658func (r *DescribeImagePersonalRequest) FromJsonString(s string) error {
2659	f := make(map[string]interface{})
2660	if err := json.Unmarshal([]byte(s), &f); err != nil {
2661		return err
2662	}
2663	delete(f, "RepoName")
2664	delete(f, "Offset")
2665	delete(f, "Limit")
2666	delete(f, "Tag")
2667	if len(f) > 0 {
2668		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeImagePersonalRequest has unknown keys!", "")
2669	}
2670	return json.Unmarshal([]byte(s), &r)
2671}
2672
2673type DescribeImagePersonalResponse struct {
2674	*tchttp.BaseResponse
2675	Response *struct {
2676
2677		// 镜像tag信息
2678		Data *TagInfoResp `json:"Data,omitempty" name:"Data"`
2679
2680		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2681		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2682	} `json:"Response"`
2683}
2684
2685func (r *DescribeImagePersonalResponse) ToJsonString() string {
2686    b, _ := json.Marshal(r)
2687    return string(b)
2688}
2689
2690// FromJsonString It is highly **NOT** recommended to use this function
2691// because it has no param check, nor strict type check
2692func (r *DescribeImagePersonalResponse) FromJsonString(s string) error {
2693	return json.Unmarshal([]byte(s), &r)
2694}
2695
2696type DescribeImagesRequest struct {
2697	*tchttp.BaseRequest
2698
2699	// 实例ID
2700	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2701
2702	// 命名空间名称
2703	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
2704
2705	// 镜像仓库名称
2706	RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
2707
2708	// 指定镜像版本进行查找,当前为模糊搜索
2709	ImageVersion *string `json:"ImageVersion,omitempty" name:"ImageVersion"`
2710
2711	// 每页个数,用于分页,默认20
2712	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
2713
2714	// 页数,默认值为1
2715	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
2716}
2717
2718func (r *DescribeImagesRequest) ToJsonString() string {
2719    b, _ := json.Marshal(r)
2720    return string(b)
2721}
2722
2723// FromJsonString It is highly **NOT** recommended to use this function
2724// because it has no param check, nor strict type check
2725func (r *DescribeImagesRequest) FromJsonString(s string) error {
2726	f := make(map[string]interface{})
2727	if err := json.Unmarshal([]byte(s), &f); err != nil {
2728		return err
2729	}
2730	delete(f, "RegistryId")
2731	delete(f, "NamespaceName")
2732	delete(f, "RepositoryName")
2733	delete(f, "ImageVersion")
2734	delete(f, "Limit")
2735	delete(f, "Offset")
2736	if len(f) > 0 {
2737		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeImagesRequest has unknown keys!", "")
2738	}
2739	return json.Unmarshal([]byte(s), &r)
2740}
2741
2742type DescribeImagesResponse struct {
2743	*tchttp.BaseResponse
2744	Response *struct {
2745
2746		// 容器镜像信息列表
2747		ImageInfoList []*TcrImageInfo `json:"ImageInfoList,omitempty" name:"ImageInfoList"`
2748
2749		// 容器镜像总数
2750		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
2751
2752		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2753		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2754	} `json:"Response"`
2755}
2756
2757func (r *DescribeImagesResponse) ToJsonString() string {
2758    b, _ := json.Marshal(r)
2759    return string(b)
2760}
2761
2762// FromJsonString It is highly **NOT** recommended to use this function
2763// because it has no param check, nor strict type check
2764func (r *DescribeImagesResponse) FromJsonString(s string) error {
2765	return json.Unmarshal([]byte(s), &r)
2766}
2767
2768type DescribeImmutableTagRulesRequest struct {
2769	*tchttp.BaseRequest
2770
2771	// 实例 Id
2772	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2773}
2774
2775func (r *DescribeImmutableTagRulesRequest) ToJsonString() string {
2776    b, _ := json.Marshal(r)
2777    return string(b)
2778}
2779
2780// FromJsonString It is highly **NOT** recommended to use this function
2781// because it has no param check, nor strict type check
2782func (r *DescribeImmutableTagRulesRequest) FromJsonString(s string) error {
2783	f := make(map[string]interface{})
2784	if err := json.Unmarshal([]byte(s), &f); err != nil {
2785		return err
2786	}
2787	delete(f, "RegistryId")
2788	if len(f) > 0 {
2789		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeImmutableTagRulesRequest has unknown keys!", "")
2790	}
2791	return json.Unmarshal([]byte(s), &r)
2792}
2793
2794type DescribeImmutableTagRulesResponse struct {
2795	*tchttp.BaseResponse
2796	Response *struct {
2797
2798		// 规则列表
2799	// 注意:此字段可能返回 null,表示取不到有效值。
2800		Rules []*ImmutableTagRule `json:"Rules,omitempty" name:"Rules"`
2801
2802		// 未创建规则的命名空间
2803	// 注意:此字段可能返回 null,表示取不到有效值。
2804		EmptyNs []*string `json:"EmptyNs,omitempty" name:"EmptyNs"`
2805
2806		// 规则总量
2807		Total *int64 `json:"Total,omitempty" name:"Total"`
2808
2809		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2810		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2811	} `json:"Response"`
2812}
2813
2814func (r *DescribeImmutableTagRulesResponse) ToJsonString() string {
2815    b, _ := json.Marshal(r)
2816    return string(b)
2817}
2818
2819// FromJsonString It is highly **NOT** recommended to use this function
2820// because it has no param check, nor strict type check
2821func (r *DescribeImmutableTagRulesResponse) FromJsonString(s string) error {
2822	return json.Unmarshal([]byte(s), &r)
2823}
2824
2825type DescribeInstanceStatusRequest struct {
2826	*tchttp.BaseRequest
2827
2828	// 实例ID的数组
2829	RegistryIds []*string `json:"RegistryIds,omitempty" name:"RegistryIds"`
2830}
2831
2832func (r *DescribeInstanceStatusRequest) ToJsonString() string {
2833    b, _ := json.Marshal(r)
2834    return string(b)
2835}
2836
2837// FromJsonString It is highly **NOT** recommended to use this function
2838// because it has no param check, nor strict type check
2839func (r *DescribeInstanceStatusRequest) FromJsonString(s string) error {
2840	f := make(map[string]interface{})
2841	if err := json.Unmarshal([]byte(s), &f); err != nil {
2842		return err
2843	}
2844	delete(f, "RegistryIds")
2845	if len(f) > 0 {
2846		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstanceStatusRequest has unknown keys!", "")
2847	}
2848	return json.Unmarshal([]byte(s), &r)
2849}
2850
2851type DescribeInstanceStatusResponse struct {
2852	*tchttp.BaseResponse
2853	Response *struct {
2854
2855		// 实例的状态列表
2856	// 注意:此字段可能返回 null,表示取不到有效值。
2857		RegistryStatusSet []*RegistryStatus `json:"RegistryStatusSet,omitempty" name:"RegistryStatusSet"`
2858
2859		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2860		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2861	} `json:"Response"`
2862}
2863
2864func (r *DescribeInstanceStatusResponse) ToJsonString() string {
2865    b, _ := json.Marshal(r)
2866    return string(b)
2867}
2868
2869// FromJsonString It is highly **NOT** recommended to use this function
2870// because it has no param check, nor strict type check
2871func (r *DescribeInstanceStatusResponse) FromJsonString(s string) error {
2872	return json.Unmarshal([]byte(s), &r)
2873}
2874
2875type DescribeInstanceTokenRequest struct {
2876	*tchttp.BaseRequest
2877
2878	// 实例 ID
2879	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
2880
2881	// 分页单页数量
2882	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
2883
2884	// 分页偏移量
2885	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
2886}
2887
2888func (r *DescribeInstanceTokenRequest) ToJsonString() string {
2889    b, _ := json.Marshal(r)
2890    return string(b)
2891}
2892
2893// FromJsonString It is highly **NOT** recommended to use this function
2894// because it has no param check, nor strict type check
2895func (r *DescribeInstanceTokenRequest) FromJsonString(s string) error {
2896	f := make(map[string]interface{})
2897	if err := json.Unmarshal([]byte(s), &f); err != nil {
2898		return err
2899	}
2900	delete(f, "RegistryId")
2901	delete(f, "Limit")
2902	delete(f, "Offset")
2903	if len(f) > 0 {
2904		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstanceTokenRequest has unknown keys!", "")
2905	}
2906	return json.Unmarshal([]byte(s), &r)
2907}
2908
2909type DescribeInstanceTokenResponse struct {
2910	*tchttp.BaseResponse
2911	Response *struct {
2912
2913		// 长期访问凭证总数
2914		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
2915
2916		// 长期访问凭证列表
2917		Tokens []*TcrInstanceToken `json:"Tokens,omitempty" name:"Tokens"`
2918
2919		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2920		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2921	} `json:"Response"`
2922}
2923
2924func (r *DescribeInstanceTokenResponse) ToJsonString() string {
2925    b, _ := json.Marshal(r)
2926    return string(b)
2927}
2928
2929// FromJsonString It is highly **NOT** recommended to use this function
2930// because it has no param check, nor strict type check
2931func (r *DescribeInstanceTokenResponse) FromJsonString(s string) error {
2932	return json.Unmarshal([]byte(s), &r)
2933}
2934
2935type DescribeInstancesRequest struct {
2936	*tchttp.BaseRequest
2937
2938	// 实例ID列表(为空时,
2939	// 表示获取账号下所有实例)
2940	Registryids []*string `json:"Registryids,omitempty" name:"Registryids"`
2941
2942	// 偏移量,默认0
2943	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
2944
2945	// 最大输出条数,默认20,最大为100
2946	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
2947
2948	// 过滤条件
2949	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
2950
2951	// 获取所有地域的实例,默认为False
2952	AllRegion *bool `json:"AllRegion,omitempty" name:"AllRegion"`
2953}
2954
2955func (r *DescribeInstancesRequest) ToJsonString() string {
2956    b, _ := json.Marshal(r)
2957    return string(b)
2958}
2959
2960// FromJsonString It is highly **NOT** recommended to use this function
2961// because it has no param check, nor strict type check
2962func (r *DescribeInstancesRequest) FromJsonString(s string) error {
2963	f := make(map[string]interface{})
2964	if err := json.Unmarshal([]byte(s), &f); err != nil {
2965		return err
2966	}
2967	delete(f, "Registryids")
2968	delete(f, "Offset")
2969	delete(f, "Limit")
2970	delete(f, "Filters")
2971	delete(f, "AllRegion")
2972	if len(f) > 0 {
2973		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstancesRequest has unknown keys!", "")
2974	}
2975	return json.Unmarshal([]byte(s), &r)
2976}
2977
2978type DescribeInstancesResponse struct {
2979	*tchttp.BaseResponse
2980	Response *struct {
2981
2982		// 总实例个数
2983		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
2984
2985		// 实例信息列表
2986	// 注意:此字段可能返回 null,表示取不到有效值。
2987		Registries []*Registry `json:"Registries,omitempty" name:"Registries"`
2988
2989		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2990		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2991	} `json:"Response"`
2992}
2993
2994func (r *DescribeInstancesResponse) ToJsonString() string {
2995    b, _ := json.Marshal(r)
2996    return string(b)
2997}
2998
2999// FromJsonString It is highly **NOT** recommended to use this function
3000// because it has no param check, nor strict type check
3001func (r *DescribeInstancesResponse) FromJsonString(s string) error {
3002	return json.Unmarshal([]byte(s), &r)
3003}
3004
3005type DescribeInternalEndpointDnsStatusRequest struct {
3006	*tchttp.BaseRequest
3007
3008	// vpc列表
3009	VpcSet []*VpcAndDomainInfo `json:"VpcSet,omitempty" name:"VpcSet"`
3010}
3011
3012func (r *DescribeInternalEndpointDnsStatusRequest) ToJsonString() string {
3013    b, _ := json.Marshal(r)
3014    return string(b)
3015}
3016
3017// FromJsonString It is highly **NOT** recommended to use this function
3018// because it has no param check, nor strict type check
3019func (r *DescribeInternalEndpointDnsStatusRequest) FromJsonString(s string) error {
3020	f := make(map[string]interface{})
3021	if err := json.Unmarshal([]byte(s), &f); err != nil {
3022		return err
3023	}
3024	delete(f, "VpcSet")
3025	if len(f) > 0 {
3026		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInternalEndpointDnsStatusRequest has unknown keys!", "")
3027	}
3028	return json.Unmarshal([]byte(s), &r)
3029}
3030
3031type DescribeInternalEndpointDnsStatusResponse struct {
3032	*tchttp.BaseResponse
3033	Response *struct {
3034
3035		// vpc私有域名解析状态列表
3036	// 注意:此字段可能返回 null,表示取不到有效值。
3037		VpcSet []*VpcPrivateDomainStatus `json:"VpcSet,omitempty" name:"VpcSet"`
3038
3039		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3040		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3041	} `json:"Response"`
3042}
3043
3044func (r *DescribeInternalEndpointDnsStatusResponse) ToJsonString() string {
3045    b, _ := json.Marshal(r)
3046    return string(b)
3047}
3048
3049// FromJsonString It is highly **NOT** recommended to use this function
3050// because it has no param check, nor strict type check
3051func (r *DescribeInternalEndpointDnsStatusResponse) FromJsonString(s string) error {
3052	return json.Unmarshal([]byte(s), &r)
3053}
3054
3055type DescribeInternalEndpointsRequest struct {
3056	*tchttp.BaseRequest
3057
3058	// 实例Id
3059	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3060}
3061
3062func (r *DescribeInternalEndpointsRequest) ToJsonString() string {
3063    b, _ := json.Marshal(r)
3064    return string(b)
3065}
3066
3067// FromJsonString It is highly **NOT** recommended to use this function
3068// because it has no param check, nor strict type check
3069func (r *DescribeInternalEndpointsRequest) FromJsonString(s string) error {
3070	f := make(map[string]interface{})
3071	if err := json.Unmarshal([]byte(s), &f); err != nil {
3072		return err
3073	}
3074	delete(f, "RegistryId")
3075	if len(f) > 0 {
3076		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInternalEndpointsRequest has unknown keys!", "")
3077	}
3078	return json.Unmarshal([]byte(s), &r)
3079}
3080
3081type DescribeInternalEndpointsResponse struct {
3082	*tchttp.BaseResponse
3083	Response *struct {
3084
3085		// 内网接入信息的列表
3086	// 注意:此字段可能返回 null,表示取不到有效值。
3087		AccessVpcSet []*AccessVpc `json:"AccessVpcSet,omitempty" name:"AccessVpcSet"`
3088
3089		// 内网接入总数
3090		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3091
3092		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3093		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3094	} `json:"Response"`
3095}
3096
3097func (r *DescribeInternalEndpointsResponse) ToJsonString() string {
3098    b, _ := json.Marshal(r)
3099    return string(b)
3100}
3101
3102// FromJsonString It is highly **NOT** recommended to use this function
3103// because it has no param check, nor strict type check
3104func (r *DescribeInternalEndpointsResponse) FromJsonString(s string) error {
3105	return json.Unmarshal([]byte(s), &r)
3106}
3107
3108type DescribeNamespacePersonalRequest struct {
3109	*tchttp.BaseRequest
3110
3111	// 命名空间,支持模糊查询
3112	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
3113
3114	// 单页数量
3115	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3116
3117	// 偏移量
3118	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3119}
3120
3121func (r *DescribeNamespacePersonalRequest) ToJsonString() string {
3122    b, _ := json.Marshal(r)
3123    return string(b)
3124}
3125
3126// FromJsonString It is highly **NOT** recommended to use this function
3127// because it has no param check, nor strict type check
3128func (r *DescribeNamespacePersonalRequest) FromJsonString(s string) error {
3129	f := make(map[string]interface{})
3130	if err := json.Unmarshal([]byte(s), &f); err != nil {
3131		return err
3132	}
3133	delete(f, "Namespace")
3134	delete(f, "Limit")
3135	delete(f, "Offset")
3136	if len(f) > 0 {
3137		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeNamespacePersonalRequest has unknown keys!", "")
3138	}
3139	return json.Unmarshal([]byte(s), &r)
3140}
3141
3142type DescribeNamespacePersonalResponse struct {
3143	*tchttp.BaseResponse
3144	Response *struct {
3145
3146		// 用户命名空间返回信息
3147		Data *NamespaceInfoResp `json:"Data,omitempty" name:"Data"`
3148
3149		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3150		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3151	} `json:"Response"`
3152}
3153
3154func (r *DescribeNamespacePersonalResponse) ToJsonString() string {
3155    b, _ := json.Marshal(r)
3156    return string(b)
3157}
3158
3159// FromJsonString It is highly **NOT** recommended to use this function
3160// because it has no param check, nor strict type check
3161func (r *DescribeNamespacePersonalResponse) FromJsonString(s string) error {
3162	return json.Unmarshal([]byte(s), &r)
3163}
3164
3165type DescribeNamespacesRequest struct {
3166	*tchttp.BaseRequest
3167
3168	// 实例Id
3169	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3170
3171	// 指定命名空间,不填写默认查询所有命名空间
3172	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
3173
3174	// 每页个数
3175	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3176
3177	// 页偏移
3178	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3179}
3180
3181func (r *DescribeNamespacesRequest) ToJsonString() string {
3182    b, _ := json.Marshal(r)
3183    return string(b)
3184}
3185
3186// FromJsonString It is highly **NOT** recommended to use this function
3187// because it has no param check, nor strict type check
3188func (r *DescribeNamespacesRequest) FromJsonString(s string) error {
3189	f := make(map[string]interface{})
3190	if err := json.Unmarshal([]byte(s), &f); err != nil {
3191		return err
3192	}
3193	delete(f, "RegistryId")
3194	delete(f, "NamespaceName")
3195	delete(f, "Limit")
3196	delete(f, "Offset")
3197	if len(f) > 0 {
3198		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeNamespacesRequest has unknown keys!", "")
3199	}
3200	return json.Unmarshal([]byte(s), &r)
3201}
3202
3203type DescribeNamespacesResponse struct {
3204	*tchttp.BaseResponse
3205	Response *struct {
3206
3207		// 命名空间列表信息
3208		NamespaceList []*TcrNamespaceInfo `json:"NamespaceList,omitempty" name:"NamespaceList"`
3209
3210		// 总个数
3211		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3212
3213		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3214		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3215	} `json:"Response"`
3216}
3217
3218func (r *DescribeNamespacesResponse) ToJsonString() string {
3219    b, _ := json.Marshal(r)
3220    return string(b)
3221}
3222
3223// FromJsonString It is highly **NOT** recommended to use this function
3224// because it has no param check, nor strict type check
3225func (r *DescribeNamespacesResponse) FromJsonString(s string) error {
3226	return json.Unmarshal([]byte(s), &r)
3227}
3228
3229type DescribeReplicationInstanceCreateTasksRequest struct {
3230	*tchttp.BaseRequest
3231
3232	// 同步实例Id,见实例返回列表中的同步实例ID
3233	ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"`
3234
3235	// 同步实例的地域ID,见实例返回列表中地域ID
3236	ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"`
3237}
3238
3239func (r *DescribeReplicationInstanceCreateTasksRequest) ToJsonString() string {
3240    b, _ := json.Marshal(r)
3241    return string(b)
3242}
3243
3244// FromJsonString It is highly **NOT** recommended to use this function
3245// because it has no param check, nor strict type check
3246func (r *DescribeReplicationInstanceCreateTasksRequest) FromJsonString(s string) error {
3247	f := make(map[string]interface{})
3248	if err := json.Unmarshal([]byte(s), &f); err != nil {
3249		return err
3250	}
3251	delete(f, "ReplicationRegistryId")
3252	delete(f, "ReplicationRegionId")
3253	if len(f) > 0 {
3254		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReplicationInstanceCreateTasksRequest has unknown keys!", "")
3255	}
3256	return json.Unmarshal([]byte(s), &r)
3257}
3258
3259type DescribeReplicationInstanceCreateTasksResponse struct {
3260	*tchttp.BaseResponse
3261	Response *struct {
3262
3263		// 任务详情
3264		TaskDetail []*TaskDetail `json:"TaskDetail,omitempty" name:"TaskDetail"`
3265
3266		// 整体任务状态
3267		Status *string `json:"Status,omitempty" name:"Status"`
3268
3269		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3270		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3271	} `json:"Response"`
3272}
3273
3274func (r *DescribeReplicationInstanceCreateTasksResponse) ToJsonString() string {
3275    b, _ := json.Marshal(r)
3276    return string(b)
3277}
3278
3279// FromJsonString It is highly **NOT** recommended to use this function
3280// because it has no param check, nor strict type check
3281func (r *DescribeReplicationInstanceCreateTasksResponse) FromJsonString(s string) error {
3282	return json.Unmarshal([]byte(s), &r)
3283}
3284
3285type DescribeReplicationInstanceSyncStatusRequest struct {
3286	*tchttp.BaseRequest
3287
3288	// 主实例Id
3289	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3290
3291	// 复制实例Id
3292	ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"`
3293
3294	// 复制实例的地域Id
3295	ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"`
3296}
3297
3298func (r *DescribeReplicationInstanceSyncStatusRequest) ToJsonString() string {
3299    b, _ := json.Marshal(r)
3300    return string(b)
3301}
3302
3303// FromJsonString It is highly **NOT** recommended to use this function
3304// because it has no param check, nor strict type check
3305func (r *DescribeReplicationInstanceSyncStatusRequest) FromJsonString(s string) error {
3306	f := make(map[string]interface{})
3307	if err := json.Unmarshal([]byte(s), &f); err != nil {
3308		return err
3309	}
3310	delete(f, "RegistryId")
3311	delete(f, "ReplicationRegistryId")
3312	delete(f, "ReplicationRegionId")
3313	if len(f) > 0 {
3314		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReplicationInstanceSyncStatusRequest has unknown keys!", "")
3315	}
3316	return json.Unmarshal([]byte(s), &r)
3317}
3318
3319type DescribeReplicationInstanceSyncStatusResponse struct {
3320	*tchttp.BaseResponse
3321	Response *struct {
3322
3323		// 同步状态
3324		ReplicationStatus *string `json:"ReplicationStatus,omitempty" name:"ReplicationStatus"`
3325
3326		// 同步完成时间
3327		ReplicationTime *string `json:"ReplicationTime,omitempty" name:"ReplicationTime"`
3328
3329		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3330		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3331	} `json:"Response"`
3332}
3333
3334func (r *DescribeReplicationInstanceSyncStatusResponse) ToJsonString() string {
3335    b, _ := json.Marshal(r)
3336    return string(b)
3337}
3338
3339// FromJsonString It is highly **NOT** recommended to use this function
3340// because it has no param check, nor strict type check
3341func (r *DescribeReplicationInstanceSyncStatusResponse) FromJsonString(s string) error {
3342	return json.Unmarshal([]byte(s), &r)
3343}
3344
3345type DescribeReplicationInstancesRequest struct {
3346	*tchttp.BaseRequest
3347
3348	// 实例Id
3349	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3350
3351	// 偏移量,默认0
3352	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3353
3354	// 最大输出条数,默认20,最大为100
3355	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3356}
3357
3358func (r *DescribeReplicationInstancesRequest) ToJsonString() string {
3359    b, _ := json.Marshal(r)
3360    return string(b)
3361}
3362
3363// FromJsonString It is highly **NOT** recommended to use this function
3364// because it has no param check, nor strict type check
3365func (r *DescribeReplicationInstancesRequest) FromJsonString(s string) error {
3366	f := make(map[string]interface{})
3367	if err := json.Unmarshal([]byte(s), &f); err != nil {
3368		return err
3369	}
3370	delete(f, "RegistryId")
3371	delete(f, "Offset")
3372	delete(f, "Limit")
3373	if len(f) > 0 {
3374		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReplicationInstancesRequest has unknown keys!", "")
3375	}
3376	return json.Unmarshal([]byte(s), &r)
3377}
3378
3379type DescribeReplicationInstancesResponse struct {
3380	*tchttp.BaseResponse
3381	Response *struct {
3382
3383		// 总实例个数
3384		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3385
3386		// 同步实例列表
3387	// 注意:此字段可能返回 null,表示取不到有效值。
3388		ReplicationRegistries []*ReplicationRegistry `json:"ReplicationRegistries,omitempty" name:"ReplicationRegistries"`
3389
3390		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3391		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3392	} `json:"Response"`
3393}
3394
3395func (r *DescribeReplicationInstancesResponse) ToJsonString() string {
3396    b, _ := json.Marshal(r)
3397    return string(b)
3398}
3399
3400// FromJsonString It is highly **NOT** recommended to use this function
3401// because it has no param check, nor strict type check
3402func (r *DescribeReplicationInstancesResponse) FromJsonString(s string) error {
3403	return json.Unmarshal([]byte(s), &r)
3404}
3405
3406type DescribeRepositoriesRequest struct {
3407	*tchttp.BaseRequest
3408
3409	// 实例Id
3410	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3411
3412	// 指定命名空间,不填写默认为查询所有命名空间下镜像仓库
3413	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
3414
3415	// 指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库
3416	RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
3417
3418	// 页数,用于分页
3419	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3420
3421	// 每页个数,用于分页
3422	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3423
3424	// 基于字段排序,支持的值有-creation_time,-name, -update_time
3425	SortBy *string `json:"SortBy,omitempty" name:"SortBy"`
3426}
3427
3428func (r *DescribeRepositoriesRequest) ToJsonString() string {
3429    b, _ := json.Marshal(r)
3430    return string(b)
3431}
3432
3433// FromJsonString It is highly **NOT** recommended to use this function
3434// because it has no param check, nor strict type check
3435func (r *DescribeRepositoriesRequest) FromJsonString(s string) error {
3436	f := make(map[string]interface{})
3437	if err := json.Unmarshal([]byte(s), &f); err != nil {
3438		return err
3439	}
3440	delete(f, "RegistryId")
3441	delete(f, "NamespaceName")
3442	delete(f, "RepositoryName")
3443	delete(f, "Offset")
3444	delete(f, "Limit")
3445	delete(f, "SortBy")
3446	if len(f) > 0 {
3447		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRepositoriesRequest has unknown keys!", "")
3448	}
3449	return json.Unmarshal([]byte(s), &r)
3450}
3451
3452type DescribeRepositoriesResponse struct {
3453	*tchttp.BaseResponse
3454	Response *struct {
3455
3456		// 仓库信息列表
3457		RepositoryList []*TcrRepositoryInfo `json:"RepositoryList,omitempty" name:"RepositoryList"`
3458
3459		// 总个数
3460		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3461
3462		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3463		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3464	} `json:"Response"`
3465}
3466
3467func (r *DescribeRepositoriesResponse) ToJsonString() string {
3468    b, _ := json.Marshal(r)
3469    return string(b)
3470}
3471
3472// FromJsonString It is highly **NOT** recommended to use this function
3473// because it has no param check, nor strict type check
3474func (r *DescribeRepositoriesResponse) FromJsonString(s string) error {
3475	return json.Unmarshal([]byte(s), &r)
3476}
3477
3478type DescribeRepositoryFilterPersonalRequest struct {
3479	*tchttp.BaseRequest
3480
3481	// 搜索镜像名
3482	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
3483
3484	// 偏移量,默认为0
3485	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3486
3487	// 返回最大数量,默认 20,最大100
3488	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3489
3490	// 筛选条件:1表示public,0表示private
3491	Public *int64 `json:"Public,omitempty" name:"Public"`
3492
3493	// 命名空间
3494	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
3495}
3496
3497func (r *DescribeRepositoryFilterPersonalRequest) ToJsonString() string {
3498    b, _ := json.Marshal(r)
3499    return string(b)
3500}
3501
3502// FromJsonString It is highly **NOT** recommended to use this function
3503// because it has no param check, nor strict type check
3504func (r *DescribeRepositoryFilterPersonalRequest) FromJsonString(s string) error {
3505	f := make(map[string]interface{})
3506	if err := json.Unmarshal([]byte(s), &f); err != nil {
3507		return err
3508	}
3509	delete(f, "RepoName")
3510	delete(f, "Offset")
3511	delete(f, "Limit")
3512	delete(f, "Public")
3513	delete(f, "Namespace")
3514	if len(f) > 0 {
3515		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRepositoryFilterPersonalRequest has unknown keys!", "")
3516	}
3517	return json.Unmarshal([]byte(s), &r)
3518}
3519
3520type DescribeRepositoryFilterPersonalResponse struct {
3521	*tchttp.BaseResponse
3522	Response *struct {
3523
3524		// 仓库信息
3525		Data *SearchUserRepositoryResp `json:"Data,omitempty" name:"Data"`
3526
3527		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3528		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3529	} `json:"Response"`
3530}
3531
3532func (r *DescribeRepositoryFilterPersonalResponse) ToJsonString() string {
3533    b, _ := json.Marshal(r)
3534    return string(b)
3535}
3536
3537// FromJsonString It is highly **NOT** recommended to use this function
3538// because it has no param check, nor strict type check
3539func (r *DescribeRepositoryFilterPersonalResponse) FromJsonString(s string) error {
3540	return json.Unmarshal([]byte(s), &r)
3541}
3542
3543type DescribeRepositoryOwnerPersonalRequest struct {
3544	*tchttp.BaseRequest
3545
3546	// 偏移量,默认为0
3547	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3548
3549	// 返回最大数量,默认 20, 最大值 100
3550	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3551
3552	// 仓库名称
3553	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
3554}
3555
3556func (r *DescribeRepositoryOwnerPersonalRequest) ToJsonString() string {
3557    b, _ := json.Marshal(r)
3558    return string(b)
3559}
3560
3561// FromJsonString It is highly **NOT** recommended to use this function
3562// because it has no param check, nor strict type check
3563func (r *DescribeRepositoryOwnerPersonalRequest) FromJsonString(s string) error {
3564	f := make(map[string]interface{})
3565	if err := json.Unmarshal([]byte(s), &f); err != nil {
3566		return err
3567	}
3568	delete(f, "Offset")
3569	delete(f, "Limit")
3570	delete(f, "RepoName")
3571	if len(f) > 0 {
3572		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRepositoryOwnerPersonalRequest has unknown keys!", "")
3573	}
3574	return json.Unmarshal([]byte(s), &r)
3575}
3576
3577type DescribeRepositoryOwnerPersonalResponse struct {
3578	*tchttp.BaseResponse
3579	Response *struct {
3580
3581		// 仓库信息
3582		Data *RepoInfoResp `json:"Data,omitempty" name:"Data"`
3583
3584		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3585		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3586	} `json:"Response"`
3587}
3588
3589func (r *DescribeRepositoryOwnerPersonalResponse) ToJsonString() string {
3590    b, _ := json.Marshal(r)
3591    return string(b)
3592}
3593
3594// FromJsonString It is highly **NOT** recommended to use this function
3595// because it has no param check, nor strict type check
3596func (r *DescribeRepositoryOwnerPersonalResponse) FromJsonString(s string) error {
3597	return json.Unmarshal([]byte(s), &r)
3598}
3599
3600type DescribeRepositoryPersonalRequest struct {
3601	*tchttp.BaseRequest
3602
3603	// 仓库名字
3604	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
3605}
3606
3607func (r *DescribeRepositoryPersonalRequest) ToJsonString() string {
3608    b, _ := json.Marshal(r)
3609    return string(b)
3610}
3611
3612// FromJsonString It is highly **NOT** recommended to use this function
3613// because it has no param check, nor strict type check
3614func (r *DescribeRepositoryPersonalRequest) FromJsonString(s string) error {
3615	f := make(map[string]interface{})
3616	if err := json.Unmarshal([]byte(s), &f); err != nil {
3617		return err
3618	}
3619	delete(f, "RepoName")
3620	if len(f) > 0 {
3621		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRepositoryPersonalRequest has unknown keys!", "")
3622	}
3623	return json.Unmarshal([]byte(s), &r)
3624}
3625
3626type DescribeRepositoryPersonalResponse struct {
3627	*tchttp.BaseResponse
3628	Response *struct {
3629
3630		// 仓库信息
3631		Data *RepositoryInfoResp `json:"Data,omitempty" name:"Data"`
3632
3633		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3634		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3635	} `json:"Response"`
3636}
3637
3638func (r *DescribeRepositoryPersonalResponse) ToJsonString() string {
3639    b, _ := json.Marshal(r)
3640    return string(b)
3641}
3642
3643// FromJsonString It is highly **NOT** recommended to use this function
3644// because it has no param check, nor strict type check
3645func (r *DescribeRepositoryPersonalResponse) FromJsonString(s string) error {
3646	return json.Unmarshal([]byte(s), &r)
3647}
3648
3649type DescribeSecurityPoliciesRequest struct {
3650	*tchttp.BaseRequest
3651
3652	// 实例的Id
3653	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3654}
3655
3656func (r *DescribeSecurityPoliciesRequest) ToJsonString() string {
3657    b, _ := json.Marshal(r)
3658    return string(b)
3659}
3660
3661// FromJsonString It is highly **NOT** recommended to use this function
3662// because it has no param check, nor strict type check
3663func (r *DescribeSecurityPoliciesRequest) FromJsonString(s string) error {
3664	f := make(map[string]interface{})
3665	if err := json.Unmarshal([]byte(s), &f); err != nil {
3666		return err
3667	}
3668	delete(f, "RegistryId")
3669	if len(f) > 0 {
3670		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSecurityPoliciesRequest has unknown keys!", "")
3671	}
3672	return json.Unmarshal([]byte(s), &r)
3673}
3674
3675type DescribeSecurityPoliciesResponse struct {
3676	*tchttp.BaseResponse
3677	Response *struct {
3678
3679		// 实例安全策略组
3680	// 注意:此字段可能返回 null,表示取不到有效值。
3681		SecurityPolicySet []*SecurityPolicy `json:"SecurityPolicySet,omitempty" name:"SecurityPolicySet"`
3682
3683		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3684		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3685	} `json:"Response"`
3686}
3687
3688func (r *DescribeSecurityPoliciesResponse) ToJsonString() string {
3689    b, _ := json.Marshal(r)
3690    return string(b)
3691}
3692
3693// FromJsonString It is highly **NOT** recommended to use this function
3694// because it has no param check, nor strict type check
3695func (r *DescribeSecurityPoliciesResponse) FromJsonString(s string) error {
3696	return json.Unmarshal([]byte(s), &r)
3697}
3698
3699type DescribeTagRetentionExecutionRequest struct {
3700	*tchttp.BaseRequest
3701
3702	// 主实例iD
3703	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3704
3705	// 规则Id
3706	RetentionId *int64 `json:"RetentionId,omitempty" name:"RetentionId"`
3707
3708	// 分页PageSize
3709	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3710
3711	// 分页Page
3712	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3713}
3714
3715func (r *DescribeTagRetentionExecutionRequest) ToJsonString() string {
3716    b, _ := json.Marshal(r)
3717    return string(b)
3718}
3719
3720// FromJsonString It is highly **NOT** recommended to use this function
3721// because it has no param check, nor strict type check
3722func (r *DescribeTagRetentionExecutionRequest) FromJsonString(s string) error {
3723	f := make(map[string]interface{})
3724	if err := json.Unmarshal([]byte(s), &f); err != nil {
3725		return err
3726	}
3727	delete(f, "RegistryId")
3728	delete(f, "RetentionId")
3729	delete(f, "Limit")
3730	delete(f, "Offset")
3731	if len(f) > 0 {
3732		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTagRetentionExecutionRequest has unknown keys!", "")
3733	}
3734	return json.Unmarshal([]byte(s), &r)
3735}
3736
3737type DescribeTagRetentionExecutionResponse struct {
3738	*tchttp.BaseResponse
3739	Response *struct {
3740
3741		// 版本保留执行记录列表
3742		RetentionExecutionList []*RetentionExecution `json:"RetentionExecutionList,omitempty" name:"RetentionExecutionList"`
3743
3744		// 版本保留执行记录总数
3745		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3746
3747		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3748		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3749	} `json:"Response"`
3750}
3751
3752func (r *DescribeTagRetentionExecutionResponse) ToJsonString() string {
3753    b, _ := json.Marshal(r)
3754    return string(b)
3755}
3756
3757// FromJsonString It is highly **NOT** recommended to use this function
3758// because it has no param check, nor strict type check
3759func (r *DescribeTagRetentionExecutionResponse) FromJsonString(s string) error {
3760	return json.Unmarshal([]byte(s), &r)
3761}
3762
3763type DescribeTagRetentionExecutionTaskRequest struct {
3764	*tchttp.BaseRequest
3765
3766	// 主实例iD
3767	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3768
3769	// 规则Id
3770	RetentionId *int64 `json:"RetentionId,omitempty" name:"RetentionId"`
3771
3772	// 规则执行Id
3773	ExecutionId *int64 `json:"ExecutionId,omitempty" name:"ExecutionId"`
3774
3775	// 分页Page
3776	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3777
3778	// 分页PageSize
3779	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3780}
3781
3782func (r *DescribeTagRetentionExecutionTaskRequest) ToJsonString() string {
3783    b, _ := json.Marshal(r)
3784    return string(b)
3785}
3786
3787// FromJsonString It is highly **NOT** recommended to use this function
3788// because it has no param check, nor strict type check
3789func (r *DescribeTagRetentionExecutionTaskRequest) FromJsonString(s string) error {
3790	f := make(map[string]interface{})
3791	if err := json.Unmarshal([]byte(s), &f); err != nil {
3792		return err
3793	}
3794	delete(f, "RegistryId")
3795	delete(f, "RetentionId")
3796	delete(f, "ExecutionId")
3797	delete(f, "Offset")
3798	delete(f, "Limit")
3799	if len(f) > 0 {
3800		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTagRetentionExecutionTaskRequest has unknown keys!", "")
3801	}
3802	return json.Unmarshal([]byte(s), &r)
3803}
3804
3805type DescribeTagRetentionExecutionTaskResponse struct {
3806	*tchttp.BaseResponse
3807	Response *struct {
3808
3809		// 版本保留执行任务列表
3810		RetentionTaskList []*RetentionTask `json:"RetentionTaskList,omitempty" name:"RetentionTaskList"`
3811
3812		// 版本保留执行任务总数
3813		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3814
3815		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3816		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3817	} `json:"Response"`
3818}
3819
3820func (r *DescribeTagRetentionExecutionTaskResponse) ToJsonString() string {
3821    b, _ := json.Marshal(r)
3822    return string(b)
3823}
3824
3825// FromJsonString It is highly **NOT** recommended to use this function
3826// because it has no param check, nor strict type check
3827func (r *DescribeTagRetentionExecutionTaskResponse) FromJsonString(s string) error {
3828	return json.Unmarshal([]byte(s), &r)
3829}
3830
3831type DescribeTagRetentionRulesRequest struct {
3832	*tchttp.BaseRequest
3833
3834	// 主实例iD
3835	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3836
3837	// 命名空间的名称
3838	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
3839
3840	// 分页PageSize
3841	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3842
3843	// 分页Page
3844	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3845}
3846
3847func (r *DescribeTagRetentionRulesRequest) ToJsonString() string {
3848    b, _ := json.Marshal(r)
3849    return string(b)
3850}
3851
3852// FromJsonString It is highly **NOT** recommended to use this function
3853// because it has no param check, nor strict type check
3854func (r *DescribeTagRetentionRulesRequest) FromJsonString(s string) error {
3855	f := make(map[string]interface{})
3856	if err := json.Unmarshal([]byte(s), &f); err != nil {
3857		return err
3858	}
3859	delete(f, "RegistryId")
3860	delete(f, "NamespaceName")
3861	delete(f, "Limit")
3862	delete(f, "Offset")
3863	if len(f) > 0 {
3864		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTagRetentionRulesRequest has unknown keys!", "")
3865	}
3866	return json.Unmarshal([]byte(s), &r)
3867}
3868
3869type DescribeTagRetentionRulesResponse struct {
3870	*tchttp.BaseResponse
3871	Response *struct {
3872
3873		// 版本保留策略列表
3874		RetentionPolicyList []*RetentionPolicy `json:"RetentionPolicyList,omitempty" name:"RetentionPolicyList"`
3875
3876		// 版本保留策略总数
3877		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3878
3879		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3880		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3881	} `json:"Response"`
3882}
3883
3884func (r *DescribeTagRetentionRulesResponse) ToJsonString() string {
3885    b, _ := json.Marshal(r)
3886    return string(b)
3887}
3888
3889// FromJsonString It is highly **NOT** recommended to use this function
3890// because it has no param check, nor strict type check
3891func (r *DescribeTagRetentionRulesResponse) FromJsonString(s string) error {
3892	return json.Unmarshal([]byte(s), &r)
3893}
3894
3895type DescribeUserQuotaPersonalRequest struct {
3896	*tchttp.BaseRequest
3897}
3898
3899func (r *DescribeUserQuotaPersonalRequest) ToJsonString() string {
3900    b, _ := json.Marshal(r)
3901    return string(b)
3902}
3903
3904// FromJsonString It is highly **NOT** recommended to use this function
3905// because it has no param check, nor strict type check
3906func (r *DescribeUserQuotaPersonalRequest) FromJsonString(s string) error {
3907	f := make(map[string]interface{})
3908	if err := json.Unmarshal([]byte(s), &f); err != nil {
3909		return err
3910	}
3911	if len(f) > 0 {
3912		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeUserQuotaPersonalRequest has unknown keys!", "")
3913	}
3914	return json.Unmarshal([]byte(s), &r)
3915}
3916
3917type DescribeUserQuotaPersonalResponse struct {
3918	*tchttp.BaseResponse
3919	Response *struct {
3920
3921		// 配额返回信息
3922		Data *RespLimit `json:"Data,omitempty" name:"Data"`
3923
3924		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3925		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3926	} `json:"Response"`
3927}
3928
3929func (r *DescribeUserQuotaPersonalResponse) ToJsonString() string {
3930    b, _ := json.Marshal(r)
3931    return string(b)
3932}
3933
3934// FromJsonString It is highly **NOT** recommended to use this function
3935// because it has no param check, nor strict type check
3936func (r *DescribeUserQuotaPersonalResponse) FromJsonString(s string) error {
3937	return json.Unmarshal([]byte(s), &r)
3938}
3939
3940type DescribeWebhookTriggerLogRequest struct {
3941	*tchttp.BaseRequest
3942
3943	// 实例 Id
3944	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
3945
3946	// 命名空间
3947	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
3948
3949	// 触发器 Id
3950	Id *int64 `json:"Id,omitempty" name:"Id"`
3951
3952	// 分页单页数量
3953	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
3954
3955	// 分页偏移量
3956	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
3957}
3958
3959func (r *DescribeWebhookTriggerLogRequest) ToJsonString() string {
3960    b, _ := json.Marshal(r)
3961    return string(b)
3962}
3963
3964// FromJsonString It is highly **NOT** recommended to use this function
3965// because it has no param check, nor strict type check
3966func (r *DescribeWebhookTriggerLogRequest) FromJsonString(s string) error {
3967	f := make(map[string]interface{})
3968	if err := json.Unmarshal([]byte(s), &f); err != nil {
3969		return err
3970	}
3971	delete(f, "RegistryId")
3972	delete(f, "Namespace")
3973	delete(f, "Id")
3974	delete(f, "Limit")
3975	delete(f, "Offset")
3976	if len(f) > 0 {
3977		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeWebhookTriggerLogRequest has unknown keys!", "")
3978	}
3979	return json.Unmarshal([]byte(s), &r)
3980}
3981
3982type DescribeWebhookTriggerLogResponse struct {
3983	*tchttp.BaseResponse
3984	Response *struct {
3985
3986		// 总数
3987		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
3988
3989		// 日志列表
3990		Logs []*WebhookTriggerLog `json:"Logs,omitempty" name:"Logs"`
3991
3992		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3993		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3994	} `json:"Response"`
3995}
3996
3997func (r *DescribeWebhookTriggerLogResponse) ToJsonString() string {
3998    b, _ := json.Marshal(r)
3999    return string(b)
4000}
4001
4002// FromJsonString It is highly **NOT** recommended to use this function
4003// because it has no param check, nor strict type check
4004func (r *DescribeWebhookTriggerLogResponse) FromJsonString(s string) error {
4005	return json.Unmarshal([]byte(s), &r)
4006}
4007
4008type DescribeWebhookTriggerRequest struct {
4009	*tchttp.BaseRequest
4010
4011	// 实例Id
4012	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4013
4014	// 分页单页数量
4015	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
4016
4017	// 分页偏移量
4018	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
4019
4020	// 命名空间
4021	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
4022}
4023
4024func (r *DescribeWebhookTriggerRequest) ToJsonString() string {
4025    b, _ := json.Marshal(r)
4026    return string(b)
4027}
4028
4029// FromJsonString It is highly **NOT** recommended to use this function
4030// because it has no param check, nor strict type check
4031func (r *DescribeWebhookTriggerRequest) FromJsonString(s string) error {
4032	f := make(map[string]interface{})
4033	if err := json.Unmarshal([]byte(s), &f); err != nil {
4034		return err
4035	}
4036	delete(f, "RegistryId")
4037	delete(f, "Limit")
4038	delete(f, "Offset")
4039	delete(f, "Namespace")
4040	if len(f) > 0 {
4041		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeWebhookTriggerRequest has unknown keys!", "")
4042	}
4043	return json.Unmarshal([]byte(s), &r)
4044}
4045
4046type DescribeWebhookTriggerResponse struct {
4047	*tchttp.BaseResponse
4048	Response *struct {
4049
4050		// 触发器总数
4051		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
4052
4053		// 触发器列表
4054		Triggers []*WebhookTrigger `json:"Triggers,omitempty" name:"Triggers"`
4055
4056		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4057		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4058	} `json:"Response"`
4059}
4060
4061func (r *DescribeWebhookTriggerResponse) ToJsonString() string {
4062    b, _ := json.Marshal(r)
4063    return string(b)
4064}
4065
4066// FromJsonString It is highly **NOT** recommended to use this function
4067// because it has no param check, nor strict type check
4068func (r *DescribeWebhookTriggerResponse) FromJsonString(s string) error {
4069	return json.Unmarshal([]byte(s), &r)
4070}
4071
4072type DownloadHelmChartRequest struct {
4073	*tchttp.BaseRequest
4074
4075	// 实例ID
4076	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4077
4078	// 命名空间名称
4079	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
4080
4081	// Helm chart名称
4082	ChartName *string `json:"ChartName,omitempty" name:"ChartName"`
4083
4084	// Helm chart版本
4085	ChartVersion *string `json:"ChartVersion,omitempty" name:"ChartVersion"`
4086}
4087
4088func (r *DownloadHelmChartRequest) ToJsonString() string {
4089    b, _ := json.Marshal(r)
4090    return string(b)
4091}
4092
4093// FromJsonString It is highly **NOT** recommended to use this function
4094// because it has no param check, nor strict type check
4095func (r *DownloadHelmChartRequest) FromJsonString(s string) error {
4096	f := make(map[string]interface{})
4097	if err := json.Unmarshal([]byte(s), &f); err != nil {
4098		return err
4099	}
4100	delete(f, "RegistryId")
4101	delete(f, "NamespaceName")
4102	delete(f, "ChartName")
4103	delete(f, "ChartVersion")
4104	if len(f) > 0 {
4105		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DownloadHelmChartRequest has unknown keys!", "")
4106	}
4107	return json.Unmarshal([]byte(s), &r)
4108}
4109
4110type DownloadHelmChartResponse struct {
4111	*tchttp.BaseResponse
4112	Response *struct {
4113
4114		// 临时token
4115		TmpToken *string `json:"TmpToken,omitempty" name:"TmpToken"`
4116
4117		// 临时的secretId
4118		TmpSecretId *string `json:"TmpSecretId,omitempty" name:"TmpSecretId"`
4119
4120		// 临时的secretKey
4121		TmpSecretKey *string `json:"TmpSecretKey,omitempty" name:"TmpSecretKey"`
4122
4123		// 存储桶信息
4124		Bucket *string `json:"Bucket,omitempty" name:"Bucket"`
4125
4126		// 实例ID
4127		Region *string `json:"Region,omitempty" name:"Region"`
4128
4129		// chart信息
4130		Path *string `json:"Path,omitempty" name:"Path"`
4131
4132		// 开始时间时间戳
4133		StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
4134
4135		// token过期时间时间戳
4136		ExpiredTime *int64 `json:"ExpiredTime,omitempty" name:"ExpiredTime"`
4137
4138		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4139		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4140	} `json:"Response"`
4141}
4142
4143func (r *DownloadHelmChartResponse) ToJsonString() string {
4144    b, _ := json.Marshal(r)
4145    return string(b)
4146}
4147
4148// FromJsonString It is highly **NOT** recommended to use this function
4149// because it has no param check, nor strict type check
4150func (r *DownloadHelmChartResponse) FromJsonString(s string) error {
4151	return json.Unmarshal([]byte(s), &r)
4152}
4153
4154type DupImageTagResp struct {
4155
4156	// 镜像Digest值
4157	Digest *string `json:"Digest,omitempty" name:"Digest"`
4158}
4159
4160type DuplicateImagePersonalRequest struct {
4161	*tchttp.BaseRequest
4162
4163	// 源镜像名称,不包含domain。例如: tencentyun/foo:v1
4164	SrcImage *string `json:"SrcImage,omitempty" name:"SrcImage"`
4165
4166	// 目的镜像名称,不包含domain。例如: tencentyun/foo:latest
4167	DestImage *string `json:"DestImage,omitempty" name:"DestImage"`
4168}
4169
4170func (r *DuplicateImagePersonalRequest) ToJsonString() string {
4171    b, _ := json.Marshal(r)
4172    return string(b)
4173}
4174
4175// FromJsonString It is highly **NOT** recommended to use this function
4176// because it has no param check, nor strict type check
4177func (r *DuplicateImagePersonalRequest) FromJsonString(s string) error {
4178	f := make(map[string]interface{})
4179	if err := json.Unmarshal([]byte(s), &f); err != nil {
4180		return err
4181	}
4182	delete(f, "SrcImage")
4183	delete(f, "DestImage")
4184	if len(f) > 0 {
4185		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DuplicateImagePersonalRequest has unknown keys!", "")
4186	}
4187	return json.Unmarshal([]byte(s), &r)
4188}
4189
4190type DuplicateImagePersonalResponse struct {
4191	*tchttp.BaseResponse
4192	Response *struct {
4193
4194		// 复制镜像返回值
4195		Data *DupImageTagResp `json:"Data,omitempty" name:"Data"`
4196
4197		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4198		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4199	} `json:"Response"`
4200}
4201
4202func (r *DuplicateImagePersonalResponse) ToJsonString() string {
4203    b, _ := json.Marshal(r)
4204    return string(b)
4205}
4206
4207// FromJsonString It is highly **NOT** recommended to use this function
4208// because it has no param check, nor strict type check
4209func (r *DuplicateImagePersonalResponse) FromJsonString(s string) error {
4210	return json.Unmarshal([]byte(s), &r)
4211}
4212
4213type FavorResp struct {
4214
4215	// 收藏仓库的总数
4216	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
4217
4218	// 仓库信息数组
4219	// 注意:此字段可能返回 null,表示取不到有效值。
4220	RepoInfo []*Favors `json:"RepoInfo,omitempty" name:"RepoInfo"`
4221}
4222
4223type Favors struct {
4224
4225	// 仓库名字
4226	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
4227
4228	// 仓库类型
4229	RepoType *string `json:"RepoType,omitempty" name:"RepoType"`
4230
4231	// Pull总共的次数
4232	// 注意:此字段可能返回 null,表示取不到有效值。
4233	PullCount *int64 `json:"PullCount,omitempty" name:"PullCount"`
4234
4235	// 仓库收藏次数
4236	// 注意:此字段可能返回 null,表示取不到有效值。
4237	FavorCount *int64 `json:"FavorCount,omitempty" name:"FavorCount"`
4238
4239	// 仓库是否公开
4240	// 注意:此字段可能返回 null,表示取不到有效值。
4241	Public *int64 `json:"Public,omitempty" name:"Public"`
4242
4243	// 是否为官方所有
4244	// 注意:此字段可能返回 null,表示取不到有效值。
4245	IsQcloudOfficial *bool `json:"IsQcloudOfficial,omitempty" name:"IsQcloudOfficial"`
4246
4247	// 仓库Tag的数量
4248	// 注意:此字段可能返回 null,表示取不到有效值。
4249	TagCount *int64 `json:"TagCount,omitempty" name:"TagCount"`
4250
4251	// Logo
4252	// 注意:此字段可能返回 null,表示取不到有效值。
4253	Logo *string `json:"Logo,omitempty" name:"Logo"`
4254
4255	// 地域
4256	Region *string `json:"Region,omitempty" name:"Region"`
4257
4258	// 地域的Id
4259	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`
4260}
4261
4262type Filter struct {
4263
4264	// 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
4265	Name *string `json:"Name,omitempty" name:"Name"`
4266
4267	// 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
4268	Values []*string `json:"Values,omitempty" name:"Values"`
4269}
4270
4271type Header struct {
4272
4273	// Header Key
4274	Key *string `json:"Key,omitempty" name:"Key"`
4275
4276	// Header Values
4277	Values []*string `json:"Values,omitempty" name:"Values"`
4278}
4279
4280type ImmutableTagRule struct {
4281
4282	// 仓库匹配规则
4283	RepositoryPattern *string `json:"RepositoryPattern,omitempty" name:"RepositoryPattern"`
4284
4285	// Tag 匹配规则
4286	TagPattern *string `json:"TagPattern,omitempty" name:"TagPattern"`
4287
4288	// repoMatches或repoExcludes
4289	RepositoryDecoration *string `json:"RepositoryDecoration,omitempty" name:"RepositoryDecoration"`
4290
4291	// matches或excludes
4292	TagDecoration *string `json:"TagDecoration,omitempty" name:"TagDecoration"`
4293
4294	// 禁用规则
4295	Disabled *bool `json:"Disabled,omitempty" name:"Disabled"`
4296
4297	// 规则 Id
4298	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
4299
4300	// 命名空间
4301	NsName *string `json:"NsName,omitempty" name:"NsName"`
4302}
4303
4304type Limit struct {
4305
4306	// 用户名
4307	Username *string `json:"Username,omitempty" name:"Username"`
4308
4309	// 配额的类型
4310	Type *string `json:"Type,omitempty" name:"Type"`
4311
4312	// 配置的值
4313	Value *int64 `json:"Value,omitempty" name:"Value"`
4314}
4315
4316type ManageExternalEndpointRequest struct {
4317	*tchttp.BaseRequest
4318
4319	// 实例Id
4320	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4321
4322	// 操作(Create/Delete
4323	Operation *string `json:"Operation,omitempty" name:"Operation"`
4324}
4325
4326func (r *ManageExternalEndpointRequest) ToJsonString() string {
4327    b, _ := json.Marshal(r)
4328    return string(b)
4329}
4330
4331// FromJsonString It is highly **NOT** recommended to use this function
4332// because it has no param check, nor strict type check
4333func (r *ManageExternalEndpointRequest) FromJsonString(s string) error {
4334	f := make(map[string]interface{})
4335	if err := json.Unmarshal([]byte(s), &f); err != nil {
4336		return err
4337	}
4338	delete(f, "RegistryId")
4339	delete(f, "Operation")
4340	if len(f) > 0 {
4341		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ManageExternalEndpointRequest has unknown keys!", "")
4342	}
4343	return json.Unmarshal([]byte(s), &r)
4344}
4345
4346type ManageExternalEndpointResponse struct {
4347	*tchttp.BaseResponse
4348	Response *struct {
4349
4350		// 实例Id
4351		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4352
4353		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4354		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4355	} `json:"Response"`
4356}
4357
4358func (r *ManageExternalEndpointResponse) ToJsonString() string {
4359    b, _ := json.Marshal(r)
4360    return string(b)
4361}
4362
4363// FromJsonString It is highly **NOT** recommended to use this function
4364// because it has no param check, nor strict type check
4365func (r *ManageExternalEndpointResponse) FromJsonString(s string) error {
4366	return json.Unmarshal([]byte(s), &r)
4367}
4368
4369type ManageImageLifecycleGlobalPersonalRequest struct {
4370	*tchttp.BaseRequest
4371
4372	// global_keep_last_days:全局保留最近几天的数据;global_keep_last_nums:全局保留最近多少个
4373	Type *string `json:"Type,omitempty" name:"Type"`
4374
4375	// 策略值
4376	Val *int64 `json:"Val,omitempty" name:"Val"`
4377}
4378
4379func (r *ManageImageLifecycleGlobalPersonalRequest) ToJsonString() string {
4380    b, _ := json.Marshal(r)
4381    return string(b)
4382}
4383
4384// FromJsonString It is highly **NOT** recommended to use this function
4385// because it has no param check, nor strict type check
4386func (r *ManageImageLifecycleGlobalPersonalRequest) FromJsonString(s string) error {
4387	f := make(map[string]interface{})
4388	if err := json.Unmarshal([]byte(s), &f); err != nil {
4389		return err
4390	}
4391	delete(f, "Type")
4392	delete(f, "Val")
4393	if len(f) > 0 {
4394		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ManageImageLifecycleGlobalPersonalRequest has unknown keys!", "")
4395	}
4396	return json.Unmarshal([]byte(s), &r)
4397}
4398
4399type ManageImageLifecycleGlobalPersonalResponse struct {
4400	*tchttp.BaseResponse
4401	Response *struct {
4402
4403		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4404		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4405	} `json:"Response"`
4406}
4407
4408func (r *ManageImageLifecycleGlobalPersonalResponse) ToJsonString() string {
4409    b, _ := json.Marshal(r)
4410    return string(b)
4411}
4412
4413// FromJsonString It is highly **NOT** recommended to use this function
4414// because it has no param check, nor strict type check
4415func (r *ManageImageLifecycleGlobalPersonalResponse) FromJsonString(s string) error {
4416	return json.Unmarshal([]byte(s), &r)
4417}
4418
4419type ManageInternalEndpointRequest struct {
4420	*tchttp.BaseRequest
4421
4422	// 实例Id
4423	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4424
4425	// Create/Delete
4426	Operation *string `json:"Operation,omitempty" name:"Operation"`
4427
4428	// 需要接入的用户vpcid
4429	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
4430
4431	// 需要接入的用户子网id
4432	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
4433
4434	// 请求的地域ID
4435	RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"`
4436}
4437
4438func (r *ManageInternalEndpointRequest) ToJsonString() string {
4439    b, _ := json.Marshal(r)
4440    return string(b)
4441}
4442
4443// FromJsonString It is highly **NOT** recommended to use this function
4444// because it has no param check, nor strict type check
4445func (r *ManageInternalEndpointRequest) FromJsonString(s string) error {
4446	f := make(map[string]interface{})
4447	if err := json.Unmarshal([]byte(s), &f); err != nil {
4448		return err
4449	}
4450	delete(f, "RegistryId")
4451	delete(f, "Operation")
4452	delete(f, "VpcId")
4453	delete(f, "SubnetId")
4454	delete(f, "RegionId")
4455	if len(f) > 0 {
4456		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ManageInternalEndpointRequest has unknown keys!", "")
4457	}
4458	return json.Unmarshal([]byte(s), &r)
4459}
4460
4461type ManageInternalEndpointResponse struct {
4462	*tchttp.BaseResponse
4463	Response *struct {
4464
4465		// 实例Id
4466		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4467
4468		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4469		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4470	} `json:"Response"`
4471}
4472
4473func (r *ManageInternalEndpointResponse) ToJsonString() string {
4474    b, _ := json.Marshal(r)
4475    return string(b)
4476}
4477
4478// FromJsonString It is highly **NOT** recommended to use this function
4479// because it has no param check, nor strict type check
4480func (r *ManageInternalEndpointResponse) FromJsonString(s string) error {
4481	return json.Unmarshal([]byte(s), &r)
4482}
4483
4484type ManageReplicationRequest struct {
4485	*tchttp.BaseRequest
4486
4487	// 复制源实例ID
4488	SourceRegistryId *string `json:"SourceRegistryId,omitempty" name:"SourceRegistryId"`
4489
4490	// 复制目标实例ID
4491	DestinationRegistryId *string `json:"DestinationRegistryId,omitempty" name:"DestinationRegistryId"`
4492
4493	// 同步规则
4494	Rule *ReplicationRule `json:"Rule,omitempty" name:"Rule"`
4495
4496	// 规则描述
4497	Description *string `json:"Description,omitempty" name:"Description"`
4498
4499	// 目标实例的地域ID,如广州是1
4500	DestinationRegionId *uint64 `json:"DestinationRegionId,omitempty" name:"DestinationRegionId"`
4501
4502	// 开启跨主账号实例同步配置项
4503	PeerReplicationOption *PeerReplicationOption `json:"PeerReplicationOption,omitempty" name:"PeerReplicationOption"`
4504}
4505
4506func (r *ManageReplicationRequest) ToJsonString() string {
4507    b, _ := json.Marshal(r)
4508    return string(b)
4509}
4510
4511// FromJsonString It is highly **NOT** recommended to use this function
4512// because it has no param check, nor strict type check
4513func (r *ManageReplicationRequest) FromJsonString(s string) error {
4514	f := make(map[string]interface{})
4515	if err := json.Unmarshal([]byte(s), &f); err != nil {
4516		return err
4517	}
4518	delete(f, "SourceRegistryId")
4519	delete(f, "DestinationRegistryId")
4520	delete(f, "Rule")
4521	delete(f, "Description")
4522	delete(f, "DestinationRegionId")
4523	delete(f, "PeerReplicationOption")
4524	if len(f) > 0 {
4525		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ManageReplicationRequest has unknown keys!", "")
4526	}
4527	return json.Unmarshal([]byte(s), &r)
4528}
4529
4530type ManageReplicationResponse struct {
4531	*tchttp.BaseResponse
4532	Response *struct {
4533
4534		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4535		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4536	} `json:"Response"`
4537}
4538
4539func (r *ManageReplicationResponse) ToJsonString() string {
4540    b, _ := json.Marshal(r)
4541    return string(b)
4542}
4543
4544// FromJsonString It is highly **NOT** recommended to use this function
4545// because it has no param check, nor strict type check
4546func (r *ManageReplicationResponse) FromJsonString(s string) error {
4547	return json.Unmarshal([]byte(s), &r)
4548}
4549
4550type ModifyApplicationTriggerPersonalRequest struct {
4551	*tchttp.BaseRequest
4552
4553	// 触发器关联的镜像仓库,library/test格式
4554	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
4555
4556	// 触发器名称,必填参数
4557	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`
4558
4559	// 触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发
4560	InvokeMethod *string `json:"InvokeMethod,omitempty" name:"InvokeMethod"`
4561
4562	// 触发方式对应的表达式
4563	InvokeExpr *string `json:"InvokeExpr,omitempty" name:"InvokeExpr"`
4564
4565	// 应用所在TKE集群ID
4566	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
4567
4568	// 应用所在TKE集群命名空间
4569	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
4570
4571	// 应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。
4572	WorkloadType *string `json:"WorkloadType,omitempty" name:"WorkloadType"`
4573
4574	// 应用所在TKE集群工作负载名称
4575	WorkloadName *string `json:"WorkloadName,omitempty" name:"WorkloadName"`
4576
4577	// 应用所在TKE集群工作负载下容器名称
4578	ContainerName *string `json:"ContainerName,omitempty" name:"ContainerName"`
4579
4580	// 应用所在TKE集群地域数字ID,如1(广州)、16(成都)
4581	ClusterRegion *int64 `json:"ClusterRegion,omitempty" name:"ClusterRegion"`
4582
4583	// 新触发器名称
4584	NewTriggerName *string `json:"NewTriggerName,omitempty" name:"NewTriggerName"`
4585}
4586
4587func (r *ModifyApplicationTriggerPersonalRequest) ToJsonString() string {
4588    b, _ := json.Marshal(r)
4589    return string(b)
4590}
4591
4592// FromJsonString It is highly **NOT** recommended to use this function
4593// because it has no param check, nor strict type check
4594func (r *ModifyApplicationTriggerPersonalRequest) FromJsonString(s string) error {
4595	f := make(map[string]interface{})
4596	if err := json.Unmarshal([]byte(s), &f); err != nil {
4597		return err
4598	}
4599	delete(f, "RepoName")
4600	delete(f, "TriggerName")
4601	delete(f, "InvokeMethod")
4602	delete(f, "InvokeExpr")
4603	delete(f, "ClusterId")
4604	delete(f, "Namespace")
4605	delete(f, "WorkloadType")
4606	delete(f, "WorkloadName")
4607	delete(f, "ContainerName")
4608	delete(f, "ClusterRegion")
4609	delete(f, "NewTriggerName")
4610	if len(f) > 0 {
4611		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyApplicationTriggerPersonalRequest has unknown keys!", "")
4612	}
4613	return json.Unmarshal([]byte(s), &r)
4614}
4615
4616type ModifyApplicationTriggerPersonalResponse struct {
4617	*tchttp.BaseResponse
4618	Response *struct {
4619
4620		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4621		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4622	} `json:"Response"`
4623}
4624
4625func (r *ModifyApplicationTriggerPersonalResponse) ToJsonString() string {
4626    b, _ := json.Marshal(r)
4627    return string(b)
4628}
4629
4630// FromJsonString It is highly **NOT** recommended to use this function
4631// because it has no param check, nor strict type check
4632func (r *ModifyApplicationTriggerPersonalResponse) FromJsonString(s string) error {
4633	return json.Unmarshal([]byte(s), &r)
4634}
4635
4636type ModifyImmutableTagRulesRequest struct {
4637	*tchttp.BaseRequest
4638
4639	// 实例 Id
4640	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4641
4642	// 命名空间
4643	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
4644
4645	// 规则 Id
4646	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
4647
4648	// 规则
4649	Rule *ImmutableTagRule `json:"Rule,omitempty" name:"Rule"`
4650}
4651
4652func (r *ModifyImmutableTagRulesRequest) ToJsonString() string {
4653    b, _ := json.Marshal(r)
4654    return string(b)
4655}
4656
4657// FromJsonString It is highly **NOT** recommended to use this function
4658// because it has no param check, nor strict type check
4659func (r *ModifyImmutableTagRulesRequest) FromJsonString(s string) error {
4660	f := make(map[string]interface{})
4661	if err := json.Unmarshal([]byte(s), &f); err != nil {
4662		return err
4663	}
4664	delete(f, "RegistryId")
4665	delete(f, "NamespaceName")
4666	delete(f, "RuleId")
4667	delete(f, "Rule")
4668	if len(f) > 0 {
4669		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyImmutableTagRulesRequest has unknown keys!", "")
4670	}
4671	return json.Unmarshal([]byte(s), &r)
4672}
4673
4674type ModifyImmutableTagRulesResponse struct {
4675	*tchttp.BaseResponse
4676	Response *struct {
4677
4678		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4679		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4680	} `json:"Response"`
4681}
4682
4683func (r *ModifyImmutableTagRulesResponse) ToJsonString() string {
4684    b, _ := json.Marshal(r)
4685    return string(b)
4686}
4687
4688// FromJsonString It is highly **NOT** recommended to use this function
4689// because it has no param check, nor strict type check
4690func (r *ModifyImmutableTagRulesResponse) FromJsonString(s string) error {
4691	return json.Unmarshal([]byte(s), &r)
4692}
4693
4694type ModifyInstanceTokenRequest struct {
4695	*tchttp.BaseRequest
4696
4697	// 实例长期访问凭证 ID
4698	TokenId *string `json:"TokenId,omitempty" name:"TokenId"`
4699
4700	// 实例 ID
4701	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4702
4703	// 启用或禁用实例长期访问凭证
4704	Enable *bool `json:"Enable,omitempty" name:"Enable"`
4705
4706	// 访问凭证描述
4707	Desc *string `json:"Desc,omitempty" name:"Desc"`
4708
4709	// 1为修改描述 2为操作启动禁用,默认值为2
4710	ModifyFlag *int64 `json:"ModifyFlag,omitempty" name:"ModifyFlag"`
4711}
4712
4713func (r *ModifyInstanceTokenRequest) ToJsonString() string {
4714    b, _ := json.Marshal(r)
4715    return string(b)
4716}
4717
4718// FromJsonString It is highly **NOT** recommended to use this function
4719// because it has no param check, nor strict type check
4720func (r *ModifyInstanceTokenRequest) FromJsonString(s string) error {
4721	f := make(map[string]interface{})
4722	if err := json.Unmarshal([]byte(s), &f); err != nil {
4723		return err
4724	}
4725	delete(f, "TokenId")
4726	delete(f, "RegistryId")
4727	delete(f, "Enable")
4728	delete(f, "Desc")
4729	delete(f, "ModifyFlag")
4730	if len(f) > 0 {
4731		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyInstanceTokenRequest has unknown keys!", "")
4732	}
4733	return json.Unmarshal([]byte(s), &r)
4734}
4735
4736type ModifyInstanceTokenResponse struct {
4737	*tchttp.BaseResponse
4738	Response *struct {
4739
4740		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4741		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4742	} `json:"Response"`
4743}
4744
4745func (r *ModifyInstanceTokenResponse) ToJsonString() string {
4746    b, _ := json.Marshal(r)
4747    return string(b)
4748}
4749
4750// FromJsonString It is highly **NOT** recommended to use this function
4751// because it has no param check, nor strict type check
4752func (r *ModifyInstanceTokenResponse) FromJsonString(s string) error {
4753	return json.Unmarshal([]byte(s), &r)
4754}
4755
4756type ModifyNamespaceRequest struct {
4757	*tchttp.BaseRequest
4758
4759	// 实例Id
4760	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4761
4762	// 命名空间名称
4763	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
4764
4765	// 访问级别,True为公开,False为私有
4766	IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
4767}
4768
4769func (r *ModifyNamespaceRequest) ToJsonString() string {
4770    b, _ := json.Marshal(r)
4771    return string(b)
4772}
4773
4774// FromJsonString It is highly **NOT** recommended to use this function
4775// because it has no param check, nor strict type check
4776func (r *ModifyNamespaceRequest) FromJsonString(s string) error {
4777	f := make(map[string]interface{})
4778	if err := json.Unmarshal([]byte(s), &f); err != nil {
4779		return err
4780	}
4781	delete(f, "RegistryId")
4782	delete(f, "NamespaceName")
4783	delete(f, "IsPublic")
4784	if len(f) > 0 {
4785		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyNamespaceRequest has unknown keys!", "")
4786	}
4787	return json.Unmarshal([]byte(s), &r)
4788}
4789
4790type ModifyNamespaceResponse struct {
4791	*tchttp.BaseResponse
4792	Response *struct {
4793
4794		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4795		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4796	} `json:"Response"`
4797}
4798
4799func (r *ModifyNamespaceResponse) ToJsonString() string {
4800    b, _ := json.Marshal(r)
4801    return string(b)
4802}
4803
4804// FromJsonString It is highly **NOT** recommended to use this function
4805// because it has no param check, nor strict type check
4806func (r *ModifyNamespaceResponse) FromJsonString(s string) error {
4807	return json.Unmarshal([]byte(s), &r)
4808}
4809
4810type ModifyRepositoryAccessPersonalRequest struct {
4811	*tchttp.BaseRequest
4812
4813	// 仓库名称
4814	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
4815
4816	// 默认值为0, 1公共,0私有
4817	Public *int64 `json:"Public,omitempty" name:"Public"`
4818}
4819
4820func (r *ModifyRepositoryAccessPersonalRequest) ToJsonString() string {
4821    b, _ := json.Marshal(r)
4822    return string(b)
4823}
4824
4825// FromJsonString It is highly **NOT** recommended to use this function
4826// because it has no param check, nor strict type check
4827func (r *ModifyRepositoryAccessPersonalRequest) FromJsonString(s string) error {
4828	f := make(map[string]interface{})
4829	if err := json.Unmarshal([]byte(s), &f); err != nil {
4830		return err
4831	}
4832	delete(f, "RepoName")
4833	delete(f, "Public")
4834	if len(f) > 0 {
4835		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyRepositoryAccessPersonalRequest has unknown keys!", "")
4836	}
4837	return json.Unmarshal([]byte(s), &r)
4838}
4839
4840type ModifyRepositoryAccessPersonalResponse struct {
4841	*tchttp.BaseResponse
4842	Response *struct {
4843
4844		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4845		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4846	} `json:"Response"`
4847}
4848
4849func (r *ModifyRepositoryAccessPersonalResponse) ToJsonString() string {
4850    b, _ := json.Marshal(r)
4851    return string(b)
4852}
4853
4854// FromJsonString It is highly **NOT** recommended to use this function
4855// because it has no param check, nor strict type check
4856func (r *ModifyRepositoryAccessPersonalResponse) FromJsonString(s string) error {
4857	return json.Unmarshal([]byte(s), &r)
4858}
4859
4860type ModifyRepositoryInfoPersonalRequest struct {
4861	*tchttp.BaseRequest
4862
4863	// 仓库名称
4864	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
4865
4866	// 仓库描述
4867	Description *string `json:"Description,omitempty" name:"Description"`
4868}
4869
4870func (r *ModifyRepositoryInfoPersonalRequest) ToJsonString() string {
4871    b, _ := json.Marshal(r)
4872    return string(b)
4873}
4874
4875// FromJsonString It is highly **NOT** recommended to use this function
4876// because it has no param check, nor strict type check
4877func (r *ModifyRepositoryInfoPersonalRequest) FromJsonString(s string) error {
4878	f := make(map[string]interface{})
4879	if err := json.Unmarshal([]byte(s), &f); err != nil {
4880		return err
4881	}
4882	delete(f, "RepoName")
4883	delete(f, "Description")
4884	if len(f) > 0 {
4885		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyRepositoryInfoPersonalRequest has unknown keys!", "")
4886	}
4887	return json.Unmarshal([]byte(s), &r)
4888}
4889
4890type ModifyRepositoryInfoPersonalResponse struct {
4891	*tchttp.BaseResponse
4892	Response *struct {
4893
4894		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4895		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4896	} `json:"Response"`
4897}
4898
4899func (r *ModifyRepositoryInfoPersonalResponse) ToJsonString() string {
4900    b, _ := json.Marshal(r)
4901    return string(b)
4902}
4903
4904// FromJsonString It is highly **NOT** recommended to use this function
4905// because it has no param check, nor strict type check
4906func (r *ModifyRepositoryInfoPersonalResponse) FromJsonString(s string) error {
4907	return json.Unmarshal([]byte(s), &r)
4908}
4909
4910type ModifyRepositoryRequest struct {
4911	*tchttp.BaseRequest
4912
4913	// 实例ID
4914	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4915
4916	// 命名空间名称
4917	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
4918
4919	// 镜像仓库名称
4920	RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
4921
4922	// 仓库简短描述
4923	BriefDescription *string `json:"BriefDescription,omitempty" name:"BriefDescription"`
4924
4925	// 仓库详细描述
4926	Description *string `json:"Description,omitempty" name:"Description"`
4927}
4928
4929func (r *ModifyRepositoryRequest) ToJsonString() string {
4930    b, _ := json.Marshal(r)
4931    return string(b)
4932}
4933
4934// FromJsonString It is highly **NOT** recommended to use this function
4935// because it has no param check, nor strict type check
4936func (r *ModifyRepositoryRequest) FromJsonString(s string) error {
4937	f := make(map[string]interface{})
4938	if err := json.Unmarshal([]byte(s), &f); err != nil {
4939		return err
4940	}
4941	delete(f, "RegistryId")
4942	delete(f, "NamespaceName")
4943	delete(f, "RepositoryName")
4944	delete(f, "BriefDescription")
4945	delete(f, "Description")
4946	if len(f) > 0 {
4947		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyRepositoryRequest has unknown keys!", "")
4948	}
4949	return json.Unmarshal([]byte(s), &r)
4950}
4951
4952type ModifyRepositoryResponse struct {
4953	*tchttp.BaseResponse
4954	Response *struct {
4955
4956		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4957		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4958	} `json:"Response"`
4959}
4960
4961func (r *ModifyRepositoryResponse) ToJsonString() string {
4962    b, _ := json.Marshal(r)
4963    return string(b)
4964}
4965
4966// FromJsonString It is highly **NOT** recommended to use this function
4967// because it has no param check, nor strict type check
4968func (r *ModifyRepositoryResponse) FromJsonString(s string) error {
4969	return json.Unmarshal([]byte(s), &r)
4970}
4971
4972type ModifySecurityPolicyRequest struct {
4973	*tchttp.BaseRequest
4974
4975	// 实例的Id
4976	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
4977
4978	// PolicyId
4979	PolicyIndex *int64 `json:"PolicyIndex,omitempty" name:"PolicyIndex"`
4980
4981	// 192.168.0.0/24 白名单Ip
4982	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`
4983
4984	// 备注
4985	Description *string `json:"Description,omitempty" name:"Description"`
4986}
4987
4988func (r *ModifySecurityPolicyRequest) ToJsonString() string {
4989    b, _ := json.Marshal(r)
4990    return string(b)
4991}
4992
4993// FromJsonString It is highly **NOT** recommended to use this function
4994// because it has no param check, nor strict type check
4995func (r *ModifySecurityPolicyRequest) FromJsonString(s string) error {
4996	f := make(map[string]interface{})
4997	if err := json.Unmarshal([]byte(s), &f); err != nil {
4998		return err
4999	}
5000	delete(f, "RegistryId")
5001	delete(f, "PolicyIndex")
5002	delete(f, "CidrBlock")
5003	delete(f, "Description")
5004	if len(f) > 0 {
5005		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifySecurityPolicyRequest has unknown keys!", "")
5006	}
5007	return json.Unmarshal([]byte(s), &r)
5008}
5009
5010type ModifySecurityPolicyResponse struct {
5011	*tchttp.BaseResponse
5012	Response *struct {
5013
5014		// 实例Id
5015		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5016
5017		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5018		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5019	} `json:"Response"`
5020}
5021
5022func (r *ModifySecurityPolicyResponse) ToJsonString() string {
5023    b, _ := json.Marshal(r)
5024    return string(b)
5025}
5026
5027// FromJsonString It is highly **NOT** recommended to use this function
5028// because it has no param check, nor strict type check
5029func (r *ModifySecurityPolicyResponse) FromJsonString(s string) error {
5030	return json.Unmarshal([]byte(s), &r)
5031}
5032
5033type ModifyTagRetentionRuleRequest struct {
5034	*tchttp.BaseRequest
5035
5036	// 主实例iD
5037	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5038
5039	// 命名空间的Id,必须填写原有的命名空间id
5040	NamespaceId *int64 `json:"NamespaceId,omitempty" name:"NamespaceId"`
5041
5042	// 保留策略
5043	RetentionRule *RetentionRule `json:"RetentionRule,omitempty" name:"RetentionRule"`
5044
5045	// 执行周期,必须填写为原来的设置
5046	CronSetting *string `json:"CronSetting,omitempty" name:"CronSetting"`
5047
5048	// 规则Id
5049	RetentionId *int64 `json:"RetentionId,omitempty" name:"RetentionId"`
5050
5051	// 是否禁用规则
5052	Disabled *bool `json:"Disabled,omitempty" name:"Disabled"`
5053}
5054
5055func (r *ModifyTagRetentionRuleRequest) ToJsonString() string {
5056    b, _ := json.Marshal(r)
5057    return string(b)
5058}
5059
5060// FromJsonString It is highly **NOT** recommended to use this function
5061// because it has no param check, nor strict type check
5062func (r *ModifyTagRetentionRuleRequest) FromJsonString(s string) error {
5063	f := make(map[string]interface{})
5064	if err := json.Unmarshal([]byte(s), &f); err != nil {
5065		return err
5066	}
5067	delete(f, "RegistryId")
5068	delete(f, "NamespaceId")
5069	delete(f, "RetentionRule")
5070	delete(f, "CronSetting")
5071	delete(f, "RetentionId")
5072	delete(f, "Disabled")
5073	if len(f) > 0 {
5074		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyTagRetentionRuleRequest has unknown keys!", "")
5075	}
5076	return json.Unmarshal([]byte(s), &r)
5077}
5078
5079type ModifyTagRetentionRuleResponse struct {
5080	*tchttp.BaseResponse
5081	Response *struct {
5082
5083		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5084		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5085	} `json:"Response"`
5086}
5087
5088func (r *ModifyTagRetentionRuleResponse) ToJsonString() string {
5089    b, _ := json.Marshal(r)
5090    return string(b)
5091}
5092
5093// FromJsonString It is highly **NOT** recommended to use this function
5094// because it has no param check, nor strict type check
5095func (r *ModifyTagRetentionRuleResponse) FromJsonString(s string) error {
5096	return json.Unmarshal([]byte(s), &r)
5097}
5098
5099type ModifyUserPasswordPersonalRequest struct {
5100	*tchttp.BaseRequest
5101
5102	// 更新后的密码
5103	Password *string `json:"Password,omitempty" name:"Password"`
5104}
5105
5106func (r *ModifyUserPasswordPersonalRequest) ToJsonString() string {
5107    b, _ := json.Marshal(r)
5108    return string(b)
5109}
5110
5111// FromJsonString It is highly **NOT** recommended to use this function
5112// because it has no param check, nor strict type check
5113func (r *ModifyUserPasswordPersonalRequest) FromJsonString(s string) error {
5114	f := make(map[string]interface{})
5115	if err := json.Unmarshal([]byte(s), &f); err != nil {
5116		return err
5117	}
5118	delete(f, "Password")
5119	if len(f) > 0 {
5120		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyUserPasswordPersonalRequest has unknown keys!", "")
5121	}
5122	return json.Unmarshal([]byte(s), &r)
5123}
5124
5125type ModifyUserPasswordPersonalResponse struct {
5126	*tchttp.BaseResponse
5127	Response *struct {
5128
5129		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5130		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5131	} `json:"Response"`
5132}
5133
5134func (r *ModifyUserPasswordPersonalResponse) ToJsonString() string {
5135    b, _ := json.Marshal(r)
5136    return string(b)
5137}
5138
5139// FromJsonString It is highly **NOT** recommended to use this function
5140// because it has no param check, nor strict type check
5141func (r *ModifyUserPasswordPersonalResponse) FromJsonString(s string) error {
5142	return json.Unmarshal([]byte(s), &r)
5143}
5144
5145type ModifyWebhookTriggerRequest struct {
5146	*tchttp.BaseRequest
5147
5148	// 实例Id
5149	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5150
5151	// 触发器参数
5152	Trigger *WebhookTrigger `json:"Trigger,omitempty" name:"Trigger"`
5153
5154	// 命名空间
5155	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
5156}
5157
5158func (r *ModifyWebhookTriggerRequest) ToJsonString() string {
5159    b, _ := json.Marshal(r)
5160    return string(b)
5161}
5162
5163// FromJsonString It is highly **NOT** recommended to use this function
5164// because it has no param check, nor strict type check
5165func (r *ModifyWebhookTriggerRequest) FromJsonString(s string) error {
5166	f := make(map[string]interface{})
5167	if err := json.Unmarshal([]byte(s), &f); err != nil {
5168		return err
5169	}
5170	delete(f, "RegistryId")
5171	delete(f, "Trigger")
5172	delete(f, "Namespace")
5173	if len(f) > 0 {
5174		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyWebhookTriggerRequest has unknown keys!", "")
5175	}
5176	return json.Unmarshal([]byte(s), &r)
5177}
5178
5179type ModifyWebhookTriggerResponse struct {
5180	*tchttp.BaseResponse
5181	Response *struct {
5182
5183		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5184		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5185	} `json:"Response"`
5186}
5187
5188func (r *ModifyWebhookTriggerResponse) ToJsonString() string {
5189    b, _ := json.Marshal(r)
5190    return string(b)
5191}
5192
5193// FromJsonString It is highly **NOT** recommended to use this function
5194// because it has no param check, nor strict type check
5195func (r *ModifyWebhookTriggerResponse) FromJsonString(s string) error {
5196	return json.Unmarshal([]byte(s), &r)
5197}
5198
5199type NamespaceInfo struct {
5200
5201	// 命名空间
5202	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
5203
5204	// 创建时间
5205	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
5206
5207	// 命名空间下仓库数量
5208	RepoCount *int64 `json:"RepoCount,omitempty" name:"RepoCount"`
5209}
5210
5211type NamespaceInfoResp struct {
5212
5213	// 命名空间数量
5214	NamespaceCount *int64 `json:"NamespaceCount,omitempty" name:"NamespaceCount"`
5215
5216	// 命名空间信息
5217	NamespaceInfo []*NamespaceInfo `json:"NamespaceInfo,omitempty" name:"NamespaceInfo"`
5218}
5219
5220type NamespaceIsExistsResp struct {
5221
5222	// 命名空间是否存在
5223	IsExist *bool `json:"IsExist,omitempty" name:"IsExist"`
5224
5225	// 是否为保留命名空间
5226	IsPreserved *bool `json:"IsPreserved,omitempty" name:"IsPreserved"`
5227}
5228
5229type PeerReplicationOption struct {
5230
5231	// 待同步实例的uin
5232	PeerRegistryUin *string `json:"PeerRegistryUin,omitempty" name:"PeerRegistryUin"`
5233
5234	// 待同步实例的访问永久Token
5235	PeerRegistryToken *string `json:"PeerRegistryToken,omitempty" name:"PeerRegistryToken"`
5236
5237	// 是否开启跨主账号实例同步
5238	EnablePeerReplication *bool `json:"EnablePeerReplication,omitempty" name:"EnablePeerReplication"`
5239}
5240
5241type Registry struct {
5242
5243	// 实例ID
5244	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5245
5246	// 实例名称
5247	RegistryName *string `json:"RegistryName,omitempty" name:"RegistryName"`
5248
5249	// 实例规格
5250	RegistryType *string `json:"RegistryType,omitempty" name:"RegistryType"`
5251
5252	// 实例状态
5253	Status *string `json:"Status,omitempty" name:"Status"`
5254
5255	// 实例的公共访问地址
5256	PublicDomain *string `json:"PublicDomain,omitempty" name:"PublicDomain"`
5257
5258	// 实例创建时间
5259	CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
5260
5261	// 地域名称
5262	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`
5263
5264	// 地域Id
5265	RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"`
5266
5267	// 是否支持匿名
5268	EnableAnonymous *bool `json:"EnableAnonymous,omitempty" name:"EnableAnonymous"`
5269
5270	// Token有效时间
5271	TokenValidTime *uint64 `json:"TokenValidTime,omitempty" name:"TokenValidTime"`
5272
5273	// 实例内部访问地址
5274	InternalEndpoint *string `json:"InternalEndpoint,omitempty" name:"InternalEndpoint"`
5275
5276	// 实例云标签
5277	// 注意:此字段可能返回 null,表示取不到有效值。
5278	TagSpecification *TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`
5279
5280	// 实例过期时间(预付费)
5281	// 注意:此字段可能返回 null,表示取不到有效值。
5282	ExpiredAt *string `json:"ExpiredAt,omitempty" name:"ExpiredAt"`
5283
5284	// 实例付费类型,0表示后付费,1表示预付费
5285	// 注意:此字段可能返回 null,表示取不到有效值。
5286	PayMod *int64 `json:"PayMod,omitempty" name:"PayMod"`
5287
5288	// 预付费续费标识,0表示手动续费,1表示自动续费,2不续费并且不通知
5289	// 注意:此字段可能返回 null,表示取不到有效值。
5290	RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"`
5291}
5292
5293type RegistryChargePrepaid struct {
5294
5295	// 购买实例的时长,单位:月
5296	Period *int64 `json:"Period,omitempty" name:"Period"`
5297
5298	// 自动续费标识,0:手动续费,1:自动续费,2:不续费并且不通知
5299	RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"`
5300}
5301
5302type RegistryCondition struct {
5303
5304	// 实例创建过程类型
5305	Type *string `json:"Type,omitempty" name:"Type"`
5306
5307	// 实例创建过程状态
5308	Status *string `json:"Status,omitempty" name:"Status"`
5309
5310	// 转换到该过程的简明原因
5311	// 注意:此字段可能返回 null,表示取不到有效值。
5312	Reason *string `json:"Reason,omitempty" name:"Reason"`
5313}
5314
5315type RegistryStatus struct {
5316
5317	// 实例的Id
5318	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5319
5320	// 实例的状态
5321	Status *string `json:"Status,omitempty" name:"Status"`
5322
5323	// 附加状态
5324	// 注意:此字段可能返回 null,表示取不到有效值。
5325	Conditions []*RegistryCondition `json:"Conditions,omitempty" name:"Conditions"`
5326}
5327
5328type RenewInstanceRequest struct {
5329	*tchttp.BaseRequest
5330
5331	// 实例Id
5332	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5333
5334	// 预付费自动续费标识和购买时长,0:手动续费,1:自动续费,2:不续费并且不通知;单位为月
5335	RegistryChargePrepaid *RegistryChargePrepaid `json:"RegistryChargePrepaid,omitempty" name:"RegistryChargePrepaid"`
5336
5337	// 0 续费, 1按量转包年包月
5338	Flag *int64 `json:"Flag,omitempty" name:"Flag"`
5339}
5340
5341func (r *RenewInstanceRequest) ToJsonString() string {
5342    b, _ := json.Marshal(r)
5343    return string(b)
5344}
5345
5346// FromJsonString It is highly **NOT** recommended to use this function
5347// because it has no param check, nor strict type check
5348func (r *RenewInstanceRequest) FromJsonString(s string) error {
5349	f := make(map[string]interface{})
5350	if err := json.Unmarshal([]byte(s), &f); err != nil {
5351		return err
5352	}
5353	delete(f, "RegistryId")
5354	delete(f, "RegistryChargePrepaid")
5355	delete(f, "Flag")
5356	if len(f) > 0 {
5357		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RenewInstanceRequest has unknown keys!", "")
5358	}
5359	return json.Unmarshal([]byte(s), &r)
5360}
5361
5362type RenewInstanceResponse struct {
5363	*tchttp.BaseResponse
5364	Response *struct {
5365
5366		// 企业版实例Id
5367		RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5368
5369		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5370		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5371	} `json:"Response"`
5372}
5373
5374func (r *RenewInstanceResponse) ToJsonString() string {
5375    b, _ := json.Marshal(r)
5376    return string(b)
5377}
5378
5379// FromJsonString It is highly **NOT** recommended to use this function
5380// because it has no param check, nor strict type check
5381func (r *RenewInstanceResponse) FromJsonString(s string) error {
5382	return json.Unmarshal([]byte(s), &r)
5383}
5384
5385type ReplicationFilter struct {
5386
5387	// 类型(name、tag和resource)
5388	Type *string `json:"Type,omitempty" name:"Type"`
5389
5390	// 默认为空
5391	Value *string `json:"Value,omitempty" name:"Value"`
5392}
5393
5394type ReplicationRegistry struct {
5395
5396	// 主实例ID
5397	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5398
5399	// 复制实例ID
5400	ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"`
5401
5402	// 复制实例的地域ID
5403	ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"`
5404
5405	// 复制实例的地域名称
5406	ReplicationRegionName *string `json:"ReplicationRegionName,omitempty" name:"ReplicationRegionName"`
5407
5408	// 复制实例的状态
5409	Status *string `json:"Status,omitempty" name:"Status"`
5410
5411	// 创建时间
5412	CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
5413}
5414
5415type ReplicationRule struct {
5416
5417	// 同步规则名称
5418	Name *string `json:"Name,omitempty" name:"Name"`
5419
5420	// 目标命名空间
5421	DestNamespace *string `json:"DestNamespace,omitempty" name:"DestNamespace"`
5422
5423	// 是否覆盖
5424	Override *bool `json:"Override,omitempty" name:"Override"`
5425
5426	// 同步过滤条件
5427	Filters []*ReplicationFilter `json:"Filters,omitempty" name:"Filters"`
5428}
5429
5430type RepoInfo struct {
5431
5432	// 仓库名称
5433	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
5434
5435	// 仓库类型
5436	RepoType *string `json:"RepoType,omitempty" name:"RepoType"`
5437
5438	// Tag数量
5439	TagCount *int64 `json:"TagCount,omitempty" name:"TagCount"`
5440
5441	// 是否为公开
5442	Public *int64 `json:"Public,omitempty" name:"Public"`
5443
5444	// 是否为用户收藏
5445	IsUserFavor *bool `json:"IsUserFavor,omitempty" name:"IsUserFavor"`
5446
5447	// 是否为腾讯云官方仓库
5448	IsQcloudOfficial *bool `json:"IsQcloudOfficial,omitempty" name:"IsQcloudOfficial"`
5449
5450	// 被收藏的个数
5451	FavorCount *int64 `json:"FavorCount,omitempty" name:"FavorCount"`
5452
5453	// 拉取的数量
5454	PullCount *int64 `json:"PullCount,omitempty" name:"PullCount"`
5455
5456	// 描述
5457	Description *string `json:"Description,omitempty" name:"Description"`
5458
5459	// 仓库创建时间
5460	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
5461
5462	// 仓库更新时间
5463	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
5464}
5465
5466type RepoInfoResp struct {
5467
5468	// 仓库总数
5469	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
5470
5471	// 仓库信息列表
5472	RepoInfo []*RepoInfo `json:"RepoInfo,omitempty" name:"RepoInfo"`
5473
5474	// Server信息
5475	Server *string `json:"Server,omitempty" name:"Server"`
5476}
5477
5478type RepoIsExistResp struct {
5479
5480	// 仓库是否存在
5481	IsExist *bool `json:"IsExist,omitempty" name:"IsExist"`
5482}
5483
5484type RepositoryInfoResp struct {
5485
5486	// 镜像仓库名字
5487	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
5488
5489	// 镜像仓库类型
5490	RepoType *string `json:"RepoType,omitempty" name:"RepoType"`
5491
5492	// 镜像仓库服务地址
5493	Server *string `json:"Server,omitempty" name:"Server"`
5494
5495	// 创建时间
5496	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
5497
5498	// 镜像仓库描述
5499	// 注意:此字段可能返回 null,表示取不到有效值。
5500	Description *string `json:"Description,omitempty" name:"Description"`
5501
5502	// 是否为公有镜像
5503	Public *int64 `json:"Public,omitempty" name:"Public"`
5504
5505	// 下载次数
5506	PullCount *int64 `json:"PullCount,omitempty" name:"PullCount"`
5507
5508	// 收藏次数
5509	FavorCount *int64 `json:"FavorCount,omitempty" name:"FavorCount"`
5510
5511	// 是否为用户收藏
5512	IsUserFavor *bool `json:"IsUserFavor,omitempty" name:"IsUserFavor"`
5513
5514	// 是否为腾讯云官方镜像
5515	IsQcloudOfficial *bool `json:"IsQcloudOfficial,omitempty" name:"IsQcloudOfficial"`
5516}
5517
5518type RespLimit struct {
5519
5520	// 配额信息
5521	LimitInfo []*Limit `json:"LimitInfo,omitempty" name:"LimitInfo"`
5522}
5523
5524type RetentionExecution struct {
5525
5526	// 执行Id
5527	ExecutionId *int64 `json:"ExecutionId,omitempty" name:"ExecutionId"`
5528
5529	// 所属规则id
5530	RetentionId *int64 `json:"RetentionId,omitempty" name:"RetentionId"`
5531
5532	// 执行的开始时间
5533	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5534
5535	// 执行的结束时间
5536	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5537
5538	// 执行的状态,Failed, Succeed, Stopped, InProgress
5539	Status *string `json:"Status,omitempty" name:"Status"`
5540}
5541
5542type RetentionPolicy struct {
5543
5544	// 版本保留策略Id
5545	RetentionId *int64 `json:"RetentionId,omitempty" name:"RetentionId"`
5546
5547	// 命名空间的名称
5548	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
5549
5550	// 规则列表
5551	RetentionRuleList []*RetentionRule `json:"RetentionRuleList,omitempty" name:"RetentionRuleList"`
5552
5553	// 定期执行方式
5554	CronSetting *string `json:"CronSetting,omitempty" name:"CronSetting"`
5555
5556	// 是否启用规则
5557	Disabled *bool `json:"Disabled,omitempty" name:"Disabled"`
5558
5559	// 基于当前时间根据cronSetting后下一次任务要执行的时间,仅做参考使用
5560	NextExecutionTime *string `json:"NextExecutionTime,omitempty" name:"NextExecutionTime"`
5561}
5562
5563type RetentionRule struct {
5564
5565	// 支持的策略,可选值为latestPushedK(保留最新推送多少个版本)nDaysSinceLastPush(保留近天内推送)
5566	Key *string `json:"Key,omitempty" name:"Key"`
5567
5568	// 规则设置下的对应值
5569	Value *int64 `json:"Value,omitempty" name:"Value"`
5570}
5571
5572type RetentionTask struct {
5573
5574	// 任务Id
5575	TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`
5576
5577	// 所属的规则执行Id
5578	ExecutionId *int64 `json:"ExecutionId,omitempty" name:"ExecutionId"`
5579
5580	// 任务开始时间
5581	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5582
5583	// 任务结束时间
5584	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5585
5586	// 任务的执行状态,Failed, Succeed, Stopped, InProgress
5587	Status *string `json:"Status,omitempty" name:"Status"`
5588
5589	// 总tag数
5590	Total *int64 `json:"Total,omitempty" name:"Total"`
5591
5592	// 保留tag数
5593	Retained *int64 `json:"Retained,omitempty" name:"Retained"`
5594
5595	// 应用的仓库
5596	Repository *string `json:"Repository,omitempty" name:"Repository"`
5597}
5598
5599type SameImagesResp struct {
5600
5601	// tag列表
5602	// 注意:此字段可能返回 null,表示取不到有效值。
5603	SameImages []*string `json:"SameImages,omitempty" name:"SameImages"`
5604}
5605
5606type SearchUserRepositoryResp struct {
5607
5608	// 总个数
5609	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
5610
5611	// 仓库列表
5612	RepoInfo []*RepoInfo `json:"RepoInfo,omitempty" name:"RepoInfo"`
5613
5614	// Server
5615	Server *string `json:"Server,omitempty" name:"Server"`
5616
5617	// PrivilegeFiltered
5618	PrivilegeFiltered *bool `json:"PrivilegeFiltered,omitempty" name:"PrivilegeFiltered"`
5619}
5620
5621type SecurityPolicy struct {
5622
5623	// 策略索引
5624	PolicyIndex *int64 `json:"PolicyIndex,omitempty" name:"PolicyIndex"`
5625
5626	// 备注
5627	Description *string `json:"Description,omitempty" name:"Description"`
5628
5629	// 运行访问的公网IP地址端
5630	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`
5631
5632	// 安全策略的版本
5633	PolicyVersion *string `json:"PolicyVersion,omitempty" name:"PolicyVersion"`
5634}
5635
5636type Tag struct {
5637
5638	// 云标签的key
5639	Key *string `json:"Key,omitempty" name:"Key"`
5640
5641	// 云标签的值
5642	Value *string `json:"Value,omitempty" name:"Value"`
5643}
5644
5645type TagInfo struct {
5646
5647	// Tag名称
5648	TagName *string `json:"TagName,omitempty" name:"TagName"`
5649
5650	// 镜像Id
5651	TagId *string `json:"TagId,omitempty" name:"TagId"`
5652
5653	// docker image 可以看到的id
5654	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`
5655
5656	// 大小
5657	Size *string `json:"Size,omitempty" name:"Size"`
5658
5659	// 镜像的创建时间
5660	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
5661
5662	// 镜像创建至今时间长度
5663	// 注意:此字段可能返回 null,表示取不到有效值。
5664	DurationDays *string `json:"DurationDays,omitempty" name:"DurationDays"`
5665
5666	// 镜像的作者
5667	Author *string `json:"Author,omitempty" name:"Author"`
5668
5669	// 次镜像建议运行的系统架构
5670	Architecture *string `json:"Architecture,omitempty" name:"Architecture"`
5671
5672	// 创建此镜像的docker版本
5673	DockerVersion *string `json:"DockerVersion,omitempty" name:"DockerVersion"`
5674
5675	// 此镜像建议运行系统
5676	OS *string `json:"OS,omitempty" name:"OS"`
5677
5678	// SizeByte
5679	SizeByte *int64 `json:"SizeByte,omitempty" name:"SizeByte"`
5680
5681	// Id
5682	Id *int64 `json:"Id,omitempty" name:"Id"`
5683
5684	// 数据更新时间
5685	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
5686
5687	// 镜像更新时间
5688	PushTime *string `json:"PushTime,omitempty" name:"PushTime"`
5689}
5690
5691type TagInfoResp struct {
5692
5693	// Tag的总数
5694	TagCount *int64 `json:"TagCount,omitempty" name:"TagCount"`
5695
5696	// TagInfo列表
5697	TagInfo []*TagInfo `json:"TagInfo,omitempty" name:"TagInfo"`
5698
5699	// Server
5700	Server *string `json:"Server,omitempty" name:"Server"`
5701
5702	// 仓库名称
5703	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
5704}
5705
5706type TagSpecification struct {
5707
5708	// 默认值为instance
5709	// 注意:此字段可能返回 null,表示取不到有效值。
5710	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`
5711
5712	// 云标签数组
5713	// 注意:此字段可能返回 null,表示取不到有效值。
5714	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
5715}
5716
5717type TaskDetail struct {
5718
5719	// 任务
5720	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`
5721
5722	// 任务UUID
5723	TaskUUID *string `json:"TaskUUID,omitempty" name:"TaskUUID"`
5724
5725	// 任务状态
5726	TaskStatus *string `json:"TaskStatus,omitempty" name:"TaskStatus"`
5727
5728	// 任务的状态信息
5729	// 注意:此字段可能返回 null,表示取不到有效值。
5730	TaskMessage *string `json:"TaskMessage,omitempty" name:"TaskMessage"`
5731
5732	// 任务开始时间
5733	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
5734
5735	// 任务结束时间
5736	// 注意:此字段可能返回 null,表示取不到有效值。
5737	FinishedTime *string `json:"FinishedTime,omitempty" name:"FinishedTime"`
5738}
5739
5740type TcrImageInfo struct {
5741
5742	// 哈希值
5743	Digest *string `json:"Digest,omitempty" name:"Digest"`
5744
5745	// 镜像大小
5746	Size *int64 `json:"Size,omitempty" name:"Size"`
5747
5748	// Tag名称
5749	ImageVersion *string `json:"ImageVersion,omitempty" name:"ImageVersion"`
5750
5751	// 更新时间
5752	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
5753}
5754
5755type TcrInstanceToken struct {
5756
5757	// 令牌ID
5758	Id *string `json:"Id,omitempty" name:"Id"`
5759
5760	// 令牌描述
5761	Desc *string `json:"Desc,omitempty" name:"Desc"`
5762
5763	// 令牌所属实例ID
5764	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`
5765
5766	// 令牌启用状态
5767	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
5768
5769	// 令牌创建时间
5770	CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
5771
5772	// 令牌过期时间戳
5773	ExpiredAt *int64 `json:"ExpiredAt,omitempty" name:"ExpiredAt"`
5774}
5775
5776type TcrNamespaceInfo struct {
5777
5778	// 命名空间名称
5779	Name *string `json:"Name,omitempty" name:"Name"`
5780
5781	// 创建时间
5782	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
5783
5784	// 访问级别
5785	Public *bool `json:"Public,omitempty" name:"Public"`
5786
5787	// 命名空间的Id
5788	NamespaceId *int64 `json:"NamespaceId,omitempty" name:"NamespaceId"`
5789}
5790
5791type TcrRepositoryInfo struct {
5792
5793	// 仓库名称
5794	Name *string `json:"Name,omitempty" name:"Name"`
5795
5796	// 命名空间名称
5797	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
5798
5799	// 创建时间
5800	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
5801
5802	// 是否公开
5803	Public *bool `json:"Public,omitempty" name:"Public"`
5804
5805	// 仓库详细描述
5806	// 注意:此字段可能返回 null,表示取不到有效值。
5807	Description *string `json:"Description,omitempty" name:"Description"`
5808
5809	// 简单描述
5810	// 注意:此字段可能返回 null,表示取不到有效值。
5811	BriefDescription *string `json:"BriefDescription,omitempty" name:"BriefDescription"`
5812
5813	// 更新时间
5814	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
5815}
5816
5817type TriggerInvokeCondition struct {
5818
5819	// 触发方式
5820	InvokeMethod *string `json:"InvokeMethod,omitempty" name:"InvokeMethod"`
5821
5822	// 触发表达式
5823	// 注意:此字段可能返回 null,表示取不到有效值。
5824	InvokeExpr *string `json:"InvokeExpr,omitempty" name:"InvokeExpr"`
5825}
5826
5827type TriggerInvokePara struct {
5828
5829	// AppId
5830	// 注意:此字段可能返回 null,表示取不到有效值。
5831	AppId *string `json:"AppId,omitempty" name:"AppId"`
5832
5833	// TKE集群ID
5834	// 注意:此字段可能返回 null,表示取不到有效值。
5835	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
5836
5837	// TKE集群命名空间
5838	// 注意:此字段可能返回 null,表示取不到有效值。
5839	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
5840
5841	// TKE集群工作负载名称
5842	// 注意:此字段可能返回 null,表示取不到有效值。
5843	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
5844
5845	// TKE集群工作负载中容器名称
5846	// 注意:此字段可能返回 null,表示取不到有效值。
5847	ContainerName *string `json:"ContainerName,omitempty" name:"ContainerName"`
5848
5849	// TKE集群地域数字ID
5850	// 注意:此字段可能返回 null,表示取不到有效值。
5851	ClusterRegion *int64 `json:"ClusterRegion,omitempty" name:"ClusterRegion"`
5852}
5853
5854type TriggerInvokeResult struct {
5855
5856	// 请求TKE返回值
5857	// 注意:此字段可能返回 null,表示取不到有效值。
5858	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`
5859
5860	// 请求TKE返回信息
5861	// 注意:此字段可能返回 null,表示取不到有效值。
5862	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`
5863}
5864
5865type TriggerLogResp struct {
5866
5867	// 仓库名称
5868	// 注意:此字段可能返回 null,表示取不到有效值。
5869	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
5870
5871	// Tag名称
5872	// 注意:此字段可能返回 null,表示取不到有效值。
5873	TagName *string `json:"TagName,omitempty" name:"TagName"`
5874
5875	// 触发器名称
5876	// 注意:此字段可能返回 null,表示取不到有效值。
5877	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`
5878
5879	// 触发方式
5880	// 注意:此字段可能返回 null,表示取不到有效值。
5881	InvokeSource *string `json:"InvokeSource,omitempty" name:"InvokeSource"`
5882
5883	// 触发动作
5884	// 注意:此字段可能返回 null,表示取不到有效值。
5885	InvokeAction *string `json:"InvokeAction,omitempty" name:"InvokeAction"`
5886
5887	// 触发时间
5888	// 注意:此字段可能返回 null,表示取不到有效值。
5889	InvokeTime *string `json:"InvokeTime,omitempty" name:"InvokeTime"`
5890
5891	// 触发条件
5892	// 注意:此字段可能返回 null,表示取不到有效值。
5893	InvokeCondition *TriggerInvokeCondition `json:"InvokeCondition,omitempty" name:"InvokeCondition"`
5894
5895	// 触发参数
5896	// 注意:此字段可能返回 null,表示取不到有效值。
5897	InvokePara *TriggerInvokePara `json:"InvokePara,omitempty" name:"InvokePara"`
5898
5899	// 触发结果
5900	// 注意:此字段可能返回 null,表示取不到有效值。
5901	InvokeResult *TriggerInvokeResult `json:"InvokeResult,omitempty" name:"InvokeResult"`
5902}
5903
5904type TriggerResp struct {
5905
5906	// 触发器名称
5907	// 注意:此字段可能返回 null,表示取不到有效值。
5908	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`
5909
5910	// 触发来源
5911	// 注意:此字段可能返回 null,表示取不到有效值。
5912	InvokeSource *string `json:"InvokeSource,omitempty" name:"InvokeSource"`
5913
5914	// 触发动作
5915	// 注意:此字段可能返回 null,表示取不到有效值。
5916	InvokeAction *string `json:"InvokeAction,omitempty" name:"InvokeAction"`
5917
5918	// 创建时间
5919	// 注意:此字段可能返回 null,表示取不到有效值。
5920	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
5921
5922	// 更新时间
5923	// 注意:此字段可能返回 null,表示取不到有效值。
5924	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
5925
5926	// 触发条件
5927	// 注意:此字段可能返回 null,表示取不到有效值。
5928	InvokeCondition *TriggerInvokeCondition `json:"InvokeCondition,omitempty" name:"InvokeCondition"`
5929
5930	// 触发器参数
5931	// 注意:此字段可能返回 null,表示取不到有效值。
5932	InvokePara *TriggerInvokePara `json:"InvokePara,omitempty" name:"InvokePara"`
5933}
5934
5935type ValidateNamespaceExistPersonalRequest struct {
5936	*tchttp.BaseRequest
5937
5938	// 命名空间名称
5939	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
5940}
5941
5942func (r *ValidateNamespaceExistPersonalRequest) ToJsonString() string {
5943    b, _ := json.Marshal(r)
5944    return string(b)
5945}
5946
5947// FromJsonString It is highly **NOT** recommended to use this function
5948// because it has no param check, nor strict type check
5949func (r *ValidateNamespaceExistPersonalRequest) FromJsonString(s string) error {
5950	f := make(map[string]interface{})
5951	if err := json.Unmarshal([]byte(s), &f); err != nil {
5952		return err
5953	}
5954	delete(f, "Namespace")
5955	if len(f) > 0 {
5956		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ValidateNamespaceExistPersonalRequest has unknown keys!", "")
5957	}
5958	return json.Unmarshal([]byte(s), &r)
5959}
5960
5961type ValidateNamespaceExistPersonalResponse struct {
5962	*tchttp.BaseResponse
5963	Response *struct {
5964
5965		// 验证命名空间是否存在返回信息
5966		Data *NamespaceIsExistsResp `json:"Data,omitempty" name:"Data"`
5967
5968		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5969		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5970	} `json:"Response"`
5971}
5972
5973func (r *ValidateNamespaceExistPersonalResponse) ToJsonString() string {
5974    b, _ := json.Marshal(r)
5975    return string(b)
5976}
5977
5978// FromJsonString It is highly **NOT** recommended to use this function
5979// because it has no param check, nor strict type check
5980func (r *ValidateNamespaceExistPersonalResponse) FromJsonString(s string) error {
5981	return json.Unmarshal([]byte(s), &r)
5982}
5983
5984type ValidateRepositoryExistPersonalRequest struct {
5985	*tchttp.BaseRequest
5986
5987	// 仓库名称
5988	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
5989}
5990
5991func (r *ValidateRepositoryExistPersonalRequest) ToJsonString() string {
5992    b, _ := json.Marshal(r)
5993    return string(b)
5994}
5995
5996// FromJsonString It is highly **NOT** recommended to use this function
5997// because it has no param check, nor strict type check
5998func (r *ValidateRepositoryExistPersonalRequest) FromJsonString(s string) error {
5999	f := make(map[string]interface{})
6000	if err := json.Unmarshal([]byte(s), &f); err != nil {
6001		return err
6002	}
6003	delete(f, "RepoName")
6004	if len(f) > 0 {
6005		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ValidateRepositoryExistPersonalRequest has unknown keys!", "")
6006	}
6007	return json.Unmarshal([]byte(s), &r)
6008}
6009
6010type ValidateRepositoryExistPersonalResponse struct {
6011	*tchttp.BaseResponse
6012	Response *struct {
6013
6014		// 验证个人版仓库是否存在返回信息
6015		Data *RepoIsExistResp `json:"Data,omitempty" name:"Data"`
6016
6017		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6018		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6019	} `json:"Response"`
6020}
6021
6022func (r *ValidateRepositoryExistPersonalResponse) ToJsonString() string {
6023    b, _ := json.Marshal(r)
6024    return string(b)
6025}
6026
6027// FromJsonString It is highly **NOT** recommended to use this function
6028// because it has no param check, nor strict type check
6029func (r *ValidateRepositoryExistPersonalResponse) FromJsonString(s string) error {
6030	return json.Unmarshal([]byte(s), &r)
6031}
6032
6033type VpcAndDomainInfo struct {
6034
6035	// tcr实例id
6036	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
6037
6038	// 私有网络id
6039	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
6040
6041	// tcr内网访问链路ip
6042	EniLBIp *string `json:"EniLBIp,omitempty" name:"EniLBIp"`
6043
6044	// true:use instance name as subdomain
6045	// false: use instancename+"-vpc" as subdomain
6046	UsePublicDomain *bool `json:"UsePublicDomain,omitempty" name:"UsePublicDomain"`
6047}
6048
6049type VpcPrivateDomainStatus struct {
6050
6051	// 地域
6052	// 注意:此字段可能返回 null,表示取不到有效值。
6053	Region *string `json:"Region,omitempty" name:"Region"`
6054
6055	// unique vpc id
6056	// 注意:此字段可能返回 null,表示取不到有效值。
6057	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
6058
6059	// ENABLE代表已经开启,DISABLE代表未开启,ERROR代表查询出错
6060	// 注意:此字段可能返回 null,表示取不到有效值。
6061	Status *string `json:"Status,omitempty" name:"Status"`
6062}
6063
6064type WebhookTarget struct {
6065
6066	// 目标地址
6067	Address *string `json:"Address,omitempty" name:"Address"`
6068
6069	// 自定义 Headers
6070	Headers []*Header `json:"Headers,omitempty" name:"Headers"`
6071}
6072
6073type WebhookTrigger struct {
6074
6075	// 触发器名称
6076	Name *string `json:"Name,omitempty" name:"Name"`
6077
6078	// 触发器目标
6079	Targets []*WebhookTarget `json:"Targets,omitempty" name:"Targets"`
6080
6081	// 触发动作
6082	EventTypes []*string `json:"EventTypes,omitempty" name:"EventTypes"`
6083
6084	// 触发规则
6085	Condition *string `json:"Condition,omitempty" name:"Condition"`
6086
6087	// 启用触发器
6088	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
6089
6090	// 触发器Id
6091	Id *int64 `json:"Id,omitempty" name:"Id"`
6092
6093	// 触发器描述
6094	Description *string `json:"Description,omitempty" name:"Description"`
6095
6096	// 触发器所属命名空间 Id
6097	NamespaceId *int64 `json:"NamespaceId,omitempty" name:"NamespaceId"`
6098}
6099
6100type WebhookTriggerLog struct {
6101
6102	// 日志 Id
6103	Id *int64 `json:"Id,omitempty" name:"Id"`
6104
6105	// 触发器 Id
6106	TriggerId *int64 `json:"TriggerId,omitempty" name:"TriggerId"`
6107
6108	// 事件类型
6109	EventType *string `json:"EventType,omitempty" name:"EventType"`
6110
6111	// 通知类型
6112	NotifyType *string `json:"NotifyType,omitempty" name:"NotifyType"`
6113
6114	// 详情
6115	Detail *string `json:"Detail,omitempty" name:"Detail"`
6116
6117	// 创建时间
6118	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`
6119
6120	// 更新时间
6121	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
6122
6123	// 状态
6124	Status *string `json:"Status,omitempty" name:"Status"`
6125}
6126