
com.tencentcloudapi.tcr.v20190924.models.CreateImageLifecyclePersonalRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.tcr.v20190924.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateImageLifecyclePersonalRequest extends AbstractModel{
/**
* 仓库名称
*/
@SerializedName("RepoName")
@Expose
private String RepoName;
/**
* keep_last_days:保留最近几天的数据;keep_last_nums:保留最近多少个
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* 策略值
*/
@SerializedName("Val")
@Expose
private Long Val;
/**
* Get 仓库名称
* @return RepoName 仓库名称
*/
public String getRepoName() {
return this.RepoName;
}
/**
* Set 仓库名称
* @param RepoName 仓库名称
*/
public void setRepoName(String RepoName) {
this.RepoName = RepoName;
}
/**
* Get keep_last_days:保留最近几天的数据;keep_last_nums:保留最近多少个
* @return Type keep_last_days:保留最近几天的数据;keep_last_nums:保留最近多少个
*/
public String getType() {
return this.Type;
}
/**
* Set keep_last_days:保留最近几天的数据;keep_last_nums:保留最近多少个
* @param Type keep_last_days:保留最近几天的数据;keep_last_nums:保留最近多少个
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get 策略值
* @return Val 策略值
*/
public Long getVal() {
return this.Val;
}
/**
* Set 策略值
* @param Val 策略值
*/
public void setVal(Long Val) {
this.Val = Val;
}
public CreateImageLifecyclePersonalRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public CreateImageLifecyclePersonalRequest(CreateImageLifecyclePersonalRequest source) {
if (source.RepoName != null) {
this.RepoName = new String(source.RepoName);
}
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.Val != null) {
this.Val = new Long(source.Val);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "RepoName", this.RepoName);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "Val", this.Val);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy