docusign_esign.models.time_stamp_field
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 TimeStampField(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 'max_time_stamp_signature_length': 'str', 36 'time_stamp_field_name': 'str' 37 } 38 39 attribute_map = { 40 'document_security_store': 'documentSecurityStore', 41 'max_time_stamp_signature_length': 'maxTimeStampSignatureLength', 42 'time_stamp_field_name': 'timeStampFieldName' 43 } 44 45 def __init__(self, document_security_store=None, max_time_stamp_signature_length=None, time_stamp_field_name=None): # noqa: E501 46 """TimeStampField - a model defined in Swagger""" # noqa: E501 47 48 self._document_security_store = None 49 self._max_time_stamp_signature_length = None 50 self._time_stamp_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 max_time_stamp_signature_length is not None: 56 self.max_time_stamp_signature_length = max_time_stamp_signature_length 57 if time_stamp_field_name is not None: 58 self.time_stamp_field_name = time_stamp_field_name 59 60 @property 61 def document_security_store(self): 62 """Gets the document_security_store of this TimeStampField. # noqa: E501 63 64 65 :return: The document_security_store of this TimeStampField. # 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 TimeStampField. 73 74 75 :param document_security_store: The document_security_store of this TimeStampField. # noqa: E501 76 :type: DocumentSecurityStore 77 """ 78 79 self._document_security_store = document_security_store 80 81 @property 82 def max_time_stamp_signature_length(self): 83 """Gets the max_time_stamp_signature_length of this TimeStampField. # noqa: E501 84 85 # noqa: E501 86 87 :return: The max_time_stamp_signature_length of this TimeStampField. # noqa: E501 88 :rtype: str 89 """ 90 return self._max_time_stamp_signature_length 91 92 @max_time_stamp_signature_length.setter 93 def max_time_stamp_signature_length(self, max_time_stamp_signature_length): 94 """Sets the max_time_stamp_signature_length of this TimeStampField. 95 96 # noqa: E501 97 98 :param max_time_stamp_signature_length: The max_time_stamp_signature_length of this TimeStampField. # noqa: E501 99 :type: str 100 """ 101 102 self._max_time_stamp_signature_length = max_time_stamp_signature_length 103 104 @property 105 def time_stamp_field_name(self): 106 """Gets the time_stamp_field_name of this TimeStampField. # noqa: E501 107 108 # noqa: E501 109 110 :return: The time_stamp_field_name of this TimeStampField. # noqa: E501 111 :rtype: str 112 """ 113 return self._time_stamp_field_name 114 115 @time_stamp_field_name.setter 116 def time_stamp_field_name(self, time_stamp_field_name): 117 """Sets the time_stamp_field_name of this TimeStampField. 118 119 # noqa: E501 120 121 :param time_stamp_field_name: The time_stamp_field_name of this TimeStampField. # noqa: E501 122 :type: str 123 """ 124 125 self._time_stamp_field_name = time_stamp_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(TimeStampField, 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, TimeStampField): 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 TimeStampField(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 'max_time_stamp_signature_length': 'str', 37 'time_stamp_field_name': 'str' 38 } 39 40 attribute_map = { 41 'document_security_store': 'documentSecurityStore', 42 'max_time_stamp_signature_length': 'maxTimeStampSignatureLength', 43 'time_stamp_field_name': 'timeStampFieldName' 44 } 45 46 def __init__(self, document_security_store=None, max_time_stamp_signature_length=None, time_stamp_field_name=None): # noqa: E501 47 """TimeStampField - a model defined in Swagger""" # noqa: E501 48 49 self._document_security_store = None 50 self._max_time_stamp_signature_length = None 51 self._time_stamp_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 max_time_stamp_signature_length is not None: 57 self.max_time_stamp_signature_length = max_time_stamp_signature_length 58 if time_stamp_field_name is not None: 59 self.time_stamp_field_name = time_stamp_field_name 60 61 @property 62 def document_security_store(self): 63 """Gets the document_security_store of this TimeStampField. # noqa: E501 64 65 66 :return: The document_security_store of this TimeStampField. # 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 TimeStampField. 74 75 76 :param document_security_store: The document_security_store of this TimeStampField. # noqa: E501 77 :type: DocumentSecurityStore 78 """ 79 80 self._document_security_store = document_security_store 81 82 @property 83 def max_time_stamp_signature_length(self): 84 """Gets the max_time_stamp_signature_length of this TimeStampField. # noqa: E501 85 86 # noqa: E501 87 88 :return: The max_time_stamp_signature_length of this TimeStampField. # noqa: E501 89 :rtype: str 90 """ 91 return self._max_time_stamp_signature_length 92 93 @max_time_stamp_signature_length.setter 94 def max_time_stamp_signature_length(self, max_time_stamp_signature_length): 95 """Sets the max_time_stamp_signature_length of this TimeStampField. 96 97 # noqa: E501 98 99 :param max_time_stamp_signature_length: The max_time_stamp_signature_length of this TimeStampField. # noqa: E501 100 :type: str 101 """ 102 103 self._max_time_stamp_signature_length = max_time_stamp_signature_length 104 105 @property 106 def time_stamp_field_name(self): 107 """Gets the time_stamp_field_name of this TimeStampField. # noqa: E501 108 109 # noqa: E501 110 111 :return: The time_stamp_field_name of this TimeStampField. # noqa: E501 112 :rtype: str 113 """ 114 return self._time_stamp_field_name 115 116 @time_stamp_field_name.setter 117 def time_stamp_field_name(self, time_stamp_field_name): 118 """Sets the time_stamp_field_name of this TimeStampField. 119 120 # noqa: E501 121 122 :param time_stamp_field_name: The time_stamp_field_name of this TimeStampField. # noqa: E501 123 :type: str 124 """ 125 126 self._time_stamp_field_name = time_stamp_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(TimeStampField, 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, TimeStampField): 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, max_time_stamp_signature_length=None, time_stamp_field_name=None): # noqa: E501 47 """TimeStampField - a model defined in Swagger""" # noqa: E501 48 49 self._document_security_store = None 50 self._max_time_stamp_signature_length = None 51 self._time_stamp_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 max_time_stamp_signature_length is not None: 57 self.max_time_stamp_signature_length = max_time_stamp_signature_length 58 if time_stamp_field_name is not None: 59 self.time_stamp_field_name = time_stamp_field_name
TimeStampField - a model defined in Swagger
Gets the document_security_store of this TimeStampField. # noqa: E501
Returns
The document_security_store of this TimeStampField. # noqa: E501
Gets the max_time_stamp_signature_length of this TimeStampField. # noqa: E501
# noqa: E501
Returns
The max_time_stamp_signature_length of this TimeStampField. # noqa: E501
Gets the time_stamp_field_name of this TimeStampField. # noqa: E501
# noqa: E501
Returns
The time_stamp_field_name of this TimeStampField. # 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(TimeStampField, dict): 150 for key, value in self.items(): 151 result[key] = value 152 153 return result
Returns the model properties as a dict