docusign_esign.models.sign_hash_session_info_response

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
 19
 20class SignHashSessionInfoResponse(object):
 21    """NOTE: This class is auto generated by the swagger code generator program.
 22
 23    Do not edit the class manually.
 24    """
 25
 26    """
 27    Attributes:
 28      swagger_types (dict): The key is attribute name
 29                            and the value is attribute type.
 30      attribute_map (dict): The key is attribute name
 31                            and the value is json key in definition.
 32    """
 33    swagger_types = {
 34        'documents': 'list[SignHashDocument]',
 35        'envelope_id': 'str',
 36        'language': 'str',
 37        'redirection_url': 'str',
 38        'remaining_signature_requests': 'int',
 39        'seal': 'Seal',
 40        'sender': 'Sender',
 41        'user': 'User'
 42    }
 43
 44    attribute_map = {
 45        'documents': 'documents',
 46        'envelope_id': 'envelopeId',
 47        'language': 'language',
 48        'redirection_url': 'redirectionUrl',
 49        'remaining_signature_requests': 'remainingSignatureRequests',
 50        'seal': 'seal',
 51        'sender': 'sender',
 52        'user': 'user'
 53    }
 54
 55    def __init__(self, documents=None, envelope_id=None, language=None, redirection_url=None, remaining_signature_requests=None, seal=None, sender=None, user=None):  # noqa: E501
 56        """SignHashSessionInfoResponse - a model defined in Swagger"""  # noqa: E501
 57
 58        self._documents = None
 59        self._envelope_id = None
 60        self._language = None
 61        self._redirection_url = None
 62        self._remaining_signature_requests = None
 63        self._seal = None
 64        self._sender = None
 65        self._user = None
 66        self.discriminator = None
 67
 68        if documents is not None:
 69            self.documents = documents
 70        if envelope_id is not None:
 71            self.envelope_id = envelope_id
 72        if language is not None:
 73            self.language = language
 74        if redirection_url is not None:
 75            self.redirection_url = redirection_url
 76        if remaining_signature_requests is not None:
 77            self.remaining_signature_requests = remaining_signature_requests
 78        if seal is not None:
 79            self.seal = seal
 80        if sender is not None:
 81            self.sender = sender
 82        if user is not None:
 83            self.user = user
 84
 85    @property
 86    def documents(self):
 87        """Gets the documents of this SignHashSessionInfoResponse.  # noqa: E501
 88
 89        Complex element contains the details on the documents in the envelope.  # noqa: E501
 90
 91        :return: The documents of this SignHashSessionInfoResponse.  # noqa: E501
 92        :rtype: list[SignHashDocument]
 93        """
 94        return self._documents
 95
 96    @documents.setter
 97    def documents(self, documents):
 98        """Sets the documents of this SignHashSessionInfoResponse.
 99
100        Complex element contains the details on the documents in the envelope.  # noqa: E501
101
102        :param documents: The documents of this SignHashSessionInfoResponse.  # noqa: E501
103        :type: list[SignHashDocument]
104        """
105
106        self._documents = documents
107
108    @property
109    def envelope_id(self):
110        """Gets the envelope_id of this SignHashSessionInfoResponse.  # noqa: E501
111
112        The envelope ID of the envelope status that failed to post.  # noqa: E501
113
114        :return: The envelope_id of this SignHashSessionInfoResponse.  # noqa: E501
115        :rtype: str
116        """
117        return self._envelope_id
118
119    @envelope_id.setter
120    def envelope_id(self, envelope_id):
121        """Sets the envelope_id of this SignHashSessionInfoResponse.
122
123        The envelope ID of the envelope status that failed to post.  # noqa: E501
124
125        :param envelope_id: The envelope_id of this SignHashSessionInfoResponse.  # noqa: E501
126        :type: str
127        """
128
129        self._envelope_id = envelope_id
130
131    @property
132    def language(self):
133        """Gets the language of this SignHashSessionInfoResponse.  # noqa: E501
134
135          # noqa: E501
136
137        :return: The language of this SignHashSessionInfoResponse.  # noqa: E501
138        :rtype: str
139        """
140        return self._language
141
142    @language.setter
143    def language(self, language):
144        """Sets the language of this SignHashSessionInfoResponse.
145
146          # noqa: E501
147
148        :param language: The language of this SignHashSessionInfoResponse.  # noqa: E501
149        :type: str
150        """
151
152        self._language = language
153
154    @property
155    def redirection_url(self):
156        """Gets the redirection_url of this SignHashSessionInfoResponse.  # noqa: E501
157
158          # noqa: E501
159
160        :return: The redirection_url of this SignHashSessionInfoResponse.  # noqa: E501
161        :rtype: str
162        """
163        return self._redirection_url
164
165    @redirection_url.setter
166    def redirection_url(self, redirection_url):
167        """Sets the redirection_url of this SignHashSessionInfoResponse.
168
169          # noqa: E501
170
171        :param redirection_url: The redirection_url of this SignHashSessionInfoResponse.  # noqa: E501
172        :type: str
173        """
174
175        self._redirection_url = redirection_url
176
177    @property
178    def remaining_signature_requests(self):
179        """Gets the remaining_signature_requests of this SignHashSessionInfoResponse.  # noqa: E501
180
181          # noqa: E501
182
183        :return: The remaining_signature_requests of this SignHashSessionInfoResponse.  # noqa: E501
184        :rtype: int
185        """
186        return self._remaining_signature_requests
187
188    @remaining_signature_requests.setter
189    def remaining_signature_requests(self, remaining_signature_requests):
190        """Sets the remaining_signature_requests of this SignHashSessionInfoResponse.
191
192          # noqa: E501
193
194        :param remaining_signature_requests: The remaining_signature_requests of this SignHashSessionInfoResponse.  # noqa: E501
195        :type: int
196        """
197
198        self._remaining_signature_requests = remaining_signature_requests
199
200    @property
201    def seal(self):
202        """Gets the seal of this SignHashSessionInfoResponse.  # noqa: E501
203
204
205        :return: The seal of this SignHashSessionInfoResponse.  # noqa: E501
206        :rtype: Seal
207        """
208        return self._seal
209
210    @seal.setter
211    def seal(self, seal):
212        """Sets the seal of this SignHashSessionInfoResponse.
213
214
215        :param seal: The seal of this SignHashSessionInfoResponse.  # noqa: E501
216        :type: Seal
217        """
218
219        self._seal = seal
220
221    @property
222    def sender(self):
223        """Gets the sender of this SignHashSessionInfoResponse.  # noqa: E501
224
225
226        :return: The sender of this SignHashSessionInfoResponse.  # noqa: E501
227        :rtype: Sender
228        """
229        return self._sender
230
231    @sender.setter
232    def sender(self, sender):
233        """Sets the sender of this SignHashSessionInfoResponse.
234
235
236        :param sender: The sender of this SignHashSessionInfoResponse.  # noqa: E501
237        :type: Sender
238        """
239
240        self._sender = sender
241
242    @property
243    def user(self):
244        """Gets the user of this SignHashSessionInfoResponse.  # noqa: E501
245
246
247        :return: The user of this SignHashSessionInfoResponse.  # noqa: E501
248        :rtype: User
249        """
250        return self._user
251
252    @user.setter
253    def user(self, user):
254        """Sets the user of this SignHashSessionInfoResponse.
255
256
257        :param user: The user of this SignHashSessionInfoResponse.  # noqa: E501
258        :type: User
259        """
260
261        self._user = user
262
263    def to_dict(self):
264        """Returns the model properties as a dict"""
265        result = {}
266
267        for attr, _ in six.iteritems(self.swagger_types):
268            value = getattr(self, attr)
269            if isinstance(value, list):
270                result[attr] = list(map(
271                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
272                    value
273                ))
274            elif hasattr(value, "to_dict"):
275                result[attr] = value.to_dict()
276            elif isinstance(value, dict):
277                result[attr] = dict(map(
278                    lambda item: (item[0], item[1].to_dict())
279                    if hasattr(item[1], "to_dict") else item,
280                    value.items()
281                ))
282            else:
283                result[attr] = value
284        if issubclass(SignHashSessionInfoResponse, dict):
285            for key, value in self.items():
286                result[key] = value
287
288        return result
289
290    def to_str(self):
291        """Returns the string representation of the model"""
292        return pprint.pformat(self.to_dict())
293
294    def __repr__(self):
295        """For `print` and `pprint`"""
296        return self.to_str()
297
298    def __eq__(self, other):
299        """Returns true if both objects are equal"""
300        if not isinstance(other, SignHashSessionInfoResponse):
301            return False
302
303        return self.__dict__ == other.__dict__
304
305    def __ne__(self, other):
306        """Returns true if both objects are not equal"""
307        return not self == other
class SignHashSessionInfoResponse:
 21class SignHashSessionInfoResponse(object):
 22    """NOTE: This class is auto generated by the swagger code generator program.
 23
 24    Do not edit the class manually.
 25    """
 26
 27    """
 28    Attributes:
 29      swagger_types (dict): The key is attribute name
 30                            and the value is attribute type.
 31      attribute_map (dict): The key is attribute name
 32                            and the value is json key in definition.
 33    """
 34    swagger_types = {
 35        'documents': 'list[SignHashDocument]',
 36        'envelope_id': 'str',
 37        'language': 'str',
 38        'redirection_url': 'str',
 39        'remaining_signature_requests': 'int',
 40        'seal': 'Seal',
 41        'sender': 'Sender',
 42        'user': 'User'
 43    }
 44
 45    attribute_map = {
 46        'documents': 'documents',
 47        'envelope_id': 'envelopeId',
 48        'language': 'language',
 49        'redirection_url': 'redirectionUrl',
 50        'remaining_signature_requests': 'remainingSignatureRequests',
 51        'seal': 'seal',
 52        'sender': 'sender',
 53        'user': 'user'
 54    }
 55
 56    def __init__(self, documents=None, envelope_id=None, language=None, redirection_url=None, remaining_signature_requests=None, seal=None, sender=None, user=None):  # noqa: E501
 57        """SignHashSessionInfoResponse - a model defined in Swagger"""  # noqa: E501
 58
 59        self._documents = None
 60        self._envelope_id = None
 61        self._language = None
 62        self._redirection_url = None
 63        self._remaining_signature_requests = None
 64        self._seal = None
 65        self._sender = None
 66        self._user = None
 67        self.discriminator = None
 68
 69        if documents is not None:
 70            self.documents = documents
 71        if envelope_id is not None:
 72            self.envelope_id = envelope_id
 73        if language is not None:
 74            self.language = language
 75        if redirection_url is not None:
 76            self.redirection_url = redirection_url
 77        if remaining_signature_requests is not None:
 78            self.remaining_signature_requests = remaining_signature_requests
 79        if seal is not None:
 80            self.seal = seal
 81        if sender is not None:
 82            self.sender = sender
 83        if user is not None:
 84            self.user = user
 85
 86    @property
 87    def documents(self):
 88        """Gets the documents of this SignHashSessionInfoResponse.  # noqa: E501
 89
 90        Complex element contains the details on the documents in the envelope.  # noqa: E501
 91
 92        :return: The documents of this SignHashSessionInfoResponse.  # noqa: E501
 93        :rtype: list[SignHashDocument]
 94        """
 95        return self._documents
 96
 97    @documents.setter
 98    def documents(self, documents):
 99        """Sets the documents of this SignHashSessionInfoResponse.
100
101        Complex element contains the details on the documents in the envelope.  # noqa: E501
102
103        :param documents: The documents of this SignHashSessionInfoResponse.  # noqa: E501
104        :type: list[SignHashDocument]
105        """
106
107        self._documents = documents
108
109    @property
110    def envelope_id(self):
111        """Gets the envelope_id of this SignHashSessionInfoResponse.  # noqa: E501
112
113        The envelope ID of the envelope status that failed to post.  # noqa: E501
114
115        :return: The envelope_id of this SignHashSessionInfoResponse.  # noqa: E501
116        :rtype: str
117        """
118        return self._envelope_id
119
120    @envelope_id.setter
121    def envelope_id(self, envelope_id):
122        """Sets the envelope_id of this SignHashSessionInfoResponse.
123
124        The envelope ID of the envelope status that failed to post.  # noqa: E501
125
126        :param envelope_id: The envelope_id of this SignHashSessionInfoResponse.  # noqa: E501
127        :type: str
128        """
129
130        self._envelope_id = envelope_id
131
132    @property
133    def language(self):
134        """Gets the language of this SignHashSessionInfoResponse.  # noqa: E501
135
136          # noqa: E501
137
138        :return: The language of this SignHashSessionInfoResponse.  # noqa: E501
139        :rtype: str
140        """
141        return self._language
142
143    @language.setter
144    def language(self, language):
145        """Sets the language of this SignHashSessionInfoResponse.
146
147          # noqa: E501
148
149        :param language: The language of this SignHashSessionInfoResponse.  # noqa: E501
150        :type: str
151        """
152
153        self._language = language
154
155    @property
156    def redirection_url(self):
157        """Gets the redirection_url of this SignHashSessionInfoResponse.  # noqa: E501
158
159          # noqa: E501
160
161        :return: The redirection_url of this SignHashSessionInfoResponse.  # noqa: E501
162        :rtype: str
163        """
164        return self._redirection_url
165
166    @redirection_url.setter
167    def redirection_url(self, redirection_url):
168        """Sets the redirection_url of this SignHashSessionInfoResponse.
169
170          # noqa: E501
171
172        :param redirection_url: The redirection_url of this SignHashSessionInfoResponse.  # noqa: E501
173        :type: str
174        """
175
176        self._redirection_url = redirection_url
177
178    @property
179    def remaining_signature_requests(self):
180        """Gets the remaining_signature_requests of this SignHashSessionInfoResponse.  # noqa: E501
181
182          # noqa: E501
183
184        :return: The remaining_signature_requests of this SignHashSessionInfoResponse.  # noqa: E501
185        :rtype: int
186        """
187        return self._remaining_signature_requests
188
189    @remaining_signature_requests.setter
190    def remaining_signature_requests(self, remaining_signature_requests):
191        """Sets the remaining_signature_requests of this SignHashSessionInfoResponse.
192
193          # noqa: E501
194
195        :param remaining_signature_requests: The remaining_signature_requests of this SignHashSessionInfoResponse.  # noqa: E501
196        :type: int
197        """
198
199        self._remaining_signature_requests = remaining_signature_requests
200
201    @property
202    def seal(self):
203        """Gets the seal of this SignHashSessionInfoResponse.  # noqa: E501
204
205
206        :return: The seal of this SignHashSessionInfoResponse.  # noqa: E501
207        :rtype: Seal
208        """
209        return self._seal
210
211    @seal.setter
212    def seal(self, seal):
213        """Sets the seal of this SignHashSessionInfoResponse.
214
215
216        :param seal: The seal of this SignHashSessionInfoResponse.  # noqa: E501
217        :type: Seal
218        """
219
220        self._seal = seal
221
222    @property
223    def sender(self):
224        """Gets the sender of this SignHashSessionInfoResponse.  # noqa: E501
225
226
227        :return: The sender of this SignHashSessionInfoResponse.  # noqa: E501
228        :rtype: Sender
229        """
230        return self._sender
231
232    @sender.setter
233    def sender(self, sender):
234        """Sets the sender of this SignHashSessionInfoResponse.
235
236
237        :param sender: The sender of this SignHashSessionInfoResponse.  # noqa: E501
238        :type: Sender
239        """
240
241        self._sender = sender
242
243    @property
244    def user(self):
245        """Gets the user of this SignHashSessionInfoResponse.  # noqa: E501
246
247
248        :return: The user of this SignHashSessionInfoResponse.  # noqa: E501
249        :rtype: User
250        """
251        return self._user
252
253    @user.setter
254    def user(self, user):
255        """Sets the user of this SignHashSessionInfoResponse.
256
257
258        :param user: The user of this SignHashSessionInfoResponse.  # noqa: E501
259        :type: User
260        """
261
262        self._user = user
263
264    def to_dict(self):
265        """Returns the model properties as a dict"""
266        result = {}
267
268        for attr, _ in six.iteritems(self.swagger_types):
269            value = getattr(self, attr)
270            if isinstance(value, list):
271                result[attr] = list(map(
272                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
273                    value
274                ))
275            elif hasattr(value, "to_dict"):
276                result[attr] = value.to_dict()
277            elif isinstance(value, dict):
278                result[attr] = dict(map(
279                    lambda item: (item[0], item[1].to_dict())
280                    if hasattr(item[1], "to_dict") else item,
281                    value.items()
282                ))
283            else:
284                result[attr] = value
285        if issubclass(SignHashSessionInfoResponse, dict):
286            for key, value in self.items():
287                result[key] = value
288
289        return result
290
291    def to_str(self):
292        """Returns the string representation of the model"""
293        return pprint.pformat(self.to_dict())
294
295    def __repr__(self):
296        """For `print` and `pprint`"""
297        return self.to_str()
298
299    def __eq__(self, other):
300        """Returns true if both objects are equal"""
301        if not isinstance(other, SignHashSessionInfoResponse):
302            return False
303
304        return self.__dict__ == other.__dict__
305
306    def __ne__(self, other):
307        """Returns true if both objects are not equal"""
308        return not self == other

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

Do not edit the class manually.

SignHashSessionInfoResponse( documents=None, envelope_id=None, language=None, redirection_url=None, remaining_signature_requests=None, seal=None, sender=None, user=None)
56    def __init__(self, documents=None, envelope_id=None, language=None, redirection_url=None, remaining_signature_requests=None, seal=None, sender=None, user=None):  # noqa: E501
57        """SignHashSessionInfoResponse - a model defined in Swagger"""  # noqa: E501
58
59        self._documents = None
60        self._envelope_id = None
61        self._language = None
62        self._redirection_url = None
63        self._remaining_signature_requests = None
64        self._seal = None
65        self._sender = None
66        self._user = None
67        self.discriminator = None
68
69        if documents is not None:
70            self.documents = documents
71        if envelope_id is not None:
72            self.envelope_id = envelope_id
73        if language is not None:
74            self.language = language
75        if redirection_url is not None:
76            self.redirection_url = redirection_url
77        if remaining_signature_requests is not None:
78            self.remaining_signature_requests = remaining_signature_requests
79        if seal is not None:
80            self.seal = seal
81        if sender is not None:
82            self.sender = sender
83        if user is not None:
84            self.user = user

SignHashSessionInfoResponse - a model defined in Swagger

swagger_types = {'documents': 'list[SignHashDocument]', 'envelope_id': 'str', 'language': 'str', 'redirection_url': 'str', 'remaining_signature_requests': 'int', 'seal': 'Seal', 'sender': 'Sender', 'user': 'User'}
attribute_map = {'documents': 'documents', 'envelope_id': 'envelopeId', 'language': 'language', 'redirection_url': 'redirectionUrl', 'remaining_signature_requests': 'remainingSignatureRequests', 'seal': 'seal', 'sender': 'sender', 'user': 'user'}
documents

Gets the documents of this SignHashSessionInfoResponse. # noqa: E501

Complex element contains the details on the documents in the envelope. # noqa: E501

Returns

The documents of this SignHashSessionInfoResponse. # noqa: E501

envelope_id

Gets the envelope_id of this SignHashSessionInfoResponse. # noqa: E501

The envelope ID of the envelope status that failed to post. # noqa: E501

Returns

The envelope_id of this SignHashSessionInfoResponse. # noqa: E501

language

Gets the language of this SignHashSessionInfoResponse. # noqa: E501

# noqa: E501

Returns

The language of this SignHashSessionInfoResponse. # noqa: E501

redirection_url

Gets the redirection_url of this SignHashSessionInfoResponse. # noqa: E501

# noqa: E501

Returns

The redirection_url of this SignHashSessionInfoResponse. # noqa: E501

remaining_signature_requests

Gets the remaining_signature_requests of this SignHashSessionInfoResponse. # noqa: E501

# noqa: E501

Returns

The remaining_signature_requests of this SignHashSessionInfoResponse. # noqa: E501

seal

Gets the seal of this SignHashSessionInfoResponse. # noqa: E501

Returns

The seal of this SignHashSessionInfoResponse. # noqa: E501

sender

Gets the sender of this SignHashSessionInfoResponse. # noqa: E501

Returns

The sender of this SignHashSessionInfoResponse. # noqa: E501

user

Gets the user of this SignHashSessionInfoResponse. # noqa: E501

Returns

The user of this SignHashSessionInfoResponse. # noqa: E501

def to_dict(self)
264    def to_dict(self):
265        """Returns the model properties as a dict"""
266        result = {}
267
268        for attr, _ in six.iteritems(self.swagger_types):
269            value = getattr(self, attr)
270            if isinstance(value, list):
271                result[attr] = list(map(
272                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
273                    value
274                ))
275            elif hasattr(value, "to_dict"):
276                result[attr] = value.to_dict()
277            elif isinstance(value, dict):
278                result[attr] = dict(map(
279                    lambda item: (item[0], item[1].to_dict())
280                    if hasattr(item[1], "to_dict") else item,
281                    value.items()
282                ))
283            else:
284                result[attr] = value
285        if issubclass(SignHashSessionInfoResponse, dict):
286            for key, value in self.items():
287                result[key] = value
288
289        return result

Returns the model properties as a dict

def to_str(self)
291    def to_str(self):
292        """Returns the string representation of the model"""
293        return pprint.pformat(self.to_dict())

Returns the string representation of the model