cz.active24.client.fred.data.check.nsset.NssetCheckRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.data.check.nsset;
import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.data.check.CheckRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* A nsset check command is used to check the availability of one or more nsset handles.
*
* @see FRED documentation
*/
public class NssetCheckRequest extends EppRequest implements Serializable, CheckRequest {
private List nssetIds;
public NssetCheckRequest(List nssetIds) {
setServerObjectType(ServerObjectType.NSSET);
setNssetIds(nssetIds == null ? new ArrayList() : nssetIds);
}
public List getNssetIds() {
return nssetIds;
}
protected void setNssetIds(List nssetIds) {
this.nssetIds = nssetIds;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("NssetCheckRequest{");
sb.append("nssetIds=").append(nssetIds);
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy