docusign_esign.models.sender_email_notifications

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 SenderEmailNotifications(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        'changed_signer': 'str',
 37        'clickwrap_responses_limit_notification_email': 'str',
 38        'comments_only_private_and_mention': 'str',
 39        'comments_receive_all': 'str',
 40        'delivery_failed': 'str',
 41        'envelope_complete': 'str',
 42        'offline_signing_failed': 'str',
 43        'powerform_responses_limit_notification_email': 'str',
 44        'purge_documents': 'str',
 45        'recipient_viewed': 'str',
 46        'sender_envelope_declined': 'str',
 47        'withdrawn_consent': 'str'
 48    }
 49
 50    attribute_map = {
 51        'changed_signer': 'changedSigner',
 52        'clickwrap_responses_limit_notification_email': 'clickwrapResponsesLimitNotificationEmail',
 53        'comments_only_private_and_mention': 'commentsOnlyPrivateAndMention',
 54        'comments_receive_all': 'commentsReceiveAll',
 55        'delivery_failed': 'deliveryFailed',
 56        'envelope_complete': 'envelopeComplete',
 57        'offline_signing_failed': 'offlineSigningFailed',
 58        'powerform_responses_limit_notification_email': 'powerformResponsesLimitNotificationEmail',
 59        'purge_documents': 'purgeDocuments',
 60        'recipient_viewed': 'recipientViewed',
 61        'sender_envelope_declined': 'senderEnvelopeDeclined',
 62        'withdrawn_consent': 'withdrawnConsent'
 63    }
 64
 65    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 66        """SenderEmailNotifications - a model defined in Swagger"""  # noqa: E501
 67        if _configuration is None:
 68            _configuration = Configuration()
 69        self._configuration = _configuration
 70
 71        self._changed_signer = None
 72        self._clickwrap_responses_limit_notification_email = None
 73        self._comments_only_private_and_mention = None
 74        self._comments_receive_all = None
 75        self._delivery_failed = None
 76        self._envelope_complete = None
 77        self._offline_signing_failed = None
 78        self._powerform_responses_limit_notification_email = None
 79        self._purge_documents = None
 80        self._recipient_viewed = None
 81        self._sender_envelope_declined = None
 82        self._withdrawn_consent = None
 83        self.discriminator = None
 84
 85        setattr(self, "_{}".format('changed_signer'), kwargs.get('changed_signer', None))
 86        setattr(self, "_{}".format('clickwrap_responses_limit_notification_email'), kwargs.get('clickwrap_responses_limit_notification_email', None))
 87        setattr(self, "_{}".format('comments_only_private_and_mention'), kwargs.get('comments_only_private_and_mention', None))
 88        setattr(self, "_{}".format('comments_receive_all'), kwargs.get('comments_receive_all', None))
 89        setattr(self, "_{}".format('delivery_failed'), kwargs.get('delivery_failed', None))
 90        setattr(self, "_{}".format('envelope_complete'), kwargs.get('envelope_complete', None))
 91        setattr(self, "_{}".format('offline_signing_failed'), kwargs.get('offline_signing_failed', None))
 92        setattr(self, "_{}".format('powerform_responses_limit_notification_email'), kwargs.get('powerform_responses_limit_notification_email', None))
 93        setattr(self, "_{}".format('purge_documents'), kwargs.get('purge_documents', None))
 94        setattr(self, "_{}".format('recipient_viewed'), kwargs.get('recipient_viewed', None))
 95        setattr(self, "_{}".format('sender_envelope_declined'), kwargs.get('sender_envelope_declined', None))
 96        setattr(self, "_{}".format('withdrawn_consent'), kwargs.get('withdrawn_consent', None))
 97
 98    @property
 99    def changed_signer(self):
100        """Gets the changed_signer of this SenderEmailNotifications.  # noqa: E501
101
102        When set to **true**, the sender receives notification if the signer changes.  # noqa: E501
103
104        :return: The changed_signer of this SenderEmailNotifications.  # noqa: E501
105        :rtype: str
106        """
107        return self._changed_signer
108
109    @changed_signer.setter
110    def changed_signer(self, changed_signer):
111        """Sets the changed_signer of this SenderEmailNotifications.
112
113        When set to **true**, the sender receives notification if the signer changes.  # noqa: E501
114
115        :param changed_signer: The changed_signer of this SenderEmailNotifications.  # noqa: E501
116        :type: str
117        """
118
119        self._changed_signer = changed_signer
120
121    @property
122    def clickwrap_responses_limit_notification_email(self):
123        """Gets the clickwrap_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
124
125          # noqa: E501
126
127        :return: The clickwrap_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
128        :rtype: str
129        """
130        return self._clickwrap_responses_limit_notification_email
131
132    @clickwrap_responses_limit_notification_email.setter
133    def clickwrap_responses_limit_notification_email(self, clickwrap_responses_limit_notification_email):
134        """Sets the clickwrap_responses_limit_notification_email of this SenderEmailNotifications.
135
136          # noqa: E501
137
138        :param clickwrap_responses_limit_notification_email: The clickwrap_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
139        :type: str
140        """
141
142        self._clickwrap_responses_limit_notification_email = clickwrap_responses_limit_notification_email
143
144    @property
145    def comments_only_private_and_mention(self):
146        """Gets the comments_only_private_and_mention of this SenderEmailNotifications.  # noqa: E501
147
148          # noqa: E501
149
150        :return: The comments_only_private_and_mention of this SenderEmailNotifications.  # noqa: E501
151        :rtype: str
152        """
153        return self._comments_only_private_and_mention
154
155    @comments_only_private_and_mention.setter
156    def comments_only_private_and_mention(self, comments_only_private_and_mention):
157        """Sets the comments_only_private_and_mention of this SenderEmailNotifications.
158
159          # noqa: E501
160
161        :param comments_only_private_and_mention: The comments_only_private_and_mention of this SenderEmailNotifications.  # noqa: E501
162        :type: str
163        """
164
165        self._comments_only_private_and_mention = comments_only_private_and_mention
166
167    @property
168    def comments_receive_all(self):
169        """Gets the comments_receive_all of this SenderEmailNotifications.  # noqa: E501
170
171          # noqa: E501
172
173        :return: The comments_receive_all of this SenderEmailNotifications.  # noqa: E501
174        :rtype: str
175        """
176        return self._comments_receive_all
177
178    @comments_receive_all.setter
179    def comments_receive_all(self, comments_receive_all):
180        """Sets the comments_receive_all of this SenderEmailNotifications.
181
182          # noqa: E501
183
184        :param comments_receive_all: The comments_receive_all of this SenderEmailNotifications.  # noqa: E501
185        :type: str
186        """
187
188        self._comments_receive_all = comments_receive_all
189
190    @property
191    def delivery_failed(self):
192        """Gets the delivery_failed of this SenderEmailNotifications.  # noqa: E501
193
194        When set to **true**, the sender receives notification if the delivery of the envelope fails.  # noqa: E501
195
196        :return: The delivery_failed of this SenderEmailNotifications.  # noqa: E501
197        :rtype: str
198        """
199        return self._delivery_failed
200
201    @delivery_failed.setter
202    def delivery_failed(self, delivery_failed):
203        """Sets the delivery_failed of this SenderEmailNotifications.
204
205        When set to **true**, the sender receives notification if the delivery of the envelope fails.  # noqa: E501
206
207        :param delivery_failed: The delivery_failed of this SenderEmailNotifications.  # noqa: E501
208        :type: str
209        """
210
211        self._delivery_failed = delivery_failed
212
213    @property
214    def envelope_complete(self):
215        """Gets the envelope_complete of this SenderEmailNotifications.  # noqa: E501
216
217        When set to **true**, the user receives notification that the envelope has been completed.  # noqa: E501
218
219        :return: The envelope_complete of this SenderEmailNotifications.  # noqa: E501
220        :rtype: str
221        """
222        return self._envelope_complete
223
224    @envelope_complete.setter
225    def envelope_complete(self, envelope_complete):
226        """Sets the envelope_complete of this SenderEmailNotifications.
227
228        When set to **true**, the user receives notification that the envelope has been completed.  # noqa: E501
229
230        :param envelope_complete: The envelope_complete of this SenderEmailNotifications.  # noqa: E501
231        :type: str
232        """
233
234        self._envelope_complete = envelope_complete
235
236    @property
237    def offline_signing_failed(self):
238        """Gets the offline_signing_failed of this SenderEmailNotifications.  # noqa: E501
239
240        When set to **true**, the user receives notification if the offline signing failed.  # noqa: E501
241
242        :return: The offline_signing_failed of this SenderEmailNotifications.  # noqa: E501
243        :rtype: str
244        """
245        return self._offline_signing_failed
246
247    @offline_signing_failed.setter
248    def offline_signing_failed(self, offline_signing_failed):
249        """Sets the offline_signing_failed of this SenderEmailNotifications.
250
251        When set to **true**, the user receives notification if the offline signing failed.  # noqa: E501
252
253        :param offline_signing_failed: The offline_signing_failed of this SenderEmailNotifications.  # noqa: E501
254        :type: str
255        """
256
257        self._offline_signing_failed = offline_signing_failed
258
259    @property
260    def powerform_responses_limit_notification_email(self):
261        """Gets the powerform_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
262
263          # noqa: E501
264
265        :return: The powerform_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
266        :rtype: str
267        """
268        return self._powerform_responses_limit_notification_email
269
270    @powerform_responses_limit_notification_email.setter
271    def powerform_responses_limit_notification_email(self, powerform_responses_limit_notification_email):
272        """Sets the powerform_responses_limit_notification_email of this SenderEmailNotifications.
273
274          # noqa: E501
275
276        :param powerform_responses_limit_notification_email: The powerform_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
277        :type: str
278        """
279
280        self._powerform_responses_limit_notification_email = powerform_responses_limit_notification_email
281
282    @property
283    def purge_documents(self):
284        """Gets the purge_documents of this SenderEmailNotifications.  # noqa: E501
285
286          # noqa: E501
287
288        :return: The purge_documents of this SenderEmailNotifications.  # noqa: E501
289        :rtype: str
290        """
291        return self._purge_documents
292
293    @purge_documents.setter
294    def purge_documents(self, purge_documents):
295        """Sets the purge_documents of this SenderEmailNotifications.
296
297          # noqa: E501
298
299        :param purge_documents: The purge_documents of this SenderEmailNotifications.  # noqa: E501
300        :type: str
301        """
302
303        self._purge_documents = purge_documents
304
305    @property
306    def recipient_viewed(self):
307        """Gets the recipient_viewed of this SenderEmailNotifications.  # noqa: E501
308
309        When set to **true**, the sender receives notification that the recipient viewed the enveloper.  # noqa: E501
310
311        :return: The recipient_viewed of this SenderEmailNotifications.  # noqa: E501
312        :rtype: str
313        """
314        return self._recipient_viewed
315
316    @recipient_viewed.setter
317    def recipient_viewed(self, recipient_viewed):
318        """Sets the recipient_viewed of this SenderEmailNotifications.
319
320        When set to **true**, the sender receives notification that the recipient viewed the enveloper.  # noqa: E501
321
322        :param recipient_viewed: The recipient_viewed of this SenderEmailNotifications.  # noqa: E501
323        :type: str
324        """
325
326        self._recipient_viewed = recipient_viewed
327
328    @property
329    def sender_envelope_declined(self):
330        """Gets the sender_envelope_declined of this SenderEmailNotifications.  # noqa: E501
331
332          # noqa: E501
333
334        :return: The sender_envelope_declined of this SenderEmailNotifications.  # noqa: E501
335        :rtype: str
336        """
337        return self._sender_envelope_declined
338
339    @sender_envelope_declined.setter
340    def sender_envelope_declined(self, sender_envelope_declined):
341        """Sets the sender_envelope_declined of this SenderEmailNotifications.
342
343          # noqa: E501
344
345        :param sender_envelope_declined: The sender_envelope_declined of this SenderEmailNotifications.  # noqa: E501
346        :type: str
347        """
348
349        self._sender_envelope_declined = sender_envelope_declined
350
351    @property
352    def withdrawn_consent(self):
353        """Gets the withdrawn_consent of this SenderEmailNotifications.  # noqa: E501
354
355        When set to **true**, the user receives notification if consent is withdrawn.  # noqa: E501
356
357        :return: The withdrawn_consent of this SenderEmailNotifications.  # noqa: E501
358        :rtype: str
359        """
360        return self._withdrawn_consent
361
362    @withdrawn_consent.setter
363    def withdrawn_consent(self, withdrawn_consent):
364        """Sets the withdrawn_consent of this SenderEmailNotifications.
365
366        When set to **true**, the user receives notification if consent is withdrawn.  # noqa: E501
367
368        :param withdrawn_consent: The withdrawn_consent of this SenderEmailNotifications.  # noqa: E501
369        :type: str
370        """
371
372        self._withdrawn_consent = withdrawn_consent
373
374    def to_dict(self):
375        """Returns the model properties as a dict"""
376        result = {}
377
378        for attr, _ in six.iteritems(self.swagger_types):
379            value = getattr(self, attr)
380            if isinstance(value, list):
381                result[attr] = list(map(
382                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
383                    value
384                ))
385            elif hasattr(value, "to_dict"):
386                result[attr] = value.to_dict()
387            elif isinstance(value, dict):
388                result[attr] = dict(map(
389                    lambda item: (item[0], item[1].to_dict())
390                    if hasattr(item[1], "to_dict") else item,
391                    value.items()
392                ))
393            else:
394                result[attr] = value
395        if issubclass(SenderEmailNotifications, dict):
396            for key, value in self.items():
397                result[key] = value
398
399        return result
400
401    def to_str(self):
402        """Returns the string representation of the model"""
403        return pprint.pformat(self.to_dict())
404
405    def __repr__(self):
406        """For `print` and `pprint`"""
407        return self.to_str()
408
409    def __eq__(self, other):
410        """Returns true if both objects are equal"""
411        if not isinstance(other, SenderEmailNotifications):
412            return False
413
414        return self.to_dict() == other.to_dict()
415
416    def __ne__(self, other):
417        """Returns true if both objects are not equal"""
418        if not isinstance(other, SenderEmailNotifications):
419            return True
420
421        return self.to_dict() != other.to_dict()
class SenderEmailNotifications:
 23class SenderEmailNotifications(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        'changed_signer': 'str',
 38        'clickwrap_responses_limit_notification_email': 'str',
 39        'comments_only_private_and_mention': 'str',
 40        'comments_receive_all': 'str',
 41        'delivery_failed': 'str',
 42        'envelope_complete': 'str',
 43        'offline_signing_failed': 'str',
 44        'powerform_responses_limit_notification_email': 'str',
 45        'purge_documents': 'str',
 46        'recipient_viewed': 'str',
 47        'sender_envelope_declined': 'str',
 48        'withdrawn_consent': 'str'
 49    }
 50
 51    attribute_map = {
 52        'changed_signer': 'changedSigner',
 53        'clickwrap_responses_limit_notification_email': 'clickwrapResponsesLimitNotificationEmail',
 54        'comments_only_private_and_mention': 'commentsOnlyPrivateAndMention',
 55        'comments_receive_all': 'commentsReceiveAll',
 56        'delivery_failed': 'deliveryFailed',
 57        'envelope_complete': 'envelopeComplete',
 58        'offline_signing_failed': 'offlineSigningFailed',
 59        'powerform_responses_limit_notification_email': 'powerformResponsesLimitNotificationEmail',
 60        'purge_documents': 'purgeDocuments',
 61        'recipient_viewed': 'recipientViewed',
 62        'sender_envelope_declined': 'senderEnvelopeDeclined',
 63        'withdrawn_consent': 'withdrawnConsent'
 64    }
 65
 66    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 67        """SenderEmailNotifications - a model defined in Swagger"""  # noqa: E501
 68        if _configuration is None:
 69            _configuration = Configuration()
 70        self._configuration = _configuration
 71
 72        self._changed_signer = None
 73        self._clickwrap_responses_limit_notification_email = None
 74        self._comments_only_private_and_mention = None
 75        self._comments_receive_all = None
 76        self._delivery_failed = None
 77        self._envelope_complete = None
 78        self._offline_signing_failed = None
 79        self._powerform_responses_limit_notification_email = None
 80        self._purge_documents = None
 81        self._recipient_viewed = None
 82        self._sender_envelope_declined = None
 83        self._withdrawn_consent = None
 84        self.discriminator = None
 85
 86        setattr(self, "_{}".format('changed_signer'), kwargs.get('changed_signer', None))
 87        setattr(self, "_{}".format('clickwrap_responses_limit_notification_email'), kwargs.get('clickwrap_responses_limit_notification_email', None))
 88        setattr(self, "_{}".format('comments_only_private_and_mention'), kwargs.get('comments_only_private_and_mention', None))
 89        setattr(self, "_{}".format('comments_receive_all'), kwargs.get('comments_receive_all', None))
 90        setattr(self, "_{}".format('delivery_failed'), kwargs.get('delivery_failed', None))
 91        setattr(self, "_{}".format('envelope_complete'), kwargs.get('envelope_complete', None))
 92        setattr(self, "_{}".format('offline_signing_failed'), kwargs.get('offline_signing_failed', None))
 93        setattr(self, "_{}".format('powerform_responses_limit_notification_email'), kwargs.get('powerform_responses_limit_notification_email', None))
 94        setattr(self, "_{}".format('purge_documents'), kwargs.get('purge_documents', None))
 95        setattr(self, "_{}".format('recipient_viewed'), kwargs.get('recipient_viewed', None))
 96        setattr(self, "_{}".format('sender_envelope_declined'), kwargs.get('sender_envelope_declined', None))
 97        setattr(self, "_{}".format('withdrawn_consent'), kwargs.get('withdrawn_consent', None))
 98
 99    @property
100    def changed_signer(self):
101        """Gets the changed_signer of this SenderEmailNotifications.  # noqa: E501
102
103        When set to **true**, the sender receives notification if the signer changes.  # noqa: E501
104
105        :return: The changed_signer of this SenderEmailNotifications.  # noqa: E501
106        :rtype: str
107        """
108        return self._changed_signer
109
110    @changed_signer.setter
111    def changed_signer(self, changed_signer):
112        """Sets the changed_signer of this SenderEmailNotifications.
113
114        When set to **true**, the sender receives notification if the signer changes.  # noqa: E501
115
116        :param changed_signer: The changed_signer of this SenderEmailNotifications.  # noqa: E501
117        :type: str
118        """
119
120        self._changed_signer = changed_signer
121
122    @property
123    def clickwrap_responses_limit_notification_email(self):
124        """Gets the clickwrap_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
125
126          # noqa: E501
127
128        :return: The clickwrap_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
129        :rtype: str
130        """
131        return self._clickwrap_responses_limit_notification_email
132
133    @clickwrap_responses_limit_notification_email.setter
134    def clickwrap_responses_limit_notification_email(self, clickwrap_responses_limit_notification_email):
135        """Sets the clickwrap_responses_limit_notification_email of this SenderEmailNotifications.
136
137          # noqa: E501
138
139        :param clickwrap_responses_limit_notification_email: The clickwrap_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
140        :type: str
141        """
142
143        self._clickwrap_responses_limit_notification_email = clickwrap_responses_limit_notification_email
144
145    @property
146    def comments_only_private_and_mention(self):
147        """Gets the comments_only_private_and_mention of this SenderEmailNotifications.  # noqa: E501
148
149          # noqa: E501
150
151        :return: The comments_only_private_and_mention of this SenderEmailNotifications.  # noqa: E501
152        :rtype: str
153        """
154        return self._comments_only_private_and_mention
155
156    @comments_only_private_and_mention.setter
157    def comments_only_private_and_mention(self, comments_only_private_and_mention):
158        """Sets the comments_only_private_and_mention of this SenderEmailNotifications.
159
160          # noqa: E501
161
162        :param comments_only_private_and_mention: The comments_only_private_and_mention of this SenderEmailNotifications.  # noqa: E501
163        :type: str
164        """
165
166        self._comments_only_private_and_mention = comments_only_private_and_mention
167
168    @property
169    def comments_receive_all(self):
170        """Gets the comments_receive_all of this SenderEmailNotifications.  # noqa: E501
171
172          # noqa: E501
173
174        :return: The comments_receive_all of this SenderEmailNotifications.  # noqa: E501
175        :rtype: str
176        """
177        return self._comments_receive_all
178
179    @comments_receive_all.setter
180    def comments_receive_all(self, comments_receive_all):
181        """Sets the comments_receive_all of this SenderEmailNotifications.
182
183          # noqa: E501
184
185        :param comments_receive_all: The comments_receive_all of this SenderEmailNotifications.  # noqa: E501
186        :type: str
187        """
188
189        self._comments_receive_all = comments_receive_all
190
191    @property
192    def delivery_failed(self):
193        """Gets the delivery_failed of this SenderEmailNotifications.  # noqa: E501
194
195        When set to **true**, the sender receives notification if the delivery of the envelope fails.  # noqa: E501
196
197        :return: The delivery_failed of this SenderEmailNotifications.  # noqa: E501
198        :rtype: str
199        """
200        return self._delivery_failed
201
202    @delivery_failed.setter
203    def delivery_failed(self, delivery_failed):
204        """Sets the delivery_failed of this SenderEmailNotifications.
205
206        When set to **true**, the sender receives notification if the delivery of the envelope fails.  # noqa: E501
207
208        :param delivery_failed: The delivery_failed of this SenderEmailNotifications.  # noqa: E501
209        :type: str
210        """
211
212        self._delivery_failed = delivery_failed
213
214    @property
215    def envelope_complete(self):
216        """Gets the envelope_complete of this SenderEmailNotifications.  # noqa: E501
217
218        When set to **true**, the user receives notification that the envelope has been completed.  # noqa: E501
219
220        :return: The envelope_complete of this SenderEmailNotifications.  # noqa: E501
221        :rtype: str
222        """
223        return self._envelope_complete
224
225    @envelope_complete.setter
226    def envelope_complete(self, envelope_complete):
227        """Sets the envelope_complete of this SenderEmailNotifications.
228
229        When set to **true**, the user receives notification that the envelope has been completed.  # noqa: E501
230
231        :param envelope_complete: The envelope_complete of this SenderEmailNotifications.  # noqa: E501
232        :type: str
233        """
234
235        self._envelope_complete = envelope_complete
236
237    @property
238    def offline_signing_failed(self):
239        """Gets the offline_signing_failed of this SenderEmailNotifications.  # noqa: E501
240
241        When set to **true**, the user receives notification if the offline signing failed.  # noqa: E501
242
243        :return: The offline_signing_failed of this SenderEmailNotifications.  # noqa: E501
244        :rtype: str
245        """
246        return self._offline_signing_failed
247
248    @offline_signing_failed.setter
249    def offline_signing_failed(self, offline_signing_failed):
250        """Sets the offline_signing_failed of this SenderEmailNotifications.
251
252        When set to **true**, the user receives notification if the offline signing failed.  # noqa: E501
253
254        :param offline_signing_failed: The offline_signing_failed of this SenderEmailNotifications.  # noqa: E501
255        :type: str
256        """
257
258        self._offline_signing_failed = offline_signing_failed
259
260    @property
261    def powerform_responses_limit_notification_email(self):
262        """Gets the powerform_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
263
264          # noqa: E501
265
266        :return: The powerform_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
267        :rtype: str
268        """
269        return self._powerform_responses_limit_notification_email
270
271    @powerform_responses_limit_notification_email.setter
272    def powerform_responses_limit_notification_email(self, powerform_responses_limit_notification_email):
273        """Sets the powerform_responses_limit_notification_email of this SenderEmailNotifications.
274
275          # noqa: E501
276
277        :param powerform_responses_limit_notification_email: The powerform_responses_limit_notification_email of this SenderEmailNotifications.  # noqa: E501
278        :type: str
279        """
280
281        self._powerform_responses_limit_notification_email = powerform_responses_limit_notification_email
282
283    @property
284    def purge_documents(self):
285        """Gets the purge_documents of this SenderEmailNotifications.  # noqa: E501
286
287          # noqa: E501
288
289        :return: The purge_documents of this SenderEmailNotifications.  # noqa: E501
290        :rtype: str
291        """
292        return self._purge_documents
293
294    @purge_documents.setter
295    def purge_documents(self, purge_documents):
296        """Sets the purge_documents of this SenderEmailNotifications.
297
298          # noqa: E501
299
300        :param purge_documents: The purge_documents of this SenderEmailNotifications.  # noqa: E501
301        :type: str
302        """
303
304        self._purge_documents = purge_documents
305
306    @property
307    def recipient_viewed(self):
308        """Gets the recipient_viewed of this SenderEmailNotifications.  # noqa: E501
309
310        When set to **true**, the sender receives notification that the recipient viewed the enveloper.  # noqa: E501
311
312        :return: The recipient_viewed of this SenderEmailNotifications.  # noqa: E501
313        :rtype: str
314        """
315        return self._recipient_viewed
316
317    @recipient_viewed.setter
318    def recipient_viewed(self, recipient_viewed):
319        """Sets the recipient_viewed of this SenderEmailNotifications.
320
321        When set to **true**, the sender receives notification that the recipient viewed the enveloper.  # noqa: E501
322
323        :param recipient_viewed: The recipient_viewed of this SenderEmailNotifications.  # noqa: E501
324        :type: str
325        """
326
327        self._recipient_viewed = recipient_viewed
328
329    @property
330    def sender_envelope_declined(self):
331        """Gets the sender_envelope_declined of this SenderEmailNotifications.  # noqa: E501
332
333          # noqa: E501
334
335        :return: The sender_envelope_declined of this SenderEmailNotifications.  # noqa: E501
336        :rtype: str
337        """
338        return self._sender_envelope_declined
339
340    @sender_envelope_declined.setter
341    def sender_envelope_declined(self, sender_envelope_declined):
342        """Sets the sender_envelope_declined of this SenderEmailNotifications.
343
344          # noqa: E501
345
346        :param sender_envelope_declined: The sender_envelope_declined of this SenderEmailNotifications.  # noqa: E501
347        :type: str
348        """
349
350        self._sender_envelope_declined = sender_envelope_declined
351
352    @property
353    def withdrawn_consent(self):
354        """Gets the withdrawn_consent of this SenderEmailNotifications.  # noqa: E501
355
356        When set to **true**, the user receives notification if consent is withdrawn.  # noqa: E501
357
358        :return: The withdrawn_consent of this SenderEmailNotifications.  # noqa: E501
359        :rtype: str
360        """
361        return self._withdrawn_consent
362
363    @withdrawn_consent.setter
364    def withdrawn_consent(self, withdrawn_consent):
365        """Sets the withdrawn_consent of this SenderEmailNotifications.
366
367        When set to **true**, the user receives notification if consent is withdrawn.  # noqa: E501
368
369        :param withdrawn_consent: The withdrawn_consent of this SenderEmailNotifications.  # noqa: E501
370        :type: str
371        """
372
373        self._withdrawn_consent = withdrawn_consent
374
375    def to_dict(self):
376        """Returns the model properties as a dict"""
377        result = {}
378
379        for attr, _ in six.iteritems(self.swagger_types):
380            value = getattr(self, attr)
381            if isinstance(value, list):
382                result[attr] = list(map(
383                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
384                    value
385                ))
386            elif hasattr(value, "to_dict"):
387                result[attr] = value.to_dict()
388            elif isinstance(value, dict):
389                result[attr] = dict(map(
390                    lambda item: (item[0], item[1].to_dict())
391                    if hasattr(item[1], "to_dict") else item,
392                    value.items()
393                ))
394            else:
395                result[attr] = value
396        if issubclass(SenderEmailNotifications, dict):
397            for key, value in self.items():
398                result[key] = value
399
400        return result
401
402    def to_str(self):
403        """Returns the string representation of the model"""
404        return pprint.pformat(self.to_dict())
405
406    def __repr__(self):
407        """For `print` and `pprint`"""
408        return self.to_str()
409
410    def __eq__(self, other):
411        """Returns true if both objects are equal"""
412        if not isinstance(other, SenderEmailNotifications):
413            return False
414
415        return self.to_dict() == other.to_dict()
416
417    def __ne__(self, other):
418        """Returns true if both objects are not equal"""
419        if not isinstance(other, SenderEmailNotifications):
420            return True
421
422        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.

SenderEmailNotifications(_configuration=None, **kwargs)
66    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
67        """SenderEmailNotifications - a model defined in Swagger"""  # noqa: E501
68        if _configuration is None:
69            _configuration = Configuration()
70        self._configuration = _configuration
71
72        self._changed_signer = None
73        self._clickwrap_responses_limit_notification_email = None
74        self._comments_only_private_and_mention = None
75        self._comments_receive_all = None
76        self._delivery_failed = None
77        self._envelope_complete = None
78        self._offline_signing_failed = None
79        self._powerform_responses_limit_notification_email = None
80        self._purge_documents = None
81        self._recipient_viewed = None
82        self._sender_envelope_declined = None
83        self._withdrawn_consent = None
84        self.discriminator = None
85
86        setattr(self, "_{}".format('changed_signer'), kwargs.get('changed_signer', None))
87        setattr(self, "_{}".format('clickwrap_responses_limit_notification_email'), kwargs.get('clickwrap_responses_limit_notification_email', None))
88        setattr(self, "_{}".format('comments_only_private_and_mention'), kwargs.get('comments_only_private_and_mention', None))
89        setattr(self, "_{}".format('comments_receive_all'), kwargs.get('comments_receive_all', None))
90        setattr(self, "_{}".format('delivery_failed'), kwargs.get('delivery_failed', None))
91        setattr(self, "_{}".format('envelope_complete'), kwargs.get('envelope_complete', None))
92        setattr(self, "_{}".format('offline_signing_failed'), kwargs.get('offline_signing_failed', None))
93        setattr(self, "_{}".format('powerform_responses_limit_notification_email'), kwargs.get('powerform_responses_limit_notification_email', None))
94        setattr(self, "_{}".format('purge_documents'), kwargs.get('purge_documents', None))
95        setattr(self, "_{}".format('recipient_viewed'), kwargs.get('recipient_viewed', None))
96        setattr(self, "_{}".format('sender_envelope_declined'), kwargs.get('sender_envelope_declined', None))
97        setattr(self, "_{}".format('withdrawn_consent'), kwargs.get('withdrawn_consent', None))

SenderEmailNotifications - a model defined in Swagger

swagger_types = {'changed_signer': 'str', 'clickwrap_responses_limit_notification_email': 'str', 'comments_only_private_and_mention': 'str', 'comments_receive_all': 'str', 'delivery_failed': 'str', 'envelope_complete': 'str', 'offline_signing_failed': 'str', 'powerform_responses_limit_notification_email': 'str', 'purge_documents': 'str', 'recipient_viewed': 'str', 'sender_envelope_declined': 'str', 'withdrawn_consent': 'str'}
attribute_map = {'changed_signer': 'changedSigner', 'clickwrap_responses_limit_notification_email': 'clickwrapResponsesLimitNotificationEmail', 'comments_only_private_and_mention': 'commentsOnlyPrivateAndMention', 'comments_receive_all': 'commentsReceiveAll', 'delivery_failed': 'deliveryFailed', 'envelope_complete': 'envelopeComplete', 'offline_signing_failed': 'offlineSigningFailed', 'powerform_responses_limit_notification_email': 'powerformResponsesLimitNotificationEmail', 'purge_documents': 'purgeDocuments', 'recipient_viewed': 'recipientViewed', 'sender_envelope_declined': 'senderEnvelopeDeclined', 'withdrawn_consent': 'withdrawnConsent'}
changed_signer

Gets the changed_signer of this SenderEmailNotifications. # noqa: E501

When set to true, the sender receives notification if the signer changes. # noqa: E501

Returns

The changed_signer of this SenderEmailNotifications. # noqa: E501

clickwrap_responses_limit_notification_email

Gets the clickwrap_responses_limit_notification_email of this SenderEmailNotifications. # noqa: E501

# noqa: E501

Returns

The clickwrap_responses_limit_notification_email of this SenderEmailNotifications. # noqa: E501

comments_only_private_and_mention

Gets the comments_only_private_and_mention of this SenderEmailNotifications. # noqa: E501

# noqa: E501

Returns

The comments_only_private_and_mention of this SenderEmailNotifications. # noqa: E501

comments_receive_all

Gets the comments_receive_all of this SenderEmailNotifications. # noqa: E501

# noqa: E501

Returns

The comments_receive_all of this SenderEmailNotifications. # noqa: E501

delivery_failed

Gets the delivery_failed of this SenderEmailNotifications. # noqa: E501

When set to true, the sender receives notification if the delivery of the envelope fails. # noqa: E501

Returns

The delivery_failed of this SenderEmailNotifications. # noqa: E501

envelope_complete

Gets the envelope_complete of this SenderEmailNotifications. # noqa: E501

When set to true, the user receives notification that the envelope has been completed. # noqa: E501

Returns

The envelope_complete of this SenderEmailNotifications. # noqa: E501

offline_signing_failed

Gets the offline_signing_failed of this SenderEmailNotifications. # noqa: E501

When set to true, the user receives notification if the offline signing failed. # noqa: E501

Returns

The offline_signing_failed of this SenderEmailNotifications. # noqa: E501

powerform_responses_limit_notification_email

Gets the powerform_responses_limit_notification_email of this SenderEmailNotifications. # noqa: E501

# noqa: E501

Returns

The powerform_responses_limit_notification_email of this SenderEmailNotifications. # noqa: E501

purge_documents

Gets the purge_documents of this SenderEmailNotifications. # noqa: E501

# noqa: E501

Returns

The purge_documents of this SenderEmailNotifications. # noqa: E501

recipient_viewed

Gets the recipient_viewed of this SenderEmailNotifications. # noqa: E501

When set to true, the sender receives notification that the recipient viewed the enveloper. # noqa: E501

Returns

The recipient_viewed of this SenderEmailNotifications. # noqa: E501

sender_envelope_declined

Gets the sender_envelope_declined of this SenderEmailNotifications. # noqa: E501

# noqa: E501

Returns

The sender_envelope_declined of this SenderEmailNotifications. # noqa: E501

def to_dict(self)
375    def to_dict(self):
376        """Returns the model properties as a dict"""
377        result = {}
378
379        for attr, _ in six.iteritems(self.swagger_types):
380            value = getattr(self, attr)
381            if isinstance(value, list):
382                result[attr] = list(map(
383                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
384                    value
385                ))
386            elif hasattr(value, "to_dict"):
387                result[attr] = value.to_dict()
388            elif isinstance(value, dict):
389                result[attr] = dict(map(
390                    lambda item: (item[0], item[1].to_dict())
391                    if hasattr(item[1], "to_dict") else item,
392                    value.items()
393                ))
394            else:
395                result[attr] = value
396        if issubclass(SenderEmailNotifications, dict):
397            for key, value in self.items():
398                result[key] = value
399
400        return result

Returns the model properties as a dict

def to_str(self)
402    def to_str(self):
403        """Returns the string representation of the model"""
404        return pprint.pformat(self.to_dict())

Returns the string representation of the model