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