docusign_esign.models.bulk_send_batch_status

Docusign eSignature REST API

The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501

OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git

  1# coding: utf-8
  2
  3"""
  4    Docusign eSignature REST API
  5
  6    The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign.  # noqa: E501
  7
  8    OpenAPI spec version: v2.1
  9    Contact: devcenter@docusign.com
 10    Generated by: https://github.com/swagger-api/swagger-codegen.git
 11"""
 12
 13
 14import pprint
 15import re  # noqa: F401
 16
 17import six
 18
 19from docusign_esign.client.configuration import Configuration
 20
 21
 22class BulkSendBatchStatus(object):
 23    """NOTE: This class is auto generated by the swagger code generator program.
 24
 25    Do not edit the class manually.
 26    """
 27
 28    """
 29    Attributes:
 30      swagger_types (dict): The key is attribute name
 31                            and the value is attribute type.
 32      attribute_map (dict): The key is attribute name
 33                            and the value is json key in definition.
 34    """
 35    swagger_types = {
 36        'action': 'str',
 37        'action_status': 'str',
 38        'batch_id': 'str',
 39        'batch_name': 'str',
 40        'batch_size': 'str',
 41        'bulk_errors': 'list[BulkSendErrorStatus]',
 42        'envelope_id_or_template_id': 'str',
 43        'envelopes_info': 'BulkSendEnvelopesInfo',
 44        'envelopes_uri': 'str',
 45        'failed': 'str',
 46        'mailing_list_id': 'str',
 47        'mailing_list_name': 'str',
 48        'owner_user_id': 'str',
 49        'queued': 'str',
 50        'resends_remaining': 'str',
 51        'sender_user_id': 'str',
 52        'sent': 'str',
 53        'submitted_date': 'str'
 54    }
 55
 56    attribute_map = {
 57        'action': 'action',
 58        'action_status': 'actionStatus',
 59        'batch_id': 'batchId',
 60        'batch_name': 'batchName',
 61        'batch_size': 'batchSize',
 62        'bulk_errors': 'bulkErrors',
 63        'envelope_id_or_template_id': 'envelopeIdOrTemplateId',
 64        'envelopes_info': 'envelopesInfo',
 65        'envelopes_uri': 'envelopesUri',
 66        'failed': 'failed',
 67        'mailing_list_id': 'mailingListId',
 68        'mailing_list_name': 'mailingListName',
 69        'owner_user_id': 'ownerUserId',
 70        'queued': 'queued',
 71        'resends_remaining': 'resendsRemaining',
 72        'sender_user_id': 'senderUserId',
 73        'sent': 'sent',
 74        'submitted_date': 'submittedDate'
 75    }
 76
 77    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 78        """BulkSendBatchStatus - a model defined in Swagger"""  # noqa: E501
 79        if _configuration is None:
 80            _configuration = Configuration()
 81        self._configuration = _configuration
 82
 83        self._action = None
 84        self._action_status = None
 85        self._batch_id = None
 86        self._batch_name = None
 87        self._batch_size = None
 88        self._bulk_errors = None
 89        self._envelope_id_or_template_id = None
 90        self._envelopes_info = None
 91        self._envelopes_uri = None
 92        self._failed = None
 93        self._mailing_list_id = None
 94        self._mailing_list_name = None
 95        self._owner_user_id = None
 96        self._queued = None
 97        self._resends_remaining = None
 98        self._sender_user_id = None
 99        self._sent = None
