/**
|
* SendMMS.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 SendMMS implements java.io.Serializable {
|
private java.lang.String loginEmail;
|
|
private java.lang.String apiKey;
|
|
private java.lang.String subject;
|
|
private java.lang.String mmsContent;
|
|
private java.lang.String imageBase64String;
|
|
private java.lang.String sender;
|
|
private java.util.Calendar schedule;
|
|
private com.gear.common.utils.emailsq.service.CampaignStatus campaignStatus;
|
|
private java.lang.String[] phoneSubscribers;
|
|
private java.lang.String[] category;
|
|
public SendMMS() {
|
}
|
|
public SendMMS(
|
java.lang.String loginEmail,
|
java.lang.String apiKey,
|
java.lang.String subject,
|
java.lang.String mmsContent,
|
java.lang.String imageBase64String,
|
java.lang.String sender,
|
java.util.Calendar schedule,
|
com.gear.common.utils.emailsq.service.CampaignStatus campaignStatus,
|
java.lang.String[] phoneSubscribers,
|
java.lang.String[] category) {
|
this.loginEmail = loginEmail;
|
this.apiKey = apiKey;
|
this.subject = subject;
|
this.mmsContent = mmsContent;
|
this.imageBase64String = imageBase64String;
|
this.sender = sender;
|
this.schedule = schedule;
|
this.campaignStatus = campaignStatus;
|
this.phoneSubscribers = phoneSubscribers;
|
this.category = category;
|
}
|
|
|
/**
|
* Gets the loginEmail value for this SendMMS.
|
*
|
* @return loginEmail
|
*/
|
public java.lang.String getLoginEmail() {
|
return loginEmail;
|
}
|
|
|
/**
|
* Sets the loginEmail value for this SendMMS.
|
*
|
* @param loginEmail
|
*/
|
public void setLoginEmail(java.lang.String loginEmail) {
|
this.loginEmail = loginEmail;
|
}
|
|
|
/**
|
* Gets the apiKey value for this SendMMS.
|
*
|
* @return apiKey
|
*/
|
public java.lang.String getApiKey() {
|
return apiKey;
|
}
|
|
|
/**
|
* Sets the apiKey value for this SendMMS.
|
*
|
* @param apiKey
|
*/
|
public void setApiKey(java.lang.String apiKey) {
|
this.apiKey = apiKey;
|
}
|
|
|
/**
|
* Gets the subject value for this SendMMS.
|
*
|
* @return subject
|
*/
|
public java.lang.String getSubject() {
|
return subject;
|
}
|
|
|
/**
|
* Sets the subject value for this SendMMS.
|
*
|
* @param subject
|
*/
|
public void setSubject(java.lang.String subject) {
|
this.subject = subject;
|
}
|
|
|
/**
|
* Gets the mmsContent value for this SendMMS.
|
*
|
* @return mmsContent
|
*/
|
public java.lang.String getMmsContent() {
|
return mmsContent;
|
}
|
|
|
/**
|
* Sets the mmsContent value for this SendMMS.
|
*
|
* @param mmsContent
|
*/
|
public void setMmsContent(java.lang.String mmsContent) {
|
this.mmsContent = mmsContent;
|
}
|
|
|
/**
|
* Gets the imageBase64String value for this SendMMS.
|
*
|
* @return imageBase64String
|
*/
|
public java.lang.String getImageBase64String() {
|
return imageBase64String;
|
}
|
|
|
/**
|
* Sets the imageBase64String value for this SendMMS.
|
*
|
* @param imageBase64String
|
*/
|
public void setImageBase64String(java.lang.String imageBase64String) {
|
this.imageBase64String = imageBase64String;
|
}
|
|
|
/**
|
* Gets the sender value for this SendMMS.
|
*
|
* @return sender
|
*/
|
public java.lang.String getSender() {
|
return sender;
|
}
|
|
|
/**
|
* Sets the sender value for this SendMMS.
|
*
|
* @param sender
|
*/
|
public void setSender(java.lang.String sender) {
|
this.sender = sender;
|
}
|
|
|
/**
|
* Gets the schedule value for this SendMMS.
|
*
|
* @return schedule
|
*/
|
public java.util.Calendar getSchedule() {
|
return schedule;
|
}
|
|
|
/**
|
* Sets the schedule value for this SendMMS.
|
*
|
* @param schedule
|
*/
|
public void setSchedule(java.util.Calendar schedule) {
|
this.schedule = schedule;
|
}
|
|
|
/**
|
* Gets the campaignStatus value for this SendMMS.
|
*
|
* @return campaignStatus
|
*/
|
public com.gear.common.utils.emailsq.service.CampaignStatus getCampaignStatus() {
|
return campaignStatus;
|
}
|
|
|
/**
|
* Sets the campaignStatus value for this SendMMS.
|
*
|
* @param campaignStatus
|
*/
|
public void setCampaignStatus(com.gear.common.utils.emailsq.service.CampaignStatus campaignStatus) {
|
this.campaignStatus = campaignStatus;
|
}
|
|
|
/**
|
* Gets the phoneSubscribers value for this SendMMS.
|
*
|
* @return phoneSubscribers
|
*/
|
public java.lang.String[] getPhoneSubscribers() {
|
return phoneSubscribers;
|
}
|
|
|
/**
|
* Sets the phoneSubscribers value for this SendMMS.
|
*
|
* @param phoneSubscribers
|
*/
|
public void setPhoneSubscribers(java.lang.String[] phoneSubscribers) {
|
this.phoneSubscribers = phoneSubscribers;
|
}
|
|
|
/**
|
* Gets the category value for this SendMMS.
|
*
|
* @return category
|
*/
|
public java.lang.String[] getCategory() {
|
return category;
|
}
|
|
|
/**
|
* Sets the category value for this SendMMS.
|
*
|
* @param category
|
*/
|
public void setCategory(java.lang.String[] category) {
|
this.category = category;
|
}
|
|
private java.lang.Object __equalsCalc = null;
|
public synchronized boolean equals(java.lang.Object obj) {
|
if (!(obj instanceof SendMMS)) return false;
|
SendMMS other = (SendMMS) obj;
|
if (this == obj) return true;
|
if (__equalsCalc != null) {
|
return (__equalsCalc == obj);
|
}
|
__equalsCalc = obj;
|
boolean _equals;
|
_equals = true &&
|
((this.loginEmail==null && other.getLoginEmail()==null) ||
|
(this.loginEmail!=null &&
|
this.loginEmail.equals(other.getLoginEmail()))) &&
|
((this.apiKey==null && other.getApiKey()==null) ||
|
(this.apiKey!=null &&
|
this.apiKey.equals(other.getApiKey()))) &&
|
((this.subject==null && other.getSubject()==null) ||
|
(this.subject!=null &&
|
this.subject.equals(other.getSubject()))) &&
|
((this.mmsContent==null && other.getMmsContent()==null) ||
|
(this.mmsContent!=null &&
|
this.mmsContent.equals(other.getMmsContent()))) &&
|
((this.imageBase64String==null && other.getImageBase64String()==null) ||
|
(this.imageBase64String!=null &&
|
this.imageBase64String.equals(other.getImageBase64String()))) &&
|
((this.sender==null && other.getSender()==null) ||
|
(this.sender!=null &&
|
this.sender.equals(other.getSender()))) &&
|
((this.schedule==null && other.getSchedule()==null) ||
|
(this.schedule!=null &&
|
this.schedule.equals(other.getSchedule()))) &&
|
((this.campaignStatus==null && other.getCampaignStatus()==null) ||
|
(this.campaignStatus!=null &&
|
this.campaignStatus.equals(other.getCampaignStatus()))) &&
|
((this.phoneSubscribers==null && other.getPhoneSubscribers()==null) ||
|
(this.phoneSubscribers!=null &&
|
java.util.Arrays.equals(this.phoneSubscribers, other.getPhoneSubscribers()))) &&
|
((this.category==null && other.getCategory()==null) ||
|
(this.category!=null &&
|
java.util.Arrays.equals(this.category, other.getCategory())));
|
__equalsCalc = null;
|
return _equals;
|
}
|
|
private boolean __hashCodeCalc = false;
|
public synchronized int hashCode() {
|
if (__hashCodeCalc) {
|
return 0;
|
}
|
__hashCodeCalc = true;
|
int _hashCode = 1;
|
if (getLoginEmail() != null) {
|
_hashCode += getLoginEmail().hashCode();
|
}
|
if (getApiKey() != null) {
|
_hashCode += getApiKey().hashCode();
|
}
|
if (getSubject() != null) {
|
_hashCode += getSubject().hashCode();
|
}
|
if (getMmsContent() != null) {
|
_hashCode += getMmsContent().hashCode();
|
}
|
if (getImageBase64String() != null) {
|
_hashCode += getImageBase64String().hashCode();
|
}
|
if (getSender() != null) {
|
_hashCode += getSender().hashCode();
|
}
|
if (getSchedule() != null) {
|
_hashCode += getSchedule().hashCode();
|
}
|
if (getCampaignStatus() != null) {
|
_hashCode += getCampaignStatus().hashCode();
|
}
|
if (getPhoneSubscribers() != null) {
|
for (int i=0;
|
i<java.lang.reflect.Array.getLength(getPhoneSubscribers());
|
i++) {
|
java.lang.Object obj = java.lang.reflect.Array.get(getPhoneSubscribers(), i);
|
if (obj != null &&
|
!obj.getClass().isArray()) {
|
_hashCode += obj.hashCode();
|
}
|
}
|
}
|
if (getCategory() != null) {
|
for (int i=0;
|
i<java.lang.reflect.Array.getLength(getCategory());
|
i++) {
|
java.lang.Object obj = java.lang.reflect.Array.get(getCategory(), i);
|
if (obj != null &&
|
!obj.getClass().isArray()) {
|
_hashCode += obj.hashCode();
|
}
|
}
|
}
|
__hashCodeCalc = false;
|
return _hashCode;
|
}
|
|
// Type metadata
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
new org.apache.axis.description.TypeDesc(SendMMS.class, true);
|
|
static {
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", ">SendMMS"));
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("loginEmail");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "loginEmail"));
|
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("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("subject");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "subject"));
|
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("mmsContent");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "mmsContent"));
|
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("imageBase64String");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "imageBase64String"));
|
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("sender");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "sender"));
|
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("schedule");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "schedule"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("campaignStatus");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "campaignStatus"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignStatus"));
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("phoneSubscribers");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "phoneSubscribers"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
elemField.setItemQName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "string"));
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("category");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "category"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
elemField.setItemQName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "string"));
|
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);
|
}
|
|
}
|