cz.active24.client.fred.data.poll.nsset.NssetUpdatePollResponse 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.poll.nsset;
import cz.active24.client.fred.data.info.nsset.NssetInfoResponse;
import cz.active24.client.fred.data.poll.PollResponse;
import cz.active24.client.fred.eppclient.objectstrategy.PollMessageType;
import java.io.Serializable;
/**
* Event: An object has been updated by the Registry, or a contact linked to a domain of another registrar has been updated by its sponsoring registrar.
*
*
* - {@link NssetUpdatePollResponse#opTRID} - operation transaction identifier (an identification of the operation in the Registry that has caused this message)
* - {@link NssetUpdatePollResponse#oldData} - data before the update
* - {@link NssetUpdatePollResponse#newData} - data after the update
*
*
* @see FRED documentation
*/
public class NssetUpdatePollResponse extends PollResponse implements Serializable {
private String opTRID;
private NssetInfoResponse oldData;
private NssetInfoResponse newData;
public NssetUpdatePollResponse() {
setPollMessageType(PollMessageType.NSSET_UPDATE);
}
public String getOpTRID() {
return opTRID;
}
public void setOpTRID(String opTRID) {
this.opTRID = opTRID;
}
public NssetInfoResponse getOldData() {
return oldData;
}
public void setOldData(NssetInfoResponse oldData) {
this.oldData = oldData;
}
public NssetInfoResponse getNewData() {
return newData;
}
public void setNewData(NssetInfoResponse newData) {
this.newData = newData;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("NssetUpdatePollResponse{");
sb.append("opTRID='").append(opTRID).append('\'');
sb.append(", oldData=").append(oldData);
sb.append(", newData=").append(newData);
sb.append(", messageId='").append(getMessageId()).append('\'');
sb.append(", messageCount=").append(getMessageCount());
sb.append(", messageQDate=").append(getMessageQDate());
sb.append(", pollMessageType=").append(getPollMessageType());
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