/**
|
* AddWhatsAppMessage.java
|
*
|
* This file was auto-generated from WSDL
|
* by the Apache Axis 1.4.1-SNAPSHOT Nov 07, 2023 (07:57:58 UTC) WSDL2Java emitter.
|
*/
|
|
package com.gear.common.utils.emailsq.service;
|
|
public class AddWhatsAppMessage implements java.io.Serializable {
|
private java.lang.String APIKey;
|
|
private java.lang.String messageID;
|
|
private java.lang.String hostID;
|
|
private java.lang.String clientID;
|
|
private boolean toOrFrom;
|
|
private long longTimestamp;
|
|
private java.lang.String replyTo;
|
|
private java.lang.String status;
|
|
private java.lang.String text;
|
|
private java.lang.String mediaID;
|
|
private java.lang.String mimeType;
|
|
private java.lang.String sha256;
|
|
private java.lang.String filename;
|
|
private int campaignID;
|
|
private int subscriberID;
|
|
public AddWhatsAppMessage() {
|
}
|
|
public AddWhatsAppMessage(
|
java.lang.String APIKey,
|
java.lang.String messageID,
|
java.lang.String hostID,
|
java.lang.String clientID,
|
boolean toOrFrom,
|
long longTimestamp,
|
java.lang.String replyTo,
|
java.lang.String status,
|
java.lang.String text,
|
java.lang.String mediaID,
|
java.lang.String mimeType,
|
java.lang.String sha256,
|
java.lang.String filename,
|
int campaignID,
|
int subscriberID) {
|
this.APIKey = APIKey;
|
this.messageID = messageID;
|
this.hostID = hostID;
|
this.clientID = clientID;
|
this.toOrFrom = toOrFrom;
|
this.longTimestamp = longTimestamp;
|
this.replyTo = replyTo;
|
this.status = status;
|
this.text = text;
|
this.mediaID = mediaID;
|
this.mimeType = mimeType;
|
this.sha256 = sha256;
|
this.filename = filename;
|
this.campaignID = campaignID;
|
this.subscriberID = subscriberID;
|
}
|
|
|
/**
|
* Gets the APIKey value for this AddWhatsAppMessage.
|
*
|
* @return APIKey
|
*/
|
public java.lang.String getAPIKey() {
|
return APIKey;
|
}
|
|
|
/**
|
* Sets the APIKey value for this AddWhatsAppMessage.
|
*
|
* @param APIKey
|
*/
|
public void setAPIKey(java.lang.String APIKey) {
|
this.APIKey = APIKey;
|
}
|
|
|
/**
|
* Gets the messageID value for this AddWhatsAppMessage.
|
*
|
* @return messageID
|
*/
|
public java.lang.String getMessageID() {
|
return messageID;
|
}
|
|
|
/**
|
* Sets the messageID value for this AddWhatsAppMessage.
|
*
|
* @param messageID
|
*/
|
public void setMessageID(java.lang.String messageID) {
|
this.messageID = messageID;
|
}
|
|
|
/**
|
* Gets the hostID value for this AddWhatsAppMessage.
|
*
|
* @return hostID
|
*/
|
public java.lang.String getHostID() {
|
return hostID;
|
}
|
|
|
/**
|
* Sets the hostID value for this AddWhatsAppMessage.
|
*
|
* @param hostID
|
*/
|
public void setHostID(java.lang.String hostID) {
|
this.hostID = hostID;
|
}
|
|
|
/**
|
* Gets the clientID value for this AddWhatsAppMessage.
|
*
|
* @return clientID
|
*/
|
public java.lang.String getClientID() {
|
return clientID;
|
}
|
|
|
/**
|
* Sets the clientID value for this AddWhatsAppMessage.
|
*
|
* @param clientID
|
*/
|
public void setClientID(java.lang.String clientID) {
|
this.clientID = clientID;
|
}
|
|
|
/**
|
* Gets the toOrFrom value for this AddWhatsAppMessage.
|
*
|
* @return toOrFrom
|
*/
|
public boolean isToOrFrom() {
|
return toOrFrom;
|
}
|
|
|
/**
|
* Sets the toOrFrom value for this AddWhatsAppMessage.
|
*
|
* @param toOrFrom
|
*/
|
public void setToOrFrom(boolean toOrFrom) {
|
this.toOrFrom = toOrFrom;
|
}
|
|
|
/**
|
* Gets the longTimestamp value for this AddWhatsAppMessage.
|
*
|
* @return longTimestamp
|
*/
|
public long getLongTimestamp() {
|
return longTimestamp;
|
}
|
|
|
/**
|
* Sets the longTimestamp value for this AddWhatsAppMessage.
|
*
|
* @param longTimestamp
|
*/
|
public void setLongTimestamp(long longTimestamp) {
|
this.longTimestamp = longTimestamp;
|
}
|
|
|
/**
|
* Gets the replyTo value for this AddWhatsAppMessage.
|
*
|
* @return replyTo
|
*/
|
public java.lang.String getReplyTo() {
|
return replyTo;
|
}
|
|
|
/**
|
* Sets the replyTo value for this AddWhatsAppMessage.
|
*
|
* @param replyTo
|
*/
|
public void setReplyTo(java.lang.String replyTo) {
|
this.replyTo = replyTo;
|
}
|
|
|
/**
|
* Gets the status value for this AddWhatsAppMessage.
|
*
|
* @return status
|
*/
|
public java.lang.String getStatus() {
|
return status;
|
}
|
|
|
/**
|
* Sets the status value for this AddWhatsAppMessage.
|
*
|
* @param status
|
*/
|
public void setStatus(java.lang.String status) {
|
this.status = status;
|
}
|
|
|
/**
|
* Gets the text value for this AddWhatsAppMessage.
|
*
|
* @return text
|
*/
|
public java.lang.String getText() {
|
return text;
|
}
|
|
|
/**
|
* Sets the text value for this AddWhatsAppMessage.
|
*
|
* @param text
|
*/
|
public void setText(java.lang.String text) {
|
this.text = text;
|
}
|
|
|
/**
|
* Gets the mediaID value for this AddWhatsAppMessage.
|
*
|
* @return mediaID
|
*/
|
public java.lang.String getMediaID() {
|
return mediaID;
|
}
|
|
|
/**
|
* Sets the mediaID value for this AddWhatsAppMessage.
|
*
|
* @param mediaID
|
*/
|
public void setMediaID(java.lang.String mediaID) {
|
this.mediaID = mediaID;
|
}
|
|
|
/**
|
* Gets the mimeType value for this AddWhatsAppMessage.
|
*
|
* @return mimeType
|
*/
|
public java.lang.String getMimeType() {
|
return mimeType;
|
}
|
|
|
/**
|
* Sets the mimeType value for this AddWhatsAppMessage.
|
*
|
* @param mimeType
|
*/
|
public void setMimeType(java.lang.String mimeType) {
|
this.mimeType = mimeType;
|
}
|
|
|
/**
|
* Gets the sha256 value for this AddWhatsAppMessage.
|
*
|
* @return sha256
|
*/
|
public java.lang.String getSha256() {
|
return sha256;
|
}
|
|
|
/**
|
* Sets the sha256 value for this AddWhatsAppMessage.
|
*
|
* @param sha256
|
*/
|
public void setSha256(java.lang.String sha256) {
|
this.sha256 = sha256;
|
}
|
|
|
/**
|
* Gets the filename value for this AddWhatsAppMessage.
|
*
|
* @return filename
|
*/
|
public java.lang.String getFilename() {
|
return filename;
|
}
|
|
|
/**
|
* Sets the filename value for this AddWhatsAppMessage.
|
*
|
* @param filename
|
*/
|
public void setFilename(java.lang.String filename) {
|
this.filename = filename;
|
}
|
|
|
/**
|
* Gets the campaignID value for this AddWhatsAppMessage.
|
*
|
* @return campaignID
|
*/
|
public int getCampaignID() {
|
return campaignID;
|
}
|
|
|
/**
|
* Sets the campaignID value for this AddWhatsAppMessage.
|
*
|
* @param campaignID
|
*/
|
public void setCampaignID(int campaignID) {
|
this.campaignID = campaignID;
|
}
|
|
|
/**
|
* Gets the subscriberID value for this AddWhatsAppMessage.
|
*
|
* @return subscriberID
|
*/
|
public int getSubscriberID() {
|
return subscriberID;
|
}
|
|
|
/**
|
* Sets the subscriberID value for this AddWhatsAppMessage.
|
*
|
* @param subscriberID
|
*/
|
public void setSubscriberID(int subscriberID) {
|
this.subscriberID = subscriberID;
|
}
|
|
private java.lang.Object __equalsCalc = null;
|
public synchronized boolean equals(java.lang.Object obj) {
|
if (!(obj instanceof AddWhatsAppMessage)) return false;
|
AddWhatsAppMessage other = (AddWhatsAppMessage) obj;
|
if (this == obj) return true;
|
if (__equalsCalc != null) {
|
return (__equalsCalc == obj);
|
}
|
__equalsCalc = obj;
|
boolean _equals;
|
_equals = true &&
|
((this.APIKey==null && other.getAPIKey()==null) ||
|
(this.APIKey!=null &&
|
this.APIKey.equals(other.getAPIKey()))) &&
|
((this.messageID==null && other.getMessageID()==null) ||
|
(this.messageID!=null &&
|
this.messageID.equals(other.getMessageID()))) &&
|
((this.hostID==null && other.getHostID()==null) ||
|
(this.hostID!=null &&
|
this.hostID.equals(other.getHostID()))) &&
|
((this.clientID==null && other.getClientID()==null) ||
|
(this.clientID!=null &&
|
this.clientID.equals(other.getClientID()))) &&
|
this.toOrFrom == other.isToOrFrom() &&
|
this.longTimestamp == other.getLongTimestamp() &&
|
((this.replyTo==null && other.getReplyTo()==null) ||
|
(this.replyTo!=null &&
|
this.replyTo.equals(other.getReplyTo()))) &&
|
((this.status==null && other.getStatus()==null) ||
|
(this.status!=null &&
|
this.status.equals(other.getStatus()))) &&
|
((this.text==null && other.getText()==null) ||
|
(this.text!=null &&
|
this.text.equals(other.getText()))) &&
|
((this.mediaID==null && other.getMediaID()==null) ||
|
(this.mediaID!=null &&
|
this.mediaID.equals(other.getMediaID()))) &&
|
((this.mimeType==null && other.getMimeType()==null) ||
|
(this.mimeType!=null &&
|
this.mimeType.equals(other.getMimeType()))) &&
|
((this.sha256==null && other.getSha256()==null) ||
|
(this.sha256!=null &&
|
this.sha256.equals(other.getSha256()))) &&
|
((this.filename==null && other.getFilename()==null) ||
|
(this.filename!=null &&
|
this.filename.equals(other.getFilename()))) &&
|
this.campaignID == other.getCampaignID() &&
|
this.subscriberID == other.getSubscriberID();
|
__equalsCalc = null;
|
return _equals;
|
}
|
|
private boolean __hashCodeCalc = false;
|
public synchronized int hashCode() {
|
if (__hashCodeCalc) {
|
return 0;
|
}
|
__hashCodeCalc = true;
|
int _hashCode = 1;
|
if (getAPIKey() != null) {
|
_hashCode += getAPIKey().hashCode();
|
}
|
if (getMessageID() != null) {
|
_hashCode += getMessageID().hashCode();
|
}
|
if (getHostID() != null) {
|
_hashCode += getHostID().hashCode();
|
}
|
if (getClientID() != null) {
|
_hashCode += getClientID().hashCode();
|
}
|
_hashCode += (isToOrFrom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
_hashCode += new Long(getLongTimestamp()).hashCode();
|
if (getReplyTo() != null) {
|
_hashCode += getReplyTo().hashCode();
|
}
|
if (getStatus() != null) {
|
_hashCode += getStatus().hashCode();
|
}
|
if (getText() != null) {
|
_hashCode += getText().hashCode();
|
}
|
if (getMediaID() != null) {
|
_hashCode += getMediaID().hashCode();
|
}
|
if (getMimeType() != null) {
|
_hashCode += getMimeType().hashCode();
|
}
|
if (getSha256() != null) {
|
_hashCode += getSha256().hashCode();
|
}
|
if (getFilename() != null) {
|
_hashCode += getFilename().hashCode();
|
}
|
_hashCode += getCampaignID();
|
_hashCode += getSubscriberID();
|
__hashCodeCalc = false;
|
return _hashCode;
|
}
|
|
// Type metadata
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
new org.apache.axis.description.TypeDesc(AddWhatsAppMessage.class, true);
|
|
static {
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", ">AddWhatsAppMessage"));
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("APIKey");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "APIKey"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("messageID");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "MessageID"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("hostID");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "HostID"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("clientID");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ClientID"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("toOrFrom");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ToOrFrom"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("longTimestamp");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "longTimestamp"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("replyTo");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ReplyTo"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("status");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Status"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("text");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Text"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("mediaID");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "MediaID"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("mimeType");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "MimeType"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("sha256");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Sha256"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("filename");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Filename"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("campaignID");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignID"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("subscriberID");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "SubscriberID"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
}
|
|
/**
|
* Return type metadata object
|
*/
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
return typeDesc;
|
}
|
|
/**
|
* Get Custom Serializer
|
*/
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
java.lang.String mechType,
|
java.lang.Class _javaType,
|
javax.xml.namespace.QName _xmlType) {
|
return
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
_javaType, _xmlType, typeDesc);
|
}
|
|
/**
|
* Get Custom Deserializer
|
*/
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
java.lang.String mechType,
|
java.lang.Class _javaType,
|
javax.xml.namespace.QName _xmlType) {
|
return
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
_javaType, _xmlType, typeDesc);
|
}
|
|
}
|