/** * SubscriberCampaignContent.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 SubscriberCampaignContent implements java.io.Serializable { private com.gear.common.utils.emailsq.service.EmailEntity[] toEmails; private java.lang.String[] categoryNames; private java.lang.String subject; private java.lang.String content; public SubscriberCampaignContent() { } public SubscriberCampaignContent( com.gear.common.utils.emailsq.service.EmailEntity[] toEmails, java.lang.String[] categoryNames, java.lang.String subject, java.lang.String content) { this.toEmails = toEmails; this.categoryNames = categoryNames; this.subject = subject; this.content = content; } /** * Gets the toEmails value for this SubscriberCampaignContent. * * @return toEmails */ public com.gear.common.utils.emailsq.service.EmailEntity[] getToEmails() { return toEmails; } /** * Sets the toEmails value for this SubscriberCampaignContent. * * @param toEmails */ public void setToEmails(com.gear.common.utils.emailsq.service.EmailEntity[] toEmails) { this.toEmails = toEmails; } /** * Gets the categoryNames value for this SubscriberCampaignContent. * * @return categoryNames */ public java.lang.String[] getCategoryNames() { return categoryNames; } /** * Sets the categoryNames value for this SubscriberCampaignContent. * * @param categoryNames */ public void setCategoryNames(java.lang.String[] categoryNames) { this.categoryNames = categoryNames; } /** * Gets the subject value for this SubscriberCampaignContent. * * @return subject */ public java.lang.String getSubject() { return subject; } /** * Sets the subject value for this SubscriberCampaignContent. * * @param subject */ public void setSubject(java.lang.String subject) { this.subject = subject; } /** * Gets the content value for this SubscriberCampaignContent. * * @return content */ public java.lang.String getContent() { return content; } /** * Sets the content value for this SubscriberCampaignContent. * * @param content */ public void setContent(java.lang.String content) { this.content = content; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof SubscriberCampaignContent)) return false; SubscriberCampaignContent other = (SubscriberCampaignContent) obj; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.toEmails==null && other.getToEmails()==null) || (this.toEmails!=null && java.util.Arrays.equals(this.toEmails, other.getToEmails()))) && ((this.categoryNames==null && other.getCategoryNames()==null) || (this.categoryNames!=null && java.util.Arrays.equals(this.categoryNames, other.getCategoryNames()))) && ((this.subject==null && other.getSubject()==null) || (this.subject!=null && this.subject.equals(other.getSubject()))) && ((this.content==null && other.getContent()==null) || (this.content!=null && this.content.equals(other.getContent()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getToEmails() != null) { for (int i=0; i