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

com.ksc.network.vpc.model.Route.DeleteRouteRequest Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksc.network.vpc.model.Route;

import com.ksc.KscWebServiceRequest;
import com.ksc.Request;
import com.ksc.model.DryRunSupportedRequest;
import com.ksc.network.vpc.transform.Routes.DeleteRouteRequestMarshaller;

import java.io.Serializable;

/**
 * 

* Contains the parameters for DeleteRoute. *

*/ public class DeleteRouteRequest extends KscWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest { /** * 路由的ID */ private String RouteId; public String getRouteId() { return RouteId; } public void setRouteId(String routeId) { RouteId = routeId; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((RouteId == null) ? 0 : RouteId.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; DeleteRouteRequest other = (DeleteRouteRequest) obj; if (RouteId == null) { if (other.RouteId != null) return false; } else if (!RouteId.equals(other.RouteId)) return false; return true; } @Override public DeleteRouteRequest clone() { return (DeleteRouteRequest) super.clone(); } @Override public Request getDryRunRequest() { Request request = new DeleteRouteRequestMarshaller() .marshall(this); request.addParameter("DryRun", Boolean.toString(true)); return request; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy