docusign_webforms.models.authentication_method

Web Forms API version 1.1

The Web Forms API facilitates generating semantic HTML forms around everyday contracts. # noqa: E501

OpenAPI spec version: 1.1.0 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git

  1# coding: utf-8
  2
  3"""
  4    Web Forms API version 1.1
  5
  6    The Web Forms API facilitates generating semantic HTML forms around everyday contracts.   # noqa: E501
  7
  8    OpenAPI spec version: 1.1.0
  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_webforms.client.configuration import Configuration
 20
 21
 22class AuthenticationMethod(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    allowed enum values
 30    """
 31    BIOMETRIC = "Biometric"
 32    EMAIL = "Email"
 33    HTTPBASICAUTH = "HTTPBasicAuth"
 34    KERBEROS = "Kerberos"
 35    KNOWLEDGEBASEDAUTH = "KnowledgeBasedAuth"
 36    NONE = "None"
 37    PAPERDOCUMENTS = "PaperDocuments"
 38    PASSWORD = "Password"
 39    RSASECUREID = "RSASecureID"
 40    SINGLESIGNON_CASITEMINDER = "SingleSignOn_CASiteminder"
 41    SINGLESIGNON_INFOCARD = "SingleSignOn_InfoCard"
 42    SINGLESIGNON_MICROSOFTACTIVEDIRECTORY = "SingleSignOn_MicrosoftActiveDirectory"
 43    SINGLESIGNON_OTHER = "SingleSignOn_Other"
 44    SINGLESIGNON_PASSPORT = "SingleSignOn_Passport"
 45    SINGLESIGNON_SAML = "SingleSignOn_SAML"
 46    SMARTCARD = "Smartcard"
 47    SSLMUTUALAUTH = "SSLMutualAuth"
 48    X509CERTIFICATE = "X509Certificate"
 49
 50    """
 51    Attributes:
 52      swagger_types (dict): The key is attribute name
 53                            and the value is attribute type.
 54      attribute_map (dict): The key is attribute name
 55                            and the value is json key in definition.
 56    """
 57    swagger_types = {
 58    }
 59
 60    attribute_map = {
 61    }
 62
 63    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 64        """AuthenticationMethod - a model defined in Swagger"""  # noqa: E501
 65        if _configuration is None:
 66            _configuration = Configuration()
 67        self._configuration = _configuration
 68        self.discriminator = None
 69
 70    def to_dict(self):
 71        """Returns the model properties as a dict"""
 72        result = {}
 73
 74        for attr, _ in six.iteritems(self.swagger_types):
 75            value = getattr(self, attr)
 76            if isinstance(value, list):
 77                result[attr] = list(map(
 78                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
 79                    value
 80                ))
 81            elif hasattr(value, "to_dict"):
 82                result[attr] = value.to_dict()
 83            elif isinstance(value, dict):
 84                result[attr] = dict(map(
 85                    lambda item: (item[0], item[1].to_dict())
 86                    if hasattr(item[1], "to_dict") else item,
 87                    value.items()
 88                ))
 89            else:
 90                result[attr] = value
 91        if issubclass(AuthenticationMethod, dict):
 92            for key, value in self.items():
 93                result[key] = value
 94
 95        return result
 96
 97    def to_str(self):
 98        """Returns the string representation of the model"""
 99        return pprint.pformat(self.to_dict())
100
101    def __repr__(self):
102        """For `print` and `pprint`"""
103        return self.to_str()
104
105    def __eq__(self, other):
106        """Returns true if both objects are equal"""
107        if not isinstance(other, AuthenticationMethod):
108            return False
109
110        return self.to_dict() == other.to_dict()
111
112    def __ne__(self, other):
113        """Returns true if both objects are not equal"""
114        if not isinstance(other, AuthenticationMethod):
115            return True
116
117        return self.to_dict() != other.to_dict()
class AuthenticationMethod:
 23class AuthenticationMethod(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    allowed enum values
 31    """
 32    BIOMETRIC = "Biometric"
 33    EMAIL = "Email"
 34    HTTPBASICAUTH = "HTTPBasicAuth"
 35    KERBEROS = "Kerberos"
 36    KNOWLEDGEBASEDAUTH = "KnowledgeBasedAuth"
 37    NONE = "None"
 38    PAPERDOCUMENTS = "PaperDocuments"
 39    PASSWORD = "Password"
 40    RSASECUREID = "RSASecureID"
 41    SINGLESIGNON_CASITEMINDER = "SingleSignOn_CASiteminder"
 42    SINGLESIGNON_INFOCARD = "SingleSignOn_InfoCard"
 43    SINGLESIGNON_MICROSOFTACTIVEDIRECTORY = "SingleSignOn_MicrosoftActiveDirectory"
 44    SINGLESIGNON_OTHER = "SingleSignOn_Other"
 45    SINGLESIGNON_PASSPORT = "SingleSignOn_Passport"
 46    SINGLESIGNON_SAML = "SingleSignOn_SAML"
 47    SMARTCARD = "Smartcard"
 48    SSLMUTUALAUTH = "SSLMutualAuth"
 49    X509CERTIFICATE = "X509Certificate"
 50
 51    """
 52    Attributes:
 53      swagger_types (dict): The key is attribute name
 54                            and the value is attribute type.
 55      attribute_map (dict): The key is attribute name
 56                            and the value is json key in definition.
 57    """
 58    swagger_types = {
 59    }
 60
 61    attribute_map = {
 62    }
 63
 64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 65        """AuthenticationMethod - a model defined in Swagger"""  # noqa: E501
 66        if _configuration is None:
 67            _configuration = Configuration()
 68        self._configuration = _configuration
 69        self.discriminator = None
 70
 71    def to_dict(self):
 72        """Returns the model properties as a dict"""
 73        result = {}
 74
 75        for attr, _ in six.iteritems(self.swagger_types):
 76            value = getattr(self, attr)
 77            if isinstance(value, list):
 78                result[attr] = list(map(
 79                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
 80                    value
 81                ))
 82            elif hasattr(value, "to_dict"):
 83                result[attr] = value.to_dict()
 84            elif isinstance(value, dict):
 85                result[attr] = dict(map(
 86                    lambda item: (item[0], item[1].to_dict())
 87                    if hasattr(item[1], "to_dict") else item,
 88                    value.items()
 89                ))
 90            else:
 91                result[attr] = value
 92        if issubclass(AuthenticationMethod, dict):
 93            for key, value in self.items():
 94                result[key] = value
 95
 96        return result
 97
 98    def to_str(self):
 99        """Returns the string representation of the model"""
100        return pprint.pformat(self.to_dict())
101
102    def __repr__(self):
103        """For `print` and `pprint`"""
104        return self.to_str()
105
106    def __eq__(self, other):
107        """Returns true if both objects are equal"""
108        if not isinstance(other, AuthenticationMethod):
109            return False
110
111        return self.to_dict() == other.to_dict()
112
113    def __ne__(self, other):
114        """Returns true if both objects are not equal"""
115        if not isinstance(other, AuthenticationMethod):
116            return True
117
118        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.

AuthenticationMethod(_configuration=None, **kwargs)
64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
65        """AuthenticationMethod - a model defined in Swagger"""  # noqa: E501
66        if _configuration is None:
67            _configuration = Configuration()
68        self._configuration = _configuration
69        self.discriminator = None

AuthenticationMethod - a model defined in Swagger

BIOMETRIC = 'Biometric'
EMAIL = 'Email'
HTTPBASICAUTH = 'HTTPBasicAuth'
KERBEROS = 'Kerberos'
KNOWLEDGEBASEDAUTH = 'KnowledgeBasedAuth'
NONE = 'None'
PAPERDOCUMENTS = 'PaperDocuments'
PASSWORD = 'Password'
RSASECUREID = 'RSASecureID'
SINGLESIGNON_CASITEMINDER = 'SingleSignOn_CASiteminder'
SINGLESIGNON_INFOCARD = 'SingleSignOn_InfoCard'
SINGLESIGNON_MICROSOFTACTIVEDIRECTORY = 'SingleSignOn_MicrosoftActiveDirectory'
SINGLESIGNON_OTHER = 'SingleSignOn_Other'
SINGLESIGNON_PASSPORT = 'SingleSignOn_Passport'
SINGLESIGNON_SAML = 'SingleSignOn_SAML'
SMARTCARD = 'Smartcard'
SSLMUTUALAUTH = 'SSLMutualAuth'
X509CERTIFICATE = 'X509Certificate'

Attributes: swagger_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition.

swagger_types = {}
attribute_map = {}
def to_dict(self)
71    def to_dict(self):
72        """Returns the model properties as a dict"""
73        result = {}
74
75        for attr, _ in six.iteritems(self.swagger_types):
76            value = getattr(self, attr)
77            if isinstance(value, list):
78                result[attr] = list(map(
79                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
80                    value
81                ))
82            elif hasattr(value, "to_dict"):
83                result[attr] = value.to_dict()
84            elif isinstance(value, dict):
85                result[attr] = dict(map(
86                    lambda item: (item[0], item[1].to_dict())
87                    if hasattr(item[1], "to_dict") else item,
88                    value.items()
89                ))
90            else:
91                result[attr] = value
92        if issubclass(AuthenticationMethod, dict):
93            for key, value in self.items():
94                result[key] = value
95
96        return result

Returns the model properties as a dict

def to_str(self)
 98    def to_str(self):
 99        """Returns the string representation of the model"""
100        return pprint.pformat(self.to_dict())

Returns the string representation of the model