docusign_esign.models.connect_log
Docusign eSignature REST API
The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501
OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git
1# coding: utf-8 2 3""" 4 Docusign eSignature REST API 5 6 The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501 7 8 OpenAPI spec version: v2.1 9 Contact: devcenter@docusign.com 10 Generated by: https://github.com/swagger-api/swagger-codegen.git 11""" 12 13 14import pprint 15import re # noqa: F401 16 17import six 18 19from docusign_esign.client.configuration import Configuration 20 21 22class ConnectLog(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 'account_id': 'str', 37 'config_url': 'str', 38 'connect_debug_log': 'list[ConnectDebugLog]', 39 'connect_id': 'str', 40 'created': 'str', 41 'email': 'str', 42 'envelope_id': 'str', 43 'error': 'str', 44 'failure_id': 'str', 45 'failure_uri': 'str', 46 'last_try': 'str', 47 'log_id': 'str', 48 'log_uri': 'str', 49 'retry_count': 'str', 50 'retry_uri': 'str', 51 'status': 'str', 52 'subject': 'str', 53 'user_name': 'str' 54 } 55 56 attribute_map = { 57 'account_id': 'accountId', 58 'config_url': 'configUrl', 59 'connect_debug_log': 'connectDebugLog', 60 'connect_id': 'connectId', 61 'created': 'created', 62 'email': 'email', 63 'envelope_id': 'envelopeId', 64 'error': 'error', 65 'failure_id': 'failureId', 66 'failure_uri': 'failureUri', 67 'last_try': 'lastTry', 68 'log_id': 'logId', 69 'log_uri': 'logUri', 70 'retry_count': 'retryCount', 71 'retry_uri': 'retryUri', 72 'status': 'status', 73 'subject': 'subject', 74 'user_name': 'userName' 75 } 76 77 def __init__(self, _configuration=None, **kwargs): # noqa: E501 78 """ConnectLog - a model defined in Swagger""" # noqa: E501 79 if _configuration is None: 80 _configuration = Configuration() 81 self._configuration = _configuration 82 83 self._account_id = None 84 self._config_url = None 85 self._connect_debug_log = None 86 self._connect_id = None 87 self._created = None 88 self._email = None 89 self._envelope_id = None 90 self._error = None 91 self._failure_id = None 92 self._failure_uri = None 93 self._last_try = None 94 self._log_id = None 95 self._log_uri = None 96 self._retry_count = None 97 self._retry_uri = None 98 self._status = None 99 self._subject = None 100 self._user_name = None 101 self.discriminator = None 102 103 setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None)) 104 setattr(self, "_{}".format('config_url'), kwargs.get('config_url', None)) 105 setattr(self, "_{}".format('connect_debug_log'), kwargs.get('connect_debug_log', None)) 106 setattr(self, "_{}".format('connect_id'), kwargs.get('connect_id', None)) 107 setattr(self, "_{}".format('created'), kwargs.get('created', None)) 108 setattr(self, "_{}".format('email'), kwargs.get('email', None)) 109 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 110 setattr(self, "_{}".format('error'), kwargs.get('error', None)) 111 setattr(self, "_{}".format('failure_id'), kwargs.get('failure_id', None)) 112 setattr(self, "_{}".format('failure_uri'), kwargs.get('failure_uri', None)) 113 setattr(self, "_{}".format('last_try'), kwargs.get('last_try', None)) 114 setattr(self, "_{}".format('log_id'), kwargs.get('log_id', None)) 115 setattr(self, "_{}".format('log_uri'), kwargs.get('log_uri', None)) 116 setattr(self, "_{}".format('retry_count'), kwargs.get('retry_count', None)) 117 setattr(self, "_{}".format('retry_uri'), kwargs.get('retry_uri', None)) 118 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 119 setattr(self, "_{}".format('subject'), kwargs.get('subject', None)) 120 setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None)) 121 122 @property 123 def account_id(self): 124 """Gets the account_id of this ConnectLog. # noqa: E501 125 126 The account ID associated with the envelope. # noqa: E501 127 128 :return: The account_id of this ConnectLog. # noqa: E501 129 :rtype: str 130 """ 131 return self._account_id 132 133 @account_id.setter 134 def account_id(self, account_id): 135 """Sets the account_id of this ConnectLog. 136 137 The account ID associated with the envelope. # noqa: E501 138 139 :param account_id: The account_id of this ConnectLog. # noqa: E501 140 :type: str 141 """ 142 143 self._account_id = account_id 144 145 @property 146 def config_url(self): 147 """Gets the config_url of this ConnectLog. # noqa: E501 148 149 The web address of the listener or Retrieving Service end point for Connect. # noqa: E501 150 151 :return: The config_url of this ConnectLog. # noqa: E501 152 :rtype: str 153 """ 154 return self._config_url 155 156 @config_url.setter 157 def config_url(self, config_url): 158 """Sets the config_url of this ConnectLog. 159 160 The web address of the listener or Retrieving Service end point for Connect. # noqa: E501 161 162 :param config_url: The config_url of this ConnectLog. # noqa: E501 163 :type: str 164 """ 165 166 self._config_url = config_url 167 168 @property 169 def connect_debug_log(self): 170 """Gets the connect_debug_log of this ConnectLog. # noqa: E501 171 172 A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used. # noqa: E501 173 174 :return: The connect_debug_log of this ConnectLog. # noqa: E501 175 :rtype: list[ConnectDebugLog] 176 """ 177 return self._connect_debug_log 178 179 @connect_debug_log.setter 180 def connect_debug_log(self, connect_debug_log): 181 """Sets the connect_debug_log of this ConnectLog. 182 183 A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used. # noqa: E501 184 185 :param connect_debug_log: The connect_debug_log of this ConnectLog. # noqa: E501 186 :type: list[ConnectDebugLog] 187 """ 188 189 self._connect_debug_log = connect_debug_log 190 191 @property 192 def connect_id(self): 193 """Gets the connect_id of this ConnectLog. # noqa: E501 194 195 The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post. # noqa: E501 196 197 :return: The connect_id of this ConnectLog. # noqa: E501 198 :rtype: str 199 """ 200 return self._connect_id 201 202 @connect_id.setter 203 def connect_id(self, connect_id): 204 """Sets the connect_id of this ConnectLog. 205 206 The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post. # noqa: E501 207 208 :param connect_id: The connect_id of this ConnectLog. # noqa: E501 209 :type: str 210 """ 211 212 self._connect_id = connect_id 213 214 @property 215 def created(self): 216 """Gets the created of this ConnectLog. # noqa: E501 217 218 The date and time the entry was created. # noqa: E501 219 220 :return: The created of this ConnectLog. # noqa: E501 221 :rtype: str 222 """ 223 return self._created 224 225 @created.setter 226 def created(self, created): 227 """Sets the created of this ConnectLog. 228 229 The date and time the entry was created. # noqa: E501 230 231 :param created: The created of this ConnectLog. # noqa: E501 232 :type: str 233 """ 234 235 self._created = created 236 237 @property 238 def email(self): 239 """Gets the email of this ConnectLog. # noqa: E501 240 241 The email that sent the envelope. # noqa: E501 242 243 :return: The email of this ConnectLog. # noqa: E501 244 :rtype: str 245 """ 246 return self._email 247 248 @email.setter 249 def email(self, email): 250 """Sets the email of this ConnectLog. 251 252 The email that sent the envelope. # noqa: E501 253 254 :param email: The email of this ConnectLog. # noqa: E501 255 :type: str 256 """ 257 258 self._email = email 259 260 @property 261 def envelope_id(self): 262 """Gets the envelope_id of this ConnectLog. # noqa: E501 263 264 The envelope ID of the envelope status that failed to post. # noqa: E501 265 266 :return: The envelope_id of this ConnectLog. # noqa: E501 267 :rtype: str 268 """ 269 return self._envelope_id 270 271 @envelope_id.setter 272 def envelope_id(self, envelope_id): 273 """Sets the envelope_id of this ConnectLog. 274 275 The envelope ID of the envelope status that failed to post. # noqa: E501 276 277 :param envelope_id: The envelope_id of this ConnectLog. # noqa: E501 278 :type: str 279 """ 280 281 self._envelope_id = envelope_id 282 283 @property 284 def error(self): 285 """Gets the error of this ConnectLog. # noqa: E501 286 287 The error that caused the Connect post to fail. # noqa: E501 288 289 :return: The error of this ConnectLog. # noqa: E501 290 :rtype: str 291 """ 292 return self._error 293 294 @error.setter 295 def error(self, error): 296 """Sets the error of this ConnectLog. 297 298 The error that caused the Connect post to fail. # noqa: E501 299 300 :param error: The error of this ConnectLog. # noqa: E501 301 :type: str 302 """ 303 304 self._error = error 305 306 @property 307 def failure_id(self): 308 """Gets the failure_id of this ConnectLog. # noqa: E501 309 310 The failure log ID for the failure. # noqa: E501 311 312 :return: The failure_id of this ConnectLog. # noqa: E501 313 :rtype: str 314 """ 315 return self._failure_id 316 317 @failure_id.setter 318 def failure_id(self, failure_id): 319 """Sets the failure_id of this ConnectLog. 320 321 The failure log ID for the failure. # noqa: E501 322 323 :param failure_id: The failure_id of this ConnectLog. # noqa: E501 324 :type: str 325 """ 326 327 self._failure_id = failure_id 328 329 @property 330 def failure_uri(self): 331 """Gets the failure_uri of this ConnectLog. # noqa: E501 332 333 The URI for the failure. # noqa: E501 334 335 :return: The failure_uri of this ConnectLog. # noqa: E501 336 :rtype: str 337 """ 338 return self._failure_uri 339 340 @failure_uri.setter 341 def failure_uri(self, failure_uri): 342 """Sets the failure_uri of this ConnectLog. 343 344 The URI for the failure. # noqa: E501 345 346 :param failure_uri: The failure_uri of this ConnectLog. # noqa: E501 347 :type: str 348 """ 349 350 self._failure_uri = failure_uri 351 352 @property 353 def last_try(self): 354 """Gets the last_try of this ConnectLog. # noqa: E501 355 356 The date and time the last attempt to post. # noqa: E501 357 358 :return: The last_try of this ConnectLog. # noqa: E501 359 :rtype: str 360 """ 361 return self._last_try 362 363 @last_try.setter 364 def last_try(self, last_try): 365 """Sets the last_try of this ConnectLog. 366 367 The date and time the last attempt to post. # noqa: E501 368 369 :param last_try: The last_try of this ConnectLog. # noqa: E501 370 :type: str 371 """ 372 373 self._last_try = last_try 374 375 @property 376 def log_id(self): 377 """Gets the log_id of this ConnectLog. # noqa: E501 378 379 The Connect log ID for the entry. # noqa: E501 380 381 :return: The log_id of this ConnectLog. # noqa: E501 382 :rtype: str 383 """ 384 return self._log_id 385 386 @log_id.setter 387 def log_id(self, log_id): 388 """Sets the log_id of this ConnectLog. 389 390 The Connect log ID for the entry. # noqa: E501 391 392 :param log_id: The log_id of this ConnectLog. # noqa: E501 393 :type: str 394 """ 395 396 self._log_id = log_id 397 398 @property 399 def log_uri(self): 400 """Gets the log_uri of this ConnectLog. # noqa: E501 401 402 The URI for the log item. # noqa: E501 403 404 :return: The log_uri of this ConnectLog. # noqa: E501 405 :rtype: str 406 """ 407 return self._log_uri 408 409 @log_uri.setter 410 def log_uri(self, log_uri): 411 """Sets the log_uri of this ConnectLog. 412 413 The URI for the log item. # noqa: E501 414 415 :param log_uri: The log_uri of this ConnectLog. # noqa: E501 416 :type: str 417 """ 418 419 self._log_uri = log_uri 420 421 @property 422 def retry_count(self): 423 """Gets the retry_count of this ConnectLog. # noqa: E501 424 425 The number of times the Connect post has been retried. # noqa: E501 426 427 :return: The retry_count of this ConnectLog. # noqa: E501 428 :rtype: str 429 """ 430 return self._retry_count 431 432 @retry_count.setter 433 def retry_count(self, retry_count): 434 """Sets the retry_count of this ConnectLog. 435 436 The number of times the Connect post has been retried. # noqa: E501 437 438 :param retry_count: The retry_count of this ConnectLog. # noqa: E501 439 :type: str 440 """ 441 442 self._retry_count = retry_count 443 444 @property 445 def retry_uri(self): 446 """Gets the retry_uri of this ConnectLog. # noqa: E501 447 448 The UEI to retry to publish the Connect failure. # noqa: E501 449 450 :return: The retry_uri of this ConnectLog. # noqa: E501 451 :rtype: str 452 """ 453 return self._retry_uri 454 455 @retry_uri.setter 456 def retry_uri(self, retry_uri): 457 """Sets the retry_uri of this ConnectLog. 458 459 The UEI to retry to publish the Connect failure. # noqa: E501 460 461 :param retry_uri: The retry_uri of this ConnectLog. # noqa: E501 462 :type: str 463 """ 464 465 self._retry_uri = retry_uri 466 467 @property 468 def status(self): 469 """Gets the status of this ConnectLog. # noqa: E501 470 471 The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing. # noqa: E501 472 473 :return: The status of this ConnectLog. # noqa: E501 474 :rtype: str 475 """ 476 return self._status 477 478 @status.setter 479 def status(self, status): 480 """Sets the status of this ConnectLog. 481 482 The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing. # noqa: E501 483 484 :param status: The status of this ConnectLog. # noqa: E501 485 :type: str 486 """ 487 488 self._status = status 489 490 @property 491 def subject(self): 492 """Gets the subject of this ConnectLog. # noqa: E501 493 494 The envelope subject. # noqa: E501 495 496 :return: The subject of this ConnectLog. # noqa: E501 497 :rtype: str 498 """ 499 return self._subject 500 501 @subject.setter 502 def subject(self, subject): 503 """Sets the subject of this ConnectLog. 504 505 The envelope subject. # noqa: E501 506 507 :param subject: The subject of this ConnectLog. # noqa: E501 508 :type: str 509 """ 510 511 self._subject = subject 512 513 @property 514 def user_name(self): 515 """Gets the user_name of this ConnectLog. # noqa: E501 516 517 The name of the envelope sender. # noqa: E501 518 519 :return: The user_name of this ConnectLog. # noqa: E501 520 :rtype: str 521 """ 522 return self._user_name 523 524 @user_name.setter 525 def user_name(self, user_name): 526 """Sets the user_name of this ConnectLog. 527 528 The name of the envelope sender. # noqa: E501 529 530 :param user_name: The user_name of this ConnectLog. # noqa: E501 531 :type: str 532 """ 533 534 self._user_name = user_name 535 536 def to_dict(self): 537 """Returns the model properties as a dict""" 538 result = {} 539 540 for attr, _ in six.iteritems(self.swagger_types): 541 value = getattr(self, attr) 542 if isinstance(value, list): 543 result[attr] = list(map( 544 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 545 value 546 )) 547 elif hasattr(value, "to_dict"): 548 result[attr] = value.to_dict() 549 elif isinstance(value, dict): 550 result[attr] = dict(map( 551 lambda item: (item[0], item[1].to_dict()) 552 if hasattr(item[1], "to_dict") else item, 553 value.items() 554 )) 555 else: 556 result[attr] = value 557 if issubclass(ConnectLog, dict): 558 for key, value in self.items(): 559 result[key] = value 560 561 return result 562 563 def to_str(self): 564 """Returns the string representation of the model""" 565 return pprint.pformat(self.to_dict()) 566 567 def __repr__(self): 568 """For `print` and `pprint`""" 569 return self.to_str() 570 571 def __eq__(self, other): 572 """Returns true if both objects are equal""" 573 if not isinstance(other, ConnectLog): 574 return False 575 576 return self.to_dict() == other.to_dict() 577 578 def __ne__(self, other): 579 """Returns true if both objects are not equal""" 580 if not isinstance(other, ConnectLog): 581 return True 582 583 return self.to_dict() != other.to_dict()
23class ConnectLog(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 'account_id': 'str', 38 'config_url': 'str', 39 'connect_debug_log': 'list[ConnectDebugLog]', 40 'connect_id': 'str', 41 'created': 'str', 42 'email': 'str', 43 'envelope_id': 'str', 44 'error': 'str', 45 'failure_id': 'str', 46 'failure_uri': 'str', 47 'last_try': 'str', 48 'log_id': 'str', 49 'log_uri': 'str', 50 'retry_count': 'str', 51 'retry_uri': 'str', 52 'status': 'str', 53 'subject': 'str', 54 'user_name': 'str' 55 } 56 57 attribute_map = { 58 'account_id': 'accountId', 59 'config_url': 'configUrl', 60 'connect_debug_log': 'connectDebugLog', 61 'connect_id': 'connectId', 62 'created': 'created', 63 'email': 'email', 64 'envelope_id': 'envelopeId', 65 'error': 'error', 66 'failure_id': 'failureId', 67 'failure_uri': 'failureUri', 68 'last_try': 'lastTry', 69 'log_id': 'logId', 70 'log_uri': 'logUri', 71 'retry_count': 'retryCount', 72 'retry_uri': 'retryUri', 73 'status': 'status', 74 'subject': 'subject', 75 'user_name': 'userName' 76 } 77 78 def __init__(self, _configuration=None, **kwargs): # noqa: E501 79 """ConnectLog - a model defined in Swagger""" # noqa: E501 80 if _configuration is None: 81 _configuration = Configuration() 82 self._configuration = _configuration 83 84 self._account_id = None 85 self._config_url = None 86 self._connect_debug_log = None 87 self._connect_id = None 88 self._created = None 89 self._email = None 90 self._envelope_id = None 91 self._error = None 92 self._failure_id = None 93 self._failure_uri = None 94 self._last_try = None 95 self._log_id = None 96 self._log_uri = None 97 self._retry_count = None 98 self._retry_uri = None 99 self._status = None 100 self._subject = None 101 self._user_name = None 102 self.discriminator = None 103 104 setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None)) 105 setattr(self, "_{}".format('config_url'), kwargs.get('config_url', None)) 106 setattr(self, "_{}".format('connect_debug_log'), kwargs.get('connect_debug_log', None)) 107 setattr(self, "_{}".format('connect_id'), kwargs.get('connect_id', None)) 108 setattr(self, "_{}".format('created'), kwargs.get('created', None)) 109 setattr(self, "_{}".format('email'), kwargs.get('email', None)) 110 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 111 setattr(self, "_{}".format('error'), kwargs.get('error', None)) 112 setattr(self, "_{}".format('failure_id'), kwargs.get('failure_id', None)) 113 setattr(self, "_{}".format('failure_uri'), kwargs.get('failure_uri', None)) 114 setattr(self, "_{}".format('last_try'), kwargs.get('last_try', None)) 115 setattr(self, "_{}".format('log_id'), kwargs.get('log_id', None)) 116 setattr(self, "_{}".format('log_uri'), kwargs.get('log_uri', None)) 117 setattr(self, "_{}".format('retry_count'), kwargs.get('retry_count', None)) 118 setattr(self, "_{}".format('retry_uri'), kwargs.get('retry_uri', None)) 119 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 120 setattr(self, "_{}".format('subject'), kwargs.get('subject', None)) 121 setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None)) 122 123 @property 124 def account_id(self): 125 """Gets the account_id of this ConnectLog. # noqa: E501 126 127 The account ID associated with the envelope. # noqa: E501 128 129 :return: The account_id of this ConnectLog. # noqa: E501 130 :rtype: str 131 """ 132 return self._account_id 133 134 @account_id.setter 135 def account_id(self, account_id): 136 """Sets the account_id of this ConnectLog. 137 138 The account ID associated with the envelope. # noqa: E501 139 140 :param account_id: The account_id of this ConnectLog. # noqa: E501 141 :type: str 142 """ 143 144 self._account_id = account_id 145 146 @property 147 def config_url(self): 148 """Gets the config_url of this ConnectLog. # noqa: E501 149 150 The web address of the listener or Retrieving Service end point for Connect. # noqa: E501 151 152 :return: The config_url of this ConnectLog. # noqa: E501 153 :rtype: str 154 """ 155 return self._config_url 156 157 @config_url.setter 158 def config_url(self, config_url): 159 """Sets the config_url of this ConnectLog. 160 161 The web address of the listener or Retrieving Service end point for Connect. # noqa: E501 162 163 :param config_url: The config_url of this ConnectLog. # noqa: E501 164 :type: str 165 """ 166 167 self._config_url = config_url 168 169 @property 170 def connect_debug_log(self): 171 """Gets the connect_debug_log of this ConnectLog. # noqa: E501 172 173 A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used. # noqa: E501 174 175 :return: The connect_debug_log of this ConnectLog. # noqa: E501 176 :rtype: list[ConnectDebugLog] 177 """ 178 return self._connect_debug_log 179 180 @connect_debug_log.setter 181 def connect_debug_log(self, connect_debug_log): 182 """Sets the connect_debug_log of this ConnectLog. 183 184 A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used. # noqa: E501 185 186 :param connect_debug_log: The connect_debug_log of this ConnectLog. # noqa: E501 187 :type: list[ConnectDebugLog] 188 """ 189 190 self._connect_debug_log = connect_debug_log 191 192 @property 193 def connect_id(self): 194 """Gets the connect_id of this ConnectLog. # noqa: E501 195 196 The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post. # noqa: E501 197 198 :return: The connect_id of this ConnectLog. # noqa: E501 199 :rtype: str 200 """ 201 return self._connect_id 202 203 @connect_id.setter 204 def connect_id(self, connect_id): 205 """Sets the connect_id of this ConnectLog. 206 207 The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post. # noqa: E501 208 209 :param connect_id: The connect_id of this ConnectLog. # noqa: E501 210 :type: str 211 """ 212 213 self._connect_id = connect_id 214 215 @property 216 def created(self): 217 """Gets the created of this ConnectLog. # noqa: E501 218 219 The date and time the entry was created. # noqa: E501 220 221 :return: The created of this ConnectLog. # noqa: E501 222 :rtype: str 223 """ 224 return self._created 225 226 @created.setter 227 def created(self, created): 228 """Sets the created of this ConnectLog. 229 230 The date and time the entry was created. # noqa: E501 231 232 :param created: The created of this ConnectLog. # noqa: E501 233 :type: str 234 """ 235 236 self._created = created 237 238 @property 239 def email(self): 240 """Gets the email of this ConnectLog. # noqa: E501 241 242 The email that sent the envelope. # noqa: E501 243 244 :return: The email of this ConnectLog. # noqa: E501 245 :rtype: str 246 """ 247 return self._email 248 249 @email.setter 250 def email(self, email): 251 """Sets the email of this ConnectLog. 252 253 The email that sent the envelope. # noqa: E501 254 255 :param email: The email of this ConnectLog. # noqa: E501 256 :type: str 257 """ 258 259 self._email = email 260 261 @property 262 def envelope_id(self): 263 """Gets the envelope_id of this ConnectLog. # noqa: E501 264 265 The envelope ID of the envelope status that failed to post. # noqa: E501 266 267 :return: The envelope_id of this ConnectLog. # noqa: E501 268 :rtype: str 269 """ 270 return self._envelope_id 271 272 @envelope_id.setter 273 def envelope_id(self, envelope_id): 274 """Sets the envelope_id of this ConnectLog. 275 276 The envelope ID of the envelope status that failed to post. # noqa: E501 277 278 :param envelope_id: The envelope_id of this ConnectLog. # noqa: E501 279 :type: str 280 """ 281 282 self._envelope_id = envelope_id 283 284 @property 285 def error(self): 286 """Gets the error of this ConnectLog. # noqa: E501 287 288 The error that caused the Connect post to fail. # noqa: E501 289 290 :return: The error of this ConnectLog. # noqa: E501 291 :rtype: str 292 """ 293 return self._error 294 295 @error.setter 296 def error(self, error): 297 """Sets the error of this ConnectLog. 298 299 The error that caused the Connect post to fail. # noqa: E501 300 301 :param error: The error of this ConnectLog. # noqa: E501 302 :type: str 303 """ 304 305 self._error = error 306 307 @property 308 def failure_id(self): 309 """Gets the failure_id of this ConnectLog. # noqa: E501 310 311 The failure log ID for the failure. # noqa: E501 312 313 :return: The failure_id of this ConnectLog. # noqa: E501 314 :rtype: str 315 """ 316 return self._failure_id 317 318 @failure_id.setter 319 def failure_id(self, failure_id): 320 """Sets the failure_id of this ConnectLog. 321 322 The failure log ID for the failure. # noqa: E501 323 324 :param failure_id: The failure_id of this ConnectLog. # noqa: E501 325 :type: str 326 """ 327 328 self._failure_id = failure_id 329 330 @property 331 def failure_uri(self): 332 """Gets the failure_uri of this ConnectLog. # noqa: E501 333 334 The URI for the failure. # noqa: E501 335 336 :return: The failure_uri of this ConnectLog. # noqa: E501 337 :rtype: str 338 """ 339 return self._failure_uri 340 341 @failure_uri.setter 342 def failure_uri(self, failure_uri): 343 """Sets the failure_uri of this ConnectLog. 344 345 The URI for the failure. # noqa: E501 346 347 :param failure_uri: The failure_uri of this ConnectLog. # noqa: E501 348 :type: str 349 """ 350 351 self._failure_uri = failure_uri 352 353 @property 354 def last_try(self): 355 """Gets the last_try of this ConnectLog. # noqa: E501 356 357 The date and time the last attempt to post. # noqa: E501 358 359 :return: The last_try of this ConnectLog. # noqa: E501 360 :rtype: str 361 """ 362 return self._last_try 363 364 @last_try.setter 365 def last_try(self, last_try): 366 """Sets the last_try of this ConnectLog. 367 368 The date and time the last attempt to post. # noqa: E501 369 370 :param last_try: The last_try of this ConnectLog. # noqa: E501 371 :type: str 372 """ 373 374 self._last_try = last_try 375 376 @property 377 def log_id(self): 378 """Gets the log_id of this ConnectLog. # noqa: E501 379 380 The Connect log ID for the entry. # noqa: E501 381 382 :return: The log_id of this ConnectLog. # noqa: E501 383 :rtype: str 384 """ 385 return self._log_id 386 387 @log_id.setter 388 def log_id(self, log_id): 389 """Sets the log_id of this ConnectLog. 390 391 The Connect log ID for the entry. # noqa: E501 392 393 :param log_id: The log_id of this ConnectLog. # noqa: E501 394 :type: str 395 """ 396 397 self._log_id = log_id 398 399 @property 400 def log_uri(self): 401 """Gets the log_uri of this ConnectLog. # noqa: E501 402 403 The URI for the log item. # noqa: E501 404 405 :return: The log_uri of this ConnectLog. # noqa: E501 406 :rtype: str 407 """ 408 return self._log_uri 409 410 @log_uri.setter 411 def log_uri(self, log_uri): 412 """Sets the log_uri of this ConnectLog. 413 414 The URI for the log item. # noqa: E501 415 416 :param log_uri: The log_uri of this ConnectLog. # noqa: E501 417 :type: str 418 """ 419 420 self._log_uri = log_uri 421 422 @property 423 def retry_count(self): 424 """Gets the retry_count of this ConnectLog. # noqa: E501 425 426 The number of times the Connect post has been retried. # noqa: E501 427 428 :return: The retry_count of this ConnectLog. # noqa: E501 429 :rtype: str 430 """ 431 return self._retry_count 432 433 @retry_count.setter 434 def retry_count(self, retry_count): 435 """Sets the retry_count of this ConnectLog. 436 437 The number of times the Connect post has been retried. # noqa: E501 438 439 :param retry_count: The retry_count of this ConnectLog. # noqa: E501 440 :type: str 441 """ 442 443 self._retry_count = retry_count 444 445 @property 446 def retry_uri(self): 447 """Gets the retry_uri of this ConnectLog. # noqa: E501 448 449 The UEI to retry to publish the Connect failure. # noqa: E501 450 451 :return: The retry_uri of this ConnectLog. # noqa: E501 452 :rtype: str 453 """ 454 return self._retry_uri 455 456 @retry_uri.setter 457 def retry_uri(self, retry_uri): 458 """Sets the retry_uri of this ConnectLog. 459 460 The UEI to retry to publish the Connect failure. # noqa: E501 461 462 :param retry_uri: The retry_uri of this ConnectLog. # noqa: E501 463 :type: str 464 """ 465 466 self._retry_uri = retry_uri 467 468 @property 469 def status(self): 470 """Gets the status of this ConnectLog. # noqa: E501 471 472 The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing. # noqa: E501 473 474 :return: The status of this ConnectLog. # noqa: E501 475 :rtype: str 476 """ 477 return self._status 478 479 @status.setter 480 def status(self, status): 481 """Sets the status of this ConnectLog. 482 483 The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing. # noqa: E501 484 485 :param status: The status of this ConnectLog. # noqa: E501 486 :type: str 487 """ 488 489 self._status = status 490 491 @property 492 def subject(self): 493 """Gets the subject of this ConnectLog. # noqa: E501 494 495 The envelope subject. # noqa: E501 496 497 :return: The subject of this ConnectLog. # noqa: E501 498 :rtype: str 499 """ 500 return self._subject 501 502 @subject.setter 503 def subject(self, subject): 504 """Sets the subject of this ConnectLog. 505 506 The envelope subject. # noqa: E501 507 508 :param subject: The subject of this ConnectLog. # noqa: E501 509 :type: str 510 """ 511 512 self._subject = subject 513 514 @property 515 def user_name(self): 516 """Gets the user_name of this ConnectLog. # noqa: E501 517 518 The name of the envelope sender. # noqa: E501 519 520 :return: The user_name of this ConnectLog. # noqa: E501 521 :rtype: str 522 """ 523 return self._user_name 524 525 @user_name.setter 526 def user_name(self, user_name): 527 """Sets the user_name of this ConnectLog. 528 529 The name of the envelope sender. # noqa: E501 530 531 :param user_name: The user_name of this ConnectLog. # noqa: E501 532 :type: str 533 """ 534 535 self._user_name = user_name 536 537 def to_dict(self): 538 """Returns the model properties as a dict""" 539 result = {} 540 541 for attr, _ in six.iteritems(self.swagger_types): 542 value = getattr(self, attr) 543 if isinstance(value, list): 544 result[attr] = list(map( 545 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 546 value 547 )) 548 elif hasattr(value, "to_dict"): 549 result[attr] = value.to_dict() 550 elif isinstance(value, dict): 551 result[attr] = dict(map( 552 lambda item: (item[0], item[1].to_dict()) 553 if hasattr(item[1], "to_dict") else item, 554 value.items() 555 )) 556 else: 557 result[attr] = value 558 if issubclass(ConnectLog, dict): 559 for key, value in self.items(): 560 result[key] = value 561 562 return result 563 564 def to_str(self): 565 """Returns the string representation of the model""" 566 return pprint.pformat(self.to_dict()) 567 568 def __repr__(self): 569 """For `print` and `pprint`""" 570 return self.to_str() 571 572 def __eq__(self, other): 573 """Returns true if both objects are equal""" 574 if not isinstance(other, ConnectLog): 575 return False 576 577 return self.to_dict() == other.to_dict() 578 579 def __ne__(self, other): 580 """Returns true if both objects are not equal""" 581 if not isinstance(other, ConnectLog): 582 return True 583 584 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.
78 def __init__(self, _configuration=None, **kwargs): # noqa: E501 79 """ConnectLog - a model defined in Swagger""" # noqa: E501 80 if _configuration is None: 81 _configuration = Configuration() 82 self._configuration = _configuration 83 84 self._account_id = None 85 self._config_url = None 86 self._connect_debug_log = None 87 self._connect_id = None 88 self._created = None 89 self._email = None 90 self._envelope_id = None 91 self._error = None 92 self._failure_id = None 93 self._failure_uri = None 94 self._last_try = None 95 self._log_id = None 96 self._log_uri = None 97 self._retry_count = None 98 self._retry_uri = None 99 self._status = None 100 self._subject = None 101 self._user_name = None 102 self.discriminator = None 103 104 setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None)) 105 setattr(self, "_{}".format('config_url'), kwargs.get('config_url', None)) 106 setattr(self, "_{}".format('connect_debug_log'), kwargs.get('connect_debug_log', None)) 107 setattr(self, "_{}".format('connect_id'), kwargs.get('connect_id', None)) 108 setattr(self, "_{}".format('created'), kwargs.get('created', None)) 109 setattr(self, "_{}".format('email'), kwargs.get('email', None)) 110 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 111 setattr(self, "_{}".format('error'), kwargs.get('error', None)) 112 setattr(self, "_{}".format('failure_id'), kwargs.get('failure_id', None)) 113 setattr(self, "_{}".format('failure_uri'), kwargs.get('failure_uri', None)) 114 setattr(self, "_{}".format('last_try'), kwargs.get('last_try', None)) 115 setattr(self, "_{}".format('log_id'), kwargs.get('log_id', None)) 116 setattr(self, "_{}".format('log_uri'), kwargs.get('log_uri', None)) 117 setattr(self, "_{}".format('retry_count'), kwargs.get('retry_count', None)) 118 setattr(self, "_{}".format('retry_uri'), kwargs.get('retry_uri', None)) 119 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 120 setattr(self, "_{}".format('subject'), kwargs.get('subject', None)) 121 setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))
ConnectLog - a model defined in Swagger
Gets the account_id of this ConnectLog. # noqa: E501
The account ID associated with the envelope. # noqa: E501
Returns
The account_id of this ConnectLog. # noqa: E501
Gets the config_url of this ConnectLog. # noqa: E501
The web address of the listener or Retrieving Service end point for Connect. # noqa: E501
Returns
The config_url of this ConnectLog. # noqa: E501
Gets the connect_debug_log of this ConnectLog. # noqa: E501
A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used. # noqa: E501
Returns
The connect_debug_log of this ConnectLog. # noqa: E501
Gets the connect_id of this ConnectLog. # noqa: E501
The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post. # noqa: E501
Returns
The connect_id of this ConnectLog. # noqa: E501
Gets the created of this ConnectLog. # noqa: E501
The date and time the entry was created. # noqa: E501
Returns
The created of this ConnectLog. # noqa: E501
Gets the email of this ConnectLog. # noqa: E501
The email that sent the envelope. # noqa: E501
Returns
The email of this ConnectLog. # noqa: E501
Gets the envelope_id of this ConnectLog. # noqa: E501
The envelope ID of the envelope status that failed to post. # noqa: E501
Returns
The envelope_id of this ConnectLog. # noqa: E501
Gets the error of this ConnectLog. # noqa: E501
The error that caused the Connect post to fail. # noqa: E501
Returns
The error of this ConnectLog. # noqa: E501
Gets the failure_id of this ConnectLog. # noqa: E501
The failure log ID for the failure. # noqa: E501
Returns
The failure_id of this ConnectLog. # noqa: E501
Gets the failure_uri of this ConnectLog. # noqa: E501
The URI for the failure. # noqa: E501
Returns
The failure_uri of this ConnectLog. # noqa: E501
Gets the last_try of this ConnectLog. # noqa: E501
The date and time the last attempt to post. # noqa: E501
Returns
The last_try of this ConnectLog. # noqa: E501
Gets the log_id of this ConnectLog. # noqa: E501
The Connect log ID for the entry. # noqa: E501
Returns
The log_id of this ConnectLog. # noqa: E501
Gets the log_uri of this ConnectLog. # noqa: E501
The URI for the log item. # noqa: E501
Returns
The log_uri of this ConnectLog. # noqa: E501
Gets the retry_count of this ConnectLog. # noqa: E501
The number of times the Connect post has been retried. # noqa: E501
Returns
The retry_count of this ConnectLog. # noqa: E501
Gets the retry_uri of this ConnectLog. # noqa: E501
The UEI to retry to publish the Connect failure. # noqa: E501
Returns
The retry_uri of this ConnectLog. # noqa: E501
Gets the status of this ConnectLog. # noqa: E501
The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing. # noqa: E501
Returns
The status of this ConnectLog. # noqa: E501
Gets the subject of this ConnectLog. # noqa: E501
The envelope subject. # noqa: E501
Returns
The subject of this ConnectLog. # noqa: E501
Gets the user_name of this ConnectLog. # noqa: E501
The name of the envelope sender. # noqa: E501
Returns
The user_name of this ConnectLog. # noqa: E501
537 def to_dict(self): 538 """Returns the model properties as a dict""" 539 result = {} 540 541 for attr, _ in six.iteritems(self.swagger_types): 542 value = getattr(self, attr) 543 if isinstance(value, list): 544 result[attr] = list(map( 545 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 546 value 547 )) 548 elif hasattr(value, "to_dict"): 549 result[attr] = value.to_dict() 550 elif isinstance(value, dict): 551 result[attr] = dict(map( 552 lambda item: (item[0], item[1].to_dict()) 553 if hasattr(item[1], "to_dict") else item, 554 value.items() 555 )) 556 else: 557 result[attr] = value 558 if issubclass(ConnectLog, dict): 559 for key, value in self.items(): 560 result[key] = value 561 562 return result
Returns the model properties as a dict