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
616
617
/**
 * AddWhatsAppMessage.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 AddWhatsAppMessage  implements java.io.Serializable {
    private java.lang.String APIKey;
 
    private java.lang.String messageID;
 
    private java.lang.String hostID;
 
    private java.lang.String clientID;
 
    private boolean toOrFrom;
 
    private long longTimestamp;
 
    private java.lang.String replyTo;
 
    private java.lang.String status;
 
    private java.lang.String text;
 
    private java.lang.String mediaID;
 
    private java.lang.String mimeType;
 
    private java.lang.String sha256;
 
    private java.lang.String filename;
 
    private int campaignID;
 
    private int subscriberID;
 
    public AddWhatsAppMessage() {
    }
 
    public AddWhatsAppMessage(
           java.lang.String APIKey,
           java.lang.String messageID,
           java.lang.String hostID,
           java.lang.String clientID,
           boolean toOrFrom,
           long longTimestamp,
           java.lang.String replyTo,
           java.lang.String status,
           java.lang.String text,
           java.lang.String mediaID,
           java.lang.String mimeType,
           java.lang.String sha256,
           java.lang.String filename,
           int campaignID,
           int subscriberID) {
           this.APIKey = APIKey;
           this.messageID = messageID;
           this.hostID = hostID;
           this.clientID = clientID;
           this.toOrFrom = toOrFrom;
           this.longTimestamp = longTimestamp;
           this.replyTo = replyTo;
           this.status = status;
           this.text = text;
           this.mediaID = mediaID;
           this.mimeType = mimeType;
           this.sha256 = sha256;
           this.filename = filename;
           this.campaignID = campaignID;
           this.subscriberID = subscriberID;
    }
 
 
    /**
     * Gets the APIKey value for this AddWhatsAppMessage.
     * 
     * @return APIKey
     */
    public java.lang.String getAPIKey() {
        return APIKey;
    }
 
 
    /**
     * Sets the APIKey value for this AddWhatsAppMessage.
     * 
     * @param APIKey
     */
    public void setAPIKey(java.lang.String APIKey) {
        this.APIKey = APIKey;
    }
 
 
    /**
     * Gets the messageID value for this AddWhatsAppMessage.
     * 
     * @return messageID
     */
    public java.lang.String getMessageID() {
        return messageID;
    }
 
 
    /**
     * Sets the messageID value for this AddWhatsAppMessage.
     * 
     * @param messageID
     */
    public void setMessageID(java.lang.String messageID) {
        this.messageID = messageID;
    }
 
 
    /**
     * Gets the hostID value for this AddWhatsAppMessage.
     * 
     * @return hostID
     */
    public java.lang.String getHostID() {
        return hostID;
    }
 
 
    /**
     * Sets the hostID value for this AddWhatsAppMessage.
     * 
     * @param hostID
     */
    public void setHostID(java.lang.String hostID) {
        this.hostID = hostID;
    }
 
 
    /**
     * Gets the clientID value for this AddWhatsAppMessage.
     * 
     * @return clientID
     */
    public java.lang.String getClientID() {
        return clientID;
    }
 
 
    /**
     * Sets the clientID value for this AddWhatsAppMessage.
     * 
     * @param clientID
     */
    public void setClientID(java.lang.String clientID) {
        this.clientID = clientID;
    }
 
 
    /**
     * Gets the toOrFrom value for this AddWhatsAppMessage.
     * 
     * @return toOrFrom
     */
    public boolean isToOrFrom() {
        return toOrFrom;
    }
 
 
    /**
     * Sets the toOrFrom value for this AddWhatsAppMessage.
     * 
     * @param toOrFrom
     */
    public void setToOrFrom(boolean toOrFrom) {
        this.toOrFrom = toOrFrom;
    }
 
 
    /**
     * Gets the longTimestamp value for this AddWhatsAppMessage.
     * 
     * @return longTimestamp
     */
    public long getLongTimestamp() {
        return longTimestamp;
    }
 
 
    /**
     * Sets the longTimestamp value for this AddWhatsAppMessage.
     * 
     * @param longTimestamp
     */
    public void setLongTimestamp(long longTimestamp) {
        this.longTimestamp = longTimestamp;
    }
 
 
    /**
     * Gets the replyTo value for this AddWhatsAppMessage.
     * 
     * @return replyTo
     */
    public java.lang.String getReplyTo() {
        return replyTo;
    }
 
 
    /**
     * Sets the replyTo value for this AddWhatsAppMessage.
     * 
     * @param replyTo
     */
    public void setReplyTo(java.lang.String replyTo) {
        this.replyTo = replyTo;
    }
 
 
    /**
     * Gets the status value for this AddWhatsAppMessage.
     * 
     * @return status
     */
    public java.lang.String getStatus() {
        return status;
    }
 
 
    /**
     * Sets the status value for this AddWhatsAppMessage.
     * 
     * @param status
     */
    public void setStatus(java.lang.String status) {
        this.status = status;
    }
 
 
    /**
     * Gets the text value for this AddWhatsAppMessage.
     * 
     * @return text
     */
    public java.lang.String getText() {
        return text;
    }
 
 
    /**
     * Sets the text value for this AddWhatsAppMessage.
     * 
     * @param text
     */
    public void setText(java.lang.String text) {
        this.text = text;
    }
 
 
    /**
     * Gets the mediaID value for this AddWhatsAppMessage.
     * 
     * @return mediaID
     */
    public java.lang.String getMediaID() {
        return mediaID;
    }
 
 
    /**
     * Sets the mediaID value for this AddWhatsAppMessage.
     * 
     * @param mediaID
     */
    public void setMediaID(java.lang.String mediaID) {
        this.mediaID = mediaID;
    }
 
 
    /**
     * Gets the mimeType value for this AddWhatsAppMessage.
     * 
     * @return mimeType
     */
    public java.lang.String getMimeType() {
        return mimeType;
    }
 
 
    /**
     * Sets the mimeType value for this AddWhatsAppMessage.
     * 
     * @param mimeType
     */
    public void setMimeType(java.lang.String mimeType) {
        this.mimeType = mimeType;
    }
 
 
    /**
     * Gets the sha256 value for this AddWhatsAppMessage.
     * 
     * @return sha256
     */
    public java.lang.String getSha256() {
        return sha256;
    }
 
 
    /**
     * Sets the sha256 value for this AddWhatsAppMessage.
     * 
     * @param sha256
     */
    public void setSha256(java.lang.String sha256) {
        this.sha256 = sha256;
    }
 
 
    /**
     * Gets the filename value for this AddWhatsAppMessage.
     * 
     * @return filename
     */
    public java.lang.String getFilename() {
        return filename;
    }
 
 
    /**
     * Sets the filename value for this AddWhatsAppMessage.
     * 
     * @param filename
     */
    public void setFilename(java.lang.String filename) {
        this.filename = filename;
    }
 
 
    /**
     * Gets the campaignID value for this AddWhatsAppMessage.
     * 
     * @return campaignID
     */
    public int getCampaignID() {
        return campaignID;
    }
 
 
    /**
     * Sets the campaignID value for this AddWhatsAppMessage.
     * 
     * @param campaignID
     */
    public void setCampaignID(int campaignID) {
        this.campaignID = campaignID;
    }
 
 
    /**
     * Gets the subscriberID value for this AddWhatsAppMessage.
     * 
     * @return subscriberID
     */
    public int getSubscriberID() {
        return subscriberID;
    }
 
 
    /**
     * Sets the subscriberID value for this AddWhatsAppMessage.
     * 
     * @param subscriberID
     */
    public void setSubscriberID(int subscriberID) {
        this.subscriberID = subscriberID;
    }
 
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof AddWhatsAppMessage)) return false;
        AddWhatsAppMessage other = (AddWhatsAppMessage) obj;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.APIKey==null && other.getAPIKey()==null) || 
             (this.APIKey!=null &&
              this.APIKey.equals(other.getAPIKey()))) &&
            ((this.messageID==null && other.getMessageID()==null) || 
             (this.messageID!=null &&
              this.messageID.equals(other.getMessageID()))) &&
            ((this.hostID==null && other.getHostID()==null) || 
             (this.hostID!=null &&
              this.hostID.equals(other.getHostID()))) &&
            ((this.clientID==null && other.getClientID()==null) || 
             (this.clientID!=null &&
              this.clientID.equals(other.getClientID()))) &&
            this.toOrFrom == other.isToOrFrom() &&
            this.longTimestamp == other.getLongTimestamp() &&
            ((this.replyTo==null && other.getReplyTo()==null) || 
             (this.replyTo!=null &&
              this.replyTo.equals(other.getReplyTo()))) &&
            ((this.status==null && other.getStatus()==null) || 
             (this.status!=null &&
              this.status.equals(other.getStatus()))) &&
            ((this.text==null && other.getText()==null) || 
             (this.text!=null &&
              this.text.equals(other.getText()))) &&
            ((this.mediaID==null && other.getMediaID()==null) || 
             (this.mediaID!=null &&
              this.mediaID.equals(other.getMediaID()))) &&
            ((this.mimeType==null && other.getMimeType()==null) || 
             (this.mimeType!=null &&
              this.mimeType.equals(other.getMimeType()))) &&
            ((this.sha256==null && other.getSha256()==null) || 
             (this.sha256!=null &&
              this.sha256.equals(other.getSha256()))) &&
            ((this.filename==null && other.getFilename()==null) || 
             (this.filename!=null &&
              this.filename.equals(other.getFilename()))) &&
            this.campaignID == other.getCampaignID() &&
            this.subscriberID == other.getSubscriberID();
        __equalsCalc = null;
        return _equals;
    }
 
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getAPIKey() != null) {
            _hashCode += getAPIKey().hashCode();
        }
        if (getMessageID() != null) {
            _hashCode += getMessageID().hashCode();
        }
        if (getHostID() != null) {
            _hashCode += getHostID().hashCode();
        }
        if (getClientID() != null) {
            _hashCode += getClientID().hashCode();
        }
        _hashCode += (isToOrFrom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += new Long(getLongTimestamp()).hashCode();
        if (getReplyTo() != null) {
            _hashCode += getReplyTo().hashCode();
        }
        if (getStatus() != null) {
            _hashCode += getStatus().hashCode();
        }
        if (getText() != null) {
            _hashCode += getText().hashCode();
        }
        if (getMediaID() != null) {
            _hashCode += getMediaID().hashCode();
        }
        if (getMimeType() != null) {
            _hashCode += getMimeType().hashCode();
        }
        if (getSha256() != null) {
            _hashCode += getSha256().hashCode();
        }
        if (getFilename() != null) {
            _hashCode += getFilename().hashCode();
        }
        _hashCode += getCampaignID();
        _hashCode += getSubscriberID();
        __hashCodeCalc = false;
        return _hashCode;
    }
 
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(AddWhatsAppMessage.class, true);
 
    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", ">AddWhatsAppMessage"));
        org.apache.axis.description.ElementDesc 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("messageID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "MessageID"));
        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("hostID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "HostID"));
        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("clientID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ClientID"));
        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("toOrFrom");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ToOrFrom"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("longTimestamp");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "longTimestamp"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("replyTo");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ReplyTo"));
        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("text");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Text"));
        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("mediaID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "MediaID"));
        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("mimeType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "MimeType"));
        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("sha256");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Sha256"));
        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("filename");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Filename"));
        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("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("subscriberID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "SubscriberID"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        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);
    }
 
}