All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyuncs.csas.model.v20230120.UpdateDynamicRouteRequest Maven / Gradle / Ivy

/*
 * 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.aliyuncs.csas.model.v20230120;

import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;

/**
 * @author auto create
 * @version 
 */
public class UpdateDynamicRouteRequest extends RpcAcsRequest {
	   

	private String description;

	private String dynamicRouteId;

	private String dynamicRouteType;

	private List tagIds;

	private List regionIds;

	private Integer priority;

	private String nextHop;

	private List applicationIds;

	private String modifyType;

	private String name;

	private String applicationType;

	private String status;
	public UpdateDynamicRouteRequest() {
		super("csas", "2023-01-20", "UpdateDynamicRoute");
		setMethod(MethodType.POST);
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
		if(description != null){
			putBodyParameter("Description", description);
		}
	}

	public String getDynamicRouteId() {
		return this.dynamicRouteId;
	}

	public void setDynamicRouteId(String dynamicRouteId) {
		this.dynamicRouteId = dynamicRouteId;
		if(dynamicRouteId != null){
			putBodyParameter("DynamicRouteId", dynamicRouteId);
		}
	}

	public String getDynamicRouteType() {
		return this.dynamicRouteType;
	}

	public void setDynamicRouteType(String dynamicRouteType) {
		this.dynamicRouteType = dynamicRouteType;
		if(dynamicRouteType != null){
			putBodyParameter("DynamicRouteType", dynamicRouteType);
		}
	}

	public List getTagIds() {
		return this.tagIds;
	}

	public void setTagIds(List tagIds) {
		this.tagIds = tagIds;	
		if (tagIds != null) {
			for (int depth1 = 0; depth1 < tagIds.size(); depth1++) {
				putBodyParameter("TagIds." + (depth1 + 1) , tagIds.get(depth1));
			}
		}	
	}

	public List getRegionIds() {
		return this.regionIds;
	}

	public void setRegionIds(List regionIds) {
		this.regionIds = regionIds;	
		if (regionIds != null) {
			for (int depth1 = 0; depth1 < regionIds.size(); depth1++) {
				putBodyParameter("RegionIds." + (depth1 + 1) , regionIds.get(depth1));
			}
		}	
	}

	public Integer getPriority() {
		return this.priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
		if(priority != null){
			putBodyParameter("Priority", priority.toString());
		}
	}

	public String getNextHop() {
		return this.nextHop;
	}

	public void setNextHop(String nextHop) {
		this.nextHop = nextHop;
		if(nextHop != null){
			putBodyParameter("NextHop", nextHop);
		}
	}

	public List getApplicationIds() {
		return this.applicationIds;
	}

	public void setApplicationIds(List applicationIds) {
		this.applicationIds = applicationIds;	
		if (applicationIds != null) {
			for (int depth1 = 0; depth1 < applicationIds.size(); depth1++) {
				putBodyParameter("ApplicationIds." + (depth1 + 1) , applicationIds.get(depth1));
			}
		}	
	}

	public String getModifyType() {
		return this.modifyType;
	}

	public void setModifyType(String modifyType) {
		this.modifyType = modifyType;
		if(modifyType != null){
			putBodyParameter("ModifyType", modifyType);
		}
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
		if(name != null){
			putBodyParameter("Name", name);
		}
	}

	public String getApplicationType() {
		return this.applicationType;
	}

	public void setApplicationType(String applicationType) {
		this.applicationType = applicationType;
		if(applicationType != null){
			putBodyParameter("ApplicationType", applicationType);
		}
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
		if(status != null){
			putBodyParameter("Status", status);
		}
	}

	@Override
	public Class getResponseClass() {
		return UpdateDynamicRouteResponse.class;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy