docusign_esign.models.envelope_publish_transaction

DocuSign REST API

The DocuSign 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 REST API
  5
  6    The DocuSign 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 EnvelopePublishTransaction(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        'apply_connect_settings': 'str',
 37        'envelope_count': 'str',
 38        'envelope_level_error_rollups': 'list[EnvelopePublishTransactionErrorRollup]',
 39        'envelope_publish_transaction_id': 'str',
 40        'error_count': 'str',
 41        'file_level_errors': 'list[str]',
 42        'no_action_required_envelope_count': 'str',
 43        'processed_envelope_count': 'str',
 44        'processing_status': 'str',
 45        'results_uri': 'str',
 46        'submission_date': 'str',
 47        'submitted_by_user_info': 'UserInfo',
 48        'submitted_for_publishing_envelope_count': 'str'
 49    }
 50
 51    attribute_map = {
 52        'apply_connect_settings': 'applyConnectSettings',
 53        'envelope_count': 'envelopeCount',
 54        'envelope_level_error_rollups': 'envelopeLevelErrorRollups',
 55        'envelope_publish_transaction_id': 'envelopePublishTransactionId',
 56        'error_count': 'errorCount',
 57        'file_level_errors': 'fileLevelErrors',
 58        'no_action_required_envelope_count': 'noActionRequiredEnvelopeCount',
 59        'processed_envelope_count': 'processedEnvelopeCount',
 60        'processing_status': 'processingStatus',
 61        'results_uri': 'resultsUri',
 62        'submission_date': 'submissionDate',
 63        'submitted_by_user_info': 'submittedByUserInfo',
 64        'submitted_for_publishing_envelope_count': 'submittedForPublishingEnvelopeCount'
 65    }
 66
 67    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 68        """EnvelopePublishTransaction - a model defined in Swagger"""  # noqa: E501
 69        if _configuration is None:
 70            _configuration = Configuration()
 71        self._configuration = _configuration
 72
 73        self._apply_connect_settings = None
 74        self._envelope_count = None
 75        self._envelope_level_error_rollups = None
 76        self._envelope_publish_transaction_id = None
 77        self._error_count = None
 78        self._file_level_errors = None
 79        self._no_action_required_envelope_count = None
 80        self._processed_envelope_count = None
 81        self._processing_status = None
 82        self._results_uri = None
 83        self._submission_date = None
 84        self._submitted_by_user_info = None
 85        self._submitted_for_publishing_envelope_count = None
 86        self.discriminator = None
 87
 88        setattr(self, "_{}".format('apply_connect_settings'), kwargs.get('apply_connect_settings', None))
 89        setattr(self, "_{}".format('envelope_count'), kwargs.get('envelope_count', None))
 90        setattr(self, "_{}".format('envelope_level_error_rollups'), kwargs.get('envelope_level_error_rollups', None))
 91        setattr(self, "_{}".format('envelope_publish_transaction_id'), kwargs.get('envelope_publish_transaction_id', None))
 92        setattr(self, "_{}".format('error_count'), kwargs.get('error_count', None))
 93        setattr(self, "_{}".format('file_level_errors'), kwargs.get('file_level_errors', None))
 94        setattr(self, "_{}".format('no_action_required_envelope_count'), kwargs.get('no_action_required_envelope_count', None))
 95        setattr(self, "_{}".format('processed_envelope_count'), kwargs.get('processed_envelope_count', None))
 96        setattr(self, "_{}".format('processing_status'), kwargs.get('processing_status', None))
 97        setattr(self, "_{}".format('results_uri'), kwargs.get('results_uri', None))
 98        setattr(self, "_{}".format('submission_date'), kwargs.get('submission_date', None))
 99        setattr(self, "_{}".format('submitted_by_user_info'), kwargs.get('submitted_by_user_info', None))
100        setattr(self, "_{}".format('submitted_for_publishing_envelope_count'), kwargs.get('submitted_for_publishing_envelope_count', None))
101
102    @property
103    def apply_connect_settings(self):
104        """Gets the apply_connect_settings of this EnvelopePublishTransaction.  # noqa: E501
105
106          # noqa: E501
107
108        :return: The apply_connect_settings of this EnvelopePublishTransaction.  # noqa: E501
109        :rtype: str
110        """
111        return self._apply_connect_settings
112
113    @apply_connect_settings.setter
114    def apply_connect_settings(self, apply_connect_settings):
115        """Sets the apply_connect_settings of this EnvelopePublishTransaction.
116
117          # noqa: E501
118
119        :param apply_connect_settings: The apply_connect_settings of this EnvelopePublishTransaction.  # noqa: E501
120        :type: str
121        """
122
123        self._apply_connect_settings = apply_connect_settings
124
125    @property
126    def envelope_count(self):
127        """Gets the envelope_count of this EnvelopePublishTransaction.  # noqa: E501
128
129          # noqa: E501
130
131        :return: The envelope_count of this EnvelopePublishTransaction.  # noqa: E501
132        :rtype: str
133        """
134        return self._envelope_count
135
136    @envelope_count.setter
137    def envelope_count(self, envelope_count):
138        """Sets the envelope_count of this EnvelopePublishTransaction.
139
140          # noqa: E501
141
142        :param envelope_count: The envelope_count of this EnvelopePublishTransaction.  # noqa: E501
143        :type: str
144        """
145
146        self._envelope_count = envelope_count
147
148    @property
149    def envelope_level_error_rollups(self):
150        """Gets the envelope_level_error_rollups of this EnvelopePublishTransaction.  # noqa: E501
151
152          # noqa: E501
153
154        :return: The envelope_level_error_rollups of this EnvelopePublishTransaction.  # noqa: E501
155        :rtype: list[EnvelopePublishTransactionErrorRollup]
156        """
157        return self._envelope_level_error_rollups
158
159    @envelope_level_error_rollups.setter
160    def envelope_level_error_rollups(self, envelope_level_error_rollups):
161        """Sets the envelope_level_error_rollups of this EnvelopePublishTransaction.
162
163          # noqa: E501
164
165        :param envelope_level_error_rollups: The envelope_level_error_rollups of this EnvelopePublishTransaction.  # noqa: E501
166        :type: list[EnvelopePublishTransactionErrorRollup]
167        """
168
169        self._envelope_level_error_rollups = envelope_level_error_rollups
170
171    @property
172    def envelope_publish_transaction_id(self):
173        """Gets the envelope_publish_transaction_id of this EnvelopePublishTransaction.  # noqa: E501
174
175          # noqa: E501
176
177        :return: The envelope_publish_transaction_id of this EnvelopePublishTransaction.  # noqa: E501
178        :rtype: str
179        """
180        return self._envelope_publish_transaction_id
181
182    @envelope_publish_transaction_id.setter
183    def envelope_publish_transaction_id(self, envelope_publish_transaction_id):
184        """Sets the envelope_publish_transaction_id of this EnvelopePublishTransaction.
185
186          # noqa: E501
187
188        :param envelope_publish_transaction_id: The envelope_publish_transaction_id of this EnvelopePublishTransaction.  # noqa: E501
189        :type: str
190        """
191
192        self._envelope_publish_transaction_id = envelope_publish_transaction_id
193
194    @property
195    def error_count(self):
196        """Gets the error_count of this EnvelopePublishTransaction.  # noqa: E501
197
198          # noqa: E501
199
200        :return: The error_count of this EnvelopePublishTransaction.  # noqa: E501
201        :rtype: str
202        """
203        return self._error_count
204
205    @error_count.setter
206    def error_count(self, error_count):
207        """Sets the error_count of this EnvelopePublishTransaction.
208
209          # noqa: E501
210
211        :param error_count: The error_count of this EnvelopePublishTransaction.  # noqa: E501
212        :type: str
213        """
214
215        self._error_count = error_count
216
217    @property
218    def file_level_errors(self):
219        """Gets the file_level_errors of this EnvelopePublishTransaction.  # noqa: E501
220
221          # noqa: E501
222
223        :return: The file_level_errors of this EnvelopePublishTransaction.  # noqa: E501
224        :rtype: list[str]
225        """
226        return self._file_level_errors
227
228    @file_level_errors.setter
229    def file_level_errors(self, file_level_errors):
230        """Sets the file_level_errors of this EnvelopePublishTransaction.
231
232          # noqa: E501
233
234        :param file_level_errors: The file_level_errors of this EnvelopePublishTransaction.  # noqa: E501
235        :type: list[str]
236        """
237
238        self._file_level_errors = file_level_errors
239
240    @property
241    def no_action_required_envelope_count(self):
242        """Gets the no_action_required_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
243
244          # noqa: E501
245
246        :return: The no_action_required_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
247        :rtype: str
248        """
249        return self._no_action_required_envelope_count
250
251    @no_action_required_envelope_count.setter
252    def no_action_required_envelope_count(self, no_action_required_envelope_count):
253        """Sets the no_action_required_envelope_count of this EnvelopePublishTransaction.
254
255          # noqa: E501
256
257        :param no_action_required_envelope_count: The no_action_required_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
258        :type: str
259        """
260
261        self._no_action_required_envelope_count = no_action_required_envelope_count
262
263    @property
264    def processed_envelope_count(self):
265        """Gets the processed_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
266
267          # noqa: E501
268
269        :return: The processed_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
270        :rtype: str
271        """
272        return self._processed_envelope_count
273
274    @processed_envelope_count.setter
275    def processed_envelope_count(self, processed_envelope_count):
276        """Sets the processed_envelope_count of this EnvelopePublishTransaction.
277
278          # noqa: E501
279
280        :param processed_envelope_count: The processed_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
281        :type: str
282        """
283
284        self._processed_envelope_count = processed_envelope_count
285
286    @property
287    def processing_status(self):
288        """Gets the processing_status of this EnvelopePublishTransaction.  # noqa: E501
289
290          # noqa: E501
291
292        :return: The processing_status of this EnvelopePublishTransaction.  # noqa: E501
293        :rtype: str
294        """
295        return self._processing_status
296
297    @processing_status.setter
298    def processing_status(self, processing_status):
299        """Sets the processing_status of this EnvelopePublishTransaction.
300
301          # noqa: E501
302
303        :param processing_status: The processing_status of this EnvelopePublishTransaction.  # noqa: E501
304        :type: str
305        """
306
307        self._processing_status = processing_status
308
309    @property
310    def results_uri(self):
311        """Gets the results_uri of this EnvelopePublishTransaction.  # noqa: E501
312
313          # noqa: E501
314
315        :return: The results_uri of this EnvelopePublishTransaction.  # noqa: E501
316        :rtype: str
317        """
318        return self._results_uri
319
320    @results_uri.setter
321    def results_uri(self, results_uri):
322        """Sets the results_uri of this EnvelopePublishTransaction.
323
324          # noqa: E501
325
326        :param results_uri: The results_uri of this EnvelopePublishTransaction.  # noqa: E501
327        :type: str
328        """
329
330        self._results_uri = results_uri
331
332    @property
333    def submission_date(self):
334        """Gets the submission_date of this EnvelopePublishTransaction.  # noqa: E501
335
336          # noqa: E501
337
338        :return: The submission_date of this EnvelopePublishTransaction.  # noqa: E501
339        :rtype: str
340        """
341        return self._submission_date
342
343    @submission_date.setter
344    def submission_date(self, submission_date):
345        """Sets the submission_date of this EnvelopePublishTransaction.
346
347          # noqa: E501
348
349        :param submission_date: The submission_date of this EnvelopePublishTransaction.  # noqa: E501
350        :type: str
351        """
352
353        self._submission_date = submission_date
354
355    @property
356    def submitted_by_user_info(self):
357        """Gets the submitted_by_user_info of this EnvelopePublishTransaction.  # noqa: E501
358
359          # noqa: E501
360
361        :return: The submitted_by_user_info of this EnvelopePublishTransaction.  # noqa: E501
362        :rtype: UserInfo
363        """
364        return self._submitted_by_user_info
365
366    @submitted_by_user_info.setter
367    def submitted_by_user_info(self, submitted_by_user_info):
368        """Sets the submitted_by_user_info of this EnvelopePublishTransaction.
369
370          # noqa: E501
371
372        :param submitted_by_user_info: The submitted_by_user_info of this EnvelopePublishTransaction.  # noqa: E501
373        :type: UserInfo
374        """
375
376        self._submitted_by_user_info = submitted_by_user_info
377
378    @property
379    def submitted_for_publishing_envelope_count(self):
380        """Gets the submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
381
382          # noqa: E501
383
384        :return: The submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
385        :rtype: str
386        """
387        return self._submitted_for_publishing_envelope_count
388
389    @submitted_for_publishing_envelope_count.setter
390    def submitted_for_publishing_envelope_count(self, submitted_for_publishing_envelope_count):
391        """Sets the submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.
392
393          # noqa: E501
394
395        :param submitted_for_publishing_envelope_count: The submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
396        :type: str
397        """
398
399        self._submitted_for_publishing_envelope_count = submitted_for_publishing_envelope_count
400
401    def to_dict(self):
402        """Returns the model properties as a dict"""
403        result = {}
404
405        for attr, _ in six.iteritems(self.swagger_types):
406            value = getattr(self, attr)
407            if isinstance(value, list):
408                result[attr] = list(map(
409                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
410                    value
411                ))
412            elif hasattr(value, "to_dict"):
413                result[attr] = value.to_dict()
414            elif isinstance(value, dict):
415                result[attr] = dict(map(
416                    lambda item: (item[0], item[1].to_dict())
417                    if hasattr(item[1], "to_dict") else item,
418                    value.items()
419                ))
420            else:
421                result[attr] = value
422        if issubclass(EnvelopePublishTransaction, dict):
423            for key, value in self.items():
424                result[key] = value
425
426        return result
427
428    def to_str(self):
429        """Returns the string representation of the model"""
430        return pprint.pformat(self.to_dict())
431
432    def __repr__(self):
433        """For `print` and `pprint`"""
434        return self.to_str()
435
436    def __eq__(self, other):
437        """Returns true if both objects are equal"""
438        if not isinstance(other, EnvelopePublishTransaction):
439            return False
440
441        return self.to_dict() == other.to_dict()
442
443    def __ne__(self, other):
444        """Returns true if both objects are not equal"""
445        if not isinstance(other, EnvelopePublishTransaction):
446            return True
447
448        return self.to_dict() != other.to_dict()
class EnvelopePublishTransaction:
 23class EnvelopePublishTransaction(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        'apply_connect_settings': 'str',
 38        'envelope_count': 'str',
 39        'envelope_level_error_rollups': 'list[EnvelopePublishTransactionErrorRollup]',
 40        'envelope_publish_transaction_id': 'str',
 41        'error_count': 'str',
 42        'file_level_errors': 'list[str]',
 43        'no_action_required_envelope_count': 'str',
 44        'processed_envelope_count': 'str',
 45        'processing_status': 'str',
 46        'results_uri': 'str',
 47        'submission_date': 'str',
 48        'submitted_by_user_info': 'UserInfo',
 49        'submitted_for_publishing_envelope_count': 'str'
 50    }
 51
 52    attribute_map = {
 53        'apply_connect_settings': 'applyConnectSettings',
 54        'envelope_count': 'envelopeCount',
 55        'envelope_level_error_rollups': 'envelopeLevelErrorRollups',
 56        'envelope_publish_transaction_id': 'envelopePublishTransactionId',
 57        'error_count': 'errorCount',
 58        'file_level_errors': 'fileLevelErrors',
 59        'no_action_required_envelope_count': 'noActionRequiredEnvelopeCount',
 60        'processed_envelope_count': 'processedEnvelopeCount',
 61        'processing_status': 'processingStatus',
 62        'results_uri': 'resultsUri',
 63        'submission_date': 'submissionDate',
 64        'submitted_by_user_info': 'submittedByUserInfo',
 65        'submitted_for_publishing_envelope_count': 'submittedForPublishingEnvelopeCount'
 66    }
 67
 68    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 69        """EnvelopePublishTransaction - a model defined in Swagger"""  # noqa: E501
 70        if _configuration is None:
 71            _configuration = Configuration()
 72        self._configuration = _configuration
 73
 74        self._apply_connect_settings = None
 75        self._envelope_count = None
 76        self._envelope_level_error_rollups = None
 77        self._envelope_publish_transaction_id = None
 78        self._error_count = None
 79        self._file_level_errors = None
 80        self._no_action_required_envelope_count = None
 81        self._processed_envelope_count = None
 82        self._processing_status = None
 83        self._results_uri = None
 84        self._submission_date = None
 85        self._submitted_by_user_info = None
 86        self._submitted_for_publishing_envelope_count = None
 87        self.discriminator = None
 88
 89        setattr(self, "_{}".format('apply_connect_settings'), kwargs.get('apply_connect_settings', None))
 90        setattr(self, "_{}".format('envelope_count'), kwargs.get('envelope_count', None))
 91        setattr(self, "_{}".format('envelope_level_error_rollups'), kwargs.get('envelope_level_error_rollups', None))
 92        setattr(self, "_{}".format('envelope_publish_transaction_id'), kwargs.get('envelope_publish_transaction_id', None))
 93        setattr(self, "_{}".format('error_count'), kwargs.get('error_count', None))
 94        setattr(self, "_{}".format('file_level_errors'), kwargs.get('file_level_errors', None))
 95        setattr(self, "_{}".format('no_action_required_envelope_count'), kwargs.get('no_action_required_envelope_count', None))
 96        setattr(self, "_{}".format('processed_envelope_count'), kwargs.get('processed_envelope_count', None))
 97        setattr(self, "_{}".format('processing_status'), kwargs.get('processing_status', None))
 98        setattr(self, "_{}".format('results_uri'), kwargs.get('results_uri', None))
 99        setattr(self, "_{}".format('submission_date'), kwargs.get('submission_date', None))
100        setattr(self, "_{}".format('submitted_by_user_info'), kwargs.get('submitted_by_user_info', None))
101        setattr(self, "_{}".format('submitted_for_publishing_envelope_count'), kwargs.get('submitted_for_publishing_envelope_count', None))
102
103    @property
104    def apply_connect_settings(self):
105        """Gets the apply_connect_settings of this EnvelopePublishTransaction.  # noqa: E501
106
107          # noqa: E501
108
109        :return: The apply_connect_settings of this EnvelopePublishTransaction.  # noqa: E501
110        :rtype: str
111        """
112        return self._apply_connect_settings
113
114    @apply_connect_settings.setter
115    def apply_connect_settings(self, apply_connect_settings):
116        """Sets the apply_connect_settings of this EnvelopePublishTransaction.
117
118          # noqa: E501
119
120        :param apply_connect_settings: The apply_connect_settings of this EnvelopePublishTransaction.  # noqa: E501
121        :type: str
122        """
123
124        self._apply_connect_settings = apply_connect_settings
125
126    @property
127    def envelope_count(self):
128        """Gets the envelope_count of this EnvelopePublishTransaction.  # noqa: E501
129
130          # noqa: E501
131
132        :return: The envelope_count of this EnvelopePublishTransaction.  # noqa: E501
133        :rtype: str
134        """
135        return self._envelope_count
136
137    @envelope_count.setter
138    def envelope_count(self, envelope_count):
139        """Sets the envelope_count of this EnvelopePublishTransaction.
140
141          # noqa: E501
142
143        :param envelope_count: The envelope_count of this EnvelopePublishTransaction.  # noqa: E501
144        :type: str
145        """
146
147        self._envelope_count = envelope_count
148
149    @property
150    def envelope_level_error_rollups(self):
151        """Gets the envelope_level_error_rollups of this EnvelopePublishTransaction.  # noqa: E501
152
153          # noqa: E501
154
155        :return: The envelope_level_error_rollups of this EnvelopePublishTransaction.  # noqa: E501
156        :rtype: list[EnvelopePublishTransactionErrorRollup]
157        """
158        return self._envelope_level_error_rollups
159
160    @envelope_level_error_rollups.setter
161    def envelope_level_error_rollups(self, envelope_level_error_rollups):
162        """Sets the envelope_level_error_rollups of this EnvelopePublishTransaction.
163
164          # noqa: E501
165
166        :param envelope_level_error_rollups: The envelope_level_error_rollups of this EnvelopePublishTransaction.  # noqa: E501
167        :type: list[EnvelopePublishTransactionErrorRollup]
168        """
169
170        self._envelope_level_error_rollups = envelope_level_error_rollups
171
172    @property
173    def envelope_publish_transaction_id(self):
174        """Gets the envelope_publish_transaction_id of this EnvelopePublishTransaction.  # noqa: E501
175
176          # noqa: E501
177
178        :return: The envelope_publish_transaction_id of this EnvelopePublishTransaction.  # noqa: E501
179        :rtype: str
180        """
181        return self._envelope_publish_transaction_id
182
183    @envelope_publish_transaction_id.setter
184    def envelope_publish_transaction_id(self, envelope_publish_transaction_id):
185        """Sets the envelope_publish_transaction_id of this EnvelopePublishTransaction.
186
187          # noqa: E501
188
189        :param envelope_publish_transaction_id: The envelope_publish_transaction_id of this EnvelopePublishTransaction.  # noqa: E501
190        :type: str
191        """
192
193        self._envelope_publish_transaction_id = envelope_publish_transaction_id
194
195    @property
196    def error_count(self):
197        """Gets the error_count of this EnvelopePublishTransaction.  # noqa: E501
198
199          # noqa: E501
200
201        :return: The error_count of this EnvelopePublishTransaction.  # noqa: E501
202        :rtype: str
203        """
204        return self._error_count
205
206    @error_count.setter
207    def error_count(self, error_count):
208        """Sets the error_count of this EnvelopePublishTransaction.
209
210          # noqa: E501
211
212        :param error_count: The error_count of this EnvelopePublishTransaction.  # noqa: E501
213        :type: str
214        """
215
216        self._error_count = error_count
217
218    @property
219    def file_level_errors(self):
220        """Gets the file_level_errors of this EnvelopePublishTransaction.  # noqa: E501
221
222          # noqa: E501
223
224        :return: The file_level_errors of this EnvelopePublishTransaction.  # noqa: E501
225        :rtype: list[str]
226        """
227        return self._file_level_errors
228
229    @file_level_errors.setter
230    def file_level_errors(self, file_level_errors):
231        """Sets the file_level_errors of this EnvelopePublishTransaction.
232
233          # noqa: E501
234
235        :param file_level_errors: The file_level_errors of this EnvelopePublishTransaction.  # noqa: E501
236        :type: list[str]
237        """
238
239        self._file_level_errors = file_level_errors
240
241    @property
242    def no_action_required_envelope_count(self):
243        """Gets the no_action_required_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
244
245          # noqa: E501
246
247        :return: The no_action_required_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
248        :rtype: str
249        """
250        return self._no_action_required_envelope_count
251
252    @no_action_required_envelope_count.setter
253    def no_action_required_envelope_count(self, no_action_required_envelope_count):
254        """Sets the no_action_required_envelope_count of this EnvelopePublishTransaction.
255
256          # noqa: E501
257
258        :param no_action_required_envelope_count: The no_action_required_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
259        :type: str
260        """
261
262        self._no_action_required_envelope_count = no_action_required_envelope_count
263
264    @property
265    def processed_envelope_count(self):
266        """Gets the processed_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
267
268          # noqa: E501
269
270        :return: The processed_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
271        :rtype: str
272        """
273        return self._processed_envelope_count
274
275    @processed_envelope_count.setter
276    def processed_envelope_count(self, processed_envelope_count):
277        """Sets the processed_envelope_count of this EnvelopePublishTransaction.
278
279          # noqa: E501
280
281        :param processed_envelope_count: The processed_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
282        :type: str
283        """
284
285        self._processed_envelope_count = processed_envelope_count
286
287    @property
288    def processing_status(self):
289        """Gets the processing_status of this EnvelopePublishTransaction.  # noqa: E501
290
291          # noqa: E501
292
293        :return: The processing_status of this EnvelopePublishTransaction.  # noqa: E501
294        :rtype: str
295        """
296        return self._processing_status
297
298    @processing_status.setter
299    def processing_status(self, processing_status):
300        """Sets the processing_status of this EnvelopePublishTransaction.
301
302          # noqa: E501
303
304        :param processing_status: The processing_status of this EnvelopePublishTransaction.  # noqa: E501
305        :type: str
306        """
307
308        self._processing_status = processing_status
309
310    @property
311    def results_uri(self):
312        """Gets the results_uri of this EnvelopePublishTransaction.  # noqa: E501
313
314          # noqa: E501
315
316        :return: The results_uri of this EnvelopePublishTransaction.  # noqa: E501
317        :rtype: str
318        """
319        return self._results_uri
320
321    @results_uri.setter
322    def results_uri(self, results_uri):
323        """Sets the results_uri of this EnvelopePublishTransaction.
324
325          # noqa: E501
326
327        :param results_uri: The results_uri of this EnvelopePublishTransaction.  # noqa: E501
328        :type: str
329        """
330
331        self._results_uri = results_uri
332
333    @property
334    def submission_date(self):
335        """Gets the submission_date of this EnvelopePublishTransaction.  # noqa: E501
336
337          # noqa: E501
338
339        :return: The submission_date of this EnvelopePublishTransaction.  # noqa: E501
340        :rtype: str
341        """
342        return self._submission_date
343
344    @submission_date.setter
345    def submission_date(self, submission_date):
346        """Sets the submission_date of this EnvelopePublishTransaction.
347
348          # noqa: E501
349
350        :param submission_date: The submission_date of this EnvelopePublishTransaction.  # noqa: E501
351        :type: str
352        """
353
354        self._submission_date = submission_date
355
356    @property
357    def submitted_by_user_info(self):
358        """Gets the submitted_by_user_info of this EnvelopePublishTransaction.  # noqa: E501
359
360          # noqa: E501
361
362        :return: The submitted_by_user_info of this EnvelopePublishTransaction.  # noqa: E501
363        :rtype: UserInfo
364        """
365        return self._submitted_by_user_info
366
367    @submitted_by_user_info.setter
368    def submitted_by_user_info(self, submitted_by_user_info):
369        """Sets the submitted_by_user_info of this EnvelopePublishTransaction.
370
371          # noqa: E501
372
373        :param submitted_by_user_info: The submitted_by_user_info of this EnvelopePublishTransaction.  # noqa: E501
374        :type: UserInfo
375        """
376
377        self._submitted_by_user_info = submitted_by_user_info
378
379    @property
380    def submitted_for_publishing_envelope_count(self):
381        """Gets the submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
382
383          # noqa: E501
384
385        :return: The submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
386        :rtype: str
387        """
388        return self._submitted_for_publishing_envelope_count
389
390    @submitted_for_publishing_envelope_count.setter
391    def submitted_for_publishing_envelope_count(self, submitted_for_publishing_envelope_count):
392        """Sets the submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.
393
394          # noqa: E501
395
396        :param submitted_for_publishing_envelope_count: The submitted_for_publishing_envelope_count of this EnvelopePublishTransaction.  # noqa: E501
397        :type: str
398        """
399
400        self._submitted_for_publishing_envelope_count = submitted_for_publishing_envelope_count
401
402    def to_dict(self):
403        """Returns the model properties as a dict"""
404        result = {}
405
406        for attr, _ in six.iteritems(self.swagger_types):
407            value = getattr(self, attr)
408            if isinstance(value, list):
409                result[attr] = list(map(
410                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
411                    value
412                ))
413            elif hasattr(value, "to_dict"):
414                result[attr] = value.to_dict()
415            elif isinstance(value, dict):
416                result[attr] = dict(map(
417                    lambda item: (item[0], item[1].to_dict())
418                    if hasattr(item[1], "to_dict") else item,
419                    value.items()
420                ))
421            else:
422                result[attr] = value
423        if issubclass(EnvelopePublishTransaction, dict):
424            for key, value in self.items():
425                result[key] = value
426
427        return result
428
429    def to_str(self):
430        """Returns the string representation of the model"""
431        return pprint.pformat(self.to_dict())
432
433    def __repr__(self):
434        """For `print` and `pprint`"""
435        return self.to_str()
436
437    def __eq__(self, other):
438        """Returns true if both objects are equal"""
439        if not isinstance(other, EnvelopePublishTransaction):
440            return False
441
442        return self.to_dict() == other.to_dict()
443
444    def __ne__(self, other):
445        """Returns true if both objects are not equal"""
446        if not isinstance(other, EnvelopePublishTransaction):
447            return True
448
449        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.

EnvelopePublishTransaction(_configuration=None, **kwargs)
 68    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 69        """EnvelopePublishTransaction - a model defined in Swagger"""  # noqa: E501
 70        if _configuration is None:
 71            _configuration = Configuration()
 72        self._configuration = _configuration
 73
 74        self._apply_connect_settings = None
 75        self._envelope_count = None
 76        self._envelope_level_error_rollups = None
 77        self._envelope_publish_transaction_id = None
 78        self._error_count = None
 79        self._file_level_errors = None
 80        self._no_action_required_envelope_count = None
 81        self._processed_envelope_count = None
 82        self._processing_status = None
 83        self._results_uri = None
 84        self._submission_date = None
 85        self._submitted_by_user_info = None
 86        self._submitted_for_publishing_envelope_count = None
 87        self.discriminator = None
 88
 89        setattr(self, "_{}".format('apply_connect_settings'), kwargs.get('apply_connect_settings', None))
 90        setattr(self, "_{}".format('envelope_count'), kwargs.get('envelope_count', None))
 91        setattr(self, "_{}".format('envelope_level_error_rollups'), kwargs.get('envelope_level_error_rollups', None))
 92        setattr(self, "_{}".format('envelope_publish_transaction_id'), kwargs.get('envelope_publish_transaction_id', None))
 93        setattr(self, "_{}".format('error_count'), kwargs.get('error_count', None))
 94        setattr(self, "_{}".format('file_level_errors'), kwargs.get('file_level_errors', None))
 95        setattr(self, "_{}".format('no_action_required_envelope_count'), kwargs.get('no_action_required_envelope_count', None))
 96        setattr(self, "_{}".format('processed_envelope_count'), kwargs.get('processed_envelope_count', None))
 97        setattr(self, "_{}".format('processing_status'), kwargs.get('processing_status', None))
 98        setattr(self, "_{}".format('results_uri'), kwargs.get('results_uri', None))
 99        setattr(self, "_{}".format('submission_date'), kwargs.get('submission_date', None))
100        setattr(self, "_{}".format('submitted_by_user_info'), kwargs.get('submitted_by_user_info', None))
101        setattr(self, "_{}".format('submitted_for_publishing_envelope_count'), kwargs.get('submitted_for_publishing_envelope_count', None))

EnvelopePublishTransaction - a model defined in Swagger

swagger_types = {'apply_connect_settings': 'str', 'envelope_count': 'str', 'envelope_level_error_rollups': 'list[EnvelopePublishTransactionErrorRollup]', 'envelope_publish_transaction_id': 'str', 'error_count': 'str', 'file_level_errors': 'list[str]', 'no_action_required_envelope_count': 'str', 'processed_envelope_count': 'str', 'processing_status': 'str', 'results_uri': 'str', 'submission_date': 'str', 'submitted_by_user_info': 'UserInfo', 'submitted_for_publishing_envelope_count': 'str'}
attribute_map = {'apply_connect_settings': 'applyConnectSettings', 'envelope_count': 'envelopeCount', 'envelope_level_error_rollups': 'envelopeLevelErrorRollups', 'envelope_publish_transaction_id': 'envelopePublishTransactionId', 'error_count': 'errorCount', 'file_level_errors': 'fileLevelErrors', 'no_action_required_envelope_count': 'noActionRequiredEnvelopeCount', 'processed_envelope_count': 'processedEnvelopeCount', 'processing_status': 'processingStatus', 'results_uri': 'resultsUri', 'submission_date': 'submissionDate', 'submitted_by_user_info': 'submittedByUserInfo', 'submitted_for_publishing_envelope_count': 'submittedForPublishingEnvelopeCount'}
apply_connect_settings

Gets the apply_connect_settings of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The apply_connect_settings of this EnvelopePublishTransaction. # noqa: E501

envelope_count

Gets the envelope_count of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The envelope_count of this EnvelopePublishTransaction. # noqa: E501

envelope_level_error_rollups

Gets the envelope_level_error_rollups of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The envelope_level_error_rollups of this EnvelopePublishTransaction. # noqa: E501

envelope_publish_transaction_id

Gets the envelope_publish_transaction_id of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The envelope_publish_transaction_id of this EnvelopePublishTransaction. # noqa: E501

error_count

Gets the error_count of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The error_count of this EnvelopePublishTransaction. # noqa: E501

file_level_errors

Gets the file_level_errors of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The file_level_errors of this EnvelopePublishTransaction. # noqa: E501

no_action_required_envelope_count

Gets the no_action_required_envelope_count of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The no_action_required_envelope_count of this EnvelopePublishTransaction. # noqa: E501

processed_envelope_count

Gets the processed_envelope_count of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The processed_envelope_count of this EnvelopePublishTransaction. # noqa: E501

processing_status

Gets the processing_status of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The processing_status of this EnvelopePublishTransaction. # noqa: E501

results_uri

Gets the results_uri of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The results_uri of this EnvelopePublishTransaction. # noqa: E501

