com.tencentcloudapi.lighthouse.v20200324.models.RenewDiskChargePrepaid Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-lighthouse Show documentation
Show all versions of tencentcloud-sdk-java-lighthouse 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.lighthouse.v20200324.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class RenewDiskChargePrepaid extends AbstractModel{
/**
* 新购周期。
*/
@SerializedName("Period")
@Expose
private Long Period;
/**
* 续费标识。
*/
@SerializedName("RenewFlag")
@Expose
private String RenewFlag;
/**
* 周期单位. 默认值: "m"。
*/
@SerializedName("TimeUnit")
@Expose
private String TimeUnit;
/**
* 当前实例到期时间。
*/
@SerializedName("CurInstanceDeadline")
@Expose
private String CurInstanceDeadline;
/**
* Get 新购周期。
* @return Period 新购周期。
*/
public Long getPeriod() {
return this.Period;
}
/**
* Set 新购周期。
* @param Period 新购周期。
*/
public void setPeriod(Long Period) {
this.Period = Period;
}
/**
* Get 续费标识。
* @return RenewFlag 续费标识。
*/
public String getRenewFlag() {
return this.RenewFlag;
}
/**
* Set 续费标识。
* @param RenewFlag 续费标识。
*/
public void setRenewFlag(String RenewFlag) {
this.RenewFlag = RenewFlag;
}
/**
* Get 周期单位. 默认值: "m"。
* @return TimeUnit 周期单位. 默认值: "m"。
*/
public String getTimeUnit() {
return this.TimeUnit;
}
/**
* Set 周期单位. 默认值: "m"。
* @param TimeUnit 周期单位. 默认值: "m"。
*/
public void setTimeUnit(String TimeUnit) {
this.TimeUnit = TimeUnit;
}
/**
* Get 当前实例到期时间。
* @return CurInstanceDeadline 当前实例到期时间。
*/
public String getCurInstanceDeadline() {
return this.CurInstanceDeadline;
}
/**
* Set 当前实例到期时间。
* @param CurInstanceDeadline 当前实例到期时间。
*/
public void setCurInstanceDeadline(String CurInstanceDeadline) {
this.CurInstanceDeadline = CurInstanceDeadline;
}
public RenewDiskChargePrepaid() {
}
/**
* 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 RenewDiskChargePrepaid(RenewDiskChargePrepaid source) {
if (source.Period != null) {
this.Period = new Long(source.Period);
}
if (source.RenewFlag != null) {
this.RenewFlag = new String(source.RenewFlag);
}
if (source.TimeUnit != null) {
this.TimeUnit = new String(source.TimeUnit);
}
if (source.CurInstanceDeadline != null) {
this.CurInstanceDeadline = new String(source.CurInstanceDeadline);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Period", this.Period);
this.setParamSimple(map, prefix + "RenewFlag", this.RenewFlag);
this.setParamSimple(map, prefix + "TimeUnit", this.TimeUnit);
this.setParamSimple(map, prefix + "CurInstanceDeadline", this.CurInstanceDeadline);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy