com.tencentcloudapi.ssl.v20191205.models.UpdateRecordInfo 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.ssl.v20191205.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class UpdateRecordInfo extends AbstractModel {
/**
* Record ID
*/
@SerializedName("Id")
@Expose
private Long Id;
/**
* New certificate ID
*/
@SerializedName("CertId")
@Expose
private String CertId;
/**
* Old certificate ID
*/
@SerializedName("OldCertId")
@Expose
private String OldCertId;
/**
* Deployment resource type list
*/
@SerializedName("ResourceTypes")
@Expose
private String [] ResourceTypes;
/**
* Deployment region list
Note: This field may return null, indicating that no valid value can be obtained.
*/
@SerializedName("Regions")
@Expose
private String [] Regions;
/**
* Deployment status
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* Deployment time
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Last update time
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* Get Record ID
* @return Id Record ID
*/
public Long getId() {
return this.Id;
}
/**
* Set Record ID
* @param Id Record ID
*/
public void setId(Long Id) {
this.Id = Id;
}
/**
* Get New certificate ID
* @return CertId New certificate ID
*/
public String getCertId() {
return this.CertId;
}
/**
* Set New certificate ID
* @param CertId New certificate ID
*/
public void setCertId(String CertId) {
this.CertId = CertId;
}
/**
* Get Old certificate ID
* @return OldCertId Old certificate ID
*/
public String getOldCertId() {
return this.OldCertId;
}
/**
* Set Old certificate ID
* @param OldCertId Old certificate ID
*/
public void setOldCertId(String OldCertId) {
this.OldCertId = OldCertId;
}
/**
* Get Deployment resource type list
* @return ResourceTypes Deployment resource type list
*/
public String [] getResourceTypes() {
return this.ResourceTypes;
}
/**
* Set Deployment resource type list
* @param ResourceTypes Deployment resource type list
*/
public void setResourceTypes(String [] ResourceTypes) {
this.ResourceTypes = ResourceTypes;
}
/**
* Get Deployment region list
Note: This field may return null, indicating that no valid value can be obtained.
* @return Regions Deployment region list
Note: This field may return null, indicating that no valid value can be obtained.
*/
public String [] getRegions() {
return this.Regions;
}
/**
* Set Deployment region list
Note: This field may return null, indicating that no valid value can be obtained.
* @param Regions Deployment region list
Note: This field may return null, indicating that no valid value can be obtained.
*/
public void setRegions(String [] Regions) {
this.Regions = Regions;
}
/**
* Get Deployment status
* @return Status Deployment status
*/
public Long getStatus() {
return this.Status;
}
/**
* Set Deployment status
* @param Status Deployment status
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get Deployment time
* @return CreateTime Deployment time
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Deployment time
* @param CreateTime Deployment time
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Last update time
* @return UpdateTime Last update time
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set Last update time
* @param UpdateTime Last update time
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
public UpdateRecordInfo() {
}
/**
* 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 UpdateRecordInfo(UpdateRecordInfo source) {
if (source.Id != null) {
this.Id = new Long(source.Id);
}
if (source.CertId != null) {
this.CertId = new String(source.CertId);
}
if (source.OldCertId != null) {
this.OldCertId = new String(source.OldCertId);
}
if (source.ResourceTypes != null) {
this.ResourceTypes = new String[source.ResourceTypes.length];
for (int i = 0; i < source.ResourceTypes.length; i++) {
this.ResourceTypes[i] = new String(source.ResourceTypes[i]);
}
}
if (source.Regions != null) {
this.Regions = new String[source.Regions.length];
for (int i = 0; i < source.Regions.length; i++) {
this.Regions[i] = new String(source.Regions[i]);
}
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Id", this.Id);
this.setParamSimple(map, prefix + "CertId", this.CertId);
this.setParamSimple(map, prefix + "OldCertId", this.OldCertId);
this.setParamArraySimple(map, prefix + "ResourceTypes.", this.ResourceTypes);
this.setParamArraySimple(map, prefix + "Regions.", this.Regions);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
}
}