/** * UpdateContactCustomFieldName.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 UpdateContactCustomFieldName implements java.io.Serializable { private java.lang.String loginEmail; private java.lang.String APIKey; private int customFieldNo; private java.lang.String englishDisplayName; private java.lang.String traditionalDisplayName; private java.lang.String simpleChineseDisplayName; public UpdateContactCustomFieldName() { } public UpdateContactCustomFieldName( java.lang.String loginEmail, java.lang.String APIKey, int customFieldNo, java.lang.String englishDisplayName, java.lang.String traditionalDisplayName, java.lang.String simpleChineseDisplayName) { this.loginEmail = loginEmail; this.APIKey = APIKey; this.customFieldNo = customFieldNo; this.englishDisplayName = englishDisplayName; this.traditionalDisplayName = traditionalDisplayName; this.simpleChineseDisplayName = simpleChineseDisplayName; } /** * Gets the loginEmail value for this UpdateContactCustomFieldName. * * @return loginEmail */ public java.lang.String getLoginEmail() { return loginEmail; } /** * Sets the loginEmail value for this UpdateContactCustomFieldName. * * @param loginEmail */ public void setLoginEmail(java.lang.String loginEmail) { this.loginEmail = loginEmail; } /** * Gets the APIKey value for this UpdateContactCustomFieldName. * * @return APIKey */ public java.lang.String getAPIKey() { return APIKey; } /** * Sets the APIKey value for this UpdateContactCustomFieldName. * * @param APIKey */ public void setAPIKey(java.lang.String APIKey) { this.APIKey = APIKey; } /** * Gets the customFieldNo value for this UpdateContactCustomFieldName. * * @return customFieldNo */ public int getCustomFieldNo() { return customFieldNo; } /** * Sets the customFieldNo value for this UpdateContactCustomFieldName. * * @param customFieldNo */ public void setCustomFieldNo(int customFieldNo) { this.customFieldNo = customFieldNo; } /** * Gets the englishDisplayName value for this UpdateContactCustomFieldName. * * @return englishDisplayName */ public java.lang.String getEnglishDisplayName() { return englishDisplayName; } /** * Sets the englishDisplayName value for this UpdateContactCustomFieldName. * * @param englishDisplayName */ public void setEnglishDisplayName(java.lang.String englishDisplayName) { this.englishDisplayName = englishDisplayName; } /** * Gets the traditionalDisplayName value for this UpdateContactCustomFieldName. * * @return traditionalDisplayName */ public java.lang.String getTraditionalDisplayName() { return traditionalDisplayName; } /** * Sets the traditionalDisplayName value for this UpdateContactCustomFieldName. * * @param traditionalDisplayName */ public void setTraditionalDisplayName(java.lang.String traditionalDisplayName) { this.traditionalDisplayName = traditionalDisplayName; } /** * Gets the simpleChineseDisplayName value for this UpdateContactCustomFieldName. * * @return simpleChineseDisplayName */ public java.lang.String getSimpleChineseDisplayName() { return simpleChineseDisplayName; } /** * Sets the simpleChineseDisplayName value for this UpdateContactCustomFieldName. * * @param simpleChineseDisplayName */ public void setSimpleChineseDisplayName(java.lang.String simpleChineseDisplayName) { this.simpleChineseDisplayName = simpleChineseDisplayName; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof UpdateContactCustomFieldName)) return false; UpdateContactCustomFieldName other = (UpdateContactCustomFieldName) 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.customFieldNo == other.getCustomFieldNo() && ((this.englishDisplayName==null && other.getEnglishDisplayName()==null) || (this.englishDisplayName!=null && this.englishDisplayName.equals(other.getEnglishDisplayName()))) && ((this.traditionalDisplayName==null && other.getTraditionalDisplayName()==null) || (this.traditionalDisplayName!=null && this.traditionalDisplayName.equals(other.getTraditionalDisplayName()))) && ((this.simpleChineseDisplayName==null && other.getSimpleChineseDisplayName()==null) || (this.simpleChineseDisplayName!=null && this.simpleChineseDisplayName.equals(other.getSimpleChineseDisplayName()))); __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 += getCustomFieldNo(); if (getEnglishDisplayName() != null) { _hashCode += getEnglishDisplayName().hashCode(); } if (getTraditionalDisplayName() != null) { _hashCode += getTraditionalDisplayName().hashCode(); } if (getSimpleChineseDisplayName() != null) { _hashCode += getSimpleChineseDisplayName().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(UpdateContactCustomFieldName.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", ">UpdateContactCustomFieldName")); 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("customFieldNo"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "customFieldNo")); 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("englishDisplayName"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "EnglishDisplayName")); 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("traditionalDisplayName"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "TraditionalDisplayName")); 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("simpleChineseDisplayName"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "SimpleChineseDisplayName")); 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); } }