100        self._submitted_date = None
101        self.discriminator = None
102
103        setattr(self, "_{}".format('action'), kwargs.get('action', None))
104        setattr(self, "_{}".format('action_status'), kwargs.get('action_status', None))
105        setattr(self, "_{}".format('batch_id'), kwargs.get('batch_id', None))
106        setattr(self, "_{}".format('batch_name'), kwargs.get('batch_name', None))
107        setattr(self, "_{}".format('batch_size'), kwargs.get('batch_size', None))
108        setattr(self, "_{}".format('bulk_errors'), kwargs.get('bulk_errors', None))
109        setattr(self, "_{}".format('envelope_id_or_template_id'), kwargs.get('envelope_id_or_template_id', None))
110        setattr(self, "_{}".format('envelopes_info'), kwargs.get('envelopes_info', None))
111        setattr(self, "_{}".format('envelopes_uri'), kwargs.get('envelopes_uri', None))
112        setattr(self, "_{}".format('failed'), kwargs.get('failed', None))
113        setattr(self, "_{}".format('mailing_list_id'), kwargs.get('mailing_list_id', None))
114        setattr(self, "_{}".format('mailing_list_name'), kwargs.get('mailing_list_name', None))
115        setattr(self, "_{}".format('owner_user_id'), kwargs.get('owner_user_id', None))
116        setattr(self, "_{}".format('queued'), kwargs.get('queued', None))
117        setattr(self, "_{}".format('resends_remaining'), kwargs.get('resends_remaining', None))
118        setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None))
119        setattr(self, "_{}".format('sent'), kwargs.get('sent', None))
120        setattr(self, "_{}".format('submitted_date'), kwargs.get('submitted_date', None))
121
122    @property
123    def action(self):
124        """Gets the action of this BulkSendBatchStatus.  # noqa: E501
125
126          # noqa: E501
127
128        :return: The action of this BulkSendBatchStatus.  # noqa: E501
129        :rtype: str
130        """
131        return self._action
132
133    @action.setter
134    def action(self, action):
135        """Sets the action of this BulkSendBatchStatus.
136
137          # noqa: E501
138
139        :param action: The action of this BulkSendBatchStatus.  # noqa: E501
140        :type: str
141        """
142
143        self._action = action
144
145    @property
146    def action_status(self):
147        """Gets the action_status of this BulkSendBatchStatus.  # noqa: E501
148
149          # noqa: E501
150
151        :return: The action_status of this BulkSendBatchStatus.  # noqa: E501
152        :rtype: str
153        """
154        return self._action_status
155
156    @action_status.setter
157    def action_status(self, action_status):
158        """Sets the action_status of this BulkSendBatchStatus.
159
160          # noqa: E501
161
162        :param action_status: The action_status of this BulkSendBatchStatus.  # noqa: E501
163        :type: str
164        """
165
166        self._action_status = action_status
167
168    @property
169    def batch_id(self):
170        """Gets the batch_id of this BulkSendBatchStatus.  # noqa: E501
171
172          # noqa: E501
173
174        :return: The batch_id of this BulkSendBatchStatus.  # noqa: E501
175        :rtype: str
176        """
177        return self._batch_id
178
179    @batch_id.setter
180    def batch_id(self, batch_id):
181        """Sets the batch_id of this BulkSendBatchStatus.
182
183          # noqa: E501
184
185        :param batch_id: The batch_id of this BulkSendBatchStatus.  # noqa: E501
186        :type: str
187        """
188
189        self._batch_id = batch_id
190
191    @property
192    def batch_name(self):
193        """Gets the batch_name of this BulkSendBatchStatus.  # noqa: E501
194
195          # noqa: E501
196
197        :return: The batch_name of this BulkSendBatchStatus.  # noqa: E501
198        :rtype: str
199        """
200        return self._batch_name
201
202    @batch_name.setter
203    def batch_name(self, batch_name):
204        """Sets the batch_name of this BulkSendBatchStatus.
205
206          # noqa: E501
207
208        :param batch_name: The batch_name of this BulkSendBatchStatus.  # noqa: E501
209        :type: str
210        """
211
212        self._batch_name = batch_name
213
214    @property
215    def batch_size(self):
216        """Gets the batch_size of this BulkSendBatchStatus.  # noqa: E501
217
218          # noqa: E501
219
220        :return: The batch_size of this BulkSendBatchStatus.  # noqa: E501
221        :rtype: str
222        """
223        return self._batch_size
224
225    @batch_size.setter
226    def batch_size(self, batch_size):
227        """Sets the batch_size of this BulkSendBatchStatus.
228
229          # noqa: E501
230
231        :param batch_size: The batch_size of this BulkSendBatchStatus.  # noqa: E501
232        :type: str
233        """
234
235        self._batch_size = batch_size
236
237    @property
238    def bulk_errors(self):
239        """Gets the bulk_errors of this BulkSendBatchStatus.  # noqa: E501
240
241          # noqa: E501
242
243        :return: The bulk_errors of this BulkSendBatchStatus.  # noqa: E501
244        :rtype: list[BulkSendErrorStatus]
245        """
246        return self._bulk_errors
247
248    @bulk_errors.setter
249    def bulk_errors(self, bulk_errors):
250        """Sets the bulk_errors of this BulkSendBatchStatus.
251
252          # noqa: E501
253
254        :param bulk_errors: The bulk_errors of this BulkSendBatchStatus.  # noqa: E501
255        :type: list[BulkSendErrorStatus]
256        """
257
258        self._bulk_errors = bulk_errors
259
260    @property
261    def envelope_id_or_template_id(self):
262        """Gets the envelope_id_or_template_id of this BulkSendBatchStatus.  # noqa: E501
263
264          # noqa: E501
265
266        :return: The envelope_id_or_template_id of this BulkSendBatchStatus.  # noqa: E501
267        :rtype: str
268        """
269        return self._envelope_id_or_template_id
270
271    @envelope_id_or_template_id.setter
272    def envelope_id_or_template_id(self, envelope_id_or_template_id):
273        """Sets the envelope_id_or_template_id of this BulkSendBatchStatus.
274
275          # noqa: E501
276
277        :param envelope_id_or_template_id: The envelope_id_or_template_id of this BulkSendBatchStatus.  # noqa: E501
278        :type: str
279        """
280
281        self._envelope_id_or_template_id = envelope_id_or_template_id
282
283    @property
284    def envelopes_info(self):
285        """Gets the envelopes_info of this BulkSendBatchStatus.  # noqa: E501
286
287          # noqa: E501
288
289        :return: The envelopes_info of this BulkSendBatchStatus.  # noqa: E501
290        :rtype: BulkSendEnvelopesInfo
291        """
292        return self._envelopes_info
293
294    @envelopes_info.setter
295    def envelopes_info(self, envelopes_info):
296        """Sets the envelopes_info of this BulkSendBatchStatus.
297
298          # noqa: E501
299
300        :param envelopes_info: The envelopes_info of this BulkSendBatchStatus.  # noqa: E501
301        :type: BulkSendEnvelopesInfo
302        """
303
304        self._envelopes_info = envelopes_info
305
306    @property
307    def envelopes_uri(self):
308        """Gets the envelopes_uri of this BulkSendBatchStatus.  # noqa: E501
309
310          # noqa: E501
311
312        :return: The envelopes_uri of this BulkSendBatchStatus.  # noqa: E501
313        :rtype: str
314        """
315        return self._envelopes_uri
316
317    @envelopes_uri.setter
318    def envelopes_uri(self, envelopes_uri):
319        """Sets the envelopes_uri of this BulkSendBatchStatus.
320
321          # noqa: E501
322
323        :param envelopes_uri: The envelopes_uri of this BulkSendBatchStatus.  # noqa: E501
324        :type: str
325        """
326
327        self._envelopes_uri = envelopes_uri
328
329    @property
330    def failed(self):
331        """Gets the failed of this BulkSendBatchStatus.  # noqa: E501
332
333          # noqa: E501
334
335        :return: The failed of this BulkSendBatchStatus.  # noqa: E501
336        :rtype: str
337        """
338        return self._failed
339
340    @failed.setter
341    def failed(self, failed):
342        """Sets the failed of this BulkSendBatchStatus.
343
344          # noqa: E501
345
346        :param failed: The failed of this BulkSendBatchStatus.  # noqa: E501
347        :type: str
348        """
349
350        self._failed = failed
351
352    @property
353    def mailing_list_id(self):
354        """Gets the mailing_list_id of this BulkSendBatchStatus.  # noqa: E501
355
356          # noqa: E501
357
358        :return: The mailing_list_id of this BulkSendBatchStatus.  # noqa: E501
359        :rtype: str
360        """
361        return self._mailing_list_id
362
363    @mailing_list_id.setter
364    def mailing_list_id(self, mailing_list_id):
365        """Sets the mailing_list_id of this BulkSendBatchStatus.
366
367          # noqa: E501
368
369        :param mailing_list_id: The mailing_list_id of this BulkSendBatchStatus.  # noqa: E501
370        :type: str
371        """
372
373        self._mailing_list_id = mailing_list_id
374
375    @property
376    def mailing_list_name(self):
377        """Gets the mailing_list_name of this BulkSendBatchStatus.  # noqa: E501
378
379          # noqa: E501
380
381        :return: The mailing_list_name of this BulkSendBatchStatus.  # noqa: E501
382        :rtype: str
383        """
384        return self._mailing_list_name
385
386    @mailing_list_name.setter
387    def mailing_list_name(self, mailing_list_name):
388        """Sets the mailing_list_name of this BulkSendBatchStatus.
389
390          # noqa: E501
391
392        :param mailing_list_name: The mailing_list_name of this BulkSendBatchStatus.  # noqa: E501
393        :type: str
394        """
395
396        self._mailing_list_name = mailing_list_name
397
398    @property
399    def owner_user_id(self):
400        """Gets the owner_user_id of this BulkSendBatchStatus.  # noqa: E501
401
402          # noqa: E501
403
404        :return: The owner_user_id of this BulkSendBatchStatus.  # noqa: E501
405        :rtype: str
406        """
407        return self._owner_user_id
408
409    @owner_user_id.setter
410    def owner_user_id(self, owner_user_id):
411        """Sets the owner_user_id of this BulkSendBatchStatus.
412
413          # noqa: E501
414
415        :param owner_user_id: The owner_user_id of this BulkSendBatchStatus.  # noqa: E501
416        :type: str
417        """
418
419        self._owner_user_id = owner_user_id
420
421    @property
422    def queued(self):
423        """Gets the queued of this BulkSendBatchStatus.  # noqa: E501
424
425          # noqa: E501
426
427        :return: The queued of this BulkSendBatchStatus.  # noqa: E501
428        :rtype: str
429        """
430        return self._queued
431
432    @queued.setter
433    def queued(self, queued):
434        """Sets the queued of this BulkSendBatchStatus.
435
436          # noqa: E501
437
438        :param queued: The queued of this BulkSendBatchStatus.  # noqa: E501
439        :type: str
440        """
441
442        self._queued = queued
443
444    @property
445    def resends_remaining(self):
446        """Gets the resends_remaining of this BulkSendBatchStatus.  # noqa: E501
447
448          # noqa: E501
449
450        :return: The resends_remaining of this BulkSendBatchStatus.  # noqa: E501
451        :rtype: str
452        """
453        return self._resends_remaining
454
455    @resends_remaining.setter
456    def resends_remaining(self, resends_remaining):
457        """Sets the resends_remaining of this BulkSendBatchStatus.
458
459          # noqa: E501
460
461        :param resends_remaining: The resends_remaining of this BulkSendBatchStatus.  # noqa: E501
462        :type: str
463        """
464
465        self._resends_remaining = resends_remaining
466
467    @property
468    def sender_user_id(self):
469        """Gets the sender_user_id of this BulkSendBatchStatus.  # noqa: E501
470
471          # noqa: E501
472
473        :return: The sender_user_id of this BulkSendBatchStatus.  # noqa: E501
474        :rtype: str
475        """
476        return self._sender_user_id
477
478    @sender_user_id.setter
479    def sender_user_id(self, sender_user_id):
480        """Sets the sender_user_id of this BulkSendBatchStatus.
481
482          # noqa: E501
483
484        :param sender_user_id: The sender_user_id of this BulkSendBatchStatus.  # noqa: E501
485        :type: str
486        """
487
488        self._sender_user_id = sender_user_id
489
490    @property
491    def sent(self):
492        """Gets the sent of this BulkSendBatchStatus.  # noqa: E501
493
494          # noqa: E501
495
496        :return: The sent of this BulkSendBatchStatus.  # noqa: E501
497        :rtype: str
498        """
499        return self._sent
500
501    @sent.setter
502    def sent(self, sent):
503        """Sets the sent of this BulkSendBatchStatus.
504
505          # noqa: E501
506
507        :param sent: The sent of this BulkSendBatchStatus.  # noqa: E501
508        :type: str
509        """
510
511        self._sent = sent
512
513    @property
514    def submitted_date(self):
515        """Gets the submitted_date of this BulkSendBatchStatus.  # noqa: E501
516
517          # noqa: E501
518
519        :return: The submitted_date of this BulkSendBatchStatus.  # noqa: E501
520        :rtype: str
521        """
522        return self._submitted_date
523
524    @submitted_date.setter
525    def submitted_date(self, submitted_date):
526        """Sets the submitted_date of this BulkSendBatchStatus.
527
528          # noqa: E501
529
530        :param submitted_date: The submitted_date of this BulkSendBatchStatus.  # noqa: E501
531        :type: str
532        """
533
534        self._submitted_date = submitted_date
535
536    def to_dict(self):
537        """Returns the model properties as a dict"""
538        result = {}
539
540        for attr, _ in six.iteritems(self.swagger_types):
541            value = getattr(self, attr)
542            if isinstance(value, list):
543                result[attr] = list(map(
544                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
545                    value
546                ))
547            elif hasattr(value, "to_dict"):
548                result[attr] = value.to_dict()
549            elif isinstance(value, dict):
550                result[attr] = dict(map(
551                    lambda item: (item[0], item[1].to_dict())
552                    if hasattr(item[1], "to_dict") else item,
553                    value.items()
554                ))
555            else:
556                result[attr] = value
557        if issubclass(BulkSendBatchStatus, dict):
558            for key, value in self.items():
559                result[key] = value
560
561        return result
562
563    def to_str(self):
564        """Returns the string representation of the model"""
565        return pprint.pformat(self.to_dict())
566
567    def __repr__(self):
568        """For `print` and `pprint`"""
569        return self.to_str()
570
571    def __eq__(self, other):
572        """Returns true if both objects are equal"""
573        if not isinstance(other, BulkSendBatchStatus):
574            return False
575
576        return self.to_dict() == other.to_dict()
577
578    def __ne__(self, other):
579        """Returns true if both objects are not equal"""
580        if not isinstance(other, BulkSendBatchStatus):
581            return True
582
583        return self.to_dict() != other.to_dict()
class BulkSendBatchStatus:
 23class BulkSendBatchStatus(object):
 24    """NOTE: This class is auto generated by the swagger code generator program.
 25
 26    Do not edit the class manually.
 27    """
 28
 29    """
 30    Attributes:
 31      swagger_types (dict): The key is attribute name
 32                            and the value is attribute type.
 33      attribute_map (dict): The key is attribute name
 34                            and the value is json key in definition.
 35    """
 36    swagger_types = {
 37        'action': 'str',
 38        'action_status': 'str',
 39        'batch_id': 'str',
 40        'batch_name': 'str',
 41        'batch_size': 'str',
 42        'bulk_errors': 'list[BulkSendErrorStatus]',
 43        'envelope_id_or_template_id': 'str',
 44        'envelopes_info': 'BulkSendEnvelopesInfo',
 45        'envelopes_uri': 'str',
 46        'failed': 'str',
 47        'mailing_list_id': 'str',
 48        'mailing_list_name': 'str',
 49        'owner_user_id': 'str',
 50        'queued': 'str',
 51        'resends_remaining': 'str',
 52        'sender_user_id': 'str',
 53        'sent': 'str',
 54        'submitted_date': 'str'
 55    }
 56
 57    attribute_map = {
 58        'action': 'action',
 59        'action_status': 'actionStatus',
 60        'batch_id': 'batchId',
 61        'batch_name': 'batchName',
 62        'batch_size': 'batchSize',
 63        'bulk_errors': 'bulkErrors',
 64        'envelope_id_or_template_id': 'envelopeIdOrTemplateId',
 65        'envelopes_info': 'envelopesInfo',
 66        'envelopes_uri': 'envelopesUri',
 67        'failed': 'failed',
 68        'mailing_list_id': 'mailingListId',
 69        'mailing_list_name': 'mailingListName',
 70        'owner_user_id': 'ownerUserId',
 71        'queued': 'queued',
 72        'resends_remaining': 'resendsRemaining',
 73        'sender_user_id': 'senderUserId',
 74        'sent': 'sent',
 75        'submitted_date': 'submittedDate'
 76    }
 77
 78    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 79        """BulkSendBatchStatus - a model defined in Swagger"""  # noqa: E501
 80        if _configuration is None:
 81            _configuration = Configuration()
 82        self._configuration = _configuration
 83
 84        self._action = None
 85        self._action_status = None
 86        self._batch_id = None
 87        self._batch_name = None
 88        self._batch_size = None
 89        self._bulk_errors = None
 90        self._envelope_id_or_template_id = None
 91        self._envelopes_info = None
 92        self._envelopes_uri = None
 93        self._failed = None
 94        self._mailing_list_id = None
 95        self._mailing_list_name = None
 96        self._owner_user_id = None
 97        self._queued = None
 98        self._resends_remaining = None
 99        self._sender_user_id = None
