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

com.ksc.network.vpc.model.Nat.DeleteNatRequest Maven / Gradle / Ivy

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

import com.ksc.KscWebServiceRequest;
import com.ksc.Request;
import com.ksc.model.DryRunSupportedRequest;
import com.ksc.network.vpc.transform.Nat.DeleteNatRequestMarshaller;

import java.io.Serializable;

/**
 * 

* Contains the parameters for DeleteNat. *

*/ public class DeleteNatRequest extends KscWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest { /** * Nat的ID */ private String NatId; public String getNatId() { return NatId; } public void setNatId(String natId) { NatId = natId; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DeleteNatRequest that = (DeleteNatRequest) o; return NatId.equals(that.NatId); } @Override public int hashCode() { return NatId.hashCode(); } @Override public DeleteNatRequest clone() { return (DeleteNatRequest) super.clone(); } @Override public Request getDryRunRequest() { Request request = new DeleteNatRequestMarshaller() .marshall(this); request.addParameter("DryRun", Boolean.toString(true)); return request; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy