cz.active24.client.fred.data.check.contact.ContactCheckData 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.contact;
import java.io.Serializable;
/**
* Contact check data.
*
*
* - {@link ContactCheckData#id} - the contact handle
* - {@link ContactCheckData#avail} - availability; true – available, false – not available
* - {@link ContactCheckData#reason} - if the availability is negative, this element contains an explanation why the contact handle is not available
*
*
* @see FRED documentation
*/
public class ContactCheckData implements Serializable {
private String id;
private Boolean avail;
private String reason;
public ContactCheckData() {
}
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("ContactCheckData{");
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