docusign_esign.models.authentication_status
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 AuthenticationStatus(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 'access_code_result': 'EventResult', 37 'age_verify_result': 'EventResult', 38 'any_social_id_result': 'EventResult', 39 'facebook_result': 'EventResult', 40 'google_result': 'EventResult', 41 'identity_verification_result': 'EventResult', 42 'id_lookup_result': 'EventResult', 43 'id_questions_result': 'EventResult', 44 'linkedin_result': 'EventResult', 45 'live_id_result': 'EventResult', 46 'ofac_result': 'EventResult', 47 'open_id_result': 'EventResult', 48 'phone_auth_result': 'EventResult', 49 'salesforce_result': 'EventResult', 50 'signature_provider_result': 'EventResult', 51 'sms_auth_result': 'EventResult', 52 's_tan_pin_result': 'EventResult', 53 'twitter_result': 'EventResult', 54 'yahoo_result': 'EventResult' 55 } 56 57 attribute_map = { 58 'access_code_result': 'accessCodeResult', 59 'age_verify_result': 'ageVerifyResult', 60 'any_social_id_result': 'anySocialIDResult', 61 'facebook_result': 'facebookResult', 62 'google_result': 'googleResult', 63 'identity_verification_result': 'identityVerificationResult', 64 'id_lookup_result': 'idLookupResult', 65 'id_questions_result': 'idQuestionsResult', 66 'linkedin_result': 'linkedinResult', 67 'live_id_result': 'liveIDResult', 68 'ofac_result': 'ofacResult', 69 'open_id_result': 'openIDResult', 70 'phone_auth_result': 'phoneAuthResult', 71 'salesforce_result': 'salesforceResult', 72 'signature_provider_result': 'signatureProviderResult', 73 'sms_auth_result': 'smsAuthResult', 74 's_tan_pin_result': 'sTANPinResult', 75 'twitter_result': 'twitterResult', 76 'yahoo_result': 'yahooResult' 77 } 78 79 def __init__(self, _configuration=None, **kwargs): # noqa: E501 80 """AuthenticationStatus - a model defined in Swagger""" # noqa: E501 81 if _configuration is None: 82 _configuration = Configuration() 83 self._configuration = _configuration 84 85 self._access_code_result = None 86 self._age_verify_result = None 87 self._any_social_id_result = None 88 self._facebook_result = None 89 self._google_result = None 90 self._identity_verification_result = None 91 self._id_lookup_result = None 92 self._id_questions_result = None 93 self._linkedin_result = None 94 self._live_id_result = None 95 self._ofac_result = None 96 self._open_id_result = None 97 self._phone_auth_result = None 98 self._salesforce_result = None 99 self._signature_provider_result = None 100 self._sms_auth_result = None 101 self._s_tan_pin_result = None 102 self._twitter_result = None 103 self._yahoo_result = None 104 self.discriminator = None 105 106 setattr(self, "_{}".format('access_code_result'), kwargs.get('access_code_result', None)) 107 setattr(self, "_{}".format('age_verify_result'), kwargs.get('age_verify_result', None)) 108 setattr(self, "_{}".format('any_social_id_result'), kwargs.get('any_social_id_result', None)) 109 setattr(self, "_{}".format('facebook_result'), kwargs.get('facebook_result', None)) 110 setattr(self, "_{}".format('google_result'), kwargs.get('google_result', None)) 111 setattr(self, "_{}".format('identity_verification_result'), kwargs.get('identity_verification_result', None)) 112 setattr(self, "_{}".format('id_lookup_result'), kwargs.get('id_lookup_result', None)) 113 setattr(self, "_{}".format('id_questions_result'), kwargs.get('id_questions_result', None)) 114 setattr(self, "_{}".format('linkedin_result'), kwargs.get('linkedin_result', None)) 115 setattr(self, "_{}".format('live_id_result'), kwargs.get('live_id_result', None)) 116 setattr(self, "_{}".format('ofac_result'), kwargs.get('ofac_result', None)) 117 setattr(self, "_{}".format('open_id_result'), kwargs.get('open_id_result', None)) 118 setattr(self, "_{}".format('phone_auth_result'), kwargs.get('phone_auth_result', None)) 119 setattr(self, "_{}".format('salesforce_result'), kwargs.get('salesforce_result', None)) 120 setattr(self, "_{}".format('signature_provider_result'), kwargs.get('signature_provider_result', None)) 121 setattr(self, "_{}".format('sms_auth_result'), kwargs.get('sms_auth_result', None)) 122 setattr(self, "_{}".format('s_tan_pin_result'), kwargs.get('s_tan_pin_result', None)) 123 setattr(self, "_{}".format('twitter_result'), kwargs.get('twitter_result', None)) 124 setattr(self, "_{}".format('yahoo_result'), kwargs.get('yahoo_result', None)) 125 126 @property 127 def access_code_result(self): 128 """Gets the access_code_result of this AuthenticationStatus. # noqa: E501 129 130 The result of a user's attempt to authenticate by using an access code. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 131 132 :return: The access_code_result of this AuthenticationStatus. # noqa: E501 133 :rtype: EventResult 134 """ 135 return self._access_code_result 136 137 @access_code_result.setter 138 def access_code_result(self, access_code_result): 139 """Sets the access_code_result of this AuthenticationStatus. 140 141 The result of a user's attempt to authenticate by using an access code. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 142 143 :param access_code_result: The access_code_result of this AuthenticationStatus. # noqa: E501 144 :type: EventResult 145 """ 146 147 self._access_code_result = access_code_result 148 149 @property 150 def age_verify_result(self): 151 """Gets the age_verify_result of this AuthenticationStatus. # noqa: E501 152 153 The result of an age verification check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 154 155 :return: The age_verify_result of this AuthenticationStatus. # noqa: E501 156 :rtype: EventResult 157 """ 158 return self._age_verify_result 159 160 @age_verify_result.setter 161 def age_verify_result(self, age_verify_result): 162 """Sets the age_verify_result of this AuthenticationStatus. 163 164 The result of an age verification check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 165 166 :param age_verify_result: The age_verify_result of this AuthenticationStatus. # noqa: E501 167 :type: EventResult 168 """ 169 170 self._age_verify_result = age_verify_result 171 172 @property 173 def any_social_id_result(self): 174 """Gets the any_social_id_result of this AuthenticationStatus. # noqa: E501 175 176 Deprecated. # noqa: E501 177 178 :return: The any_social_id_result of this AuthenticationStatus. # noqa: E501 179 :rtype: EventResult 180 """ 181 return self._any_social_id_result 182 183 @any_social_id_result.setter 184 def any_social_id_result(self, any_social_id_result): 185 """Sets the any_social_id_result of this AuthenticationStatus. 186 187 Deprecated. # noqa: E501 188 189 :param any_social_id_result: The any_social_id_result of this AuthenticationStatus. # noqa: E501 190 :type: EventResult 191 """ 192 193 self._any_social_id_result = any_social_id_result 194 195 @property 196 def facebook_result(self): 197 """Gets the facebook_result of this AuthenticationStatus. # noqa: E501 198 199 Deprecated. # noqa: E501 200 201 :return: The facebook_result of this AuthenticationStatus. # noqa: E501 202 :rtype: EventResult 203 """ 204 return self._facebook_result 205 206 @facebook_result.setter 207 def facebook_result(self, facebook_result): 208 """Sets the facebook_result of this AuthenticationStatus. 209 210 Deprecated. # noqa: E501 211 212 :param facebook_result: The facebook_result of this AuthenticationStatus. # noqa: E501 213 :type: EventResult 214 """ 215 216 self._facebook_result = facebook_result 217 218 @property 219 def google_result(self): 220 """Gets the google_result of this AuthenticationStatus. # noqa: E501 221 222 Deprecated. # noqa: E501 223 224 :return: The google_result of this AuthenticationStatus. # noqa: E501 225 :rtype: EventResult 226 """ 227 return self._google_result 228 229 @google_result.setter 230 def google_result(self, google_result): 231 """Sets the google_result of this AuthenticationStatus. 232 233 Deprecated. # noqa: E501 234 235 :param google_result: The google_result of this AuthenticationStatus. # noqa: E501 236 :type: EventResult 237 """ 238 239 self._google_result = google_result 240 241 @property 242 def identity_verification_result(self): 243 """Gets the identity_verification_result of this AuthenticationStatus. # noqa: E501 244 245 The result of an [Identity Verification][IDV] workflow. [IDV]: /docs/esign-rest-api/reference/accounts/identityverifications/ # noqa: E501 246 247 :return: The identity_verification_result of this AuthenticationStatus. # noqa: E501 248 :rtype: EventResult 249 """ 250 return self._identity_verification_result 251 252 @identity_verification_result.setter 253 def identity_verification_result(self, identity_verification_result): 254 """Sets the identity_verification_result of this AuthenticationStatus. 255 256 The result of an [Identity Verification][IDV] workflow. [IDV]: /docs/esign-rest-api/reference/accounts/identityverifications/ # noqa: E501 257 258 :param identity_verification_result: The identity_verification_result of this AuthenticationStatus. # noqa: E501 259 :type: EventResult 260 """ 261 262 self._identity_verification_result = identity_verification_result 263 264 @property 265 def id_lookup_result(self): 266 """Gets the id_lookup_result of this AuthenticationStatus. # noqa: E501 267 268 The result of an ID lookup authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 269 270 :return: The id_lookup_result of this AuthenticationStatus. # noqa: E501 271 :rtype: EventResult 272 """ 273 return self._id_lookup_result 274 275 @id_lookup_result.setter 276 def id_lookup_result(self, id_lookup_result): 277 """Sets the id_lookup_result of this AuthenticationStatus. 278 279 The result of an ID lookup authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 280 281 :param id_lookup_result: The id_lookup_result of this AuthenticationStatus. # noqa: E501 282 :type: EventResult 283 """ 284 285 self._id_lookup_result = id_lookup_result 286 287 @property 288 def id_questions_result(self): 289 """Gets the id_questions_result of this AuthenticationStatus. # noqa: E501 290 291 The result of the user's answers to ID challenge questions. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 292 293 :return: The id_questions_result of this AuthenticationStatus. # noqa: E501 294 :rtype: EventResult 295 """ 296 return self._id_questions_result 297 298 @id_questions_result.setter 299 def id_questions_result(self, id_questions_result): 300 """Sets the id_questions_result of this AuthenticationStatus. 301 302 The result of the user's answers to ID challenge questions. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 303 304 :param id_questions_result: The id_questions_result of this AuthenticationStatus. # noqa: E501 305 :type: EventResult 306 """ 307 308 self._id_questions_result = id_questions_result 309 310 @property 311 def linkedin_result(self): 312 """Gets the linkedin_result of this AuthenticationStatus. # noqa: E501 313 314 Deprecated. # noqa: E501 315 316 :return: The linkedin_result of this AuthenticationStatus. # noqa: E501 317 :rtype: EventResult 318 """ 319 return self._linkedin_result 320 321 @linkedin_result.setter 322 def linkedin_result(self, linkedin_result): 323 """Sets the linkedin_result of this AuthenticationStatus. 324 325 Deprecated. # noqa: E501 326 327 :param linkedin_result: The linkedin_result of this AuthenticationStatus. # noqa: E501 328 :type: EventResult 329 """ 330 331 self._linkedin_result = linkedin_result 332 333 @property 334 def live_id_result(self): 335 """Gets the live_id_result of this AuthenticationStatus. # noqa: E501 336 337 Deprecated. # noqa: E501 338 339 :return: The live_id_result of this AuthenticationStatus. # noqa: E501 340 :rtype: EventResult 341 """ 342 return self._live_id_result 343 344 @live_id_result.setter 345 def live_id_result(self, live_id_result): 346 """Sets the live_id_result of this AuthenticationStatus. 347 348 Deprecated. # noqa: E501 349 350 :param live_id_result: The live_id_result of this AuthenticationStatus. # noqa: E501 351 :type: EventResult 352 """ 353 354 self._live_id_result = live_id_result 355 356 @property 357 def ofac_result(self): 358 """Gets the ofac_result of this AuthenticationStatus. # noqa: E501 359 360 The result of an Office of Foreign Asset Control (OFAC) check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 361 362 :return: The ofac_result of this AuthenticationStatus. # noqa: E501 363 :rtype: EventResult 364 """ 365 return self._ofac_result 366 367 @ofac_result.setter 368 def ofac_result(self, ofac_result): 369 """Sets the ofac_result of this AuthenticationStatus. 370 371 The result of an Office of Foreign Asset Control (OFAC) check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 372 373 :param ofac_result: The ofac_result of this AuthenticationStatus. # noqa: E501 374 :type: EventResult 375 """ 376 377 self._ofac_result = ofac_result 378 379 @property 380 def open_id_result(self): 381 """Gets the open_id_result of this AuthenticationStatus. # noqa: E501 382 383 Deprecated. # noqa: E501 384 385 :return: The open_id_result of this AuthenticationStatus. # noqa: E501 386 :rtype: EventResult 387 """ 388 return self._open_id_result 389 390 @open_id_result.setter 391 def open_id_result(self, open_id_result): 392 """Sets the open_id_result of this AuthenticationStatus. 393 394 Deprecated. # noqa: E501 395 396 :param open_id_result: The open_id_result of this AuthenticationStatus. # noqa: E501 397 :type: EventResult 398 """ 399 400 self._open_id_result = open_id_result 401 402 @property 403 def phone_auth_result(self): 404 """Gets the phone_auth_result of this AuthenticationStatus. # noqa: E501 405 406 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through phone messaging. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 407 408 :return: The phone_auth_result of this AuthenticationStatus. # noqa: E501 409 :rtype: EventResult 410 """ 411 return self._phone_auth_result 412 413 @phone_auth_result.setter 414 def phone_auth_result(self, phone_auth_result): 415 """Sets the phone_auth_result of this AuthenticationStatus. 416 417 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through phone messaging. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 418 419 :param phone_auth_result: The phone_auth_result of this AuthenticationStatus. # noqa: E501 420 :type: EventResult 421 """ 422 423 self._phone_auth_result = phone_auth_result 424 425 @property 426 def salesforce_result(self): 427 """Gets the salesforce_result of this AuthenticationStatus. # noqa: E501 428 429 Success/failure result of authentication using sign-in with a Salesforce account. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 430 431 :return: The salesforce_result of this AuthenticationStatus. # noqa: E501 432 :rtype: EventResult 433 """ 434 return self._salesforce_result 435 436 @salesforce_result.setter 437 def salesforce_result(self, salesforce_result): 438 """Sets the salesforce_result of this AuthenticationStatus. 439 440 Success/failure result of authentication using sign-in with a Salesforce account. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 441 442 :param salesforce_result: The salesforce_result of this AuthenticationStatus. # noqa: E501 443 :type: EventResult 444 """ 445 446 self._salesforce_result = salesforce_result 447 448 @property 449 def signature_provider_result(self): 450 """Gets the signature_provider_result of this AuthenticationStatus. # noqa: E501 451 452 The result of the user's attempt to authenticate by using a signature provider. # noqa: E501 453 454 :return: The signature_provider_result of this AuthenticationStatus. # noqa: E501 455 :rtype: EventResult 456 """ 457 return self._signature_provider_result 458 459 @signature_provider_result.setter 460 def signature_provider_result(self, signature_provider_result): 461 """Sets the signature_provider_result of this AuthenticationStatus. 462 463 The result of the user's attempt to authenticate by using a signature provider. # noqa: E501 464 465 :param signature_provider_result: The signature_provider_result of this AuthenticationStatus. # noqa: E501 466 :type: EventResult 467 """ 468 469 self._signature_provider_result = signature_provider_result 470 471 @property 472 def sms_auth_result(self): 473 """Gets the sms_auth_result of this AuthenticationStatus. # noqa: E501 474 475 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through SMS messaging on a mobile phone. # noqa: E501 476 477 :return: The sms_auth_result of this AuthenticationStatus. # noqa: E501 478 :rtype: EventResult 479 """ 480 return self._sms_auth_result 481 482 @sms_auth_result.setter 483 def sms_auth_result(self, sms_auth_result): 484 """Sets the sms_auth_result of this AuthenticationStatus. 485 486 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through SMS messaging on a mobile phone. # noqa: E501 487 488 :param sms_auth_result: The sms_auth_result of this AuthenticationStatus. # noqa: E501 489 :type: EventResult 490 """ 491 492 self._sms_auth_result = sms_auth_result 493 494 @property 495 def s_tan_pin_result(self): 496 """Gets the s_tan_pin_result of this AuthenticationStatus. # noqa: E501 497 498 The result of a Student Authentication Network (STAN) authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 499 500 :return: The s_tan_pin_result of this AuthenticationStatus. # noqa: E501 501 :rtype: EventResult 502 """ 503 return self._s_tan_pin_result 504 505 @s_tan_pin_result.setter 506 def s_tan_pin_result(self, s_tan_pin_result): 507 """Sets the s_tan_pin_result of this AuthenticationStatus. 508 509 The result of a Student Authentication Network (STAN) authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 510 511 :param s_tan_pin_result: The s_tan_pin_result of this AuthenticationStatus. # noqa: E501 512 :type: EventResult 513 """ 514 515 self._s_tan_pin_result = s_tan_pin_result 516 517 @property 518 def twitter_result(self): 519 """Gets the twitter_result of this AuthenticationStatus. # noqa: E501 520 521 Deprecated. # noqa: E501 522 523 :return: The twitter_result of this AuthenticationStatus. # noqa: E501 524 :rtype: EventResult 525 """ 526 return self._twitter_result 527 528 @twitter_result.setter 529 def twitter_result(self, twitter_result): 530 """Sets the twitter_result of this AuthenticationStatus. 531 532 Deprecated. # noqa: E501 533 534 :param twitter_result: The twitter_result of this AuthenticationStatus. # noqa: E501 535 :type: EventResult 536 """ 537 538 self._twitter_result = twitter_result 539 540 @property 541 def yahoo_result(self): 542 """Gets the yahoo_result of this AuthenticationStatus. # noqa: E501 543 544 Deprecated. # noqa: E501 545 546 :return: The yahoo_result of this AuthenticationStatus. # noqa: E501 547 :rtype: EventResult 548 """ 549 return self._yahoo_result 550 551 @yahoo_result.setter 552 def yahoo_result(self, yahoo_result): 553 """Sets the yahoo_result of this AuthenticationStatus. 554 555 Deprecated. # noqa: E501 556 557 :param yahoo_result: The yahoo_result of this AuthenticationStatus. # noqa: E501 558 :type: EventResult 559 """ 560 561 self._yahoo_result = yahoo_result 562 563 def to_dict(self): 564 """Returns the model properties as a dict""" 565 result = {} 566 567 for attr, _ in six.iteritems(self.swagger_types): 568 value = getattr(self, attr) 569 if isinstance(value, list): 570 result[attr] = list(map( 571 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 572 value 573 )) 574 elif hasattr(value, "to_dict"): 575 result[attr] = value.to_dict() 576 elif isinstance(value, dict): 577 result[attr] = dict(map( 578 lambda item: (item[0], item[1].to_dict()) 579 if hasattr(item[1], "to_dict") else item, 580 value.items() 581 )) 582 else: 583 result[attr] = value 584 if issubclass(AuthenticationStatus, dict): 585 for key, value in self.items(): 586 result[key] = value 587 588 return result 589 590 def to_str(self): 591 """Returns the string representation of the model""" 592 return pprint.pformat(self.to_dict()) 593 594 def __repr__(self): 595 """For `print` and `pprint`""" 596 return self.to_str() 597 598 def __eq__(self, other): 599 """Returns true if both objects are equal""" 600 if not isinstance(other, AuthenticationStatus): 601 return False 602 603 return self.to_dict() == other.to_dict() 604 605 def __ne__(self, other): 606 """Returns true if both objects are not equal""" 607 if not isinstance(other, AuthenticationStatus): 608 return True 609 610 return self.to_dict() != other.to_dict()
23class AuthenticationStatus(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 'access_code_result': 'EventResult', 38 'age_verify_result': 'EventResult', 39 'any_social_id_result': 'EventResult', 40 'facebook_result': 'EventResult', 41 'google_result': 'EventResult', 42 'identity_verification_result': 'EventResult', 43 'id_lookup_result': 'EventResult', 44 'id_questions_result': 'EventResult', 45 'linkedin_result': 'EventResult', 46 'live_id_result': 'EventResult', 47 'ofac_result': 'EventResult', 48 'open_id_result': 'EventResult', 49 'phone_auth_result': 'EventResult', 50 'salesforce_result': 'EventResult', 51 'signature_provider_result': 'EventResult', 52 'sms_auth_result': 'EventResult', 53 's_tan_pin_result': 'EventResult', 54 'twitter_result': 'EventResult', 55 'yahoo_result': 'EventResult' 56 } 57 58 attribute_map = { 59 'access_code_result': 'accessCodeResult', 60 'age_verify_result': 'ageVerifyResult', 61 'any_social_id_result': 'anySocialIDResult', 62 'facebook_result': 'facebookResult', 63 'google_result': 'googleResult', 64 'identity_verification_result': 'identityVerificationResult', 65 'id_lookup_result': 'idLookupResult', 66 'id_questions_result': 'idQuestionsResult', 67 'linkedin_result': 'linkedinResult', 68 'live_id_result': 'liveIDResult', 69 'ofac_result': 'ofacResult', 70 'open_id_result': 'openIDResult', 71 'phone_auth_result': 'phoneAuthResult', 72 'salesforce_result': 'salesforceResult', 73 'signature_provider_result': 'signatureProviderResult', 74 'sms_auth_result': 'smsAuthResult', 75 's_tan_pin_result': 'sTANPinResult', 76 'twitter_result': 'twitterResult', 77 'yahoo_result': 'yahooResult' 78 } 79 80 def __init__(self, _configuration=None, **kwargs): # noqa: E501 81 """AuthenticationStatus - a model defined in Swagger""" # noqa: E501 82 if _configuration is None: 83 _configuration = Configuration() 84 self._configuration = _configuration 85 86 self._access_code_result = None 87 self._age_verify_result = None 88 self._any_social_id_result = None 89 self._facebook_result = None 90 self._google_result = None 91 self._identity_verification_result = None 92 self._id_lookup_result = None 93 self._id_questions_result = None 94 self._linkedin_result = None 95 self._live_id_result = None 96 self._ofac_result = None 97 self._open_id_result = None 98 self._phone_auth_result = None 99 self._salesforce_result = None 100 self._signature_provider_result = None 101 self._sms_auth_result = None 102 self._s_tan_pin_result = None 103 self._twitter_result = None 104 self._yahoo_result = None 105 self.discriminator = None 106 107 setattr(self, "_{}".format('access_code_result'), kwargs.get('access_code_result', None)) 108 setattr(self, "_{}".format('age_verify_result'), kwargs.get('age_verify_result', None)) 109 setattr(self, "_{}".format('any_social_id_result'), kwargs.get('any_social_id_result', None)) 110 setattr(self, "_{}".format('facebook_result'), kwargs.get('facebook_result', None)) 111 setattr(self, "_{}".format('google_result'), kwargs.get('google_result', None)) 112 setattr(self, "_{}".format('identity_verification_result'), kwargs.get('identity_verification_result', None)) 113 setattr(self, "_{}".format('id_lookup_result'), kwargs.get('id_lookup_result', None)) 114 setattr(self, "_{}".format('id_questions_result'), kwargs.get('id_questions_result', None)) 115 setattr(self, "_{}".format('linkedin_result'), kwargs.get('linkedin_result', None)) 116 setattr(self, "_{}".format('live_id_result'), kwargs.get('live_id_result', None)) 117 setattr(self, "_{}".format('ofac_result'), kwargs.get('ofac_result', None)) 118 setattr(self, "_{}".format('open_id_result'), kwargs.get('open_id_result', None)) 119 setattr(self, "_{}".format('phone_auth_result'), kwargs.get('phone_auth_result', None)) 120 setattr(self, "_{}".format('salesforce_result'), kwargs.get('salesforce_result', None)) 121 setattr(self, "_{}".format('signature_provider_result'), kwargs.get('signature_provider_result', None)) 122 setattr(self, "_{}".format('sms_auth_result'), kwargs.get('sms_auth_result', None)) 123 setattr(self, "_{}".format('s_tan_pin_result'), kwargs.get('s_tan_pin_result', None)) 124 setattr(self, "_{}".format('twitter_result'), kwargs.get('twitter_result', None)) 125 setattr(self, "_{}".format('yahoo_result'), kwargs.get('yahoo_result', None)) 126 127 @property 128 def access_code_result(self): 129 """Gets the access_code_result of this AuthenticationStatus. # noqa: E501 130 131 The result of a user's attempt to authenticate by using an access code. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 132 133 :return: The access_code_result of this AuthenticationStatus. # noqa: E501 134 :rtype: EventResult 135 """ 136 return self._access_code_result 137 138 @access_code_result.setter 139 def access_code_result(self, access_code_result): 140 """Sets the access_code_result of this AuthenticationStatus. 141 142 The result of a user's attempt to authenticate by using an access code. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 143 144 :param access_code_result: The access_code_result of this AuthenticationStatus. # noqa: E501 145 :type: EventResult 146 """ 147 148 self._access_code_result = access_code_result 149 150 @property 151 def age_verify_result(self): 152 """Gets the age_verify_result of this AuthenticationStatus. # noqa: E501 153 154 The result of an age verification check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 155 156 :return: The age_verify_result of this AuthenticationStatus. # noqa: E501 157 :rtype: EventResult 158 """ 159 return self._age_verify_result 160 161 @age_verify_result.setter 162 def age_verify_result(self, age_verify_result): 163 """Sets the age_verify_result of this AuthenticationStatus. 164 165 The result of an age verification check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 166 167 :param age_verify_result: The age_verify_result of this AuthenticationStatus. # noqa: E501 168 :type: EventResult 169 """ 170 171 self._age_verify_result = age_verify_result 172 173 @property 174 def any_social_id_result(self): 175 """Gets the any_social_id_result of this AuthenticationStatus. # noqa: E501 176 177 Deprecated. # noqa: E501 178 179 :return: The any_social_id_result of this AuthenticationStatus. # noqa: E501 180 :rtype: EventResult 181 """ 182 return self._any_social_id_result 183 184 @any_social_id_result.setter 185 def any_social_id_result(self, any_social_id_result): 186 """Sets the any_social_id_result of this AuthenticationStatus. 187 188 Deprecated. # noqa: E501 189 190 :param any_social_id_result: The any_social_id_result of this AuthenticationStatus. # noqa: E501 191 :type: EventResult 192 """ 193 194 self._any_social_id_result = any_social_id_result 195 196 @property 197 def facebook_result(self): 198 """Gets the facebook_result of this AuthenticationStatus. # noqa: E501 199 200 Deprecated. # noqa: E501 201 202 :return: The facebook_result of this AuthenticationStatus. # noqa: E501 203 :rtype: EventResult 204 """ 205 return self._facebook_result 206 207 @facebook_result.setter 208 def facebook_result(self, facebook_result): 209 """Sets the facebook_result of this AuthenticationStatus. 210 211 Deprecated. # noqa: E501 212 213 :param facebook_result: The facebook_result of this AuthenticationStatus. # noqa: E501 214 :type: EventResult 215 """ 216 217 self._facebook_result = facebook_result 218 219 @property 220 def google_result(self): 221 """Gets the google_result of this AuthenticationStatus. # noqa: E501 222 223 Deprecated. # noqa: E501 224 225 :return: The google_result of this AuthenticationStatus. # noqa: E501 226 :rtype: EventResult 227 """ 228 return self._google_result 229 230 @google_result.setter 231 def google_result(self, google_result): 232 """Sets the google_result of this AuthenticationStatus. 233 234 Deprecated. # noqa: E501 235 236 :param google_result: The google_result of this AuthenticationStatus. # noqa: E501 237 :type: EventResult 238 """ 239 240 self._google_result = google_result 241 242 @property 243 def identity_verification_result(self): 244 """Gets the identity_verification_result of this AuthenticationStatus. # noqa: E501 245 246 The result of an [Identity Verification][IDV] workflow. [IDV]: /docs/esign-rest-api/reference/accounts/identityverifications/ # noqa: E501 247 248 :return: The identity_verification_result of this AuthenticationStatus. # noqa: E501 249 :rtype: EventResult 250 """ 251 return self._identity_verification_result 252 253 @identity_verification_result.setter 254 def identity_verification_result(self, identity_verification_result): 255 """Sets the identity_verification_result of this AuthenticationStatus. 256 257 The result of an [Identity Verification][IDV] workflow. [IDV]: /docs/esign-rest-api/reference/accounts/identityverifications/ # noqa: E501 258 259 :param identity_verification_result: The identity_verification_result of this AuthenticationStatus. # noqa: E501 260 :type: EventResult 261 """ 262 263 self._identity_verification_result = identity_verification_result 264 265 @property 266 def id_lookup_result(self): 267 """Gets the id_lookup_result of this AuthenticationStatus. # noqa: E501 268 269 The result of an ID lookup authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 270 271 :return: The id_lookup_result of this AuthenticationStatus. # noqa: E501 272 :rtype: EventResult 273 """ 274 return self._id_lookup_result 275 276 @id_lookup_result.setter 277 def id_lookup_result(self, id_lookup_result): 278 """Sets the id_lookup_result of this AuthenticationStatus. 279 280 The result of an ID lookup authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 281 282 :param id_lookup_result: The id_lookup_result of this AuthenticationStatus. # noqa: E501 283 :type: EventResult 284 """ 285 286 self._id_lookup_result = id_lookup_result 287 288 @property 289 def id_questions_result(self): 290 """Gets the id_questions_result of this AuthenticationStatus. # noqa: E501 291 292 The result of the user's answers to ID challenge questions. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 293 294 :return: The id_questions_result of this AuthenticationStatus. # noqa: E501 295 :rtype: EventResult 296 """ 297 return self._id_questions_result 298 299 @id_questions_result.setter 300 def id_questions_result(self, id_questions_result): 301 """Sets the id_questions_result of this AuthenticationStatus. 302 303 The result of the user's answers to ID challenge questions. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 304 305 :param id_questions_result: The id_questions_result of this AuthenticationStatus. # noqa: E501 306 :type: EventResult 307 """ 308 309 self._id_questions_result = id_questions_result 310 311 @property 312 def linkedin_result(self): 313 """Gets the linkedin_result of this AuthenticationStatus. # noqa: E501 314 315 Deprecated. # noqa: E501 316 317 :return: The linkedin_result of this AuthenticationStatus. # noqa: E501 318 :rtype: EventResult 319 """ 320 return self._linkedin_result 321 322 @linkedin_result.setter 323 def linkedin_result(self, linkedin_result): 324 """Sets the linkedin_result of this AuthenticationStatus. 325 326 Deprecated. # noqa: E501 327 328 :param linkedin_result: The linkedin_result of this AuthenticationStatus. # noqa: E501 329 :type: EventResult 330 """ 331 332 self._linkedin_result = linkedin_result 333 334 @property 335 def live_id_result(self): 336 """Gets the live_id_result of this AuthenticationStatus. # noqa: E501 337 338 Deprecated. # noqa: E501 339 340 :return: The live_id_result of this AuthenticationStatus. # noqa: E501 341 :rtype: EventResult 342 """ 343 return self._live_id_result 344 345 @live_id_result.setter 346 def live_id_result(self, live_id_result): 347 """Sets the live_id_result of this AuthenticationStatus. 348 349 Deprecated. # noqa: E501 350 351 :param live_id_result: The live_id_result of this AuthenticationStatus. # noqa: E501 352 :type: EventResult 353 """ 354 355 self._live_id_result = live_id_result 356 357 @property 358 def ofac_result(self): 359 """Gets the ofac_result of this AuthenticationStatus. # noqa: E501 360 361 The result of an Office of Foreign Asset Control (OFAC) check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 362 363 :return: The ofac_result of this AuthenticationStatus. # noqa: E501 364 :rtype: EventResult 365 """ 366 return self._ofac_result 367 368 @ofac_result.setter 369 def ofac_result(self, ofac_result): 370 """Sets the ofac_result of this AuthenticationStatus. 371 372 The result of an Office of Foreign Asset Control (OFAC) check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 373 374 :param ofac_result: The ofac_result of this AuthenticationStatus. # noqa: E501 375 :type: EventResult 376 """ 377 378 self._ofac_result = ofac_result 379 380 @property 381 def open_id_result(self): 382 """Gets the open_id_result of this AuthenticationStatus. # noqa: E501 383 384 Deprecated. # noqa: E501 385 386 :return: The open_id_result of this AuthenticationStatus. # noqa: E501 387 :rtype: EventResult 388 """ 389 return self._open_id_result 390 391 @open_id_result.setter 392 def open_id_result(self, open_id_result): 393 """Sets the open_id_result of this AuthenticationStatus. 394 395 Deprecated. # noqa: E501 396 397 :param open_id_result: The open_id_result of this AuthenticationStatus. # noqa: E501 398 :type: EventResult 399 """ 400 401 self._open_id_result = open_id_result 402 403 @property 404 def phone_auth_result(self): 405 """Gets the phone_auth_result of this AuthenticationStatus. # noqa: E501 406 407 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through phone messaging. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 408 409 :return: The phone_auth_result of this AuthenticationStatus. # noqa: E501 410 :rtype: EventResult 411 """ 412 return self._phone_auth_result 413 414 @phone_auth_result.setter 415 def phone_auth_result(self, phone_auth_result): 416 """Sets the phone_auth_result of this AuthenticationStatus. 417 418 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through phone messaging. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 419 420 :param phone_auth_result: The phone_auth_result of this AuthenticationStatus. # noqa: E501 421 :type: EventResult 422 """ 423 424 self._phone_auth_result = phone_auth_result 425 426 @property 427 def salesforce_result(self): 428 """Gets the salesforce_result of this AuthenticationStatus. # noqa: E501 429 430 Success/failure result of authentication using sign-in with a Salesforce account. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 431 432 :return: The salesforce_result of this AuthenticationStatus. # noqa: E501 433 :rtype: EventResult 434 """ 435 return self._salesforce_result 436 437 @salesforce_result.setter 438 def salesforce_result(self, salesforce_result): 439 """Sets the salesforce_result of this AuthenticationStatus. 440 441 Success/failure result of authentication using sign-in with a Salesforce account. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 442 443 :param salesforce_result: The salesforce_result of this AuthenticationStatus. # noqa: E501 444 :type: EventResult 445 """ 446 447 self._salesforce_result = salesforce_result 448 449 @property 450 def signature_provider_result(self): 451 """Gets the signature_provider_result of this AuthenticationStatus. # noqa: E501 452 453 The result of the user's attempt to authenticate by using a signature provider. # noqa: E501 454 455 :return: The signature_provider_result of this AuthenticationStatus. # noqa: E501 456 :rtype: EventResult 457 """ 458 return self._signature_provider_result 459 460 @signature_provider_result.setter 461 def signature_provider_result(self, signature_provider_result): 462 """Sets the signature_provider_result of this AuthenticationStatus. 463 464 The result of the user's attempt to authenticate by using a signature provider. # noqa: E501 465 466 :param signature_provider_result: The signature_provider_result of this AuthenticationStatus. # noqa: E501 467 :type: EventResult 468 """ 469 470 self._signature_provider_result = signature_provider_result 471 472 @property 473 def sms_auth_result(self): 474 """Gets the sms_auth_result of this AuthenticationStatus. # noqa: E501 475 476 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through SMS messaging on a mobile phone. # noqa: E501 477 478 :return: The sms_auth_result of this AuthenticationStatus. # noqa: E501 479 :rtype: EventResult 480 """ 481 return self._sms_auth_result 482 483 @sms_auth_result.setter 484 def sms_auth_result(self, sms_auth_result): 485 """Sets the sms_auth_result of this AuthenticationStatus. 486 487 The result of the user's attempt to authenticate by using two-factor authentication (2FA) through SMS messaging on a mobile phone. # noqa: E501 488 489 :param sms_auth_result: The sms_auth_result of this AuthenticationStatus. # noqa: E501 490 :type: EventResult 491 """ 492 493 self._sms_auth_result = sms_auth_result 494 495 @property 496 def s_tan_pin_result(self): 497 """Gets the s_tan_pin_result of this AuthenticationStatus. # noqa: E501 498 499 The result of a Student Authentication Network (STAN) authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 500 501 :return: The s_tan_pin_result of this AuthenticationStatus. # noqa: E501 502 :rtype: EventResult 503 """ 504 return self._s_tan_pin_result 505 506 @s_tan_pin_result.setter 507 def s_tan_pin_result(self, s_tan_pin_result): 508 """Sets the s_tan_pin_result of this AuthenticationStatus. 509 510 The result of a Student Authentication Network (STAN) authentication check. It returns: - `Status`: `Pass` or `Fail`. - `dateTime`: The date and time that the event occurred. - `FailureDescription`: A string containing the details about a failed authentication. - `VendorFailureStatusCode`: A string containing the vendor's status code for a failed authentication. # noqa: E501 511 512 :param s_tan_pin_result: The s_tan_pin_result of this AuthenticationStatus. # noqa: E501 513 :type: EventResult 514 """ 515 516 self._s_tan_pin_result = s_tan_pin_result 517 518 @property 519 def twitter_result(self): 520 """Gets the twitter_result of this AuthenticationStatus. # noqa: E501 521 522 Deprecated. # noqa: E501 523 524 :return: The twitter_result of this AuthenticationStatus. # noqa: E501 525 :rtype: EventResult 526 """ 527 return self._twitter_result 528 529 @twitter_result.setter 530 def twitter_result(self, twitter_result): 531 """Sets the twitter_result of this AuthenticationStatus. 532 533 Deprecated. # noqa: E501 534 535 :param twitter_result: The twitter_result of this AuthenticationStatus. # noqa: E501 536 :type: EventResult 537 """ 538 539 self._twitter_result = twitter_result 540 541 @property 542 def yahoo_result(self): 543 """Gets the yahoo_result of this AuthenticationStatus. # noqa: E501 544 545 Deprecated. # noqa: E501 546 547 :return: The yahoo_result of this AuthenticationStatus. # noqa: E501 548 :rtype: EventResult 549 """ 550 return self._yahoo_result 551 552 @yahoo_result.setter 553 def yahoo_result(self, yahoo_result): 554 """Sets the yahoo_result of this AuthenticationStatus. 555 556 Deprecated. # noqa: E501 557 558 :param yahoo_result: The yahoo_result of this AuthenticationStatus. # noqa: E501 559 :type: EventResult 560 """ 561 562 self._yahoo_result = yahoo_result 563 564 def to_dict(self): 565 """Returns the model properties as a dict""" 566 result = {} 567 568 for attr, _ in six.iteritems(self.swagger_types): 569 value = getattr(self, attr) 570 if isinstance(value, list): 571 result[attr] = list(map( 572 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 573 value 574 )) 575 elif hasattr(value, "to_dict"): 576 result[attr] = value.to_dict() 577 elif isinstance(value, dict): 578 result[attr] = dict(map( 579 lambda item: (item[0], item[1].to_dict()) 580 if hasattr(item[1], "to_dict") else item, 581 value.items() 582 )) 583 else: 584 result[attr] = value 585 if issubclass(AuthenticationStatus, dict): 586 for key, value in self.items(): 587 result[key] = value 588 589 return result 590 591 def to_str(self): 592 """Returns the string representation of the model""" 593 return pprint.pformat(self.to_dict()) 594 595 def __repr__(self): 596 """For `print` and `pprint`""" 597 return self.to_str() 598 599 def __eq__(self, other): 600 """Returns true if both objects are equal""" 601 if not isinstance(other, AuthenticationStatus): 602 return False 603 604 return self.to_dict() == other.to_dict() 605 606 def __ne__(self, other): 607 """Returns true if both objects are not equal""" 608 if not isinstance(other, AuthenticationStatus): 609 return True 610 611 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.
80 def __init__(self, _configuration=None, **kwargs): # noqa: E501 81 """AuthenticationStatus - a model defined in Swagger""" # noqa: E501 82 if _configuration is None: 83 _configuration = Configuration() 84 self._configuration = _configuration 85 86 self._access_code_result = None 87 self._age_verify_result = None 88 self._any_social_id_result = None 89 self._facebook_result = None 90 self._google_result = None 91 self._identity_verification_result = None 92 self._id_lookup_result = None 93 self._id_questions_result = None 94 self._linkedin_result = None 95 self._live_id_result = None 96 self._ofac_result = None 97 self._open_id_result = None 98 self._phone_auth_result = None 99 self._salesforce_result = None 100 self._signature_provider_result = None 101 self._sms_auth_result = None 102 self._s_tan_pin_result = None 103 self._twitter_result = None 104 self._yahoo_result = None 105 self.discriminator = None 106 107 setattr(self, "_{}".format('access_code_result'), kwargs.get('access_code_result', None)) 108 setattr(self, "_{}".format('age_verify_result'), kwargs.get('age_verify_result', None)) 109 setattr(self, "_{}".format('any_social_id_result'), kwargs.get('any_social_id_result', None)) 110 setattr(self, "_{}".format('facebook_result'), kwargs.get('facebook_result', None)) 111 setattr(self, "_{}".format('google_result'), kwargs.get('google_result', None)) 112 setattr(self, "_{}".format('identity_verification_result'), kwargs.get('identity_verification_result', None)) 113 setattr(self, "_{}".format('id_lookup_result'), kwargs.get('id_lookup_result', None)) 114 setattr(self, "_{}".format('id_questions_result'), kwargs.get('id_questions_result', None)) 115 setattr(self, "_{}".format('linkedin_result'), kwargs.get('linkedin_result', None)) 116 setattr(self, "_{}".format('live_id_result'), kwargs.get('live_id_result', None)) 117 setattr(self, "_{}".format('ofac_result'), kwargs.get('ofac_result', None)) 118 setattr(self, "_{}".format('open_id_result'), kwargs.get('open_id_result', None)) 119 setattr(self, "_{}".format('phone_auth_result'), kwargs.get('phone_auth_result', None)) 120 setattr(self, "_{}".format('salesforce_result'), kwargs.get('salesforce_result', None)) 121 setattr(self, "_{}".format('signature_provider_result'), kwargs.get('signature_provider_result', None)) 122 setattr(self, "_{}".format('sms_auth_result'), kwargs.get('sms_auth_result', None)) 123 setattr(self, "_{}".format('s_tan_pin_result'), kwargs.get('s_tan_pin_result', None)) 124 setattr(self, "_{}".format('twitter_result'), kwargs.get('twitter_result', None)) 125 setattr(self, "_{}".format('yahoo_result'), kwargs.get('yahoo_result', None))
AuthenticationStatus - a model defined in Swagger
Gets the access_code_result of this AuthenticationStatus. # noqa: E501
The result of a user's attempt to authenticate by using an access code. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The access_code_result of this AuthenticationStatus. # noqa: E501
Gets the age_verify_result of this AuthenticationStatus. # noqa: E501
The result of an age verification check. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The age_verify_result of this AuthenticationStatus. # noqa: E501
Gets the facebook_result of this AuthenticationStatus. # noqa: E501
Deprecated. # noqa: E501
Returns
The facebook_result of this AuthenticationStatus. # noqa: E501
Gets the google_result of this AuthenticationStatus. # noqa: E501
Deprecated. # noqa: E501
Returns
The google_result of this AuthenticationStatus. # noqa: E501
Gets the identity_verification_result of this AuthenticationStatus. # noqa: E501
The result of an [Identity Verification][IDV] workflow. [IDV]: /docs/esign-rest-api/reference/accounts/identityverifications/ # noqa: E501
Returns
The identity_verification_result of this AuthenticationStatus. # noqa: E501
Gets the id_lookup_result of this AuthenticationStatus. # noqa: E501
The result of an ID lookup authentication check. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The id_lookup_result of this AuthenticationStatus. # noqa: E501
Gets the id_questions_result of this AuthenticationStatus. # noqa: E501
The result of the user's answers to ID challenge questions. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The id_questions_result of this AuthenticationStatus. # noqa: E501
Gets the linkedin_result of this AuthenticationStatus. # noqa: E501
Deprecated. # noqa: E501
Returns
The linkedin_result of this AuthenticationStatus. # noqa: E501
Gets the live_id_result of this AuthenticationStatus. # noqa: E501
Deprecated. # noqa: E501
Returns
The live_id_result of this AuthenticationStatus. # noqa: E501
Gets the ofac_result of this AuthenticationStatus. # noqa: E501
The result of an Office of Foreign Asset Control (OFAC) check. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The ofac_result of this AuthenticationStatus. # noqa: E501
Gets the open_id_result of this AuthenticationStatus. # noqa: E501
Deprecated. # noqa: E501
Returns
The open_id_result of this AuthenticationStatus. # noqa: E501
Gets the phone_auth_result of this AuthenticationStatus. # noqa: E501
The result of the user's attempt to authenticate by using two-factor authentication (2FA) through phone messaging. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The phone_auth_result of this AuthenticationStatus. # noqa: E501
Gets the salesforce_result of this AuthenticationStatus. # noqa: E501
Success/failure result of authentication using sign-in with a Salesforce account. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The salesforce_result of this AuthenticationStatus. # noqa: E501
Gets the signature_provider_result of this AuthenticationStatus. # noqa: E501
The result of the user's attempt to authenticate by using a signature provider. # noqa: E501
Returns
The signature_provider_result of this AuthenticationStatus. # noqa: E501
Gets the sms_auth_result of this AuthenticationStatus. # noqa: E501
The result of the user's attempt to authenticate by using two-factor authentication (2FA) through SMS messaging on a mobile phone. # noqa: E501
Returns
The sms_auth_result of this AuthenticationStatus. # noqa: E501
Gets the s_tan_pin_result of this AuthenticationStatus. # noqa: E501
The result of a Student Authentication Network (STAN) authentication check. It returns: - Status
: Pass
or Fail
. - dateTime
: The date and time that the event occurred. - FailureDescription
: A string containing the details about a failed authentication. - VendorFailureStatusCode
: A string containing the vendor's status code for a failed authentication. # noqa: E501
Returns
The s_tan_pin_result of this AuthenticationStatus. # noqa: E501
Gets the twitter_result of this AuthenticationStatus. # noqa: E501
Deprecated. # noqa: E501
Returns
The twitter_result of this AuthenticationStatus. # noqa: E501
Gets the yahoo_result of this AuthenticationStatus. # noqa: E501
Deprecated. # noqa: E501
Returns
The yahoo_result of this AuthenticationStatus. # noqa: E501
564 def to_dict(self): 565 """Returns the model properties as a dict""" 566 result = {} 567 568 for attr, _ in six.iteritems(self.swagger_types): 569 value = getattr(self, attr) 570 if isinstance(value, list): 571 result[attr] = list(map( 572 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 573 value 574 )) 575 elif hasattr(value, "to_dict"): 576 result[attr] = value.to_dict() 577 elif isinstance(value, dict): 578 result[attr] = dict(map( 579 lambda item: (item[0], item[1].to_dict()) 580 if hasattr(item[1], "to_dict") else item, 581 value.items() 582 )) 583 else: 584 result[attr] = value 585 if issubclass(AuthenticationStatus, dict): 586 for key, value in self.items(): 587 result[key] = value 588 589 return result
Returns the model properties as a dict