/** * SetCampaignDailyLimit.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 SetCampaignDailyLimit implements java.io.Serializable { private java.lang.String loginEmail; private java.lang.String APIKey; private int campaignid; private int quantity; public SetCampaignDailyLimit() { } public SetCampaignDailyLimit( java.lang.String loginEmail, java.lang.String APIKey, int campaignid, int quantity) { this.loginEmail = loginEmail; this.APIKey = APIKey; this.campaignid = campaignid; this.quantity = quantity; } /** * Gets the loginEmail value for this SetCampaignDailyLimit. * * @return loginEmail */ public java.lang.String getLoginEmail() { return loginEmail; } /** * Sets the loginEmail value for this SetCampaignDailyLimit. * * @param loginEmail */ public void setLoginEmail(java.lang.String loginEmail) { this.loginEmail = loginEmail; } /** * Gets the APIKey value for this SetCampaignDailyLimit. * * @return APIKey */ public java.lang.String getAPIKey() { return APIKey; } /** * Sets the APIKey value for this SetCampaignDailyLimit. * * @param APIKey */ public void setAPIKey(java.lang.String APIKey) { this.APIKey = APIKey; } /** * Gets the campaignid value for this SetCampaignDailyLimit. * * @return campaignid */ public int getCampaignid() { return campaignid; } /** * Sets the campaignid value for this SetCampaignDailyLimit. * * @param campaignid */ public void setCampaignid(int campaignid) { this.campaignid = campaignid; } /** * Gets the quantity value for this SetCampaignDailyLimit. * * @return quantity */ public int getQuantity() { return quantity; } /** * Sets the quantity value for this SetCampaignDailyLimit. * * @param quantity */ public void setQuantity(int quantity) { this.quantity = quantity; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof SetCampaignDailyLimit)) return false; SetCampaignDailyLimit other = (SetCampaignDailyLimit) 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.campaignid == other.getCampaignid() && this.quantity == other.getQuantity(); __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(); } _hashCode += getCampaignid(); _hashCode += getQuantity(); __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(SetCampaignDailyLimit.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", ">SetCampaignDailyLimit")); 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("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("quantity"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "quantity")); 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); } }