100        self._sent = None
101        self._submitted_date = None
102        self.discriminator = None
103
104        setattr(self, "_{}".format('action'), kwargs.get('action', None))
105        setattr(self, "_{}".format('action_status'), kwargs.get('action_status', None))
106        setattr(self, "_{}".format('batch_id'), kwargs.get('batch_id', None))
107        setattr(self, "_{}".format('batch_name'), kwargs.get('batch_name', None))
108        setattr(self, "_{}".format('batch_size'), kwargs.get('batch_size', None))
109        setattr(self, "_{}".format('bulk_errors'), kwargs.get('bulk_errors', None))
110        setattr(self, "_{}".format('envelope_id_or_template_id'), kwargs.get('envelope_id_or_template_id', None))
111        setattr(self, "_{}".format('envelopes_info'), kwargs.get('envelopes_info', None))
112        setattr(self, "_{}".format('envelopes_uri'), kwargs.get('envelopes_uri', None))
113        setattr(self, "_{}".format('failed'), kwargs.get('failed', None))
114        setattr(self, "_{}".format('mailing_list_id'), kwargs.get('mailing_list_id', None))
115        setattr(self, "_{}".format('mailing_list_name'), kwargs.get('mailing_list_name', None))
116        setattr(self, "_{}".format('owner_user_id'), kwargs.get('owner_user_id', None))
117        setattr(self, "_{}".format('queued'), kwargs.get('queued', None))
118        setattr(self, "_{}".format('resends_remaining'), kwargs.get('resends_remaining', None))
119        setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None))
120        setattr(self, "_{}".format('sent'), kwargs.get('sent', None))
121        setattr(self, "_{}".format('submitted_date'), kwargs.get('submitted_date', None))
122
123    @property
124    def action(self):
125        """Gets the action of this BulkSendBatchStatus.  # noqa: E501
126
127          # noqa: E501
128
129        :return: The action of this BulkSendBatchStatus.  # noqa: E501
130        :rtype: str
131        """
132        return self._action
133
134    @action.setter
135    def action(self, action):
136        """Sets the action of this BulkSendBatchStatus.
137
138          # noqa: E501
139
140        :param action: The action of this BulkSendBatchStatus.  # noqa: E501
141        :type: str
142        """
143
144        self._action = action
145
146    @property
147    def action_status(self):
148        """Gets the action_status of this BulkSendBatchStatus.  # noqa: E501
149
150          # noqa: E501
151
152        :return: The action_status of this BulkSendBatchStatus.  # noqa: E501
153        :rtype: str
154        """
155        return self._action_status
156
157    @action_status.setter
158    def action_status(self, action_status):
159        """Sets the action_status of this BulkSendBatchStatus.
160
161          # noqa: E501
162
163        :param action_status: The action_status of this BulkSendBatchStatus.  # noqa: E501
164        :type: str
165        """
166
167        self._action_status = action_status
168
169    @property
170    def batch_id(self):
171        """Gets the batch_id of this BulkSendBatchStatus.  # noqa: E501
172
173          # noqa: E501
174
175        :return: The batch_id of this BulkSendBatchStatus.  # noqa: E501
176        :rtype: str
177        """
178        return self._batch_id
179
180    @batch_id.setter
181    def batch_id(self, batch_id):
182        """Sets the batch_id of this BulkSendBatchStatus.
183
184          # noqa: E501
185
186        :param batch_id: The batch_id of this BulkSendBatchStatus.  # noqa: E501
187        :type: str
188        """
189
190        self._batch_id = batch_id
191
192    @property
193    def batch_name(self):
194        """Gets the batch_name of this BulkSendBatchStatus.  # noqa: E501
195
196          # noqa: E501
197
198        :return: The batch_name of this BulkSendBatchStatus.  # noqa: E501
199        :rtype: str
200        """
201        return self._batch_name
202
203    @batch_name.setter
204    def batch_name(self, batch_name):
205        """Sets the batch_name of this BulkSendBatchStatus.
206
207          # noqa: E501
208
209        :param batch_name: The batch_name of this BulkSendBatchStatus.  # noqa: E501
210        :type: str
211        """
212
213        self._batch_name = batch_name
214
215    @property
216    def batch_size(self):
217        """Gets the batch_size of this BulkSendBatchStatus.  # noqa: E501
218
219          # noqa: E501
220
221        :return: The batch_size of this BulkSendBatchStatus.  # noqa: E501
222        :rtype: str
223        """
224        return self._batch_size
225
226    @batch_size.setter
227    def batch_size(self, batch_size):
228        """Sets the batch_size of this BulkSendBatchStatus.
229
230          # noqa: E501
231
232        :param batch_size: The batch_size of this BulkSendBatchStatus.  # noqa: E501
233        :type: str
234        """
235
236        self._batch_size = batch_size
237
238    @property
239    def bulk_errors(self):
240        """Gets the bulk_errors of this BulkSendBatchStatus.  # noqa: E501
241
242          # noqa: E501
243
244        :return: The bulk_errors of this BulkSendBatchStatus.  # noqa: E501
245        :rtype: list[BulkSendErrorStatus]
246        """
247        return self._bulk_errors
248
249    @bulk_errors.setter
250    def bulk_errors(self, bulk_errors):
251        """Sets the bulk_errors of this BulkSendBatchStatus.
252
253          # noqa: E501
254
255        :param bulk_errors: The bulk_errors of this BulkSendBatchStatus.  # noqa: E501
256        :type: list[BulkSendErrorStatus]
257        """
258
259        self._bulk_errors = bulk_errors
260
261    @property
262    def envelope_id_or_template_id(self):
263        """Gets the envelope_id_or_template_id of this BulkSendBatchStatus.  # noqa: E501
264
265          # noqa: E501
266
267        :return: The envelope_id_or_template_id of this BulkSendBatchStatus.  # noqa: E501
268        :rtype: str
269        """
270        return self._envelope_id_or_template_id
271
272    @envelope_id_or_template_id.setter
273    def envelope_id_or_template_id(self, envelope_id_or_template_id):
274        """Sets the envelope_id_or_template_id of this BulkSendBatchStatus.
275
276          # noqa: E501
277
278        :param envelope_id_or_template_id: The envelope_id_or_template_id of this BulkSendBatchStatus.  # noqa: E501
279        :type: str
280        """
281
282        self._envelope_id_or_template_id = envelope_id_or_template_id
283
284    @property
285    def envelopes_info(self):
286        """Gets the envelopes_info of this BulkSendBatchStatus.  # noqa: E501
287
288          # noqa: E501
289
290        :return: The envelopes_info of this BulkSendBatchStatus.  # noqa: E501
291        :rtype: BulkSendEnvelopesInfo
292        """
293        return self._envelopes_info
294
295    @envelopes_info.setter
296    def envelopes_info(self, envelopes_info):
297        """Sets the envelopes_info of this BulkSendBatchStatus.
298
299          # noqa: E501
300
301        :param envelopes_info: The envelopes_info of this BulkSendBatchStatus.  # noqa: E501
302        :type: BulkSendEnvelopesInfo
303        """
304
305        self._envelopes_info = envelopes_info
306
307    @property
308    def envelopes_uri(self):
309        """Gets the envelopes_uri of this BulkSendBatchStatus.  # noqa: E501
310
311          # noqa: E501
312
313        :return: The envelopes_uri of this BulkSendBatchStatus.  # noqa: E501
314        :rtype: str
315        """
316        return self._envelopes_uri
317
318    @envelopes_uri.setter
319    def envelopes_uri(self, envelopes_uri):
320        """Sets the envelopes_uri of this BulkSendBatchStatus.
321
322          # noqa: E501
323
324        :param envelopes_uri: The envelopes_uri of this BulkSendBatchStatus.  # noqa: E501
325        :type: str
326        """
327
328        self._envelopes_uri = envelopes_uri
329
330    @property
331    def failed(self):
332        """Gets the failed of this BulkSendBatchStatus.  # noqa: E501
333
334          # noqa: E501
335
336        :return: The failed of this BulkSendBatchStatus.  # noqa: E501
337        :rtype: str
338        """
339        return self._failed
340
341    @failed.setter
342    def failed(self, failed):
343        """Sets the failed of this BulkSendBatchStatus.
344
345          # noqa: E501
346
347        :param failed: The failed of this BulkSendBatchStatus.  # noqa: E501
348        :type: str
349        """
350
351        self._failed = failed
352
353    @property
354    def mailing_list_id(self):
355        """Gets the mailing_list_id of this BulkSendBatchStatus.  # noqa: E501
356
357          # noqa: E501
358
359        :return: The mailing_list_id of this BulkSendBatchStatus.  # noqa: E501
360        :rtype: str
361        """
362        return self._mailing_list_id
363
364    @mailing_list_id.setter
365    def mailing_list_id(self, mailing_list_id):
366        """Sets the mailing_list_id of this BulkSendBatchStatus.
367
368          # noqa: E501
369
370        :param mailing_list_id: The mailing_list_id of this BulkSendBatchStatus.  # noqa: E501
371        :type: str
372        """
373
374        self._mailing_list_id = mailing_list_id
375
376    @property
377    def mailing_list_name(self):
378        """Gets the mailing_list_name of this BulkSendBatchStatus.  # noqa: E501
379
380          # noqa: E501
381
382        :return: The mailing_list_name of this BulkSendBatchStatus.  # noqa: E501
383        :rtype: str
384        """
385        return self._mailing_list_name
386
387    @mailing_list_name.setter
388    def mailing_list_name(self, mailing_list_name):
389        """Sets the mailing_list_name of this BulkSendBatchStatus.
390
391          # noqa: E501
392
393        :param mailing_list_name: The mailing_list_name of this BulkSendBatchStatus.  # noqa: E501
394        :type: str
395        """
396
397        self._mailing_list_name = mailing_list_name
398
399    @property
400    def owner_user_id(self):
401        """Gets the owner_user_id of this BulkSendBatchStatus.  # noqa: E501
402
403          # noqa: E501
404
405        :return: The owner_user_id of this BulkSendBatchStatus.  # noqa: E501
406        :rtype: str
407        """
408        return self._owner_user_id
409
410    @owner_user_id.setter
411    def owner_user_id(self, owner_user_id):
412        """Sets the owner_user_id of this BulkSendBatchStatus.
413
414          # noqa: E501
415
416        :param owner_user_id: The owner_user_id of this BulkSendBatchStatus.  # noqa: E501
417        :type: str
418        """
419
420        self._owner_user_id = owner_user_id
421
422    @property
423    def queued(self):
424        """Gets the queued of this BulkSendBatchStatus.  # noqa: E501
425
426          # noqa: E501
427
428        :return: The queued of this BulkSendBatchStatus.  # noqa: E501
429        :rtype: str
430        """
431        return self._queued
432
433    @queued.setter
434    def queued(self, queued):
435        """Sets the queued of this BulkSendBatchStatus.
436
437          # noqa: E501
438
439        :param queued: The queued of this BulkSendBatchStatus.  # noqa: E501
440        :type: str
441        """
442
443        self._queued = queued
444
445    @property
446    def resends_remaining(self):
447        """Gets the resends_remaining of this BulkSendBatchStatus.  # noqa: E501
448
449          # noqa: E501
450
451        :return: The resends_remaining of this BulkSendBatchStatus.  # noqa: E501
452        :rtype: str
453        """
454        return self._resends_remaining
455
456    @resends_remaining.setter
457    def resends_remaining(self, resends_remaining):
458        """Sets the resends_remaining of this BulkSendBatchStatus.
459
460          # noqa: E501
461
462        :param resends_remaining: The resends_remaining of this BulkSendBatchStatus.  # noqa: E501
463        :type: str
464        """
465
466        self._resends_remaining = resends_remaining
467
468    @property
469    def sender_user_id(self):
470        """Gets the sender_user_id of this BulkSendBatchStatus.  # noqa: E501
471
472          # noqa: E501
473
474        :return: The sender_user_id of this BulkSendBatchStatus.  # noqa: E501
475        :rtype: str
476        """
477        return self._sender_user_id
478
479    @sender_user_id.setter
480    def sender_user_id(self, sender_user_id):
481        """Sets the sender_user_id of this BulkSendBatchStatus.
482
483          # noqa: E501
484
485        :param sender_user_id: The sender_user_id of this BulkSendBatchStatus.  # noqa: E501
486        :type: str
487        """
488
489        self._sender_user_id = sender_user_id
490
491    @property
492    def sent(self):
493        """Gets the sent of this BulkSendBatchStatus.  # noqa: E501
494
495          # noqa: E501
496
497        :return: The sent of this BulkSendBatchStatus.  # noqa: E501
498        :rtype: str
499        """
500        return self._sent
501
502    @sent.setter
503    def sent(self, sent):
504        """Sets the sent of this BulkSendBatchStatus.
505
506          # noqa: E501
507
508        :param sent: The sent of this BulkSendBatchStatus.  # noqa: E501
509        :type: str
510        """
511
512        self._sent = sent
513
514    @property
515    def submitted_date(self):
516        """Gets the submitted_date of this BulkSendBatchStatus.  # noqa: E501
517
518          # noqa: E501
519
520        :return: The submitted_date of this BulkSendBatchStatus.  # noqa: E501
521        :rtype: str
522        """
523        return self._submitted_date
524
525    @submitted_date.setter
526    def submitted_date(self, submitted_date):
527        """Sets the submitted_date of this BulkSendBatchStatus.
528
529          # noqa: E501
530
531        :param submitted_date: The submitted_date of this BulkSendBatchStatus.  # noqa: E501
532        :type: str
533        """
534
535        self._submitted_date = submitted_date
536
537    def to_dict(self):
538        """Returns the model properties as a dict"""
539        result = {}
540
541        for attr, _ in six.iteritems(self.swagger_types):
542            value = getattr(self, attr)
543            if isinstance(value, list):
544                result[attr] = list(map(
545                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
546                    value
547                ))
548            elif hasattr(value, "to_dict"):
549                result[attr] = value.to_dict()
550            elif isinstance(value, dict):
551                result[attr] = dict(map(
552                    lambda item: (item[0], item[1].to_dict())
553                    if hasattr(item[1], "to_dict") else item,
554                    value.items()
555                ))
556            else:
557                result[attr] = value
558        if issubclass(BulkSendBatchStatus, dict):
559            for key, value in self.items():
560                result[key] = value
561
562        return result
563
564    def to_str(self):
565        """Returns the string representation of the model"""
566        return pprint.pformat(self.to_dict())
567
568    def __repr__(self):
569        """For `print` and `pprint`"""
570        return self.to_str()
571
572    def __eq__(self, other):
573        """Returns true if both objects are equal"""
574        if not isinstance(other, BulkSendBatchStatus):
575            return False
576
577        return self.to_dict() == other.to_dict()
578
579    def __ne__(self, other):
580        """Returns true if both objects are not equal"""
581        if not isinstance(other, BulkSendBatchStatus):
582            return True
583
584        return self.to_dict() != other.to_dict()

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

BulkSendBatchStatus(_configuration=None, **kwargs)
 78    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 79        """BulkSendBatchStatus - a model defined in Swagger"""  # noqa: E501
 80        if _configuration is None:
 81            _configuration = Configuration()
 82        self._configuration = _configuration
 83
 84        self._action = None
 85        self._action_status = None
 86        self._batch_id = None
 87        self._batch_name = None
 88        self._batch_size = None
 89        self._bulk_errors = None
 90        self._envelope_id_or_template_id = None
 91        self._envelopes_info = None
 92        self._envelopes_uri = None
 93        self._failed = None
 94        self._mailing_list_id = None
 95        self._mailing_list_name = None
 96        self._owner_user_id = None
 97        self._queued = None
 98        self._resends_remaining = None
 99        self._sender_user_id = None
100        self._sent = None
101        self._submitted_date = None
102        self.discriminator = None
103
104        setattr(self, "_{}".format('action'), kwargs.get('action', None))
105        setattr(self, "_{}".format('action_status'), kwargs.get('action_status', None))
106        setattr(self, "_{}".format('batch_id'), kwargs.get('batch_id', None))
107        setattr(self, "_{}".format('batch_name'), kwargs.get('batch_name', None))
108        setattr(self, "_{}".format('batch_size'), kwargs.get('batch_size', None))
109        setattr(self, "_{}".format('bulk_errors'), kwargs.get('bulk_errors', None))
110        setattr(self, "_{}".format('envelope_id_or_template_id'), kwargs.get('envelope_id_or_template_id', None))
111        setattr(self, "_{}".format('envelopes_info'), kwargs.get('envelopes_info', None))
112        setattr(self, "_{}".format('envelopes_uri'), kwargs.get('envelopes_uri', None))
113        setattr(self, "_{}".format('failed'), kwargs.get('failed', None))
114        setattr(self, "_{}".format('mailing_list_id'), kwargs.get('mailing_list_id', None))
115        setattr(self, "_{}".format('mailing_list_name'), kwargs.get('mailing_list_name', None))
116        setattr(self, "_{}".format('owner_user_id'), kwargs.get('owner_user_id', None))
117        setattr(self, "_{}".format('queued'), kwargs.get('queued', None))
118        setattr(self, "_{}".format('resends_remaining'), kwargs.get('resends_remaining', None))
119        setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None))
120        setattr(self, "_{}".format('sent'), kwargs.get('sent', None))
121        setattr(self, "_{}".format('submitted_date'), kwargs.get('submitted_date', None))

BulkSendBatchStatus - a model defined in Swagger

swagger_types = {'action': 'str', 'action_status': 'str', 'batch_id': 'str', 'batch_name': 'str', 'batch_size': 'str', 'bulk_errors': 'list[BulkSendErrorStatus]', 'envelope_id_or_template_id': 'str', 'envelopes_info': 'BulkSendEnvelopesInfo', 'envelopes_uri': 'str', 'failed': 'str', 'mailing_list_id': 'str', 'mailing_list_name': 'str', 'owner_user_id': 'str', 'queued': 'str', 'resends_remaining': 'str', 'sender_user_id': 'str', 'sent': 'str', 'submitted_date': 'str'}
attribute_map = {'action': 'action', 'action_status': 'actionStatus', 'batch_id': 'batchId', 'batch_name': 'batchName', 'batch_size': 'batchSize', 'bulk_errors': 'bulkErrors', 'envelope_id_or_template_id': 'envelopeIdOrTemplateId', 'envelopes_info': 'envelopesInfo', 'envelopes_uri': 'envelopesUri', 'failed': 'failed', 'mailing_list_id': 'mailingListId', 'mailing_list_name': 'mailingListName', 'owner_user_id': 'ownerUserId', 'queued': 'queued', 'resends_remaining': 'resendsRemaining', 'sender_user_id': 'senderUserId', 'sent': 'sent', 'submitted_date': 'submittedDate'}
action

Gets the action of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The action of this BulkSendBatchStatus. # noqa: E501

action_status

Gets the action_status of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The action_status of this BulkSendBatchStatus. # noqa: E501

batch_id

Gets the batch_id of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The batch_id of this BulkSendBatchStatus. # noqa: E501

batch_name

Gets the batch_name of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The batch_name of this BulkSendBatchStatus. # noqa: E501

batch_size

Gets the batch_size of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The batch_size of this BulkSendBatchStatus. # noqa: E501

bulk_errors

Gets the bulk_errors of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The bulk_errors of this BulkSendBatchStatus. # noqa: E501

envelope_id_or_template_id

Gets the envelope_id_or_template_id of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The envelope_id_or_template_id of this BulkSendBatchStatus. # noqa: E501

envelopes_info

Gets the envelopes_info of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The envelopes_info of this BulkSendBatchStatus. # noqa: E501

envelopes_uri

Gets the envelopes_uri of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The envelopes_uri of this BulkSendBatchStatus. # noqa: E501

failed

Gets the failed of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The failed of this BulkSendBatchStatus. # noqa: E501

mailing_list_id

Gets the mailing_list_id of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The mailing_list_id of this BulkSendBatchStatus. # noqa: E501

mailing_list_name

Gets the mailing_list_name of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The mailing_list_name of this BulkSendBatchStatus. # noqa: E501

