docusign_esign.models.envelopes_information
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 EnvelopesInformation(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 'continuation_token': 'str', 37 'end_position': 'str', 38 'envelopes': 'list[Envelope]', 39 'envelope_transaction_statuses': 'list[EnvelopeTransactionStatus]', 40 'folders': 'list[Folder]', 41 'last_queried_date_time': 'str', 42 'next_uri': 'str', 43 'previous_uri': 'str', 44 'result_set_size': 'str', 45 'start_position': 'str', 46 'total_set_size': 'str' 47 } 48 49 attribute_map = { 50 'continuation_token': 'continuationToken', 51 'end_position': 'endPosition', 52 'envelopes': 'envelopes', 53 'envelope_transaction_statuses': 'envelopeTransactionStatuses', 54 'folders': 'folders', 55 'last_queried_date_time': 'lastQueriedDateTime', 56 'next_uri': 'nextUri', 57 'previous_uri': 'previousUri', 58 'result_set_size': 'resultSetSize', 59 'start_position': 'startPosition', 60 'total_set_size': 'totalSetSize' 61 } 62 63 def __init__(self, _configuration=None, **kwargs): # noqa: E501 64 """EnvelopesInformation - a model defined in Swagger""" # noqa: E501 65 if _configuration is None: 66 _configuration = Configuration() 67 self._configuration = _configuration 68 69 self._continuation_token = None 70 self._end_position = None 71 self._envelopes = None 72 self._envelope_transaction_statuses = None 73 self._folders = None 74 self._last_queried_date_time = None 75 self._next_uri = None 76 self._previous_uri = None 77 self._result_set_size = None 78 self._start_position = None 79 self._total_set_size = None 80 self.discriminator = None 81 82 setattr(self, "_{}".format('continuation_token'), kwargs.get('continuation_token', None)) 83 setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None)) 84 setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None)) 85 setattr(self, "_{}".format('envelope_transaction_statuses'), kwargs.get('envelope_transaction_statuses', None)) 86 setattr(self, "_{}".format('folders'), kwargs.get('folders', None)) 87 setattr(self, "_{}".format('last_queried_date_time'), kwargs.get('last_queried_date_time', None)) 88 setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None)) 89 setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None)) 90 setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None)) 91 setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None)) 92 setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None)) 93 94 @property 95 def continuation_token(self): 96 """Gets the continuation_token of this EnvelopesInformation. # noqa: E501 97 98 # noqa: E501 99 100 :return: The continuation_token of this EnvelopesInformation. # noqa: E501 101 :rtype: str 102 """ 103 return self._continuation_token 104 105 @continuation_token.setter 106 def continuation_token(self, continuation_token): 107 """Sets the continuation_token of this EnvelopesInformation. 108 109 # noqa: E501 110 111 :param continuation_token: The continuation_token of this EnvelopesInformation. # noqa: E501 112 :type: str 113 """ 114 115 self._continuation_token = continuation_token 116 117 @property 118 def end_position(self): 119 """Gets the end_position of this EnvelopesInformation. # noqa: E501 120 121 The last position in the result set. # noqa: E501 122 123 :return: The end_position of this EnvelopesInformation. # noqa: E501 124 :rtype: str 125 """ 126 return self._end_position 127 128 @end_position.setter 129 def end_position(self, end_position): 130 """Sets the end_position of this EnvelopesInformation. 131 132 The last position in the result set. # noqa: E501 133 134 :param end_position: The end_position of this EnvelopesInformation. # noqa: E501 135 :type: str 136 """ 137 138 self._end_position = end_position 139 140 @property 141 def envelopes(self): 142 """Gets the envelopes of this EnvelopesInformation. # noqa: E501 143 144 # noqa: E501 145 146 :return: The envelopes of this EnvelopesInformation. # noqa: E501 147 :rtype: list[Envelope] 148 """ 149 return self._envelopes 150 151 @envelopes.setter 152 def envelopes(self, envelopes): 153 """Sets the envelopes of this EnvelopesInformation. 154 155 # noqa: E501 156 157 :param envelopes: The envelopes of this EnvelopesInformation. # noqa: E501 158 :type: list[Envelope] 159 """ 160 161 self._envelopes = envelopes 162 163 @property 164 def envelope_transaction_statuses(self): 165 """Gets the envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501 166 167 # noqa: E501 168 169 :return: The envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501 170 :rtype: list[EnvelopeTransactionStatus] 171 """ 172 return self._envelope_transaction_statuses 173 174 @envelope_transaction_statuses.setter 175 def envelope_transaction_statuses(self, envelope_transaction_statuses): 176 """Sets the envelope_transaction_statuses of this EnvelopesInformation. 177 178 # noqa: E501 179 180 :param envelope_transaction_statuses: The envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501 181 :type: list[EnvelopeTransactionStatus] 182 """ 183 184 self._envelope_transaction_statuses = envelope_transaction_statuses 185 186 @property 187 def folders(self): 188 """Gets the folders of this EnvelopesInformation. # noqa: E501 189 190 # noqa: E501 191 192 :return: The folders of this EnvelopesInformation. # noqa: E501 193 :rtype: list[Folder] 194 """ 195 return self._folders 196 197 @folders.setter 198 def folders(self, folders): 199 """Sets the folders of this EnvelopesInformation. 200 201 # noqa: E501 202 203 :param folders: The folders of this EnvelopesInformation. # noqa: E501 204 :type: list[Folder] 205 """ 206 207 self._folders = folders 208 209 @property 210 def last_queried_date_time(self): 211 """Gets the last_queried_date_time of this EnvelopesInformation. # noqa: E501 212 213 # noqa: E501 214 215 :return: The last_queried_date_time of this EnvelopesInformation. # noqa: E501 216 :rtype: str 217 """ 218 return self._last_queried_date_time 219 220 @last_queried_date_time.setter 221 def last_queried_date_time(self, last_queried_date_time): 222 """Sets the last_queried_date_time of this EnvelopesInformation. 223 224 # noqa: E501 225 226 :param last_queried_date_time: The last_queried_date_time of this EnvelopesInformation. # noqa: E501 227 :type: str 228 """ 229 230 self._last_queried_date_time = last_queried_date_time 231 232 @property 233 def next_uri(self): 234 """Gets the next_uri of this EnvelopesInformation. # noqa: E501 235 236 The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. # noqa: E501 237 238 :return: The next_uri of this EnvelopesInformation. # noqa: E501 239 :rtype: str 240 """ 241 return self._next_uri 242 243 @next_uri.setter 244 def next_uri(self, next_uri): 245 """Sets the next_uri of this EnvelopesInformation. 246 247 The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. # noqa: E501 248 249 :param next_uri: The next_uri of this EnvelopesInformation. # noqa: E501 250 :type: str 251 """ 252 253 self._next_uri = next_uri 254 255 @property 256 def previous_uri(self): 257 """Gets the previous_uri of this EnvelopesInformation. # noqa: E501 258 259 The postal code for the billing address. # noqa: E501 260 261 :return: The previous_uri of this EnvelopesInformation. # noqa: E501 262 :rtype: str 263 """ 264 return self._previous_uri 265 266 @previous_uri.setter 267 def previous_uri(self, previous_uri): 268 """Sets the previous_uri of this EnvelopesInformation. 269 270 The postal code for the billing address. # noqa: E501 271 272 :param previous_uri: The previous_uri of this EnvelopesInformation. # noqa: E501 273 :type: str 274 """ 275 276 self._previous_uri = previous_uri 277 278 @property 279 def result_set_size(self): 280 """Gets the result_set_size of this EnvelopesInformation. # noqa: E501 281 282 The number of results returned in this response. # noqa: E501 283 284 :return: The result_set_size of this EnvelopesInformation. # noqa: E501 285 :rtype: str 286 """ 287 return self._result_set_size 288 289 @result_set_size.setter 290 def result_set_size(self, result_set_size): 291 """Sets the result_set_size of this EnvelopesInformation. 292 293 The number of results returned in this response. # noqa: E501 294 295 :param result_set_size: The result_set_size of this EnvelopesInformation. # noqa: E501 296 :type: str 297 """ 298 299 self._result_set_size = result_set_size 300 301 @property 302 def start_position(self): 303 """Gets the start_position of this EnvelopesInformation. # noqa: E501 304 305 Starting position of the current result set. # noqa: E501 306 307 :return: The start_position of this EnvelopesInformation. # noqa: E501 308 :rtype: str 309 """ 310 return self._start_position 311 312 @start_position.setter 313 def start_position(self, start_position): 314 """Sets the start_position of this EnvelopesInformation. 315 316 Starting position of the current result set. # noqa: E501 317 318 :param start_position: The start_position of this EnvelopesInformation. # noqa: E501 319 :type: str 320 """ 321 322 self._start_position = start_position 323 324 @property 325 def total_set_size(self): 326 """Gets the total_set_size of this EnvelopesInformation. # noqa: E501 327 328 The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. # noqa: E501 329 330 :return: The total_set_size of this EnvelopesInformation. # noqa: E501 331 :rtype: str 332 """ 333 return self._total_set_size 334 335 @total_set_size.setter 336 def total_set_size(self, total_set_size): 337 """Sets the total_set_size of this EnvelopesInformation. 338 339 The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. # noqa: E501 340 341 :param total_set_size: The total_set_size of this EnvelopesInformation. # noqa: E501 342 :type: str 343 """ 344 345 self._total_set_size = total_set_size 346 347 def to_dict(self): 348 """Returns the model properties as a dict""" 349 result = {} 350 351 for attr, _ in six.iteritems(self.swagger_types): 352 value = getattr(self, attr) 353 if isinstance(value, list): 354 result[attr] = list(map( 355 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 356 value 357 )) 358 elif hasattr(value, "to_dict"): 359 result[attr] = value.to_dict() 360 elif isinstance(value, dict): 361 result[attr] = dict(map( 362 lambda item: (item[0], item[1].to_dict()) 363 if hasattr(item[1], "to_dict") else item, 364 value.items() 365 )) 366 else: 367 result[attr] = value 368 if issubclass(EnvelopesInformation, dict): 369 for key, value in self.items(): 370 result[key] = value 371 372 return result 373 374 def to_str(self): 375 """Returns the string representation of the model""" 376 return pprint.pformat(self.to_dict()) 377 378 def __repr__(self): 379 """For `print` and `pprint`""" 380 return self.to_str() 381 382 def __eq__(self, other): 383 """Returns true if both objects are equal""" 384 if not isinstance(other, EnvelopesInformation): 385 return False 386 387 return self.to_dict() == other.to_dict() 388 389 def __ne__(self, other): 390 """Returns true if both objects are not equal""" 391 if not isinstance(other, EnvelopesInformation): 392 return True 393 394 return self.to_dict() != other.to_dict()
23class EnvelopesInformation(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 'continuation_token': 'str', 38 'end_position': 'str', 39 'envelopes': 'list[Envelope]', 40 'envelope_transaction_statuses': 'list[EnvelopeTransactionStatus]', 41 'folders': 'list[Folder]', 42 'last_queried_date_time': 'str', 43 'next_uri': 'str', 44 'previous_uri': 'str', 45 'result_set_size': 'str', 46 'start_position': 'str', 47 'total_set_size': 'str' 48 } 49 50 attribute_map = { 51 'continuation_token': 'continuationToken', 52 'end_position': 'endPosition', 53 'envelopes': 'envelopes', 54 'envelope_transaction_statuses': 'envelopeTransactionStatuses', 55 'folders': 'folders', 56 'last_queried_date_time': 'lastQueriedDateTime', 57 'next_uri': 'nextUri', 58 'previous_uri': 'previousUri', 59 'result_set_size': 'resultSetSize', 60 'start_position': 'startPosition', 61 'total_set_size': 'totalSetSize' 62 } 63 64 def __init__(self, _configuration=None, **kwargs): # noqa: E501 65 """EnvelopesInformation - a model defined in Swagger""" # noqa: E501 66 if _configuration is None: 67 _configuration = Configuration() 68 self._configuration = _configuration 69 70 self._continuation_token = None 71 self._end_position = None 72 self._envelopes = None 73 self._envelope_transaction_statuses = None 74 self._folders = None 75 self._last_queried_date_time = None 76 self._next_uri = None 77 self._previous_uri = None 78 self._result_set_size = None 79 self._start_position = None 80 self._total_set_size = None 81 self.discriminator = None 82 83 setattr(self, "_{}".format('continuation_token'), kwargs.get('continuation_token', None)) 84 setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None)) 85 setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None)) 86 setattr(self, "_{}".format('envelope_transaction_statuses'), kwargs.get('envelope_transaction_statuses', None)) 87 setattr(self, "_{}".format('folders'), kwargs.get('folders', None)) 88 setattr(self, "_{}".format('last_queried_date_time'), kwargs.get('last_queried_date_time', None)) 89 setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None)) 90 setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None)) 91 setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None)) 92 setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None)) 93 setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None)) 94 95 @property 96 def continuation_token(self): 97 """Gets the continuation_token of this EnvelopesInformation. # noqa: E501 98 99 # noqa: E501 100 101 :return: The continuation_token of this EnvelopesInformation. # noqa: E501 102 :rtype: str 103 """ 104 return self._continuation_token 105 106 @continuation_token.setter 107 def continuation_token(self, continuation_token): 108 """Sets the continuation_token of this EnvelopesInformation. 109 110 # noqa: E501 111 112 :param continuation_token: The continuation_token of this EnvelopesInformation. # noqa: E501 113 :type: str 114 """ 115 116 self._continuation_token = continuation_token 117 118 @property 119 def end_position(self): 120 """Gets the end_position of this EnvelopesInformation. # noqa: E501 121 122 The last position in the result set. # noqa: E501 123 124 :return: The end_position of this EnvelopesInformation. # noqa: E501 125 :rtype: str 126 """ 127 return self._end_position 128 129 @end_position.setter 130 def end_position(self, end_position): 131 """Sets the end_position of this EnvelopesInformation. 132 133 The last position in the result set. # noqa: E501 134 135 :param end_position: The end_position of this EnvelopesInformation. # noqa: E501 136 :type: str 137 """ 138 139 self._end_position = end_position 140 141 @property 142 def envelopes(self): 143 """Gets the envelopes of this EnvelopesInformation. # noqa: E501 144 145 # noqa: E501 146 147 :return: The envelopes of this EnvelopesInformation. # noqa: E501 148 :rtype: list[Envelope] 149 """ 150 return self._envelopes 151 152 @envelopes.setter 153 def envelopes(self, envelopes): 154 """Sets the envelopes of this EnvelopesInformation. 155 156 # noqa: E501 157 158 :param envelopes: The envelopes of this EnvelopesInformation. # noqa: E501 159 :type: list[Envelope] 160 """ 161 162 self._envelopes = envelopes 163 164 @property 165 def envelope_transaction_statuses(self): 166 """Gets the envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501 167 168 # noqa: E501 169 170 :return: The envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501 171 :rtype: list[EnvelopeTransactionStatus] 172 """ 173 return self._envelope_transaction_statuses 174 175 @envelope_transaction_statuses.setter 176 def envelope_transaction_statuses(self, envelope_transaction_statuses): 177 """Sets the envelope_transaction_statuses of this EnvelopesInformation. 178 179 # noqa: E501 180 181 :param envelope_transaction_statuses: The envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501 182 :type: list[EnvelopeTransactionStatus] 183 """ 184 185 self._envelope_transaction_statuses = envelope_transaction_statuses 186 187 @property 188 def folders(self): 189 """Gets the folders of this EnvelopesInformation. # noqa: E501 190 191 # noqa: E501 192 193 :return: The folders of this EnvelopesInformation. # noqa: E501 194 :rtype: list[Folder] 195 """ 196 return self._folders 197 198 @folders.setter 199 def folders(self, folders): 200 """Sets the folders of this EnvelopesInformation. 201 202 # noqa: E501 203 204 :param folders: The folders of this EnvelopesInformation. # noqa: E501 205 :type: list[Folder] 206 """ 207 208 self._folders = folders 209 210 @property 211 def last_queried_date_time(self): 212 """Gets the last_queried_date_time of this EnvelopesInformation. # noqa: E501 213 214 # noqa: E501 215 216 :return: The last_queried_date_time of this EnvelopesInformation. # noqa: E501 217 :rtype: str 218 """ 219 return self._last_queried_date_time 220 221 @last_queried_date_time.setter 222 def last_queried_date_time(self, last_queried_date_time): 223 """Sets the last_queried_date_time of this EnvelopesInformation. 224 225 # noqa: E501 226 227 :param last_queried_date_time: The last_queried_date_time of this EnvelopesInformation. # noqa: E501 228 :type: str 229 """ 230 231 self._last_queried_date_time = last_queried_date_time 232 233 @property 234 def next_uri(self): 235 """Gets the next_uri of this EnvelopesInformation. # noqa: E501 236 237 The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. # noqa: E501 238 239 :return: The next_uri of this EnvelopesInformation. # noqa: E501 240 :rtype: str 241 """ 242 return self._next_uri 243 244 @next_uri.setter 245 def next_uri(self, next_uri): 246 """Sets the next_uri of this EnvelopesInformation. 247 248 The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. # noqa: E501 249 250 :param next_uri: The next_uri of this EnvelopesInformation. # noqa: E501 251 :type: str 252 """ 253 254 self._next_uri = next_uri 255 256 @property 257 def previous_uri(self): 258 """Gets the previous_uri of this EnvelopesInformation. # noqa: E501 259 260 The postal code for the billing address. # noqa: E501 261 262 :return: The previous_uri of this EnvelopesInformation. # noqa: E501 263 :rtype: str 264 """ 265 return self._previous_uri 266 267 @previous_uri.setter 268 def previous_uri(self, previous_uri): 269 """Sets the previous_uri of this EnvelopesInformation. 270 271 The postal code for the billing address. # noqa: E501 272 273 :param previous_uri: The previous_uri of this EnvelopesInformation. # noqa: E501 274 :type: str 275 """ 276 277 self._previous_uri = previous_uri 278 279 @property 280 def result_set_size(self): 281 """Gets the result_set_size of this EnvelopesInformation. # noqa: E501 282 283 The number of results returned in this response. # noqa: E501 284 285 :return: The result_set_size of this EnvelopesInformation. # noqa: E501 286 :rtype: str 287 """ 288 return self._result_set_size 289 290 @result_set_size.setter 291 def result_set_size(self, result_set_size): 292 """Sets the result_set_size of this EnvelopesInformation. 293 294 The number of results returned in this response. # noqa: E501 295 296 :param result_set_size: The result_set_size of this EnvelopesInformation. # noqa: E501 297 :type: str 298 """ 299 300 self._result_set_size = result_set_size 301 302 @property 303 def start_position(self): 304 """Gets the start_position of this EnvelopesInformation. # noqa: E501 305 306 Starting position of the current result set. # noqa: E501 307 308 :return: The start_position of this EnvelopesInformation. # noqa: E501 309 :rtype: str 310 """ 311 return self._start_position 312 313 @start_position.setter 314 def start_position(self, start_position): 315 """Sets the start_position of this EnvelopesInformation. 316 317 Starting position of the current result set. # noqa: E501 318 319 :param start_position: The start_position of this EnvelopesInformation. # noqa: E501 320 :type: str 321 """ 322 323 self._start_position = start_position 324 325 @property 326 def total_set_size(self): 327 """Gets the total_set_size of this EnvelopesInformation. # noqa: E501 328 329 The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. # noqa: E501 330 331 :return: The total_set_size of this EnvelopesInformation. # noqa: E501 332 :rtype: str 333 """ 334 return self._total_set_size 335 336 @total_set_size.setter 337 def total_set_size(self, total_set_size): 338 """Sets the total_set_size of this EnvelopesInformation. 339 340 The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. # noqa: E501 341 342 :param total_set_size: The total_set_size of this EnvelopesInformation. # noqa: E501 343 :type: str 344 """ 345 346 self._total_set_size = total_set_size 347 348 def to_dict(self): 349 """Returns the model properties as a dict""" 350 result = {} 351 352 for attr, _ in six.iteritems(self.swagger_types): 353 value = getattr(self, attr) 354 if isinstance(value, list): 355 result[attr] = list(map( 356 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 357 value 358 )) 359 elif hasattr(value, "to_dict"): 360 result[attr] = value.to_dict() 361 elif isinstance(value, dict): 362 result[attr] = dict(map( 363 lambda item: (item[0], item[1].to_dict()) 364 if hasattr(item[1], "to_dict") else item, 365 value.items() 366 )) 367 else: 368 result[attr] = value 369 if issubclass(EnvelopesInformation, dict): 370 for key, value in self.items(): 371 result[key] = value 372 373 return result 374 375 def to_str(self): 376 """Returns the string representation of the model""" 377 return pprint.pformat(self.to_dict()) 378 379 def __repr__(self): 380 """For `print` and `pprint`""" 381 return self.to_str() 382 383 def __eq__(self, other): 384 """Returns true if both objects are equal""" 385 if not isinstance(other, EnvelopesInformation): 386 return False 387 388 return self.to_dict() == other.to_dict() 389 390 def __ne__(self, other): 391 """Returns true if both objects are not equal""" 392 if not isinstance(other, EnvelopesInformation): 393 return True 394 395 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.
64 def __init__(self, _configuration=None, **kwargs): # noqa: E501 65 """EnvelopesInformation - a model defined in Swagger""" # noqa: E501 66 if _configuration is None: 67 _configuration = Configuration() 68 self._configuration = _configuration 69 70 self._continuation_token = None 71 self._end_position = None 72 self._envelopes = None 73 self._envelope_transaction_statuses = None 74 self._folders = None 75 self._last_queried_date_time = None 76 self._next_uri = None 77 self._previous_uri = None 78 self._result_set_size = None 79 self._start_position = None 80 self._total_set_size = None 81 self.discriminator = None 82 83 setattr(self, "_{}".format('continuation_token'), kwargs.get('continuation_token', None)) 84 setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None)) 85 setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None)) 86 setattr(self, "_{}".format('envelope_transaction_statuses'), kwargs.get('envelope_transaction_statuses', None)) 87 setattr(self, "_{}".format('folders'), kwargs.get('folders', None)) 88 setattr(self, "_{}".format('last_queried_date_time'), kwargs.get('last_queried_date_time', None)) 89 setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None)) 90 setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None)) 91 setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None)) 92 setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None)) 93 setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None))
EnvelopesInformation - a model defined in Swagger
Gets the continuation_token of this EnvelopesInformation. # noqa: E501
# noqa: E501
Returns
The continuation_token of this EnvelopesInformation. # noqa: E501
Gets the end_position of this EnvelopesInformation. # noqa: E501
The last position in the result set. # noqa: E501
Returns
The end_position of this EnvelopesInformation. # noqa: E501
Gets the envelopes of this EnvelopesInformation. # noqa: E501
# noqa: E501
Returns
The envelopes of this EnvelopesInformation. # noqa: E501
Gets the envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501
# noqa: E501
Returns
The envelope_transaction_statuses of this EnvelopesInformation. # noqa: E501
Gets the folders of this EnvelopesInformation. # noqa: E501
# noqa: E501
Returns
The folders of this EnvelopesInformation. # noqa: E501
Gets the last_queried_date_time of this EnvelopesInformation. # noqa: E501
# noqa: E501
Returns
The last_queried_date_time of this EnvelopesInformation. # noqa: E501
Gets the next_uri of this EnvelopesInformation. # noqa: E501
The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. # noqa: E501
Returns
The next_uri of this EnvelopesInformation. # noqa: E501
Gets the previous_uri of this EnvelopesInformation. # noqa: E501
The postal code for the billing address. # noqa: E501
Returns
The previous_uri of this EnvelopesInformation. # noqa: E501
Gets the result_set_size of this EnvelopesInformation. # noqa: E501
The number of results returned in this response. # noqa: E501
Returns
The result_set_size of this EnvelopesInformation. # noqa: E501
Gets the start_position of this EnvelopesInformation. # noqa: E501
Starting position of the current result set. # noqa: E501
Returns
The start_position of this EnvelopesInformation. # noqa: E501
Gets the total_set_size of this EnvelopesInformation. # noqa: E501
The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. # noqa: E501
Returns
The total_set_size of this EnvelopesInformation. # noqa: E501
348 def to_dict(self): 349 """Returns the model properties as a dict""" 350 result = {} 351 352 for attr, _ in six.iteritems(self.swagger_types): 353 value = getattr(self, attr) 354 if isinstance(value, list): 355 result[attr] = list(map( 356 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 357 value 358 )) 359 elif hasattr(value, "to_dict"): 360 result[attr] = value.to_dict() 361 elif isinstance(value, dict): 362 result[attr] = dict(map( 363 lambda item: (item[0], item[1].to_dict()) 364 if hasattr(item[1], "to_dict") else item, 365 value.items() 366 )) 367 else: 368 result[attr] = value 369 if issubclass(EnvelopesInformation, dict): 370 for key, value in self.items(): 371 result[key] = value 372 373 return result
Returns the model properties as a dict