/** * SendAndCc.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 SendAndCc 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; private java.lang.String[] cc; public SendAndCc() { } public SendAndCc( 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, java.lang.String[] cc) { this.loginEmail = loginEmail; this.password = password; this.campaignName = campaignName; this.from = from; this.fromName = fromName; this.to = to; this.subject = subject; this.body = body; this.cc = cc; } /** * Gets the loginEmail value for this SendAndCc. * * @return loginEmail */ public java.lang.String getLoginEmail() { return loginEmail; } /** * Sets the loginEmail value for this SendAndCc. * * @param loginEmail */ public void setLoginEmail(java.lang.String loginEmail) { this.loginEmail = loginEmail; } /** * Gets the password value for this SendAndCc. * * @return password */ public java.lang.String getPassword() { return password; } /** * Sets the password value for this SendAndCc. * * @param password */ public void setPassword(java.lang.String password) { this.password = password; } /** * Gets the campaignName value for this SendAndCc. * * @return campaignName */ public java.lang.String getCampaignName() { return campaignName; } /** * Sets the campaignName value for this SendAndCc. * * @param campaignName */ public void setCampaignName(java.lang.String campaignName) { this.campaignName = campaignName; } /** * Gets the from value for this SendAndCc. * * @return from */ public java.lang.String getFrom() { return from; } /** * Sets the from value for this SendAndCc. * * @param from */ public void setFrom(java.lang.String from) { this.from = from; } /** * Gets the fromName value for this SendAndCc. * * @return fromName */ public java.lang.String getFromName() { return fromName; } /** * Sets the fromName value for this SendAndCc. * * @param fromName */ public void setFromName(java.lang.String fromName) { this.fromName = fromName; } /** * Gets the to value for this SendAndCc. * * @return to */ public java.lang.String getTo() { return to; } /** * Sets the to value for this SendAndCc. * * @param to */ public void setTo(java.lang.String to) { this.to = to; } /** * Gets the subject value for this SendAndCc. * * @return subject */ public java.lang.String getSubject() { return subject; } /** * Sets the subject value for this SendAndCc. * * @param subject */ public void setSubject(java.lang.String subject) { this.subject = subject; } /** * Gets the body value for this SendAndCc. * * @return body */ public java.lang.String getBody() { return body; } /** * Sets the body value for this SendAndCc. * * @param body */ public void setBody(java.lang.String body) { this.body = body; } /** * Gets the cc value for this SendAndCc. * * @return cc */ public java.lang.String[] getCc() { return cc; } /** * Sets the cc value for this SendAndCc. * * @param cc */ public void setCc(java.lang.String[] cc) { this.cc = cc; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof SendAndCc)) return false; SendAndCc other = (SendAndCc) 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()))) && ((this.cc==null && other.getCc()==null) || (this.cc!=null && java.util.Arrays.equals(this.cc, other.getCc()))); __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(); } if (getCc() != null) { for (int i=0; iSendAndCc")); 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); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("cc"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Cc")); 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); } }