cz.active24.client.fred.data.info.nsset.NssetInfoResponse 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.info.nsset;
import cz.active24.client.fred.data.common.nsset.NameserverData;
import cz.active24.client.fred.data.EppResponse;
import cz.active24.client.fred.data.info.InfoResponse;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* Nsset info response.
*
*
* - {@link NssetInfoResponse#id} – a nsset handle
* - {@link NssetInfoResponse#roid} – the nsset repository identifier
* - {@link NssetInfoResponse#status} – the state name, see {@link NssetStatusValueType}
* - {@link NssetInfoResponse#clID} – the designated registrar’s handle
* - {@link NssetInfoResponse#crID} – the handle of the registrar who created this nsset
* - {@link NssetInfoResponse#crDate} – the timestamp of creation
* - {@link NssetInfoResponse#upID} – the handle of the registrar who was the last to update this nsset
* - {@link NssetInfoResponse#upDate} – the timestamp of the last update
* - {@link NssetInfoResponse#trDate} – the timestamp of the last transfer
* - {@link NssetInfoResponse#authInfo} – authorization information (transfer password)
* - {@link NssetInfoResponse#ns} – a nameserver, see {@link NameserverData}
* - {@link NssetInfoResponse#tech} – a technical contact handle
* - {@link NssetInfoResponse#reportLevel} – the report level of technical checks
*
*
* @see FRED documentation
*/
public class NssetInfoResponse extends EppResponse implements Serializable, InfoResponse {
private String id;
private String roid;
private List status;
private String clID;
private String crID;
private Date crDate;
private String upID;
private Date upDate;
private Date trDate;
private String authInfo;
private List ns;
private List tech;
private short reportLevel;
public NssetInfoResponse() {
setServerObjectType(ServerObjectType.NSSET);
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getRoid() {
return roid;
}
public void setRoid(String roid) {
this.roid = roid;
}
public List getStatus() {
return status;
}
public void setStatus(List status) {
this.status = status;
}
public String getClID() {
return clID;
}
public void setClID(String clID) {
this.clID = clID;
}
public String getCrID() {
return crID;
}
public void setCrID(String crID) {
this.crID = crID;
}
public Date getCrDate() {
return crDate;
}
public void setCrDate(Date crDate) {
this.crDate = crDate;
}
public String getUpID() {
return upID;
}
public void setUpID(String upID) {
this.upID = upID;
}
public Date getUpDate() {
return upDate;
}
public void setUpDate(Date upDate) {
this.upDate = upDate;
}
public Date getTrDate() {
return trDate;
}
public void setTrDate(Date trDate) {
this.trDate = trDate;
}
public String getAuthInfo() {
return authInfo;
}
public void setAuthInfo(String authInfo) {
this.authInfo = authInfo;
}
public List getNs() {
return ns;
}
public void setNs(List ns) {
this.ns = ns;
}
public List getTech() {
return tech;
}
public void setTech(List tech) {
this.tech = tech;
}
public short getReportLevel() {
return reportLevel;
}
public void setReportLevel(short reportLevel) {
this.reportLevel = reportLevel;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("NssetInfoResponse{");
sb.append("id='").append(id).append('\'');
sb.append(", roid='").append(roid).append('\'');
sb.append(", status=").append(status);
sb.append(", clID='").append(clID).append('\'');
sb.append(", crID='").append(crID).append('\'');
sb.append(", crDate=").append(crDate);
sb.append(", upID='").append(upID).append('\'');
sb.append(", upDate=").append(upDate);
sb.append(", trDate=").append(trDate);
sb.append(", authInfo='").append(authInfo).append('\'');
sb.append(", ns=").append(ns);
sb.append(", tech=").append(tech);
sb.append(", reportLevel=").append(reportLevel);
sb.append(", clientTransactionId='").append(getClientTransactionId()).append('\'');
sb.append(", serverTransactionId='").append(getServerTransactionId()).append('\'');
sb.append(", result=").append(getResult());
sb.append(", serverObjectType=").append(getServerObjectType());
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy