/**
|
* Send2.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 Send2 implements java.io.Serializable {
|
private java.lang.String loginEmail;
|
|
private java.lang.String password;
|
|
private java.lang.String campaignName;
|
|
private java.lang.String from;
|
|
private java.lang.String fromName;
|
|
private java.lang.String to;
|
|
private java.lang.String subject;
|
|
private java.lang.String body;
|
|
public Send2() {
|
}
|
|
public Send2(
|
java.lang.String loginEmail,
|
java.lang.String password,
|
java.lang.String campaignName,
|
java.lang.String from,
|
java.lang.String fromName,
|
java.lang.String to,
|
java.lang.String subject,
|
java.lang.String body) {
|
this.loginEmail = loginEmail;
|
this.password = password;
|
this.campaignName = campaignName;
|
this.from = from;
|
this.fromName = fromName;
|
this.to = to;
|
this.subject = subject;
|
this.body = body;
|
}
|
|
|
/**
|
* Gets the loginEmail value for this Send2.
|
*
|
* @return loginEmail
|
*/
|
public java.lang.String getLoginEmail() {
|
return loginEmail;
|
}
|
|
|
/**
|
* Sets the loginEmail value for this Send2.
|
*
|
* @param loginEmail
|
*/
|
public void setLoginEmail(java.lang.String loginEmail) {
|
this.loginEmail = loginEmail;
|
}
|
|
|
/**
|
* Gets the password value for this Send2.
|
*
|
* @return password
|
*/
|
public java.lang.String getPassword() {
|
return password;
|
}
|
|
|
/**
|
* Sets the password value for this Send2.
|
*
|
* @param password
|
*/
|
public void setPassword(java.lang.String password) {
|
this.password = password;
|
}
|
|
|
/**
|
* Gets the campaignName value for this Send2.
|
*
|
* @return campaignName
|
*/
|
public java.lang.String getCampaignName() {
|
return campaignName;
|
}
|
|
|
/**
|
* Sets the campaignName value for this Send2.
|
*
|
* @param campaignName
|
*/
|
public void setCampaignName(java.lang.String campaignName) {
|
this.campaignName = campaignName;
|
}
|
|
|
/**
|
* Gets the from value for this Send2.
|
*
|
* @return from
|
*/
|
public java.lang.String getFrom() {
|
return from;
|
}
|
|
|
/**
|
* Sets the from value for this Send2.
|
*
|
* @param from
|
*/
|
public void setFrom(java.lang.String from) {
|
this.from = from;
|
}
|
|
|
/**
|
* Gets the fromName value for this Send2.
|
*
|
* @return fromName
|
*/
|
public java.lang.String getFromName() {
|
return fromName;
|
}
|
|
|
/**
|
* Sets the fromName value for this Send2.
|
*
|
* @param fromName
|
*/
|
public void setFromName(java.lang.String fromName) {
|
this.fromName = fromName;
|
}
|
|
|
/**
|
* Gets the to value for this Send2.
|
*
|
* @return to
|
*/
|
public java.lang.String getTo() {
|
return to;
|
}
|
|
|
/**
|
* Sets the to value for this Send2.
|
*
|
* @param to
|
*/
|
public void setTo(java.lang.String to) {
|
this.to = to;
|
}
|
|
|
/**
|
* Gets the subject value for this Send2.
|
*
|
* @return subject
|
*/
|
public java.lang.String getSubject() {
|
return subject;
|
}
|
|
|
/**
|
* Sets the subject value for this Send2.
|
*
|
* @param subject
|
*/
|
public void setSubject(java.lang.String subject) {
|
this.subject = subject;
|
}
|
|
|
/**
|
* Gets the body value for this Send2.
|
*
|
* @return body
|
*/
|
public java.lang.String getBody() {
|
return body;
|
}
|
|
|
/**
|
* Sets the body value for this Send2.
|
*
|
* @param body
|
*/
|
public void setBody(java.lang.String body) {
|
this.body = body;
|
}
|
|
private java.lang.Object __equalsCalc = null;
|
public synchronized boolean equals(java.lang.Object obj) {
|
if (!(obj instanceof Send2)) return false;
|
Send2 other = (Send2) 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.password==null && other.getPassword()==null) ||
|
(this.password!=null &&
|
this.password.equals(other.getPassword()))) &&
|
((this.campaignName==null && other.getCampaignName()==null) ||
|
(this.campaignName!=null &&
|
this.campaignName.equals(other.getCampaignName()))) &&
|
((this.from==null && other.getFrom()==null) ||
|
(this.from!=null &&
|
this.from.equals(other.getFrom()))) &&
|
((this.fromName==null && other.getFromName()==null) ||
|
(this.fromName!=null &&
|
this.fromName.equals(other.getFromName()))) &&
|
((this.to==null && other.getTo()==null) ||
|
(this.to!=null &&
|
this.to.equals(other.getTo()))) &&
|
((this.subject==null && other.getSubject()==null) ||
|
(this.subject!=null &&
|
this.subject.equals(other.getSubject()))) &&
|
((this.body==null && other.getBody()==null) ||
|
(this.body!=null &&
|
this.body.equals(other.getBody())));
|
__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 (getPassword() != null) {
|
_hashCode += getPassword().hashCode();
|
}
|
if (getCampaignName() != null) {
|
_hashCode += getCampaignName().hashCode();
|
}
|
if (getFrom() != null) {
|
_hashCode += getFrom().hashCode();
|
}
|
if (getFromName() != null) {
|
_hashCode += getFromName().hashCode();
|
}
|
if (getTo() != null) {
|
_hashCode += getTo().hashCode();
|
}
|
if (getSubject() != null) {
|
_hashCode += getSubject().hashCode();
|
}
|
if (getBody() != null) {
|
_hashCode += getBody().hashCode();
|
}
|
__hashCodeCalc = false;
|
return _hashCode;
|
}
|
|
// Type metadata
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
new org.apache.axis.description.TypeDesc(Send2.class, true);
|
|
static {
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", ">Send2"));
|
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("password");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Password"));
|
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("campaignName");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignName"));
|
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("from");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "From"));
|
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("fromName");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "FromName"));
|
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("to");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "To"));
|
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("body");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Body"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
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);
|
}
|
|
}
|