docusign_esign.models.envelope_view_settings

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 EnvelopeViewSettings(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        'back_button_action': 'str',
 37        'document_settings': 'EnvelopeViewDocumentSettings',
 38        'envelope_custom_field_settings': 'EnvelopeViewEnvelopeCustomFieldSettings',
 39        'lock_token': 'str',
 40        'recipient_settings': 'EnvelopeViewRecipientSettings',
 41        'send_button_action': 'str',
 42        'show_advanced_options': 'str',
 43        'show_back_button': 'str',
 44        'show_discard_action': 'str',
 45        'show_header_actions': 'str',
 46        'starting_screen': 'str',
 47        'tagger_settings': 'EnvelopeViewTaggerSettings',
 48        'template_settings': 'EnvelopeViewTemplateSettings'
 49    }
 50
 51    attribute_map = {
 52        'back_button_action': 'backButtonAction',
 53        'document_settings': 'documentSettings',
 54        'envelope_custom_field_settings': 'envelopeCustomFieldSettings',
 55        'lock_token': 'lockToken',
 56        'recipient_settings': 'recipientSettings',
 57        'send_button_action': 'sendButtonAction',
 58        'show_advanced_options': 'showAdvancedOptions',
 59        'show_back_button': 'showBackButton',
 60        'show_discard_action': 'showDiscardAction',
 61        'show_header_actions': 'showHeaderActions',
 62        'starting_screen': 'startingScreen',
 63        'tagger_settings': 'taggerSettings',
 64        'template_settings': 'templateSettings'
 65    }
 66
 67    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 68        """EnvelopeViewSettings - a model defined in Swagger"""  # noqa: E501
 69        if _configuration is None:
 70            _configuration = Configuration()
 71        self._configuration = _configuration
 72
 73        self._back_button_action = None
 74        self._document_settings = None
 75        self._envelope_custom_field_settings = None
 76        self._lock_token = None
 77        self._recipient_settings = None
 78        self._send_button_action = None
 79        self._show_advanced_options = None
 80        self._show_back_button = None
 81        self._show_discard_action = None
 82        self._show_header_actions = None
 83        self._starting_screen = None
 84        self._tagger_settings = None
 85        self._template_settings = None
 86        self.discriminator = None
 87
 88        setattr(self, "_{}".format('back_button_action'), kwargs.get('back_button_action', None))
 89        setattr(self, "_{}".format('document_settings'), kwargs.get('document_settings', None))
 90        setattr(self, "_{}".format('envelope_custom_field_settings'), kwargs.get('envelope_custom_field_settings', None))
 91        setattr(self, "_{}".format('lock_token'), kwargs.get('lock_token', None))
 92        setattr(self, "_{}".format('recipient_settings'), kwargs.get('recipient_settings', None))
 93        setattr(self, "_{}".format('send_button_action'), kwargs.get('send_button_action', None))
 94        setattr(self, "_{}".format('show_advanced_options'), kwargs.get('show_advanced_options', None))
 95        setattr(self, "_{}".format('show_back_button'), kwargs.get('show_back_button', None))
 96        setattr(self, "_{}".format('show_discard_action'), kwargs.get('show_discard_action', None))
 97        setattr(self, "_{}".format('show_header_actions'), kwargs.get('show_header_actions', None))
 98        setattr(self, "_{}".format('starting_screen'), kwargs.get('starting_screen', None))
 99        setattr(self, "_{}".format('tagger_settings'), kwargs.get('tagger_settings', None))
100        setattr(self, "_{}".format('template_settings'), kwargs.get('template_settings', None))
101
102    @property
103    def back_button_action(self):
104        """Gets the back_button_action of this EnvelopeViewSettings.  # noqa: E501
105
106          # noqa: E501
107
108        :return: The back_button_action of this EnvelopeViewSettings.  # noqa: E501
109        :rtype: str
110        """
111        return self._back_button_action
112
113    @back_button_action.setter
114    def back_button_action(self, back_button_action):
115        """Sets the back_button_action of this EnvelopeViewSettings.
116
117          # noqa: E501
118
119        :param back_button_action: The back_button_action of this EnvelopeViewSettings.  # noqa: E501
120        :type: str
121        """
122
123        self._back_button_action = back_button_action
124
125    @property
126    def document_settings(self):
127        """Gets the document_settings of this EnvelopeViewSettings.  # noqa: E501
128
129          # noqa: E501
130
131        :return: The document_settings of this EnvelopeViewSettings.  # noqa: E501
132        :rtype: EnvelopeViewDocumentSettings
133        """
134        return self._document_settings
135
136    @document_settings.setter
137    def document_settings(self, document_settings):
138        """Sets the document_settings of this EnvelopeViewSettings.
139
140          # noqa: E501
141
142        :param document_settings: The document_settings of this EnvelopeViewSettings.  # noqa: E501
143        :type: EnvelopeViewDocumentSettings
144        """
145
146        self._document_settings = document_settings
147
148    @property
149    def envelope_custom_field_settings(self):
150        """Gets the envelope_custom_field_settings of this EnvelopeViewSettings.  # noqa: E501
151
152          # noqa: E501
153
154        :return: The envelope_custom_field_settings of this EnvelopeViewSettings.  # noqa: E501
155        :rtype: EnvelopeViewEnvelopeCustomFieldSettings
156        """
157        return self._envelope_custom_field_settings
158
159    @envelope_custom_field_settings.setter
160    def envelope_custom_field_settings(self, envelope_custom_field_settings):
161        """Sets the envelope_custom_field_settings of this EnvelopeViewSettings.
162
163          # noqa: E501
164
165        :param envelope_custom_field_settings: The envelope_custom_field_settings of this EnvelopeViewSettings.  # noqa: E501
166        :type: EnvelopeViewEnvelopeCustomFieldSettings
167        """
168
169        self._envelope_custom_field_settings = envelope_custom_field_settings
170
171    @property
172    def lock_token(self):
173        """Gets the lock_token of this EnvelopeViewSettings.  # noqa: E501
174
175          # noqa: E501
176
177        :return: The lock_token of this EnvelopeViewSettings.  # noqa: E501
178        :rtype: str
179        """
180        return self._lock_token
181
182    @lock_token.setter
183    def lock_token(self, lock_token):
184        """Sets the lock_token of this EnvelopeViewSettings.
185
186          # noqa: E501
187
188        :param lock_token: The lock_token of this EnvelopeViewSettings.  # noqa: E501
189        :type: str
190        """
191
192        self._lock_token = lock_token
193
194    @property
195    def recipient_settings(self):
196        """Gets the recipient_settings of this EnvelopeViewSettings.  # noqa: E501
197
198          # noqa: E501
199
200        :return: The recipient_settings of this EnvelopeViewSettings.  # noqa: E501
201        :rtype: EnvelopeViewRecipientSettings
202        """
203        return self._recipient_settings
204
205    @recipient_settings.setter
206    def recipient_settings(self, recipient_settings):
207        """Sets the recipient_settings of this EnvelopeViewSettings.
208
209          # noqa: E501
210
211        :param recipient_settings: The recipient_settings of this EnvelopeViewSettings.  # noqa: E501
212        :type: EnvelopeViewRecipientSettings
213        """
214
215        self._recipient_settings = recipient_settings
216
217    @property
218    def send_button_action(self):
219        """Gets the send_button_action of this EnvelopeViewSettings.  # noqa: E501
220
221          # noqa: E501
222
223        :return: The send_button_action of this EnvelopeViewSettings.  # noqa: E501
224        :rtype: str
225        """
226        return self._send_button_action
227
228    @send_button_action.setter
229    def send_button_action(self, send_button_action):
230        """Sets the send_button_action of this EnvelopeViewSettings.
231
232          # noqa: E501
233
234        :param send_button_action: The send_button_action of this EnvelopeViewSettings.  # noqa: E501
235        :type: str
236        """
237
238        self._send_button_action = send_button_action
239
240    @property
241    def show_advanced_options(self):
242        """Gets the show_advanced_options of this EnvelopeViewSettings.  # noqa: E501
243
244          # noqa: E501
245
246        :return: The show_advanced_options of this EnvelopeViewSettings.  # noqa: E501
247        :rtype: str
248        """
249        return self._show_advanced_options
250
251    @show_advanced_options.setter
252    def show_advanced_options(self, show_advanced_options):
253        """Sets the show_advanced_options of this EnvelopeViewSettings.
254
255          # noqa: E501
256
257        :param show_advanced_options: The show_advanced_options of this EnvelopeViewSettings.  # noqa: E501
258        :type: str
259        """
260
261        self._show_advanced_options = show_advanced_options
262
263    @property
264    def show_back_button(self):
265        """Gets the show_back_button of this EnvelopeViewSettings.  # noqa: E501
266
267          # noqa: E501
268
269        :return: The show_back_button of this EnvelopeViewSettings.  # noqa: E501
270        :rtype: str
271        """
272        return self._show_back_button
273
274    @show_back_button.setter
275    def show_back_button(self, show_back_button):
276        """Sets the show_back_button of this EnvelopeViewSettings.
277
278          # noqa: E501
279
280        :param show_back_button: The show_back_button of this EnvelopeViewSettings.  # noqa: E501
281        :type: str
282        """
283
284        self._show_back_button = show_back_button
285
286    @property
287    def show_discard_action(self):
288        """Gets the show_discard_action of this EnvelopeViewSettings.  # noqa: E501
289
290          # noqa: E501
291
292        :return: The show_discard_action of this EnvelopeViewSettings.  # noqa: E501
293        :rtype: str
294        """
295        return self._show_discard_action
296
297    @show_discard_action.setter
298    def show_discard_action(self, show_discard_action):
299        """Sets the show_discard_action of this EnvelopeViewSettings.
300
301          # noqa: E501
302
303        :param show_discard_action: The show_discard_action of this EnvelopeViewSettings.  # noqa: E501
304        :type: str
305        """
306
307        self._show_discard_action = show_discard_action
308
309    @property
310    def show_header_actions(self):
311        """Gets the show_header_actions of this EnvelopeViewSettings.  # noqa: E501
312
313          # noqa: E501
314
315        :return: The show_header_actions of this EnvelopeViewSettings.  # noqa: E501
316        :rtype: str
317        """
318        return self._show_header_actions
319
320    @show_header_actions.setter
321    def show_header_actions(self, show_header_actions):
322        """Sets the show_header_actions of this EnvelopeViewSettings.
323
324          # noqa: E501
325
326        :param show_header_actions: The show_header_actions of this EnvelopeViewSettings.  # noqa: E501
327        :type: str
328        """
329
330        self._show_header_actions = show_header_actions
331
332    @property
333    def starting_screen(self):
334        """Gets the starting_screen of this EnvelopeViewSettings.  # noqa: E501
335
336          # noqa: E501
337
338        :return: The starting_screen of this EnvelopeViewSettings.  # noqa: E501
339        :rtype: str
340        """
341        return self._starting_screen
342
343    @starting_screen.setter
344    def starting_screen(self, starting_screen):
345        """Sets the starting_screen of this EnvelopeViewSettings.
346
347          # noqa: E501
348
349        :param starting_screen: The starting_screen of this EnvelopeViewSettings.  # noqa: E501
350        :type: str
351        """
352
353        self._starting_screen = starting_screen
354
355    @property
356    def tagger_settings(self):
357        """Gets the tagger_settings of this EnvelopeViewSettings.  # noqa: E501
358
359          # noqa: E501
360
361        :return: The tagger_settings of this EnvelopeViewSettings.  # noqa: E501
362        :rtype: EnvelopeViewTaggerSettings
363        """
364        return self._tagger_settings
365
366    @tagger_settings.setter
367    def tagger_settings(self, tagger_settings):
368        """Sets the tagger_settings of this EnvelopeViewSettings.
369
370          # noqa: E501
371
372        :param tagger_settings: The tagger_settings of this EnvelopeViewSettings.  # noqa: E501
373        :type: EnvelopeViewTaggerSettings
374        """
375
376        self._tagger_settings = tagger_settings
377
378    @property
379    def template_settings(self):
380        """Gets the template_settings of this EnvelopeViewSettings.  # noqa: E501
381
382          # noqa: E501
383
384        :return: The template_settings of this EnvelopeViewSettings.  # noqa: E501
385        :rtype: EnvelopeViewTemplateSettings
386        """
387        return self._template_settings
388
389    @template_settings.setter
390    def template_settings(self, template_settings):
391        """Sets the template_settings of this EnvelopeViewSettings.
392
393          # noqa: E501
394
395        :param template_settings: The template_settings of this EnvelopeViewSettings.  # noqa: E501
396        :type: EnvelopeViewTemplateSettings
397        """
398
399        self._template_settings = template_settings
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(EnvelopeViewSettings, 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, EnvelopeViewSettings):
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, EnvelopeViewSettings):
446            return True
447
448        return self.to_dict() != other.to_dict()
class EnvelopeViewSettings:
 23class EnvelopeViewSettings(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        'back_button_action': 'str',
 38        'document_settings': 'EnvelopeViewDocumentSettings',
 39        'envelope_custom_field_settings': 'EnvelopeViewEnvelopeCustomFieldSettings',
 40        'lock_token': 'str',
 41        'recipient_settings': 'EnvelopeViewRecipientSettings',
 42        'send_button_action': 'str',
 43        'show_advanced_options': 'str',
 44        'show_back_button': 'str',
 45        'show_discard_action': 'str',
 46        'show_header_actions': 'str',
 47        'starting_screen': 'str',
 48        'tagger_settings': 'EnvelopeViewTaggerSettings',
 49        'template_settings': 'EnvelopeViewTemplateSettings'
 50    }
 51
 52    attribute_map = {
 53        'back_button_action': 'backButtonAction',
 54        'document_settings': 'documentSettings',
 55        'envelope_custom_field_settings': 'envelopeCustomFieldSettings',
 56        'lock_token': 'lockToken',
 57        'recipient_settings': 'recipientSettings',
 58        'send_button_action': 'sendButtonAction',
 59        'show_advanced_options': 'showAdvancedOptions',
 60        'show_back_button': 'showBackButton',
 61        'show_discard_action': 'showDiscardAction',
 62        'show_header_actions': 'showHeaderActions',
 63        'starting_screen': 'startingScreen',
 64        'tagger_settings': 'taggerSettings',
 65        'template_settings': 'templateSettings'
 66    }
 67
 68    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 69        """EnvelopeViewSettings - a model defined in Swagger"""  # noqa: E501
 70        if _configuration is None:
 71            _configuration = Configuration()
 72        self._configuration = _configuration
 73
 74        self._back_button_action = None
 75        self._document_settings = None
 76        self._envelope_custom_field_settings = None
 77        self._lock_token = None
 78        self._recipient_settings = None
 79        self._send_button_action = None
 80        self._show_advanced_options = None
 81        self._show_back_button = None
 82        self._show_discard_action = None
 83        self._show_header_actions = None
 84        self._starting_screen = None
 85        self._tagger_settings = None
 86        self._template_settings = None
 87        self.discriminator = None
 88
 89        setattr(self, "_{}".format('back_button_action'), kwargs.get('back_button_action', None))
 90        setattr(self, "_{}".format('document_settings'), kwargs.get('document_settings', None))
 91        setattr(self, "_{}".format('envelope_custom_field_settings'), kwargs.get('envelope_custom_field_settings', None))
 92        setattr(self, "_{}".format('lock_token'), kwargs.get('lock_token', None))
 93        setattr(self, "_{}".format('recipient_settings'), kwargs.get('recipient_settings', None))
 94        setattr(self, "_{}".format('send_button_action'), kwargs.get('send_button_action', None))
 95        setattr(self, "_{}".format('show_advanced_options'), kwargs.get('show_advanced_options', None))
 96        setattr(self, "_{}".format('show_back_button'), kwargs.get('show_back_button', None))
 97        setattr(self, "_{}".format('show_discard_action'), kwargs.get('show_discard_action', None))
 98        setattr(self, "_{}".format('show_header_actions'), kwargs.get('show_header_actions', None))
 99        setattr(self, "_{}".format('starting_screen'), kwargs.get('starting_screen', None))
100        setattr(self, "_{}".format('tagger_settings'), kwargs.get('tagger_settings', None))
101        setattr(self, "_{}".format('template_settings'), kwargs.get('template_settings', None))
102
103    @property
104    def back_button_action(self):
105        """Gets the back_button_action of this EnvelopeViewSettings.  # noqa: E501
106
107          # noqa: E501
108
109        :return: The back_button_action of this EnvelopeViewSettings.  # noqa: E501
110        :rtype: str
111        """
112        return self._back_button_action
113
114    @back_button_action.setter
115    def back_button_action(self, back_button_action):
116        """Sets the back_button_action of this EnvelopeViewSettings.
117
118          # noqa: E501
119
120        :param back_button_action: The back_button_action of this EnvelopeViewSettings.  # noqa: E501
121        :type: str
122        """
123
124        self._back_button_action = back_button_action
125
126    @property
127    def document_settings(self):
128        """Gets the document_settings of this EnvelopeViewSettings.  # noqa: E501
129
130          # noqa: E501
131
132        :return: The document_settings of this EnvelopeViewSettings.  # noqa: E501
133        :rtype: EnvelopeViewDocumentSettings
134        """
135        return self._document_settings
136
137    @document_settings.setter
138    def document_settings(self, document_settings):
139        """Sets the document_settings of this EnvelopeViewSettings.
140
141          # noqa: E501
142
143        :param document_settings: The document_settings of this EnvelopeViewSettings.  # noqa: E501
144        :type: EnvelopeViewDocumentSettings
145        """
146
147        self._document_settings = document_settings
148
149    @property
150    def envelope_custom_field_settings(self):
151        """Gets the envelope_custom_field_settings of this EnvelopeViewSettings.  # noqa: E501
152
153          # noqa: E501
154
155        :return: The envelope_custom_field_settings of this EnvelopeViewSettings.  # noqa: E501
156        :rtype: EnvelopeViewEnvelopeCustomFieldSettings
157        """
158        return self._envelope_custom_field_settings
159
160    @envelope_custom_field_settings.setter
161    def envelope_custom_field_settings(self, envelope_custom_field_settings):
162        """Sets the envelope_custom_field_settings of this EnvelopeViewSettings.
163
164          # noqa: E501
165
166        :param envelope_custom_field_settings: The envelope_custom_field_settings of this EnvelopeViewSettings.  # noqa: E501
167        :type: EnvelopeViewEnvelopeCustomFieldSettings
168        """
169
170        self._envelope_custom_field_settings = envelope_custom_field_settings
171
172    @property
173    def lock_token(self):
174        """Gets the lock_token of this EnvelopeViewSettings.  # noqa: E501
175
176          # noqa: E501
177
178        :return: The lock_token of this EnvelopeViewSettings.  # noqa: E501
179        :rtype: str
180        """
181        return self._lock_token
182
183    @lock_token.setter
184    def lock_token(self, lock_token):
185        """Sets the lock_token of this EnvelopeViewSettings.
186
187          # noqa: E501
188
189        :param lock_token: The lock_token of this EnvelopeViewSettings.  # noqa: E501
190        :type: str
191        """
192
193        self._lock_token = lock_token
194
195    @property
196    def recipient_settings(self):
197        """Gets the recipient_settings of this EnvelopeViewSettings.  # noqa: E501
198
199          # noqa: E501
200
201        :return: The recipient_settings of this EnvelopeViewSettings.  # noqa: E501
202        :rtype: EnvelopeViewRecipientSettings
203        """
204        return self._recipient_settings
205
206    @recipient_settings.setter
207    def recipient_settings(self, recipient_settings):
208        """Sets the recipient_settings of this EnvelopeViewSettings.
209
210          # noqa: E501
211
212        :param recipient_settings: The recipient_settings of this EnvelopeViewSettings.  # noqa: E501
213        :type: EnvelopeViewRecipientSettings
214        """
215
216        self._recipient_settings = recipient_settings
217
218    @property
219    def send_button_action(self):
220        """Gets the send_button_action of this EnvelopeViewSettings.  # noqa: E501
221
222          # noqa: E501
223
224        :return: The send_button_action of this EnvelopeViewSettings.  # noqa: E501
225        :rtype: str
226        """
227        return self._send_button_action
228
229    @send_button_action.setter
230    def send_button_action(self, send_button_action):
231        """Sets the send_button_action of this EnvelopeViewSettings.
232
233          # noqa: E501
234
235        :param send_button_action: The send_button_action of this EnvelopeViewSettings.  # noqa: E501
236        :type: str
237        """
238
239        self._send_button_action = send_button_action
240
241    @property
242    def show_advanced_options(self):
243        """Gets the show_advanced_options of this EnvelopeViewSettings.  # noqa: E501
244
245          # noqa: E501
246
247        :return: The show_advanced_options of this EnvelopeViewSettings.  # noqa: E501
248        :rtype: str
249        """
250        return self._show_advanced_options
251
252    @show_advanced_options.setter
253    def show_advanced_options(self, show_advanced_options):
254        """Sets the show_advanced_options of this EnvelopeViewSettings.
255
256          # noqa: E501
257
258        :param show_advanced_options: The show_advanced_options of this EnvelopeViewSettings.  # noqa: E501
259        :type: str
260        """
261
262        self._show_advanced_options = show_advanced_options
263
264    @property
265    def show_back_button(self):
266        """Gets the show_back_button of this EnvelopeViewSettings.  # noqa: E501
267
268          # noqa: E501
269
270        :return: The show_back_button of this EnvelopeViewSettings.  # noqa: E501
271        :rtype: str
272        """
273        return self._show_back_button
274
275    @show_back_button.setter
276    def show_back_button(self, show_back_button):
277        """Sets the show_back_button of this EnvelopeViewSettings.
278
279          # noqa: E501
280
281        :param show_back_button: The show_back_button of this EnvelopeViewSettings.  # noqa: E501
282        :type: str
283        """
284
285        self._show_back_button = show_back_button
286
287    @property
288    def show_discard_action(self):
289        """Gets the show_discard_action of this EnvelopeViewSettings.  # noqa: E501
290
291          # noqa: E501
292
293        :return: The show_discard_action of this EnvelopeViewSettings.  # noqa: E501
294        :rtype: str
295        """
296        return self._show_discard_action
297
298    @show_discard_action.setter
299    def show_discard_action(self, show_discard_action):
300        """Sets the show_discard_action of this EnvelopeViewSettings.
301
302          # noqa: E501
303
304        :param show_discard_action: The show_discard_action of this EnvelopeViewSettings.  # noqa: E501
305        :type: str
306        """
307
308        self._show_discard_action = show_discard_action
309
310    @property
311    def show_header_actions(self):
312        """Gets the show_header_actions of this EnvelopeViewSettings.  # noqa: E501
313
314          # noqa: E501
315
316        :return: The show_header_actions of this EnvelopeViewSettings.  # noqa: E501
317        :rtype: str
318        """
319        return self._show_header_actions
320
321    @show_header_actions.setter
322    def show_header_actions(self, show_header_actions):
323        """Sets the show_header_actions of this EnvelopeViewSettings.
324
325          # noqa: E501
326
327        :param show_header_actions: The show_header_actions of this EnvelopeViewSettings.  # noqa: E501
328        :type: str
329        """
330
331        self._show_header_actions = show_header_actions
332
333    @property
334    def starting_screen(self):
335        """Gets the starting_screen of this EnvelopeViewSettings.  # noqa: E501
336
337          # noqa: E501
338
339        :return: The starting_screen of this EnvelopeViewSettings.  # noqa: E501
340        :rtype: str
341        """
342        return self._starting_screen
343
344    @starting_screen.setter
345    def starting_screen(self, starting_screen):
346        """Sets the starting_screen of this EnvelopeViewSettings.
347
348          # noqa: E501
349
350        :param starting_screen: The starting_screen of this EnvelopeViewSettings.  # noqa: E501
351        :type: str
352        """
353
354        self._starting_screen = starting_screen
355
356    @property
357    def tagger_settings(self):
358        """Gets the tagger_settings of this EnvelopeViewSettings.  # noqa: E501
359
360          # noqa: E501
361
362        :return: The tagger_settings of this EnvelopeViewSettings.  # noqa: E501
363        :rtype: EnvelopeViewTaggerSettings
364        """
365        return self._tagger_settings
366
367    @tagger_settings.setter
368    def tagger_settings(self, tagger_settings):
369        """Sets the tagger_settings of this EnvelopeViewSettings.
370
371          # noqa: E501
372
373        :param tagger_settings: The tagger_settings of this EnvelopeViewSettings.  # noqa: E501
374        :type: EnvelopeViewTaggerSettings
375        """
376
377        self._tagger_settings = tagger_settings
378
379    @property
380    def template_settings(self):
381        """Gets the template_settings of this EnvelopeViewSettings.  # noqa: E501
382
383          # noqa: E501
384
385        :return: The template_settings of this EnvelopeViewSettings.  # noqa: E501
386        :rtype: EnvelopeViewTemplateSettings
387        """
388        return self._template_settings
389
390    @template_settings.setter
391    def template_settings(self, template_settings):
392        """Sets the template_settings of this EnvelopeViewSettings.
393
394          # noqa: E501
395
396        :param template_settings: The template_settings of this EnvelopeViewSettings.  # noqa: E501
397        :type: EnvelopeViewTemplateSettings
398        """
399
400        self._template_settings = template_settings
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(EnvelopeViewSettings, 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, EnvelopeViewSettings):
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, EnvelopeViewSettings):
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.

EnvelopeViewSettings(_configuration=None, **kwargs)
 68    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 69        """EnvelopeViewSettings - a model defined in Swagger"""  # noqa: E501
 70        if _configuration is None:
 71            _configuration = Configuration()
 72        self._configuration = _configuration
 73
 74        self._back_button_action = None
 75        self._document_settings = None
 76        self._envelope_custom_field_settings = None
 77        self._lock_token = None
 78        self._recipient_settings = None
 79        self._send_button_action = None
 80        self._show_advanced_options = None
 81        self._show_back_button = None
 82        self._show_discard_action = None
 83        self._show_header_actions = None
 84        self._starting_screen = None
 85        self._tagger_settings = None
 86        self._template_settings = None
 87        self.discriminator = None
 88
 89        setattr(self, "_{}".format('back_button_action'), kwargs.get('back_button_action', None))
 90        setattr(self, "_{}".format('document_settings'), kwargs.get('document_settings', None))
 91        setattr(self, "_{}".format('envelope_custom_field_settings'), kwargs.get('envelope_custom_field_settings', None))
 92        setattr(self, "_{}".format('lock_token'), kwargs.get('lock_token', None))
 93        setattr(self, "_{}".format('recipient_settings'), kwargs.get('recipient_settings', None))
 94        setattr(self, "_{}".format('send_button_action'), kwargs.get('send_button_action', None))
 95        setattr(self, "_{}".format('show_advanced_options'), kwargs.get('show_advanced_options', None))
 96        setattr(self, "_{}".format('show_back_button'), kwargs.get('show_back_button', None))
 97        setattr(self, "_{}".format('show_discard_action'), kwargs.get('show_discard_action', None))
 98        setattr(self, "_{}".format('show_header_actions'), kwargs.get('show_header_actions', None))
 99        setattr(self, "_{}".format('starting_screen'), kwargs.get('starting_screen', None))
100        setattr(self, "_{}".format('tagger_settings'), kwargs.get('tagger_settings', None))
101        setattr(self, "_{}".format('template_settings'), kwargs.get('template_settings', None))

EnvelopeViewSettings - a model defined in Swagger

swagger_types = {'back_button_action': 'str', 'document_settings': 'EnvelopeViewDocumentSettings', 'envelope_custom_field_settings': 'EnvelopeViewEnvelopeCustomFieldSettings', 'lock_token': 'str', 'recipient_settings': 'EnvelopeViewRecipientSettings', 'send_button_action': 'str', 'show_advanced_options': 'str', 'show_back_button': 'str', 'show_discard_action': 'str', 'show_header_actions': 'str', 'starting_screen': 'str', 'tagger_settings': 'EnvelopeViewTaggerSettings', 'template_settings': 'EnvelopeViewTemplateSettings'}
attribute_map = {'back_button_action': 'backButtonAction', 'document_settings': 'documentSettings', 'envelope_custom_field_settings': 'envelopeCustomFieldSettings', 'lock_token': 'lockToken', 'recipient_settings': 'recipientSettings', 'send_button_action': 'sendButtonAction', 'show_advanced_options': 'showAdvancedOptions', 'show_back_button': 'showBackButton', 'show_discard_action': 'showDiscardAction', 'show_header_actions': 'showHeaderActions', 'starting_screen': 'startingScreen', 'tagger_settings': 'taggerSettings', 'template_settings': 'templateSettings'}
back_button_action