submission_date

Gets the submission_date of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The submission_date of this EnvelopePublishTransaction. # noqa: E501

submitted_by_user_info

Gets the submitted_by_user_info of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The submitted_by_user_info of this EnvelopePublishTransaction. # noqa: E501

submitted_for_publishing_envelope_count

Gets the submitted_for_publishing_envelope_count of this EnvelopePublishTransaction. # noqa: E501

# noqa: E501

Returns

The submitted_for_publishing_envelope_count of this EnvelopePublishTransaction. # noqa: E501

def to_dict(self)
402    def to_dict(self):
403        """Returns the model properties as a dict"""
404        result = {}
405
406        for attr, _ in six.iteritems(self.swagger_types):
407            value = getattr(self, attr)
408            if isinstance(value, list):
409                result[attr] = list(map(
410                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
411                    value
412                ))
413            elif hasattr(value, "to_dict"):
414                result[attr] = value.to_dict()
415            elif isinstance(value, dict):
416                result[attr] = dict(map(
417                    lambda item: (item[0], item[1].to_dict())
418                    if hasattr(item[1], "to_dict") else item,
419                    value.items()
420                ))
421            else:
422                result[attr] = value
423        if issubclass(EnvelopePublishTransaction, dict):
424            for key, value in self.items():
425                result[key] = value
426
427        return result

Returns the model properties as a dict

def to_str(self)
429    def to_str(self):
430        """Returns the string representation of the model"""
431        return pprint.pformat(self.to_dict())

Returns the string representation of the model