com.tencentcloudapi.tcb.v20180608.models.CloudBaseRunImageSecretInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-tcb Show documentation
Show all versions of tencentcloud-sdk-java-tcb Show documentation
Tencent Cloud Open API SDK for Java
/*
* 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.tcb.v20180608.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CloudBaseRunImageSecretInfo extends AbstractModel{
/**
* 镜像地址
*/
@SerializedName("RegistryServer")
@Expose
private String RegistryServer;
/**
* 用户名
*/
@SerializedName("UserName")
@Expose
private String UserName;
/**
* 仓库密码
*/
@SerializedName("Password")
@Expose
private String Password;
/**
* 邮箱
*/
@SerializedName("Email")
@Expose
private String Email;
/**
* Get 镜像地址
* @return RegistryServer 镜像地址
*/
public String getRegistryServer() {
return this.RegistryServer;
}
/**
* Set 镜像地址
* @param RegistryServer 镜像地址
*/
public void setRegistryServer(String RegistryServer) {
this.RegistryServer = RegistryServer;
}
/**
* Get 用户名
* @return UserName 用户名
*/
public String getUserName() {
return this.UserName;
}
/**
* Set 用户名
* @param UserName 用户名
*/
public void setUserName(String UserName) {
this.UserName = UserName;
}
/**
* Get 仓库密码
* @return Password 仓库密码
*/
public String getPassword() {
return this.Password;
}
/**
* Set 仓库密码
* @param Password 仓库密码
*/
public void setPassword(String Password) {
this.Password = Password;
}
/**
* Get 邮箱
* @return Email 邮箱
*/
public String getEmail() {
return this.Email;
}
/**
* Set 邮箱
* @param Email 邮箱
*/
public void setEmail(String Email) {
this.Email = Email;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "RegistryServer", this.RegistryServer);
this.setParamSimple(map, prefix + "UserName", this.UserName);
this.setParamSimple(map, prefix + "Password", this.Password);
this.setParamSimple(map, prefix + "Email", this.Email);
}
}