com.tencentcloudapi.tem.v20210701.models.DeleteApplicationAutoscalerRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-tem Show documentation
Show all versions of tencentcloud-sdk-java-tem Show documentation
Tencent Cloud Open API SDK for Java
The newest version!
/*
* 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.tem.v20210701.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 DeleteApplicationAutoscalerRequest extends AbstractModel {
/**
* 服务id
*/
@SerializedName("ApplicationId")
@Expose
private String ApplicationId;
/**
* 环境ID
*/
@SerializedName("EnvironmentId")
@Expose
private String EnvironmentId;
/**
* 弹性伸缩策略ID
*/
@SerializedName("AutoscalerId")
@Expose
private String AutoscalerId;
/**
* 来源渠道
*/
@SerializedName("SourceChannel")
@Expose
private Long SourceChannel;
/**
* Get 服务id
* @return ApplicationId 服务id
*/
public String getApplicationId() {
return this.ApplicationId;
}
/**
* Set 服务id
* @param ApplicationId 服务id
*/
public void setApplicationId(String ApplicationId) {
this.ApplicationId = ApplicationId;
}
/**
* Get 环境ID
* @return EnvironmentId 环境ID
*/
public String getEnvironmentId() {
return this.EnvironmentId;
}
/**
* Set 环境ID
* @param EnvironmentId 环境ID
*/
public void setEnvironmentId(String EnvironmentId) {
this.EnvironmentId = EnvironmentId;
}
/**
* Get 弹性伸缩策略ID
* @return AutoscalerId 弹性伸缩策略ID
*/
public String getAutoscalerId() {
return this.AutoscalerId;
}
/**
* Set 弹性伸缩策略ID
* @param AutoscalerId 弹性伸缩策略ID
*/
public void setAutoscalerId(String AutoscalerId) {
this.AutoscalerId = AutoscalerId;
}
/**
* Get 来源渠道
* @return SourceChannel 来源渠道
*/
public Long getSourceChannel() {
return this.SourceChannel;
}
/**
* Set 来源渠道
* @param SourceChannel 来源渠道
*/
public void setSourceChannel(Long SourceChannel) {
this.SourceChannel = SourceChannel;
}
public DeleteApplicationAutoscalerRequest() {
}
/**
* 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 DeleteApplicationAutoscalerRequest(DeleteApplicationAutoscalerRequest source) {
if (source.ApplicationId != null) {
this.ApplicationId = new String(source.ApplicationId);
}
if (source.EnvironmentId != null) {
this.EnvironmentId = new String(source.EnvironmentId);
}
if (source.AutoscalerId != null) {
this.AutoscalerId = new String(source.AutoscalerId);
}
if (source.SourceChannel != null) {
this.SourceChannel = new Long(source.SourceChannel);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
this.setParamSimple(map, prefix + "EnvironmentId", this.EnvironmentId);
this.setParamSimple(map, prefix + "AutoscalerId", this.AutoscalerId);
this.setParamSimple(map, prefix + "SourceChannel", this.SourceChannel);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy