com.tencentcloudapi.tcr.v20190924.models.Region Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud 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.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 Region extends AbstractModel{
/**
* gz
*/
@SerializedName("Alias")
@Expose
private String Alias;
/**
* 1
*/
@SerializedName("RegionId")
@Expose
private Long RegionId;
/**
* ap-guangzhou
*/
@SerializedName("RegionName")
@Expose
private String RegionName;
/**
* alluser
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* remark
*/
@SerializedName("Remark")
@Expose
private String Remark;
/**
* Creation time
*/
@SerializedName("CreatedAt")
@Expose
private String CreatedAt;
/**
* Update time
*/
@SerializedName("UpdatedAt")
@Expose
private String UpdatedAt;
/**
* id
*/
@SerializedName("Id")
@Expose
private Long Id;
/**
* Get gz
* @return Alias gz
*/
public String getAlias() {
return this.Alias;
}
/**
* Set gz
* @param Alias gz
*/
public void setAlias(String Alias) {
this.Alias = Alias;
}
/**
* Get 1
* @return RegionId 1
*/
public Long getRegionId() {
return this.RegionId;
}
/**
* Set 1
* @param RegionId 1
*/
public void setRegionId(Long RegionId) {
this.RegionId = RegionId;
}
/**
* Get ap-guangzhou
* @return RegionName ap-guangzhou
*/
public String getRegionName() {
return this.RegionName;
}
/**
* Set ap-guangzhou
* @param RegionName ap-guangzhou
*/
public void setRegionName(String RegionName) {
this.RegionName = RegionName;
}
/**
* Get alluser
* @return Status alluser
*/
public String getStatus() {
return this.Status;
}
/**
* Set alluser
* @param Status alluser
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get remark
* @return Remark remark
*/
public String getRemark() {
return this.Remark;
}
/**
* Set remark
* @param Remark remark
*/
public void setRemark(String Remark) {
this.Remark = Remark;
}
/**
* Get Creation time
* @return CreatedAt Creation time
*/
public String getCreatedAt() {
return this.CreatedAt;
}
/**
* Set Creation time
* @param CreatedAt Creation time
*/
public void setCreatedAt(String CreatedAt) {
this.CreatedAt = CreatedAt;
}
/**
* Get Update time
* @return UpdatedAt Update time
*/
public String getUpdatedAt() {
return this.UpdatedAt;
}
/**
* Set Update time
* @param UpdatedAt Update time
*/
public void setUpdatedAt(String UpdatedAt) {
this.UpdatedAt = UpdatedAt;
}
/**
* Get id
* @return Id id
*/
public Long getId() {
return this.Id;
}
/**
* Set id
* @param Id id
*/
public void setId(Long Id) {
this.Id = Id;
}
public Region() {
}
/**
* 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 Region(Region source) {
if (source.Alias != null) {
this.Alias = new String(source.Alias);
}
if (source.RegionId != null) {
this.RegionId = new Long(source.RegionId);
}
if (source.RegionName != null) {
this.RegionName = new String(source.RegionName);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.Remark != null) {
this.Remark = new String(source.Remark);
}
if (source.CreatedAt != null) {
this.CreatedAt = new String(source.CreatedAt);
}
if (source.UpdatedAt != null) {
this.UpdatedAt = new String(source.UpdatedAt);
}
if (source.Id != null) {
this.Id = new Long(source.Id);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Alias", this.Alias);
this.setParamSimple(map, prefix + "RegionId", this.RegionId);
this.setParamSimple(map, prefix + "RegionName", this.RegionName);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Remark", this.Remark);
this.setParamSimple(map, prefix + "CreatedAt", this.CreatedAt);
this.setParamSimple(map, prefix + "UpdatedAt", this.UpdatedAt);
this.setParamSimple(map, prefix + "Id", this.Id);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy