cz.active24.client.fred.data.check.nsset.NssetCheckData 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 java.io.Serializable;
/**
* Nsset check data.
*
*
* - {@link NssetCheckData#id} - the nsset handle
* - {@link NssetCheckData#avail} - availability; true – available, false – not available
* - {@link NssetCheckData#reason} - if the availability is negative, this element contains an explanation why the nsset handle is not available
*
*
*
* @see FRED documentation
*/
public class NssetCheckData implements Serializable {
private String id;
private Boolean avail;
private String reason;
public NssetCheckData() {
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Boolean getAvail() {
return avail;
}
public void setAvail(Boolean avail) {
this.avail = avail;
}
public String getReason() {
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("NssetCheckData{");
sb.append("id='").append(id).append('\'');
sb.append(", avail=").append(avail);
sb.append(", reason='").append(reason).append('\'');
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy