cz.active24.client.fred.data.delete.domain.DomainDeleteRequest 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.delete.domain;
import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.data.delete.DeleteRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
/**
* A domain delete command is used to delete a domain whose status allows it to be deleted.
*
* - {@link DomainDeleteRequest#domainName} - a domain name
*
*
* @see FRED documentation
*/
public class DomainDeleteRequest extends EppRequest implements Serializable, DeleteRequest {
private String domainName;
public DomainDeleteRequest(String domainName) {
setServerObjectType(ServerObjectType.DOMAIN);
this.domainName = domainName;
}
public String getDomainName() {
return domainName;
}
protected void setDomainName(String domainName) {
this.domainName = domainName;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("DomainDeleteRequest{");
sb.append("domainName='").append(domainName).append('\'');
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy