cz.active24.client.fred.data.testnsset.nsset.TestNssetRequest 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.testnsset.nsset;
import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* A nsset test command is used to request a technical check of an nsset.
*
*
* - {@link TestNssetRequest#nssetId} - the nsset handle
* - {@link TestNssetRequest#level} - the highest level of tests to be performed
* - {@link TestNssetRequest#name} - additional domain names to be tested with the nsset
*
*
* @see FRED documentation
*/
public class TestNssetRequest extends EppRequest implements Serializable {
private String nssetId;
private Short level;
private List name;
public TestNssetRequest(String nssetId) {
setServerObjectType(ServerObjectType.NSSET);
this.nssetId = nssetId;
this.name = new ArrayList();
}
public String getNssetId() {
return nssetId;
}
protected void setNssetId(String nssetId) {
this.nssetId = nssetId;
}
public Short getLevel() {
return level;
}
public void setLevel(Short level) {
this.level = level;
}
public List getName() {
return name;
}
public void setName(List name) {
this.name = name;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("TestNssetRequest{");
sb.append("nssetId='").append(nssetId).append('\'');
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", clientTransactionId='").append(getClientTransactionId()).append('\'');
sb.append(", serverObjectType=").append(getServerObjectType());
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy