docusign_esign.models.power_form

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 PowerForm(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        'created_by': 'str',
 37        'created_date_time': 'str',
 38        'email_body': 'str',
 39        'email_subject': 'str',
 40        'envelopes': 'list[Envelope]',
 41        'error_details': 'ErrorDetails',
 42        'instructions': 'str',
 43        'is_active': 'str',
 44        'last_used': 'str',
 45        'limit_use_interval': 'str',
 46        'limit_use_interval_enabled': 'str',
 47        'limit_use_interval_units': 'str',
 48        'max_use_enabled': 'str',
 49        'name': 'str',
 50        'power_form_id': 'str',
 51        'power_form_url': 'str',
 52        'recipients': 'list[PowerFormRecipient]',
 53        'sender_name': 'str',
 54        'sender_user_id': 'str',
 55        'signing_mode': 'str',
 56        'template_id': 'str',
 57        'template_name': 'str',
 58        'times_used': 'str',
 59        'uri': 'str',
 60        'uses_remaining': 'str'
 61    }
 62
 63    attribute_map = {
 64        'created_by': 'createdBy',
 65        'created_date_time': 'createdDateTime',
 66        'email_body': 'emailBody',
 67        'email_subject': 'emailSubject',
 68        'envelopes': 'envelopes',
 69        'error_details': 'errorDetails',
 70        'instructions': 'instructions',
 71        'is_active': 'isActive',
 72        'last_used': 'lastUsed',
 73        'limit_use_interval': 'limitUseInterval',
 74        'limit_use_interval_enabled': 'limitUseIntervalEnabled',
 75        'limit_use_interval_units': 'limitUseIntervalUnits',
 76        'max_use_enabled': 'maxUseEnabled',
 77        'name': 'name',
 78        'power_form_id': 'powerFormId',
 79        'power_form_url': 'powerFormUrl',
 80        'recipients': 'recipients',
 81        'sender_name': 'senderName',
 82        'sender_user_id': 'senderUserId',
 83        'signing_mode': 'signingMode',
 84        'template_id': 'templateId',
 85        'template_name': 'templateName',
 86        'times_used': 'timesUsed',
 87        'uri': 'uri',
 88        'uses_remaining': 'usesRemaining'
 89    }
 90
 91    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 92        """PowerForm - a model defined in Swagger"""  # noqa: E501
 93        if _configuration is None:
 94            _configuration = Configuration()
 95        self._configuration = _configuration
 96
 97        self._created_by = None
 98        self._created_date_time = None
 99        self._email_body = None
100        self._email_subject = None
101        self._envelopes = None
102        self._error_details = None
103        self._instructions = None
104        self._is_active = None
105        self._last_used = None
106        self._limit_use_interval = None
107        self._limit_use_interval_enabled = None
108        self._limit_use_interval_units = None
109        self._max_use_enabled = None
110        self._name = None
111        self._power_form_id = None
112        self._power_form_url = None
113        self._recipients = None
114        self._sender_name = None
115        self._sender_user_id = None
116        self._signing_mode = None
117        self._template_id = None
118        self._template_name = None
119        self._times_used = None
120        self._uri = None
121        self._uses_remaining = None
122        self.discriminator = None
123
124        setattr(self, "_{}".format('created_by'), kwargs.get('created_by', None))
125        setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None))
126        setattr(self, "_{}".format('email_body'), kwargs.get('email_body', None))
127        setattr(self, "_{}".format('email_subject'), kwargs.get('email_subject', None))
128        setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None))
129        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
130        setattr(self, "_{}".format('instructions'), kwargs.get('instructions', None))
131        setattr(self, "_{}".format('is_active'), kwargs.get('is_active', None))
132        setattr(self, "_{}".format('last_used'), kwargs.get('last_used', None))
133        setattr(self, "_{}".format('limit_use_interval'), kwargs.get('limit_use_interval', None))
134        setattr(self, "_{}".format('limit_use_interval_enabled'), kwargs.get('limit_use_interval_enabled', None))
135        setattr(self, "_{}".format('limit_use_interval_units'), kwargs.get('limit_use_interval_units', None))
136        setattr(self, "_{}".format('max_use_enabled'), kwargs.get('max_use_enabled', None))
137        setattr(self, "_{}".format('name'), kwargs.get('name', None))
138        setattr(self, "_{}".format('power_form_id'), kwargs.get('power_form_id', None))
139        setattr(self, "_{}".format('power_form_url'), kwargs.get('power_form_url', None))
140        setattr(self, "_{}".format('recipients'), kwargs.get('recipients', None))
141        setattr(self, "_{}".format('sender_name'), kwargs.get('sender_name', None))
142        setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None))
143        setattr(self, "_{}".format('signing_mode'), kwargs.get('signing_mode', None))
144        setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None))
145        setattr(self, "_{}".format('template_name'), kwargs.get('template_name', None))
146        setattr(self, "_{}".format('times_used'), kwargs.get('times_used', None))
147        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
148        setattr(self, "_{}".format('uses_remaining'), kwargs.get('uses_remaining', None))
149
150    @property
151    def created_by(self):
152        """Gets the created_by of this PowerForm.  # noqa: E501
153
154          # noqa: E501
155
156        :return: The created_by of this PowerForm.  # noqa: E501
157        :rtype: str
158        """
159        return self._created_by
160
161    @created_by.setter
162    def created_by(self, created_by):
163        """Sets the created_by of this PowerForm.
164
165          # noqa: E501
166
167        :param created_by: The created_by of this PowerForm.  # noqa: E501
168        :type: str
169        """
170
171        self._created_by = created_by
172
173    @property
174    def created_date_time(self):
175        """Gets the created_date_time of this PowerForm.  # noqa: E501
176
177        Indicates the date and time the item was created.  # noqa: E501
178
179        :return: The created_date_time of this PowerForm.  # noqa: E501
180        :rtype: str
181        """
182        return self._created_date_time
183
184    @created_date_time.setter
185    def created_date_time(self, created_date_time):
186        """Sets the created_date_time of this PowerForm.
187
188        Indicates the date and time the item was created.  # noqa: E501
189
190        :param created_date_time: The created_date_time of this PowerForm.  # noqa: E501
191        :type: str
192        """
193
194        self._created_date_time = created_date_time
195
196    @property
197    def email_body(self):
198        """Gets the email_body of this PowerForm.  # noqa: E501
199
200        Specifies the email body of the message sent to the recipient.   Maximum length: 10000 characters.   # noqa: E501
201
202        :return: The email_body of this PowerForm.  # noqa: E501
203        :rtype: str
204        """
205        return self._email_body
206
207    @email_body.setter
208    def email_body(self, email_body):
209        """Sets the email_body of this PowerForm.
210
211        Specifies the email body of the message sent to the recipient.   Maximum length: 10000 characters.   # noqa: E501
212
213        :param email_body: The email_body of this PowerForm.  # noqa: E501
214        :type: str
215        """
216
217        self._email_body = email_body
218
219    @property
220    def email_subject(self):
221        """Gets the email_subject of this PowerForm.  # noqa: E501
222
223        Specifies the subject of the email that is sent to all recipients.  See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.  # noqa: E501
224
225        :return: The email_subject of this PowerForm.  # noqa: E501
226        :rtype: str
227        """
228        return self._email_subject
229
230    @email_subject.setter
231    def email_subject(self, email_subject):
232        """Sets the email_subject of this PowerForm.
233
234        Specifies the subject of the email that is sent to all recipients.  See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.  # noqa: E501
235
236        :param email_subject: The email_subject of this PowerForm.  # noqa: E501
237        :type: str
238        """
239
240        self._email_subject = email_subject
241
242    @property
243    def envelopes(self):
244        """Gets the envelopes of this PowerForm.  # noqa: E501
245
246          # noqa: E501
247
248        :return: The envelopes of this PowerForm.  # noqa: E501
249        :rtype: list[Envelope]
250        """
251        return self._envelopes
252
253    @envelopes.setter
254    def envelopes(self, envelopes):
255        """Sets the envelopes of this PowerForm.
256
257          # noqa: E501
258
259        :param envelopes: The envelopes of this PowerForm.  # noqa: E501
260        :type: list[Envelope]
261        """
262
263        self._envelopes = envelopes
264
265    @property
266    def error_details(self):
267        """Gets the error_details of this PowerForm.  # noqa: E501
268
269        Array or errors.  # noqa: E501
270
271        :return: The error_details of this PowerForm.  # noqa: E501
272        :rtype: ErrorDetails
273        """
274        return self._error_details
275
276    @error_details.setter
277    def error_details(self, error_details):
278        """Sets the error_details of this PowerForm.
279
280        Array or errors.  # noqa: E501
281
282        :param error_details: The error_details of this PowerForm.  # noqa: E501
283        :type: ErrorDetails
284        """
285
286        self._error_details = error_details
287
288    @property
289    def instructions(self):
290        """Gets the instructions of this PowerForm.  # noqa: E501
291
292          # noqa: E501
293
294        :return: The instructions of this PowerForm.  # noqa: E501
295        :rtype: str
296        """
297        return self._instructions
298
299    @instructions.setter
300    def instructions(self, instructions):
301        """Sets the instructions of this PowerForm.
302
303          # noqa: E501
304
305        :param instructions: The instructions of this PowerForm.  # noqa: E501
306        :type: str
307        """
308
309        self._instructions = instructions
310
311    @property
312    def is_active(self):
313        """Gets the is_active of this PowerForm.  # noqa: E501
314
315          # noqa: E501
316
317        :return: The is_active of this PowerForm.  # noqa: E501
318        :rtype: str
319        """
320        return self._is_active
321
322    @is_active.setter
323    def is_active(self, is_active):
324        """Sets the is_active of this PowerForm.
325
326          # noqa: E501
327
328        :param is_active: The is_active of this PowerForm.  # noqa: E501
329        :type: str
330        """
331
332        self._is_active = is_active
333
334    @property
335    def last_used(self):
336        """Gets the last_used of this PowerForm.  # noqa: E501
337
338          # noqa: E501
339
340        :return: The last_used of this PowerForm.  # noqa: E501
341        :rtype: str
342        """
343        return self._last_used
344
345    @last_used.setter
346    def last_used(self, last_used):
347        """Sets the last_used of this PowerForm.
348
349          # noqa: E501
350
351        :param last_used: The last_used of this PowerForm.  # noqa: E501
352        :type: str
353        """
354
355        self._last_used = last_used
356
357    @property
358    def limit_use_interval(self):
359        """Gets the limit_use_interval of this PowerForm.  # noqa: E501
360
361          # noqa: E501
362
363        :return: The limit_use_interval of this PowerForm.  # noqa: E501
364        :rtype: str
365        """
366        return self._limit_use_interval
367
368    @limit_use_interval.setter
369    def limit_use_interval(self, limit_use_interval):
370        """Sets the limit_use_interval of this PowerForm.
371
372          # noqa: E501
373
374        :param limit_use_interval: The limit_use_interval of this PowerForm.  # noqa: E501
375        :type: str
376        """
377
378        self._limit_use_interval = limit_use_interval
379
380    @property
381    def limit_use_interval_enabled(self):
382        """Gets the limit_use_interval_enabled of this PowerForm.  # noqa: E501
383
384          # noqa: E501
385
386        :return: The limit_use_interval_enabled of this PowerForm.  # noqa: E501
387        :rtype: str
388        """
389        return self._limit_use_interval_enabled
390
391    @limit_use_interval_enabled.setter
392    def limit_use_interval_enabled(self, limit_use_interval_enabled):
393        """Sets the limit_use_interval_enabled of this PowerForm.
394
395          # noqa: E501
396
397        :param limit_use_interval_enabled: The limit_use_interval_enabled of this PowerForm.  # noqa: E501
398        :type: str
399        """
400
401        self._limit_use_interval_enabled = limit_use_interval_enabled
402
403    @property
404    def limit_use_interval_units(self):
405        """Gets the limit_use_interval_units of this PowerForm.  # noqa: E501
406
407          # noqa: E501
408
409        :return: The limit_use_interval_units of this PowerForm.  # noqa: E501
410        :rtype: str
411        """
412        return self._limit_use_interval_units
413
414    @limit_use_interval_units.setter
415    def limit_use_interval_units(self, limit_use_interval_units):
416        """Sets the limit_use_interval_units of this PowerForm.
417
418          # noqa: E501
419
420        :param limit_use_interval_units: The limit_use_interval_units of this PowerForm.  # noqa: E501
421        :type: str
422        """
423
424        self._limit_use_interval_units = limit_use_interval_units
425
426    @property
427    def max_use_enabled(self):
428        """Gets the max_use_enabled of this PowerForm.  # noqa: E501
429
430          # noqa: E501
431
432        :return: The max_use_enabled of this PowerForm.  # noqa: E501
433        :rtype: str
434        """
435        return self._max_use_enabled
436
437    @max_use_enabled.setter
438    def max_use_enabled(self, max_use_enabled):
439        """Sets the max_use_enabled of this PowerForm.
440
441          # noqa: E501
442
443        :param max_use_enabled: The max_use_enabled of this PowerForm.  # noqa: E501
444        :type: str
445        """
446
447        self._max_use_enabled = max_use_enabled
448
449    @property
450    def name(self):
451        """Gets the name of this PowerForm.  # noqa: E501
452
453          # noqa: E501
454
455        :return: The name of this PowerForm.  # noqa: E501
456        :rtype: str
457        """
458        return self._name
459
460    @name.setter
461    def name(self, name):
462        """Sets the name of this PowerForm.
463
464          # noqa: E501
465
466        :param name: The name of this PowerForm.  # noqa: E501
467        :type: str
468        """
469
470        self._name = name
471
472    @property
473    def power_form_id(self):
474        """Gets the power_form_id of this PowerForm.  # noqa: E501
475
476          # noqa: E501
477
478        :return: The power_form_id of this PowerForm.  # noqa: E501
479        :rtype: str
480        """
481        return self._power_form_id
482
483    @power_form_id.setter
484    def power_form_id(self, power_form_id):
485        """Sets the power_form_id of this PowerForm.
486
487          # noqa: E501
488
489        :param power_form_id: The power_form_id of this PowerForm.  # noqa: E501
490        :type: str
491        """
492
493        self._power_form_id = power_form_id
494
495    @property
496    def power_form_url(self):
497        """Gets the power_form_url of this PowerForm.  # noqa: E501
498
499          # noqa: E501
500
501        :return: The power_form_url of this PowerForm.  # noqa: E501
502        :rtype: str
503        """
504        return self._power_form_url
505
506    @power_form_url.setter
507    def power_form_url(self, power_form_url):
508        """Sets the power_form_url of this PowerForm.
509
510          # noqa: E501
511
512        :param power_form_url: The power_form_url of this PowerForm.  # noqa: E501
513        :type: str
514        """
515
516        self._power_form_url = power_form_url
517
518    @property
519    def recipients(self):
520        """Gets the recipients of this PowerForm.  # noqa: E501
521
522        An array of powerform recipients.  # noqa: E501
523
524        :return: The recipients of this PowerForm.  # noqa: E501
525        :rtype: list[PowerFormRecipient]
526        """
527        return self._recipients
528
529    @recipients.setter
530    def recipients(self, recipients):
531        """Sets the recipients of this PowerForm.
532
533        An array of powerform recipients.  # noqa: E501
534
535        :param recipients: The recipients of this PowerForm.  # noqa: E501
536        :type: list[PowerFormRecipient]
537        """
538
539        self._recipients = recipients
540
541    @property
542    def sender_name(self):
543        """Gets the sender_name of this PowerForm.  # noqa: E501
544
545          # noqa: E501
546
547        :return: The sender_name of this PowerForm.  # noqa: E501
548        :rtype: str
549        """
550        return self._sender_name
551
552    @sender_name.setter
553    def sender_name(self, sender_name):
554        """Sets the sender_name of this PowerForm.
555
556          # noqa: E501
557
558        :param sender_name: The sender_name of this PowerForm.  # noqa: E501
559        :type: str
560        """
561
562        self._sender_name = sender_name
563
564    @property
565    def sender_user_id(self):
566        """Gets the sender_user_id of this PowerForm.  # noqa: E501
567
568          # noqa: E501
569
570        :return: The sender_user_id of this PowerForm.  # noqa: E501
571        :rtype: str
572        """
573        return self._sender_user_id
574
575    @sender_user_id.setter
576    def sender_user_id(self, sender_user_id):
577        """Sets the sender_user_id of this PowerForm.
578
579          # noqa: E501
580
581        :param sender_user_id: The sender_user_id of this PowerForm.  # noqa: E501
582        :type: str
583        """
584
585        self._sender_user_id = sender_user_id
586
587    @property
588    def signing_mode(self):
589        """Gets the signing_mode of this PowerForm.  # noqa: E501
590
591          # noqa: E501
592
593        :return: The signing_mode of this PowerForm.  # noqa: E501
594        :rtype: str
595        """
596        return self._signing_mode
597
598    @signing_mode.setter
599    def signing_mode(self, signing_mode):
600        """Sets the signing_mode of this PowerForm.
601
602          # noqa: E501
603
604        :param signing_mode: The signing_mode of this PowerForm.  # noqa: E501
605        :type: str
606        """
607
608        self._signing_mode = signing_mode
609
610    @property
611    def template_id(self):
612        """Gets the template_id of this PowerForm.  # noqa: E501
613
614        The unique identifier of the template. If this is not provided, DocuSign will generate a value.   # noqa: E501
615
616        :return: The template_id of this PowerForm.  # noqa: E501
617        :rtype: str
618        """
619        return self._template_id
620
621    @template_id.setter
622    def template_id(self, template_id):
623        """Sets the template_id of this PowerForm.
624
625        The unique identifier of the template. If this is not provided, DocuSign will generate a value.   # noqa: E501
626
627        :param template_id: The template_id of this PowerForm.  # noqa: E501
628        :type: str
629        """
630
631        self._template_id = template_id
632
633    @property
634    def template_name(self):
635        """Gets the template_name of this PowerForm.  # noqa: E501
636
637          # noqa: E501
638
639        :return: The template_name of this PowerForm.  # noqa: E501
640        :rtype: str
641        """
642        return self._template_name
643
644    @template_name.setter
645    def template_name(self, template_name):
646        """Sets the template_name of this PowerForm.
647
648          # noqa: E501
649
650        :param template_name: The template_name of this PowerForm.  # noqa: E501
651        :type: str
652        """
653
654        self._template_name = template_name
655
656    @property
657    def times_used(self):
658        """Gets the times_used of this PowerForm.  # noqa: E501
659
660          # noqa: E501
661
662        :return: The times_used of this PowerForm.  # noqa: E501
663        :rtype: str
664        """
665        return self._times_used
666
667    @times_used.setter
668    def times_used(self, times_used):
669        """Sets the times_used of this PowerForm.
670
671          # noqa: E501
672
673        :param times_used: The times_used of this PowerForm.  # noqa: E501
674        :type: str
675        """
676
677        self._times_used = times_used
678
679    @property
680    def uri(self):
681        """Gets the uri of this PowerForm.  # noqa: E501
682
683          # noqa: E501
684
685        :return: The uri of this PowerForm.  # noqa: E501
686        :rtype: str
687        """
688        return self._uri
689
690    @uri.setter
691    def uri(self, uri):
692        """Sets the uri of this PowerForm.
693
694          # noqa: E501
695
696        :param uri: The uri of this PowerForm.  # noqa: E501
697        :type: str
698        """
699
700        self._uri = uri
701
702    @property
703    def uses_remaining(self):
704        """Gets the uses_remaining of this PowerForm.  # noqa: E501
705
706          # noqa: E501
707
708        :return: The uses_remaining of this PowerForm.  # noqa: E501
709        :rtype: str
710        """
711        return self._uses_remaining
712
713    @uses_remaining.setter
714    def uses_remaining(self, uses_remaining):
715        """Sets the uses_remaining of this PowerForm.
716
717          # noqa: E501
718
719        :param uses_remaining: The uses_remaining of this PowerForm.  # noqa: E501
720        :type: str
721        """
722
723        self._uses_remaining = uses_remaining
724
725    def to_dict(self):
726        """Returns the model properties as a dict"""
727        result = {}
728
729        for attr, _ in six.iteritems(self.swagger_types):
730            value = getattr(self, attr)
731            if isinstance(value, list):
732                result[attr] = list(map(
733                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
734                    value
735                ))
736            elif hasattr(value, "to_dict"):
737                result[attr] = value.to_dict()
738            elif isinstance(value, dict):
739                result[attr] = dict(map(
740                    lambda item: (item[0], item[1].to_dict())
741                    if hasattr(item[1], "to_dict") else item,
742                    value.items()
743                ))
744            else:
745                result[attr] = value
746        if issubclass(PowerForm, dict):
747            for key, value in self.items():
748                result[key] = value
749
750        return result
751
752    def to_str(self):
753        """Returns the string representation of the model"""
754        return pprint.pformat(self.to_dict())
755
756    def __repr__(self):
757        """For `print` and `pprint`"""
758        return self.to_str()
759
760    def __eq__(self, other):
761        """Returns true if both objects are equal"""
762        if not isinstance(other, PowerForm):
763            return False
764
765        return self.to_dict() == other.to_dict()
766
767    def __ne__(self, other):
768        """Returns true if both objects are not equal"""
769        if not isinstance(other, PowerForm):
770            return True
771
772        return self.to_dict() != other.to_dict()
class PowerForm:
 23class PowerForm(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        'created_by': 'str',
 38        'created_date_time': 'str',
 39        'email_body': 'str',
 40        'email_subject': 'str',
 41        'envelopes': 'list[Envelope]',
 42        'error_details': 'ErrorDetails',
 43        'instructions': 'str',
 44        'is_active': 'str',
 45        'last_used': 'str',
 46        'limit_use_interval': 'str',
 47        'limit_use_interval_enabled': 'str',
 48        'limit_use_interval_units': 'str',
 49        'max_use_enabled': 'str',
 50        'name': 'str',
 51        'power_form_id': 'str',
 52        'power_form_url': 'str',
 53        'recipients': 'list[PowerFormRecipient]',
 54        'sender_name': 'str',
 55        'sender_user_id': 'str',
 56        'signing_mode': 'str',
 57        'template_id': 'str',
 58        'template_name': 'str',
 59        'times_used': 'str',
 60        'uri': 'str',
 61        'uses_remaining': 'str'
 62    }
 63
 64    attribute_map = {
 65        'created_by': 'createdBy',
 66        'created_date_time': 'createdDateTime',
 67        'email_body': 'emailBody',
 68        'email_subject': 'emailSubject',
 69        'envelopes': 'envelopes',
 70        'error_details': 'errorDetails',
 71        'instructions': 'instructions',
 72        'is_active': 'isActive',
 73        'last_used': 'lastUsed',
 74        'limit_use_interval': 'limitUseInterval',
 75        'limit_use_interval_enabled': 'limitUseIntervalEnabled',
 76        'limit_use_interval_units': 'limitUseIntervalUnits',
 77        'max_use_enabled': 'maxUseEnabled',
 78        'name': 'name',
 79        'power_form_id': 'powerFormId',
 80        'power_form_url': 'powerFormUrl',
 81        'recipients': 'recipients',
 82        'sender_name': 'senderName',
 83        'sender_user_id': 'senderUserId',
 84        'signing_mode': 'signingMode',
 85        'template_id': 'templateId',
 86        'template_name': 'templateName',
 87        'times_used': 'timesUsed',
 88        'uri': 'uri',
 89        'uses_remaining': 'usesRemaining'
 90    }
 91
 92    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 93        """PowerForm - a model defined in Swagger"""  # noqa: E501
 94        if _configuration is None:
 95            _configuration = Configuration()
 96        self._configuration = _configuration
 97
 98        self._created_by = None
 99        self._created_date_time = None
100        self._email_body = None
101        self._email_subject = None
102        self._envelopes = None
103        self._error_details = None
104        self._instructions = None
105        self._is_active = None
106        self._last_used = None
107        self._limit_use_interval = None
108        self._limit_use_interval_enabled = None
109        self._limit_use_interval_units = None
110        self._max_use_enabled = None
111        self._name = None
112        self._power_form_id = None
113        self._power_form_url = None
114        self._recipients = None
115        self._sender_name = None
116        self._sender_user_id = None
117        self._signing_mode = None
118        self._template_id = None
119        self._template_name = None
120        self._times_used = None
121        self._uri = None
122        self._uses_remaining = None
123        self.discriminator = None
124
125        setattr(self, "_{}".format('created_by'), kwargs.get('created_by', None))
126        setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None))
127        setattr(self, "_{}".format('email_body'), kwargs.get('email_body', None))
128        setattr(self, "_{}".format('email_subject'), kwargs.get('email_subject', None))
129        setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None))
130        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
131        setattr(self, "_{}".format('instructions'), kwargs.get('instructions', None))
132        setattr(self, "_{}".format('is_active'), kwargs.get('is_active', None))
133        setattr(self, "_{}".format('last_used'), kwargs.get('last_used', None))
134        setattr(self, "_{}".format('limit_use_interval'), kwargs.get('limit_use_interval', None))
135        setattr(self, "_{}".format('limit_use_interval_enabled'), kwargs.get('limit_use_interval_enabled', None))
136        setattr(self, "_{}".format('limit_use_interval_units'), kwargs.get('limit_use_interval_units', None))
137        setattr(self, "_{}".format('max_use_enabled'), kwargs.get('max_use_enabled', None))
138        setattr(self, "_{}".format('name'), kwargs.get('name', None))
139        setattr(self, "_{}".format('power_form_id'), kwargs.get('power_form_id', None))
140        setattr(self, "_{}".format('power_form_url'), kwargs.get('power_form_url', None))
141        setattr(self, "_{}".format('recipients'), kwargs.get('recipients', None))
142        setattr(self, "_{}".format('sender_name'), kwargs.get('sender_name', None))
143        setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None))
144        setattr(self, "_{}".format('signing_mode'), kwargs.get('signing_mode', None))
145        setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None))
146        setattr(self, "_{}".format('template_name'), kwargs.get('template_name', None))
147        setattr(self, "_{}".format('times_used'), kwargs.get('times_used', None))
148        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
149        setattr(self, "_{}".format('uses_remaining'), kwargs.get('uses_remaining', None))
150
151    @property
152    def created_by(self):
153        """Gets the created_by of this PowerForm.  # noqa: E501
154
155          # noqa: E501
156
157        :return: The created_by of this PowerForm.  # noqa: E501
158        :rtype: str
159        """
160        return self._created_by
161
162    @created_by.setter
163    def created_by(self, created_by):
164        """Sets the created_by of this PowerForm.
165
166          # noqa: E501
167
168        :param created_by: The created_by of this PowerForm.  # noqa: E501
169        :type: str
170        """
171
172        self._created_by = created_by
173
174    @property
175    def created_date_time(self):
176        """Gets the created_date_time of this PowerForm.  # noqa: E501
177
178        Indicates the date and time the item was created.  # noqa: E501
179
180        :return: The created_date_time of this PowerForm.  # noqa: E501
181        :rtype: str
182        """
183        return self._created_date_time
184
185    @created_date_time.setter
186    def created_date_time(self, created_date_time):
187        """Sets the created_date_time of this PowerForm.
188
189        Indicates the date and time the item was created.  # noqa: E501
190
191        :param created_date_time: The created_date_time of this PowerForm.  # noqa: E501
192        :type: str
193        """
194
195        self._created_date_time = created_date_time
196
197    @property
198    def email_body(self):
199        """Gets the email_body of this PowerForm.  # noqa: E501
200
201        Specifies the email body of the message sent to the recipient.   Maximum length: 10000 characters.   # noqa: E501
202
203        :return: The email_body of this PowerForm.  # noqa: E501
204        :rtype: str
205        """
206        return self._email_body
207
208    @email_body.setter
209    def email_body(self, email_body):
210        """Sets the email_body of this PowerForm.
211
212        Specifies the email body of the message sent to the recipient.   Maximum length: 10000 characters.   # noqa: E501
213
214        :param email_body: The email_body of this PowerForm.  # noqa: E501
215        :type: str
216        """
217
218        self._email_body = email_body
219
220    @property
221    def email_subject(self):
222        """Gets the email_subject of this PowerForm.  # noqa: E501
223
224        Specifies the subject of the email that is sent to all recipients.  See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.  # noqa: E501
225
226        :return: The email_subject of this PowerForm.  # noqa: E501
227        :rtype: str
228        """
229        return self._email_subject
230
231    @email_subject.setter
232    def email_subject(self, email_subject):
233        """Sets the email_subject of this PowerForm.
234
235        Specifies the subject of the email that is sent to all recipients.  See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.  # noqa: E501
236
237        :param email_subject: The email_subject of this PowerForm.  # noqa: E501
238        :type: str
239        """
240
241        self._email_subject = email_subject
242
243    @property
244    def envelopes(self):
245        """Gets the envelopes of this PowerForm.  # noqa: E501
246
247          # noqa: E501
248
249        :return: The envelopes of this PowerForm.  # noqa: E501
250        :rtype: list[Envelope]
251        """
252        return self._envelopes
253
254    @envelopes.setter
255    def envelopes(self, envelopes):
256        """Sets the envelopes of this PowerForm.
257
258          # noqa: E501
259
260        :param envelopes: The envelopes of this PowerForm.  # noqa: E501
261        :type: list[Envelope]
262        """
263
264        self._envelopes = envelopes
265
266    @property
267    def error_details(self):
268        """Gets the error_details of this PowerForm.  # noqa: E501
269
270        Array or errors.  # noqa: E501
271
272        :return: The error_details of this PowerForm.  # noqa: E501
273        :rtype: ErrorDetails
274        """
275        return self._error_details
276
277    @error_details.setter
278    def error_details(self, error_details):
279        """Sets the error_details of this PowerForm.
280
281        Array or errors.  # noqa: E501
282
283        :param error_details: The error_details of this PowerForm.  # noqa: E501
284        :type: ErrorDetails
285        """
286
287        self._error_details = error_details
288
289    @property
290    def instructions(self):
291        """Gets the instructions of this PowerForm.  # noqa: E501
292
293          # noqa: E501
294
295        :return: The instructions of this PowerForm.  # noqa: E501
296        :rtype: str
297        """
298        return self._instructions
299
300    @instructions.setter
301    def instructions(self, instructions):
302        """Sets the instructions of this PowerForm.
303
304          # noqa: E501
305
306        :param instructions: The instructions of this PowerForm.  # noqa: E501
307        :type: str
308        """
309
310        self._instructions = instructions
311
312    @property
313    def is_active(self):
314        """Gets the is_active of this PowerForm.  # noqa: E501
315
316          # noqa: E501
317
318        :return: The is_active of this PowerForm.  # noqa: E501
319        :rtype: str
320        """
321        return self._is_active
322
323    @is_active.setter
324    def is_active(self, is_active):
325        """Sets the is_active of this PowerForm.
326
327          # noqa: E501
328
329        :param is_active: The is_active of this PowerForm.  # noqa: E501
330        :type: str
331        """
332
333        self._is_active = is_active
334
335    @property
336    def last_used(self):
337        """Gets the last_used of this PowerForm.  # noqa: E501
338
339          # noqa: E501
340
341        :return: The last_used of this PowerForm.  # noqa: E501
342        :rtype: str
343        """
344        return self._last_used
345
346    @last_used.setter
347    def last_used(self, last_used):
348        """Sets the last_used of this PowerForm.
349
350          # noqa: E501
351
352        :param last_used: The last_used of this PowerForm.  # noqa: E501
353        :type: str
354        """
355
356        self._last_used = last_used
357
358    @property
359    def limit_use_interval(self):
360        """Gets the limit_use_interval of this PowerForm.  # noqa: E501
361
362          # noqa: E501
363
364        :return: The limit_use_interval of this PowerForm.  # noqa: E501
365        :rtype: str
366        """
367        return self._limit_use_interval
368
369    @limit_use_interval.setter
370    def limit_use_interval(self, limit_use_interval):
371        """Sets the limit_use_interval of this PowerForm.
372
373          # noqa: E501
374
375        :param limit_use_interval: The limit_use_interval of this PowerForm.  # noqa: E501
376        :type: str
377        """
378
379        self._limit_use_interval = limit_use_interval
380
381    @property
382    def limit_use_interval_enabled(self):
383        """Gets the limit_use_interval_enabled of this PowerForm.  # noqa: E501
384
385          # noqa: E501
386
387        :return: The limit_use_interval_enabled of this PowerForm.  # noqa: E501
388        :rtype: str
389        """
390        return self._limit_use_interval_enabled
391
392    @limit_use_interval_enabled.setter
393    def limit_use_interval_enabled(self, limit_use_interval_enabled):
394        """Sets the limit_use_interval_enabled of this PowerForm.
395
396          # noqa: E501
397
398        :param limit_use_interval_enabled: The limit_use_interval_enabled of this PowerForm.  # noqa: E501
399        :type: str
400        """
401
402        self._limit_use_interval_enabled = limit_use_interval_enabled
403
404    @property
405    def limit_use_interval_units(self):
406        """Gets the limit_use_interval_units of this PowerForm.  # noqa: E501
407
408          # noqa: E501
409
410        :return: The limit_use_interval_units of this PowerForm.  # noqa: E501
411        :rtype: str
412        """
413        return self._limit_use_interval_units
414
415    @limit_use_interval_units.setter
416    def limit_use_interval_units(self, limit_use_interval_units):
417        """Sets the limit_use_interval_units of this PowerForm.
418
419          # noqa: E501
420
421        :param limit_use_interval_units: The limit_use_interval_units of this PowerForm.  # noqa: E501
422        :type: str
423        """
424
425        self._limit_use_interval_units = limit_use_interval_units
426
427    @property
428    def max_use_enabled(self):
429        """Gets the max_use_enabled of this PowerForm.  # noqa: E501
430
431          # noqa: E501
432
433        :return: The max_use_enabled of this PowerForm.  # noqa: E501
434        :rtype: str
435        """
436        return self._max_use_enabled
437
438    @max_use_enabled.setter
439    def max_use_enabled(self, max_use_enabled):
440        """Sets the max_use_enabled of this PowerForm.
441
442          # noqa: E501
443
444        :param max_use_enabled: The max_use_enabled of this PowerForm.  # noqa: E501
445        :type: str
446        """
447
448        self._max_use_enabled = max_use_enabled
449
450    @property
451    def name(self):
452        """Gets the name of this PowerForm.  # noqa: E501
453
454          # noqa: E501
455
456        :return: The name of this PowerForm.  # noqa: E501
457        :rtype: str
458        """
459        return self._name
460
461    @name.setter
462    def name(self, name):
463        """Sets the name of this PowerForm.
464
465          # noqa: E501
466
467        :param name: The name of this PowerForm.  # noqa: E501
468        :type: str
469        """
470
471        self._name = name
472
473    @property
474    def power_form_id(self):
475        """Gets the power_form_id of this PowerForm.  # noqa: E501
476
477          # noqa: E501
478
479        :return: The power_form_id of this PowerForm.  # noqa: E501
480        :rtype: str
481        """
482        return self._power_form_id
483
484    @power_form_id.setter
485    def power_form_id(self, power_form_id):
486        """Sets the power_form_id of this PowerForm.
487
488          # noqa: E501
489
490        :param power_form_id: The power_form_id of this PowerForm.  # noqa: E501
491        :type: str
492        """
493
494        self._power_form_id = power_form_id
495
496    @property
497    def power_form_url(self):
498        """Gets the power_form_url of this PowerForm.  # noqa: E501
499
500          # noqa: E501
501
502        :return: The power_form_url of this PowerForm.  # noqa: E501
503        :rtype: str
504        """
505        return self._power_form_url
506
507    @power_form_url.setter
508    def power_form_url(self, power_form_url):
509        """Sets the power_form_url of this PowerForm.
510
511          # noqa: E501
512
513        :param power_form_url: The power_form_url of this PowerForm.  # noqa: E501
514        :type: str
515        """
516
517        self._power_form_url = power_form_url
518
519    @property
520    def recipients(self):
521        """Gets the recipients of this PowerForm.  # noqa: E501
522
523        An array of powerform recipients.  # noqa: E501
524
525        :return: The recipients of this PowerForm.  # noqa: E501
526        :rtype: list[PowerFormRecipient]
527        """
528        return self._recipients
529
530    @recipients.setter
531    def recipients(self, recipients):
532        """Sets the recipients of this PowerForm.
533
534        An array of powerform recipients.  # noqa: E501
535
536        :param recipients: The recipients of this PowerForm.  # noqa: E501
537        :type: list[PowerFormRecipient]
538        """
539
540        self._recipients = recipients
541
542    @property
543    def sender_name(self):
544        """Gets the sender_name of this PowerForm.  # noqa: E501
545
546          # noqa: E501
547
548        :return: The sender_name of this PowerForm.  # noqa: E501
549        :rtype: str
550        """
551        return self._sender_name
552
553    @sender_name.setter
554    def sender_name(self, sender_name):
555        """Sets the sender_name of this PowerForm.
556
557          # noqa: E501
558
559        :param sender_name: The sender_name of this PowerForm.  # noqa: E501
560        :type: str
561        """
562
563        self._sender_name = sender_name
564
565    @property
566    def sender_user_id(self):
567        """Gets the sender_user_id of this PowerForm.  # noqa: E501
568
569          # noqa: E501
570
571        :return: The sender_user_id of this PowerForm.  # noqa: E501
572        :rtype: str
573        """
574        return self._sender_user_id
575
576    @sender_user_id.setter
577    def sender_user_id(self, sender_user_id):
578        """Sets the sender_user_id of this PowerForm.
579
580          # noqa: E501
581
582        :param sender_user_id: The sender_user_id of this PowerForm.  # noqa: E501
583        :type: str
584        """
585
586        self._sender_user_id = sender_user_id
587
588    @property
589    def signing_mode(self):
590        """Gets the signing_mode of this PowerForm.  # noqa: E501
591
592          # noqa: E501
593
594        :return: The signing_mode of this PowerForm.  # noqa: E501
595        :rtype: str
596        """
597        return self._signing_mode
598
599    @signing_mode.setter
600    def signing_mode(self, signing_mode):
601        """Sets the signing_mode of this PowerForm.
602
603          # noqa: E501
604
605        :param signing_mode: The signing_mode of this PowerForm.  # noqa: E501
606        :type: str
607        """
608
609        self._signing_mode = signing_mode
610
611    @property
612    def template_id(self):
613        """Gets the template_id of this PowerForm.  # noqa: E501
614
615        The unique identifier of the template. If this is not provided, DocuSign will generate a value.   # noqa: E501
616
617        :return: The template_id of this PowerForm.  # noqa: E501
618        :rtype: str
619        """
620        return self._template_id
621
622    @template_id.setter
623    def template_id(self, template_id):
624        """Sets the template_id of this PowerForm.
625
626        The unique identifier of the template. If this is not provided, DocuSign will generate a value.   # noqa: E501
627
628        :param template_id: The template_id of this PowerForm.  # noqa: E501
629        :type: str
630        """
631
632        self._template_id = template_id
633
634    @property
635    def template_name(self):
636        """Gets the template_name of this PowerForm.  # noqa: E501
637
638          # noqa: E501
639
640        :return: The template_name of this PowerForm.  # noqa: E501
641        :rtype: str
642        """
643        return self._template_name
644
645    @template_name.setter
646    def template_name(self, template_name):
647        """Sets the template_name of this PowerForm.
648
649          # noqa: E501
650
651        :param template_name: The template_name of this PowerForm.  # noqa: E501
652        :type: str
653        """
654
655        self._template_name = template_name
656
657    @property
658    def times_used(self):
659        """Gets the times_used of this PowerForm.  # noqa: E501
660
661          # noqa: E501
662
663        :return: The times_used of this PowerForm.  # noqa: E501
664        :rtype: str
665        """
666        return self._times_used
667
668    @times_used.setter
669    def times_used(self, times_used):
670        """Sets the times_used of this PowerForm.
671
672          # noqa: E501
673
674        :param times_used: The times_used of this PowerForm.  # noqa: E501
675        :type: str
676        """
677
678        self._times_used = times_used
679
680    @property
681    def uri(self):
682        """Gets the uri of this PowerForm.  # noqa: E501
683
684          # noqa: E501
685
686        :return: The uri of this PowerForm.  # noqa: E501
687        :rtype: str
688        """
689        return self._uri
690
691    @uri.setter
692    def uri(self, uri):
693        """Sets the uri of this PowerForm.
694
695          # noqa: E501
696
697        :param uri: The uri of this PowerForm.  # noqa: E501
698        :type: str
699        """
700
701        self._uri = uri
702
703    @property
704    def uses_remaining(self):
705        """Gets the uses_remaining of this PowerForm.  # noqa: E501
706
707          # noqa: E501
708
709        :return: The uses_remaining of this PowerForm.  # noqa: E501
710        :rtype: str
711        """
712        return self._uses_remaining
713
714    @uses_remaining.setter
715    def uses_remaining(self, uses_remaining):
716        """Sets the uses_remaining of this PowerForm.
717
718          # noqa: E501
719
720        :param uses_remaining: The uses_remaining of this PowerForm.  # noqa: E501
721        :type: str
722        """
723
724        self._uses_remaining = uses_remaining
725
726    def to_dict(self):
727        """Returns the model properties as a dict"""
728        result = {}
729
730        for attr, _ in six.iteritems(self.swagger_types):
731            value = getattr(self, attr)
732            if isinstance(value, list):
733                result[attr] = list(map(
734                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
735                    value
736                ))
737            elif hasattr(value, "to_dict"):
738                result[attr] = value.to_dict()
739            elif isinstance(value, dict):
740                result[attr] = dict(map(
741                    lambda item: (item[0], item[1].to_dict())
742                    if hasattr(item[1], "to_dict") else item,
743                    value.items()
744                ))
745            else:
746                result[attr] = value
747        if issubclass(PowerForm, dict):
748            for key, value in self.items():
749                result[key] = value
750
751        return result
752
753    def to_str(self):
754        """Returns the string representation of the model"""
755        return pprint.pformat(self.to_dict())
756
757    def __repr__(self):
758        """For `print` and `pprint`"""
759        return self.to_str()
760
761    def __eq__(self, other):
762        """Returns true if both objects are equal"""
763        if not isinstance(other, PowerForm):
764            return False
765
766        return self.to_dict() == other.to_dict()
767
768    def __ne__(self, other):
769        """Returns true if both objects are not equal"""
770        if not isinstance(other, PowerForm):
771            return True
772
773        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.

PowerForm(_configuration=None, **kwargs)
 92    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 93        """PowerForm - a model defined in Swagger"""  # noqa: E501
 94        if _configuration is None:
 95            _configuration = Configuration()
 96        self._configuration = _configuration
 97
 98        self._created_by = None
 99        self._created_date_time = None
100        self._email_body = None
101        self._email_subject = None
102        self._envelopes = None
103        self._error_details = None
104        self._instructions = None
105        self._is_active = None
106        self._last_used = None
107        self._limit_use_interval = None
108        self._limit_use_interval_enabled = None
109        self._limit_use_interval_units = None
110        self._max_use_enabled = None
111        self._name = None
112        self._power_form_id = None
113        self._power_form_url = None
114        self._recipients = None
115        self._sender_name = None
116        self._sender_user_id = None
117        self._signing_mode = None
118        self._template_id = None
119        self._template_name = None
120        self._times_used = None
121        self._uri = None
122        self._uses_remaining = None
123        self.discriminator = None
124
125        setattr(self, "_{}".format('created_by'), kwargs.get('created_by', None))
126        setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None))
127        setattr(self, "_{}".format('email_body'), kwargs.get('email_body', None))
128        setattr(self, "_{}".format('email_subject'), kwargs.get('email_subject', None))
129        setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None))
130        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
131        setattr(self, "_{}".format('instructions'), kwargs.get('instructions', None))
132        setattr(self, "_{}".format('is_active'), kwargs.get('is_active', None))
133        setattr(self, "_{}".format('last_used'), kwargs.get('last_used', None))
134        setattr(self, "_{}".format('limit_use_interval'), kwargs.get('limit_use_interval', None))
135        setattr(self, "_{}".format('limit_use_interval_enabled'), kwargs.get('limit_use_interval_enabled', None))
136        setattr(self, "_{}".format('limit_use_interval_units'), kwargs.get('limit_use_interval_units', None))
137        setattr(self, "_{}".format('max_use_enabled'), kwargs.get('max_use_enabled', None))
138        setattr(self, "_{}".format('name'), kwargs.get('name', None))
139        setattr(self, "_{}".format('power_form_id'), kwargs.get('power_form_id', None))
140        setattr(self, "_{}".format('power_form_url'), kwargs.get('power_form_url', None))
141        setattr(self, "_{}".format('recipients'), kwargs.get('recipients', None))
142        setattr(self, "_{}".format('sender_name'), kwargs.get('sender_name', None))
143        setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None))
144        setattr(self, "_{}".format('signing_mode'), kwargs.get('signing_mode', None))
145        setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None))
146        setattr(self, "_{}".format('template_name'), kwargs.get('template_name', None))
147        setattr(self, "_{}".format('times_used'), kwargs.get('times_used', None))
148        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
149        setattr(self, "_{}".format('uses_remaining'), kwargs.get('uses_remaining', None))

PowerForm - a model defined in Swagger

swagger_types = {'created_by': 'str', 'created_date_time': 'str', 'email_body': 'str', 'email_subject': 'str', 'envelopes': 'list[Envelope]', 'error_details': 'ErrorDetails', 'instructions': 'str', 'is_active': 'str', 'last_used': 'str', 'limit_use_interval': 'str', 'limit_use_interval_enabled': 'str', 'limit_use_interval_units': 'str', 'max_use_enabled': 'str', 'name': 'str', 'power_form_id': 'str', 'power_form_url': 'str', 'recipients': 'list[PowerFormRecipient]', 'sender_name': 'str', 'sender_user_id': 'str', 'signing_mode': 'str', 'template_id': 'str', 'template_name': 'str', 'times_used': 'str', 'uri': 'str', 'uses_remaining': 'str'}
attribute_map = {'created_by': 'createdBy', 'created_date_time': 'createdDateTime', 'email_body': 'emailBody', 'email_subject': 'emailSubject', 'envelopes': 'envelopes', 'error_details': 'errorDetails', 'instructions': 'instructions', 'is_active': 'isActive', 'last_used': 'lastUsed', 'limit_use_interval': 'limitUseInterval', 'limit_use_interval_enabled': 'limitUseIntervalEnabled', 'limit_use_interval_units': 'limitUseIntervalUnits', 'max_use_enabled': 'maxUseEnabled', 'name': 'name', 'power_form_id': 'powerFormId', 'power_form_url': 'powerFormUrl', 'recipients': 'recipients', 'sender_name': 'senderName', 'sender_user_id': 'senderUserId', 'signing_mode': 'signingMode', 'template_id': 'templateId', 'template_name': 'templateName', 'times_used': 'timesUsed', 'uri': 'uri', 'uses_remaining': 'usesRemaining'}
created_by

Gets the created_by of this PowerForm. # noqa: E501

# noqa: E501

Returns

The created_by of this PowerForm. # noqa: E501

created_date_time

Gets the created_date_time of this PowerForm. # noqa: E501

Indicates the date and time the item was created. # noqa: E501

Returns

The created_date_time of this PowerForm. # noqa: E501

email_body

Gets the email_body of this PowerForm. # noqa: E501

Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. # noqa: E501

Returns

The email_body of this PowerForm. # noqa: E501

email_subject

Gets the email_subject of this PowerForm. # noqa: E501

Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. # noqa: E501

Returns

The email_subject of this PowerForm. # noqa: E501

envelopes

Gets the envelopes of this PowerForm. # noqa: E501

# noqa: E501

Returns

The envelopes of this PowerForm. # noqa: E501

error_details

Gets the error_details of this PowerForm. # noqa: E501

Array or errors. # noqa: E501

Returns

The error_details of this PowerForm. # noqa: E501

instructions

Gets the instructions of this PowerForm. # noqa: E501

# noqa: E501

Returns

The instructions of this PowerForm. # noqa: E501

is_active

Gets the is_active of this PowerForm. # noqa: E501

# noqa: E501

Returns

The is_active of this PowerForm. # noqa: E501

last_used

Gets the last_used of this PowerForm. # noqa: E501

# noqa: E501

Returns

The last_used of this PowerForm. # noqa: E501

limit_use_interval

Gets the limit_use_interval of this PowerForm. # noqa: E501

# noqa: E501

Returns

The limit_use_interval of this PowerForm. # noqa: E501

limit_use_interval_enabled

Gets the limit_use_interval_enabled of this PowerForm. # noqa: E501

# noqa: E501

Returns

The limit_use_interval_enabled of this PowerForm. # noqa: E501

limit_use_interval_units

Gets the limit_use_interval_units of this PowerForm. # noqa: E501

# noqa: E501

Returns

The limit_use_interval_units of this PowerForm. # noqa: E501

max_use_enabled

Gets the max_use_enabled of this PowerForm. # noqa: E501

# noqa: E501

Returns

The max_use_enabled of this PowerForm. # noqa: E501

name

Gets the name of this PowerForm. # noqa: E501

# noqa: E501

Returns

The name of this PowerForm. # noqa: E501

power_form_id

Gets the power_form_id of this PowerForm. # noqa: E501

# noqa: E501

Returns

The power_form_id of this PowerForm. # noqa: E501

power_form_url

Gets the power_form_url of this PowerForm. # noqa: E501

# noqa: E501

Returns

The power_form_url of this PowerForm. # noqa: E501

recipients

Gets the recipients of this PowerForm. # noqa: E501

An array of powerform recipients. # noqa: E501

Returns

The recipients of this PowerForm. # noqa: E501

sender_name

Gets the sender_name of this PowerForm. # noqa: E501

# noqa: E501

Returns

The sender_name of this PowerForm. # noqa: E501

sender_user_id

Gets the sender_user_id of this PowerForm. # noqa: E501

# noqa: E501

Returns

The sender_user_id of this PowerForm. # noqa: E501

signing_mode

Gets the signing_mode of this PowerForm. # noqa: E501

# noqa: E501

Returns

The signing_mode of this PowerForm. # noqa: E501

template_id

Gets the template_id of this PowerForm. # noqa: E501

The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501

Returns

The template_id of this PowerForm. # noqa: E501

template_name

Gets the template_name of this PowerForm. # noqa: E501

# noqa: E501

Returns

The template_name of this PowerForm. # noqa: E501

times_used

Gets the times_used of this PowerForm. # noqa: E501

# noqa: E501

Returns

The times_used of this PowerForm. # noqa: E501

uri

Gets the uri of this PowerForm. # noqa: E501

# noqa: E501

Returns

The uri of this PowerForm. # noqa: E501

uses_remaining

Gets the uses_remaining of this PowerForm. # noqa: E501

# noqa: E501

Returns

The uses_remaining of this PowerForm. # noqa: E501

def to_dict(self)
726    def to_dict(self):
727        """Returns the model properties as a dict"""
728        result = {}
729
730        for attr, _ in six.iteritems(self.swagger_types):
731            value = getattr(self, attr)
732            if isinstance(value, list):
733                result[attr] = list(map(
734                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
735                    value
736                ))
737            elif hasattr(value, "to_dict"):
738                result[attr] = value.to_dict()
739            elif isinstance(value, dict):
740                result[attr] = dict(map(
741                    lambda item: (item[0], item[1].to_dict())
742                    if hasattr(item[1], "to_dict") else item,
743                    value.items()
744                ))
745            else:
746                result[attr] = value
747        if issubclass(PowerForm, dict):
748            for key, value in self.items():
749                result[key] = value
750
751        return result

Returns the model properties as a dict

def to_str(self)
753    def to_str(self):
754        """Returns the string representation of the model"""
755        return pprint.pformat(self.to_dict())

Returns the string representation of the model