/**
|
* ExcludeContacts.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 ExcludeContacts implements java.io.Serializable {
|
private java.lang.String loginEmail;
|
|
private java.lang.String apiKey;
|
|
private java.lang.String[] contacts;
|
|
private java.lang.String[] excludes;
|
|
public ExcludeContacts() {
|
}
|
|
public ExcludeContacts(
|
java.lang.String loginEmail,
|
java.lang.String apiKey,
|
java.lang.String[] contacts,
|
java.lang.String[] excludes) {
|
this.loginEmail = loginEmail;
|
this.apiKey = apiKey;
|
this.contacts = contacts;
|
this.excludes = excludes;
|
}
|
|
|
/**
|
* Gets the loginEmail value for this ExcludeContacts.
|
*
|
* @return loginEmail
|
*/
|
public java.lang.String getLoginEmail() {
|
return loginEmail;
|
}
|
|
|
/**
|
* Sets the loginEmail value for this ExcludeContacts.
|
*
|
* @param loginEmail
|
*/
|
public void setLoginEmail(java.lang.String loginEmail) {
|
this.loginEmail = loginEmail;
|
}
|
|
|
/**
|
* Gets the apiKey value for this ExcludeContacts.
|
*
|
* @return apiKey
|
*/
|
public java.lang.String getApiKey() {
|
return apiKey;
|
}
|
|
|
/**
|
* Sets the apiKey value for this ExcludeContacts.
|
*
|
* @param apiKey
|
*/
|
public void setApiKey(java.lang.String apiKey) {
|
this.apiKey = apiKey;
|
}
|
|
|
/**
|
* Gets the contacts value for this ExcludeContacts.
|
*
|
* @return contacts
|
*/
|
public java.lang.String[] getContacts() {
|
return contacts;
|
}
|
|
|
/**
|
* Sets the contacts value for this ExcludeContacts.
|
*
|
* @param contacts
|
*/
|
public void setContacts(java.lang.String[] contacts) {
|
this.contacts = contacts;
|
}
|
|
|
/**
|
* Gets the excludes value for this ExcludeContacts.
|
*
|
* @return excludes
|
*/
|
public java.lang.String[] getExcludes() {
|
return excludes;
|
}
|
|
|
/**
|
* Sets the excludes value for this ExcludeContacts.
|
*
|
* @param excludes
|
*/
|
public void setExcludes(java.lang.String[] excludes) {
|
this.excludes = excludes;
|
}
|
|
private java.lang.Object __equalsCalc = null;
|
public synchronized boolean equals(java.lang.Object obj) {
|
if (!(obj instanceof ExcludeContacts)) return false;
|
ExcludeContacts other = (ExcludeContacts) 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.contacts==null && other.getContacts()==null) ||
|
(this.contacts!=null &&
|
java.util.Arrays.equals(this.contacts, other.getContacts()))) &&
|
((this.excludes==null && other.getExcludes()==null) ||
|
(this.excludes!=null &&
|
java.util.Arrays.equals(this.excludes, other.getExcludes())));
|
__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 (getContacts() != null) {
|
for (int i=0;
|
i<java.lang.reflect.Array.getLength(getContacts());
|
i++) {
|
java.lang.Object obj = java.lang.reflect.Array.get(getContacts(), i);
|
if (obj != null &&
|
!obj.getClass().isArray()) {
|
_hashCode += obj.hashCode();
|
}
|
}
|
}
|
if (getExcludes() != null) {
|
for (int i=0;
|
i<java.lang.reflect.Array.getLength(getExcludes());
|
i++) {
|
java.lang.Object obj = java.lang.reflect.Array.get(getExcludes(), 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(ExcludeContacts.class, true);
|
|
static {
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", ">ExcludeContacts"));
|
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("contacts");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "contacts"));
|
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("excludes");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "excludes"));
|
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);
|
}
|
|
}
|