Gets the back_button_action of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The back_button_action of this EnvelopeViewSettings. # noqa: E501

document_settings

Gets the document_settings of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The document_settings of this EnvelopeViewSettings. # noqa: E501

envelope_custom_field_settings

Gets the envelope_custom_field_settings of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The envelope_custom_field_settings of this EnvelopeViewSettings. # noqa: E501

lock_token

Gets the lock_token of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The lock_token of this EnvelopeViewSettings. # noqa: E501

recipient_settings

Gets the recipient_settings of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The recipient_settings of this EnvelopeViewSettings. # noqa: E501

send_button_action

Gets the send_button_action of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The send_button_action of this EnvelopeViewSettings. # noqa: E501

show_advanced_options

Gets the show_advanced_options of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The show_advanced_options of this EnvelopeViewSettings. # noqa: E501

show_back_button

Gets the show_back_button of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The show_back_button of this EnvelopeViewSettings. # noqa: E501

show_discard_action

Gets the show_discard_action of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The show_discard_action of this EnvelopeViewSettings. # noqa: E501

show_header_actions

Gets the show_header_actions of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The show_header_actions of this EnvelopeViewSettings. # noqa: E501

starting_screen

Gets the starting_screen of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The starting_screen of this EnvelopeViewSettings. # noqa: E501

tagger_settings

Gets the tagger_settings of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The tagger_settings of this EnvelopeViewSettings. # noqa: E501

template_settings

Gets the template_settings of this EnvelopeViewSettings. # noqa: E501

# noqa: E501

Returns

The template_settings of this EnvelopeViewSettings. # 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(EnvelopeViewSettings, 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