All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.active24.client.fred.data.poll.contact.ContactUpdatePollResponse Maven / Gradle / Ivy

There is a newer version: 2.50
Show newest version
package cz.active24.client.fred.data.poll.contact;

import cz.active24.client.fred.data.info.contact.ContactInfoResponse;
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 ContactUpdatePollResponse#opTRID} - operation transaction identifier (an identification of the operation in the Registry that has caused this message)
  • *
  • {@link ContactUpdatePollResponse#oldData} - data before the update
  • *
  • {@link ContactUpdatePollResponse#newData} - data after the update
  • *
* * @see FRED documentation */ public class ContactUpdatePollResponse extends PollResponse implements Serializable { private String opTRID; private ContactInfoResponse oldData; private ContactInfoResponse newData; public ContactUpdatePollResponse() { setPollMessageType(PollMessageType.CONTACT_UPDATE); } public String getOpTRID() { return opTRID; } public void setOpTRID(String opTRID) { this.opTRID = opTRID; } public ContactInfoResponse getOldData() { return oldData; } public void setOldData(ContactInfoResponse oldData) { this.oldData = oldData; } public ContactInfoResponse getNewData() { return newData; } public void setNewData(ContactInfoResponse newData) { this.newData = newData; } @Override public String toString() { final StringBuffer sb = new StringBuffer("ContactUpdatePollResponse{"); 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