/**
|
* ResponseResult.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 ResponseResult implements java.io.Serializable {
|
private java.lang.String trackingId;
|
|
private java.lang.String customerReferenceNo;
|
|
private java.lang.String status;
|
|
private com.gear.common.utils.emailsq.service.ErrorDetail[] errorDetails;
|
|
public ResponseResult() {
|
}
|
|
public ResponseResult(
|
java.lang.String trackingId,
|
java.lang.String customerReferenceNo,
|
java.lang.String status,
|
com.gear.common.utils.emailsq.service.ErrorDetail[] errorDetails) {
|
this.trackingId = trackingId;
|
this.customerReferenceNo = customerReferenceNo;
|
this.status = status;
|
this.errorDetails = errorDetails;
|
}
|
|
|
/**
|
* Gets the trackingId value for this ResponseResult.
|
*
|
* @return trackingId
|
*/
|
public java.lang.String getTrackingId() {
|
return trackingId;
|
}
|
|
|
/**
|
* Sets the trackingId value for this ResponseResult.
|
*
|
* @param trackingId
|
*/
|
public void setTrackingId(java.lang.String trackingId) {
|
this.trackingId = trackingId;
|
}
|
|
|
/**
|
* Gets the customerReferenceNo value for this ResponseResult.
|
*
|
* @return customerReferenceNo
|
*/
|
public java.lang.String getCustomerReferenceNo() {
|
return customerReferenceNo;
|
}
|
|
|
/**
|
* Sets the customerReferenceNo value for this ResponseResult.
|
*
|
* @param customerReferenceNo
|
*/
|
public void setCustomerReferenceNo(java.lang.String customerReferenceNo) {
|
this.customerReferenceNo = customerReferenceNo;
|
}
|
|
|
/**
|
* Gets the status value for this ResponseResult.
|
*
|
* @return status
|
*/
|
public java.lang.String getStatus() {
|
return status;
|
}
|
|
|
/**
|
* Sets the status value for this ResponseResult.
|
*
|
* @param status
|
*/
|
public void setStatus(java.lang.String status) {
|
this.status = status;
|
}
|
|
|
/**
|
* Gets the errorDetails value for this ResponseResult.
|
*
|
* @return errorDetails
|
*/
|
public com.gear.common.utils.emailsq.service.ErrorDetail[] getErrorDetails() {
|
return errorDetails;
|
}
|
|
|
/**
|
* Sets the errorDetails value for this ResponseResult.
|
*
|
* @param errorDetails
|
*/
|
public void setErrorDetails(com.gear.common.utils.emailsq.service.ErrorDetail[] errorDetails) {
|
this.errorDetails = errorDetails;
|
}
|
|
private java.lang.Object __equalsCalc = null;
|
public synchronized boolean equals(java.lang.Object obj) {
|
if (!(obj instanceof ResponseResult)) return false;
|
ResponseResult other = (ResponseResult) obj;
|
if (this == obj) return true;
|
if (__equalsCalc != null) {
|
return (__equalsCalc == obj);
|
}
|
__equalsCalc = obj;
|
boolean _equals;
|
_equals = true &&
|
((this.trackingId==null && other.getTrackingId()==null) ||
|
(this.trackingId!=null &&
|
this.trackingId.equals(other.getTrackingId()))) &&
|
((this.customerReferenceNo==null && other.getCustomerReferenceNo()==null) ||
|
(this.customerReferenceNo!=null &&
|
this.customerReferenceNo.equals(other.getCustomerReferenceNo()))) &&
|
((this.status==null && other.getStatus()==null) ||
|
(this.status!=null &&
|
this.status.equals(other.getStatus()))) &&
|
((this.errorDetails==null && other.getErrorDetails()==null) ||
|
(this.errorDetails!=null &&
|
java.util.Arrays.equals(this.errorDetails, other.getErrorDetails())));
|
__equalsCalc = null;
|
return _equals;
|
}
|
|
private boolean __hashCodeCalc = false;
|
public synchronized int hashCode() {
|
if (__hashCodeCalc) {
|
return 0;
|
}
|
__hashCodeCalc = true;
|
int _hashCode = 1;
|
if (getTrackingId() != null) {
|
_hashCode += getTrackingId().hashCode();
|
}
|
if (getCustomerReferenceNo() != null) {
|
_hashCode += getCustomerReferenceNo().hashCode();
|
}
|
if (getStatus() != null) {
|
_hashCode += getStatus().hashCode();
|
}
|
if (getErrorDetails() != null) {
|
for (int i=0;
|
i<java.lang.reflect.Array.getLength(getErrorDetails());
|
i++) {
|
java.lang.Object obj = java.lang.reflect.Array.get(getErrorDetails(), 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(ResponseResult.class, true);
|
|
static {
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ResponseResult"));
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("trackingId");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "trackingId"));
|
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("customerReferenceNo");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "customerReferenceNo"));
|
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("status");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "status"));
|
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("errorDetails");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "errorDetails"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "errorDetail"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
elemField.setItemQName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "errorDetail"));
|
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);
|
}
|
|
}
|