zj
2025-01-06 0e7b38c2b3af72ea2a7f8a2fcbaad4d78e2c1977
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
/**
 * CampaignReport.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 CampaignReport  implements java.io.Serializable {
    private int campaignId;
 
    private java.lang.String campaignName;
 
    private int sentCount;
 
    private int failCount;
 
    private int openCount;
 
    private int allClickCount;
 
    private int uniqueClicksCount;
 
    private int conversionCount;
 
    private int bounceCount;
 
    private int spamCount;
 
    private int unsubscribeCount;
 
    private int undeliverableCount;
 
    private com.gear.common.utils.emailsq.service.CampaignStatus status;
 
    private java.util.Calendar dateSent;
 
    private java.util.Calendar createDate;
 
    private java.util.Calendar schedule;
 
    public CampaignReport() {
    }
 
    public CampaignReport(
           int campaignId,
           java.lang.String campaignName,
           int sentCount,
           int failCount,
           int openCount,
           int allClickCount,
           int uniqueClicksCount,
           int conversionCount,
           int bounceCount,
           int spamCount,
           int unsubscribeCount,
           int undeliverableCount,
           com.gear.common.utils.emailsq.service.CampaignStatus status,
           java.util.Calendar dateSent,
           java.util.Calendar createDate,
           java.util.Calendar schedule) {
           this.campaignId = campaignId;
           this.campaignName = campaignName;
           this.sentCount = sentCount;
           this.failCount = failCount;
           this.openCount = openCount;
           this.allClickCount = allClickCount;
           this.uniqueClicksCount = uniqueClicksCount;
           this.conversionCount = conversionCount;
           this.bounceCount = bounceCount;
           this.spamCount = spamCount;
           this.unsubscribeCount = unsubscribeCount;
           this.undeliverableCount = undeliverableCount;
           this.status = status;
           this.dateSent = dateSent;
           this.createDate = createDate;
           this.schedule = schedule;
    }
 
 
    /**
     * Gets the campaignId value for this CampaignReport.
     * 
     * @return campaignId
     */
    public int getCampaignId() {
        return campaignId;
    }
 
 
    /**
     * Sets the campaignId value for this CampaignReport.
     * 
     * @param campaignId
     */
    public void setCampaignId(int campaignId) {
        this.campaignId = campaignId;
    }
 
 
    /**
     * Gets the campaignName value for this CampaignReport.
     * 
     * @return campaignName
     */
    public java.lang.String getCampaignName() {
        return campaignName;
    }
 
 
    /**
     * Sets the campaignName value for this CampaignReport.
     * 
     * @param campaignName
     */
    public void setCampaignName(java.lang.String campaignName) {
        this.campaignName = campaignName;
    }
 
 
    /**
     * Gets the sentCount value for this CampaignReport.
     * 
     * @return sentCount
     */
    public int getSentCount() {
        return sentCount;
    }
 
 
    /**
     * Sets the sentCount value for this CampaignReport.
     * 
     * @param sentCount
     */
    public void setSentCount(int sentCount) {
        this.sentCount = sentCount;
    }
 
 
    /**
     * Gets the failCount value for this CampaignReport.
     * 
     * @return failCount
     */
    public int getFailCount() {
        return failCount;
    }
 
 
    /**
     * Sets the failCount value for this CampaignReport.
     * 
     * @param failCount
     */
    public void setFailCount(int failCount) {
        this.failCount = failCount;
    }
 
 
    /**
     * Gets the openCount value for this CampaignReport.
     * 
     * @return openCount
     */
    public int getOpenCount() {
        return openCount;
    }
 
 
    /**
     * Sets the openCount value for this CampaignReport.
     * 
     * @param openCount
     */
    public void setOpenCount(int openCount) {
        this.openCount = openCount;
    }
 
 
    /**
     * Gets the allClickCount value for this CampaignReport.
     * 
     * @return allClickCount
     */
    public int getAllClickCount() {
        return allClickCount;
    }
 
 
    /**
     * Sets the allClickCount value for this CampaignReport.
     * 
     * @param allClickCount
     */
    public void setAllClickCount(int allClickCount) {
        this.allClickCount = allClickCount;
    }
 
 
    /**
     * Gets the uniqueClicksCount value for this CampaignReport.
     * 
     * @return uniqueClicksCount
     */
    public int getUniqueClicksCount() {
        return uniqueClicksCount;
    }
 
 
    /**
     * Sets the uniqueClicksCount value for this CampaignReport.
     * 
     * @param uniqueClicksCount
     */
    public void setUniqueClicksCount(int uniqueClicksCount) {
        this.uniqueClicksCount = uniqueClicksCount;
    }
 
 
    /**
     * Gets the conversionCount value for this CampaignReport.
     * 
     * @return conversionCount
     */
    public int getConversionCount() {
        return conversionCount;
    }
 
 
    /**
     * Sets the conversionCount value for this CampaignReport.
     * 
     * @param conversionCount
     */
    public void setConversionCount(int conversionCount) {
        this.conversionCount = conversionCount;
    }
 
 
    /**
     * Gets the bounceCount value for this CampaignReport.
     * 
     * @return bounceCount
     */
    public int getBounceCount() {
        return bounceCount;
    }
 
 
    /**
     * Sets the bounceCount value for this CampaignReport.
     * 
     * @param bounceCount
     */
    public void setBounceCount(int bounceCount) {
        this.bounceCount = bounceCount;
    }
 
 
    /**
     * Gets the spamCount value for this CampaignReport.
     * 
     * @return spamCount
     */
    public int getSpamCount() {
        return spamCount;
    }
 
 
    /**
     * Sets the spamCount value for this CampaignReport.
     * 
     * @param spamCount
     */
    public void setSpamCount(int spamCount) {
        this.spamCount = spamCount;
    }
 
 
    /**
     * Gets the unsubscribeCount value for this CampaignReport.
     * 
     * @return unsubscribeCount
     */
    public int getUnsubscribeCount() {
        return unsubscribeCount;
    }
 
 
    /**
     * Sets the unsubscribeCount value for this CampaignReport.
     * 
     * @param unsubscribeCount
     */
    public void setUnsubscribeCount(int unsubscribeCount) {
        this.unsubscribeCount = unsubscribeCount;
    }
 
 
    /**
     * Gets the undeliverableCount value for this CampaignReport.
     * 
     * @return undeliverableCount
     */
    public int getUndeliverableCount() {
        return undeliverableCount;
    }
 
 
    /**
     * Sets the undeliverableCount value for this CampaignReport.
     * 
     * @param undeliverableCount
     */
    public void setUndeliverableCount(int undeliverableCount) {
        this.undeliverableCount = undeliverableCount;
    }
 
 
    /**
     * Gets the status value for this CampaignReport.
     * 
     * @return status
     */
    public com.gear.common.utils.emailsq.service.CampaignStatus getStatus() {
        return status;
    }
 
 
    /**
     * Sets the status value for this CampaignReport.
     * 
     * @param status
     */
    public void setStatus(com.gear.common.utils.emailsq.service.CampaignStatus status) {
        this.status = status;
    }
 
 
    /**
     * Gets the dateSent value for this CampaignReport.
     * 
     * @return dateSent
     */
    public java.util.Calendar getDateSent() {
        return dateSent;
    }
 
 
    /**
     * Sets the dateSent value for this CampaignReport.
     * 
     * @param dateSent
     */
    public void setDateSent(java.util.Calendar dateSent) {
        this.dateSent = dateSent;
    }
 
 
    /**
     * Gets the createDate value for this CampaignReport.
     * 
     * @return createDate
     */
    public java.util.Calendar getCreateDate() {
        return createDate;
    }
 
 
    /**
     * Sets the createDate value for this CampaignReport.
     * 
     * @param createDate
     */
    public void setCreateDate(java.util.Calendar createDate) {
        this.createDate = createDate;
    }
 
 
    /**
     * Gets the schedule value for this CampaignReport.
     * 
     * @return schedule
     */
    public java.util.Calendar getSchedule() {
        return schedule;
    }
 
 
    /**
     * Sets the schedule value for this CampaignReport.
     * 
     * @param schedule
     */
    public void setSchedule(java.util.Calendar schedule) {
        this.schedule = schedule;
    }
 
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof CampaignReport)) return false;
        CampaignReport other = (CampaignReport) obj;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            this.campaignId == other.getCampaignId() &&
            ((this.campaignName==null && other.getCampaignName()==null) || 
             (this.campaignName!=null &&
              this.campaignName.equals(other.getCampaignName()))) &&
            this.sentCount == other.getSentCount() &&
            this.failCount == other.getFailCount() &&
            this.openCount == other.getOpenCount() &&
            this.allClickCount == other.getAllClickCount() &&
            this.uniqueClicksCount == other.getUniqueClicksCount() &&
            this.conversionCount == other.getConversionCount() &&
            this.bounceCount == other.getBounceCount() &&
            this.spamCount == other.getSpamCount() &&
            this.unsubscribeCount == other.getUnsubscribeCount() &&
            this.undeliverableCount == other.getUndeliverableCount() &&
            ((this.status==null && other.getStatus()==null) || 
             (this.status!=null &&
              this.status.equals(other.getStatus()))) &&
            ((this.dateSent==null && other.getDateSent()==null) || 
             (this.dateSent!=null &&
              this.dateSent.equals(other.getDateSent()))) &&
            ((this.createDate==null && other.getCreateDate()==null) || 
             (this.createDate!=null &&
              this.createDate.equals(other.getCreateDate()))) &&
            ((this.schedule==null && other.getSchedule()==null) || 
             (this.schedule!=null &&
              this.schedule.equals(other.getSchedule())));
        __equalsCalc = null;
        return _equals;
    }
 
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        _hashCode += getCampaignId();
        if (getCampaignName() != null) {
            _hashCode += getCampaignName().hashCode();
        }
        _hashCode += getSentCount();
        _hashCode += getFailCount();
        _hashCode += getOpenCount();
        _hashCode += getAllClickCount();
        _hashCode += getUniqueClicksCount();
        _hashCode += getConversionCount();
        _hashCode += getBounceCount();
        _hashCode += getSpamCount();
        _hashCode += getUnsubscribeCount();
        _hashCode += getUndeliverableCount();
        if (getStatus() != null) {
            _hashCode += getStatus().hashCode();
        }
        if (getDateSent() != null) {
            _hashCode += getDateSent().hashCode();
        }
        if (getCreateDate() != null) {
            _hashCode += getCreateDate().hashCode();
        }
        if (getSchedule() != null) {
            _hashCode += getSchedule().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }
 
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(CampaignReport.class, true);
 
    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignReport"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("campaignId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignId"));
        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("campaignName");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignName"));
        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("sentCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "SentCount"));
        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("failCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "FailCount"));
        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("openCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "OpenCount"));
        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("allClickCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "AllClickCount"));
        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("uniqueClicksCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "UniqueClicksCount"));
        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("conversionCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ConversionCount"));
        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("bounceCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "BounceCount"));
        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("spamCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "SpamCount"));
        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("unsubscribeCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "UnsubscribeCount"));
        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("undeliverableCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "UndeliverableCount"));
        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("status");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Status"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignStatus"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("dateSent");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "DateSent"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("createDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CreateDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("schedule");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Schedule"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        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);
    }
 
}