docusign_esign.models.signature_data_info
DocuSign REST API
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501
OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git
1# coding: utf-8 2 3""" 4 DocuSign REST API 5 6 The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501 7 8 OpenAPI spec version: v2.1 9 Contact: devcenter@docusign.com 10 Generated by: https://github.com/swagger-api/swagger-codegen.git 11""" 12 13 14import pprint 15import re # noqa: F401 16 17import six 18 19 20class SignatureDataInfo(object): 21 """NOTE: This class is auto generated by the swagger code generator program. 22 23 Do not edit the class manually. 24 """ 25 26 """ 27 Attributes: 28 swagger_types (dict): The key is attribute name 29 and the value is attribute type. 30 attribute_map (dict): The key is attribute name 31 and the value is json key in definition. 32 """ 33 swagger_types = { 34 'document_security_store': 'DocumentSecurityStore', 35 'signature_data': 'str', 36 'signature_field_name': 'str' 37 } 38 39 attribute_map = { 40 'document_security_store': 'documentSecurityStore', 41 'signature_data': 'signatureData', 42 'signature_field_name': 'signatureFieldName' 43 } 44 45 def __init__(self, document_security_store=None, signature_data=None, signature_field_name=None): # noqa: E501 46 """SignatureDataInfo - a model defined in Swagger""" # noqa: E501 47 48 self._document_security_store = None 49 self._signature_data = None 50 self._signature_field_name = None 51 self.discriminator = None 52 53 if document_security_store is not None: 54 self.document_security_store = document_security_store 55 if signature_data is not None: 56 self.signature_data = signature_data 57 if signature_field_name is not None: 58 self.signature_field_name = signature_field_name 59 60 @property 61 def document_security_store(self): 62 """Gets the document_security_store of this SignatureDataInfo. # noqa: E501 63 64 65 :return: The document_security_store of this SignatureDataInfo. # noqa: E501 66 :rtype: DocumentSecurityStore 67 """ 68 return self._document_security_store 69 70 @document_security_store.setter 71 def document_security_store(self, document_security_store): 72 """Sets the document_security_store of this SignatureDataInfo. 73 74 75 :param document_security_store: The document_security_store of this SignatureDataInfo. # noqa: E501 76 :type: DocumentSecurityStore 77 """ 78 79 self._document_security_store = document_security_store 80 81 @property 82 def signature_data(self): 83 """Gets the signature_data of this SignatureDataInfo. # noqa: E501 84 85 # noqa: E501 86 87 :return: The signature_data of this SignatureDataInfo. # noqa: E501 88 :rtype: str 89 """ 90 return self._signature_data 91 92 @signature_data.setter 93 def signature_data(self, signature_data): 94 """Sets the signature_data of this SignatureDataInfo. 95 96 # noqa: E501 97 98 :param signature_data: The signature_data of this SignatureDataInfo. # noqa: E501 99 :type: str 100 """ 101 102 self._signature_data = signature_data 103 104 @property 105 def signature_field_name(self): 106 """Gets the signature_field_name of this SignatureDataInfo. # noqa: E501 107 108 # noqa: E501 109 110 :return: The signature_field_name of this SignatureDataInfo. # noqa: E501 111 :rtype: str 112 """ 113 return self._signature_field_name 114 115 @signature_field_name.setter 116 def signature_field_name(self, signature_field_name): 117 """Sets the signature_field_name of this SignatureDataInfo. 118 119 # noqa: E501 120 121 :param signature_field_name: The signature_field_name of this SignatureDataInfo. # noqa: E501 122 :type: str 123 """ 124 125 self._signature_field_name = signature_field_name 126 127 def to_dict(self): 128 """Returns the model properties as a dict""" 129 result = {} 130 131 for attr, _ in six.iteritems(self.swagger_types): 132 value = getattr(self, attr) 133 if isinstance(value, list): 134 result[attr] = list(map( 135 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 136 value 137 )) 138 elif hasattr(value, "to_dict"): 139 result[attr] = value.to_dict() 140 elif isinstance(value, dict): 141 result[attr] = dict(map( 142 lambda item: (item[0], item[1].to_dict()) 143 if hasattr(item[1], "to_dict") else item, 144 value.items() 145 )) 146 else: 147 result[attr] = value 148 if issubclass(SignatureDataInfo, dict): 149 for key, value in self.items(): 150 result[key] = value 151 152 return result 153 154 def to_str(self): 155 """Returns the string representation of the model""" 156 return pprint.pformat(self.to_dict()) 157 158 def __repr__(self): 159 """For `print` and `pprint`""" 160 return self.to_str() 161 162 def __eq__(self, other): 163 """Returns true if both objects are equal""" 164 if not isinstance(other, SignatureDataInfo): 165 return False 166 167 return self.__dict__ == other.__dict__ 168 169 def __ne__(self, other): 170 """Returns true if both objects are not equal""" 171 return not self == other
21class SignatureDataInfo(object): 22 """NOTE: This class is auto generated by the swagger code generator program. 23 24 Do not edit the class manually. 25 """ 26 27 """ 28 Attributes: 29 swagger_types (dict): The key is attribute name 30 and the value is attribute type. 31 attribute_map (dict): The key is attribute name 32 and the value is json key in definition. 33 """ 34 swagger_types = { 35 'document_security_store': 'DocumentSecurityStore', 36 'signature_data': 'str', 37 'signature_field_name': 'str' 38 } 39 40 attribute_map = { 41 'document_security_store': 'documentSecurityStore', 42 'signature_data': 'signatureData', 43 'signature_field_name': 'signatureFieldName' 44 } 45 46 def __init__(self, document_security_store=None, signature_data=None, signature_field_name=None): # noqa: E501 47 """SignatureDataInfo - a model defined in Swagger""" # noqa: E501 48 49 self._document_security_store = None 50 self._signature_data = None 51 self._signature_field_name = None 52 self.discriminator = None 53 54 if document_security_store is not None: 55 self.document_security_store = document_security_store 56 if signature_data is not None: 57 self.signature_data = signature_data 58 if signature_field_name is not None: 59 self.signature_field_name = signature_field_name 60 61 @property 62 def document_security_store(self): 63 """Gets the document_security_store of this SignatureDataInfo. # noqa: E501 64 65 66 :return: The document_security_store of this SignatureDataInfo. # noqa: E501 67 :rtype: DocumentSecurityStore 68 """ 69 return self._document_security_store 70 71 @document_security_store.setter 72 def document_security_store(self, document_security_store): 73 """Sets the document_security_store of this SignatureDataInfo. 74 75 76 :param document_security_store: The document_security_store of this SignatureDataInfo. # noqa: E501 77 :type: DocumentSecurityStore 78 """ 79 80 self._document_security_store = document_security_store 81 82 @property 83 def signature_data(self): 84 """Gets the signature_data of this SignatureDataInfo. # noqa: E501 85 86 # noqa: E501 87 88 :return: The signature_data of this SignatureDataInfo. # noqa: E501 89 :rtype: str 90 """ 91 return self._signature_data 92 93 @signature_data.setter 94 def signature_data(self, signature_data): 95 """Sets the signature_data of this SignatureDataInfo. 96 97 # noqa: E501 98 99 :param signature_data: The signature_data of this SignatureDataInfo. # noqa: E501 100 :type: str 101 """ 102 103 self._signature_data = signature_data 104 105 @property 106 def signature_field_name(self): 107 """Gets the signature_field_name of this SignatureDataInfo. # noqa: E501 108 109 # noqa: E501 110 111 :return: The signature_field_name of this SignatureDataInfo. # noqa: E501 112 :rtype: str 113 """ 114 return self._signature_field_name 115 116 @signature_field_name.setter 117 def signature_field_name(self, signature_field_name): 118 """Sets the signature_field_name of this SignatureDataInfo. 119 120 # noqa: E501 121 122 :param signature_field_name: The signature_field_name of this SignatureDataInfo. # noqa: E501 123 :type: str 124 """ 125 126 self._signature_field_name = signature_field_name 127 128 def to_dict(self): 129 """Returns the model properties as a dict""" 130 result = {} 131 132 for attr, _ in six.iteritems(self.swagger_types): 133 value = getattr(self, attr) 134 if isinstance(value, list): 135 result[attr] = list(map( 136 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 137 value 138 )) 139 elif hasattr(value, "to_dict"): 140 result[attr] = value.to_dict() 141 elif isinstance(value, dict): 142 result[attr] = dict(map( 143 lambda item: (item[0], item[1].to_dict()) 144 if hasattr(item[1], "to_dict") else item, 145 value.items() 146 )) 147 else: 148 result[attr] = value 149 if issubclass(SignatureDataInfo, dict): 150 for key, value in self.items(): 151 result[key] = value 152 153 return result 154 155 def to_str(self): 156 """Returns the string representation of the model""" 157 return pprint.pformat(self.to_dict()) 158 159 def __repr__(self): 160 """For `print` and `pprint`""" 161 return self.to_str() 162 163 def __eq__(self, other): 164 """Returns true if both objects are equal""" 165 if not isinstance(other, SignatureDataInfo): 166 return False 167 168 return self.__dict__ == other.__dict__ 169 170 def __ne__(self, other): 171 """Returns true if both objects are not equal""" 172 return not self == other
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
46 def __init__(self, document_security_store=None, signature_data=None, signature_field_name=None): # noqa: E501 47 """SignatureDataInfo - a model defined in Swagger""" # noqa: E501 48 49 self._document_security_store = None 50 self._signature_data = None 51 self._signature_field_name = None 52 self.discriminator = None 53 54 if document_security_store is not None: 55 self.document_security_store = document_security_store 56 if signature_data is not None: 57 self.signature_data = signature_data 58 if signature_field_name is not None: 59 self.signature_field_name = signature_field_name
SignatureDataInfo - a model defined in Swagger
Gets the document_security_store of this SignatureDataInfo. # noqa: E501
Returns
The document_security_store of this SignatureDataInfo. # noqa: E501
Gets the signature_data of this SignatureDataInfo. # noqa: E501
# noqa: E501
Returns
The signature_data of this SignatureDataInfo. # noqa: E501
Gets the signature_field_name of this SignatureDataInfo. # noqa: E501
# noqa: E501
Returns
The signature_field_name of this SignatureDataInfo. # noqa: E501
128 def to_dict(self): 129 """Returns the model properties as a dict""" 130 result = {} 131 132 for attr, _ in six.iteritems(self.swagger_types): 133 value = getattr(self, attr) 134 if isinstance(value, list): 135 result[attr] = list(map( 136 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 137 value 138 )) 139 elif hasattr(value, "to_dict"): 140 result[attr] = value.to_dict() 141 elif isinstance(value, dict): 142 result[attr] = dict(map( 143 lambda item: (item[0], item[1].to_dict()) 144 if hasattr(item[1], "to_dict") else item, 145 value.items() 146 )) 147 else: 148 result[attr] = value 149 if issubclass(SignatureDataInfo, dict): 150 for key, value in self.items(): 151 result[key] = value 152 153 return result
Returns the model properties as a dict