owner_user_id

Gets the owner_user_id of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The owner_user_id of this BulkSendBatchStatus. # noqa: E501

queued

Gets the queued of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The queued of this BulkSendBatchStatus. # noqa: E501

resends_remaining

Gets the resends_remaining of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The resends_remaining of this BulkSendBatchStatus. # noqa: E501

sender_user_id

Gets the sender_user_id of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The sender_user_id of this BulkSendBatchStatus. # noqa: E501

sent

Gets the sent of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The sent of this BulkSendBatchStatus. # noqa: E501

submitted_date

Gets the submitted_date of this BulkSendBatchStatus. # noqa: E501

# noqa: E501

Returns

The submitted_date of this BulkSendBatchStatus. # noqa: E501

def to_dict(self)
537    def to_dict(self):
538        """Returns the model properties as a dict"""
539        result = {}
540
541        for attr, _ in six.iteritems(self.swagger_types):
542            value = getattr(self, attr)
543            if isinstance(value, list):
544                result[attr] = list(map(
545                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
546                    value
547                ))
548            elif hasattr(value, "to_dict"):
549                result[attr] = value.to_dict()
550            elif isinstance(value, dict):
551                result[attr] = dict(map(
552                    lambda item: (item[0], item[1].to_dict())
553                    if hasattr(item[1], "to_dict") else item,
554                    value.items()
555                ))
556            else:
557                result[attr] = value
558        if issubclass(BulkSendBatchStatus, dict):
559            for key, value in self.items():
560                result[key] = value
561
562        return result

Returns the model properties as a dict

def to_str(self)
564    def to_str(self):
565        """Returns the string representation of the model"""
566        return pprint.pformat(self.to_dict())

Returns the string representation of the model