docusign_esign.models.sign_session_info_request
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 SignSessionInfoRequest(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 'certificate': 'str', 35 'max_signature_length': 'str', 36 'return_format': 'str', 37 'signing_location': 'str' 38 } 39 40 attribute_map = { 41 'certificate': 'certificate', 42 'max_signature_length': 'maxSignatureLength', 43 'return_format': 'returnFormat', 44 'signing_location': 'signingLocation' 45 } 46 47 def __init__(self, certificate=None, max_signature_length=None, return_format=None, signing_location=None): # noqa: E501 48 """SignSessionInfoRequest - a model defined in Swagger""" # noqa: E501 49 50 self._certificate = None 51 self._max_signature_length = None 52 self._return_format = None 53 self._signing_location = None 54 self.discriminator = None 55 56 if certificate is not None: 57 self.certificate = certificate 58 if max_signature_length is not None: 59 self.max_signature_length = max_signature_length 60 if return_format is not None: 61 self.return_format = return_format 62 if signing_location is not None: 63 self.signing_location = signing_location 64 65 @property 66 def certificate(self): 67 """Gets the certificate of this SignSessionInfoRequest. # noqa: E501 68 69 # noqa: E501 70 71 :return: The certificate of this SignSessionInfoRequest. # noqa: E501 72 :rtype: str 73 """ 74 return self._certificate 75 76 @certificate.setter 77 def certificate(self, certificate): 78 """Sets the certificate of this SignSessionInfoRequest. 79 80 # noqa: E501 81 82 :param certificate: The certificate of this SignSessionInfoRequest. # noqa: E501 83 :type: str 84 """ 85 86 self._certificate = certificate 87 88 @property 89 def max_signature_length(self): 90 """Gets the max_signature_length of this SignSessionInfoRequest. # noqa: E501 91 92 # noqa: E501 93 94 :return: The max_signature_length of this SignSessionInfoRequest. # noqa: E501 95 :rtype: str 96 """ 97 return self._max_signature_length 98 99 @max_signature_length.setter 100 def max_signature_length(self, max_signature_length): 101 """Sets the max_signature_length of this SignSessionInfoRequest. 102 103 # noqa: E501 104 105 :param max_signature_length: The max_signature_length of this SignSessionInfoRequest. # noqa: E501 106 :type: str 107 """ 108 109 self._max_signature_length = max_signature_length 110 111 @property 112 def return_format(self): 113 """Gets the return_format of this SignSessionInfoRequest. # noqa: E501 114 115 # noqa: E501 116 117 :return: The return_format of this SignSessionInfoRequest. # noqa: E501 118 :rtype: str 119 """ 120 return self._return_format 121 122 @return_format.setter 123 def return_format(self, return_format): 124 """Sets the return_format of this SignSessionInfoRequest. 125 126 # noqa: E501 127 128 :param return_format: The return_format of this SignSessionInfoRequest. # noqa: E501 129 :type: str 130 """ 131 132 self._return_format = return_format 133 134 @property 135 def signing_location(self): 136 """Gets the signing_location of this SignSessionInfoRequest. # noqa: E501 137 138 Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. # noqa: E501 139 140 :return: The signing_location of this SignSessionInfoRequest. # noqa: E501 141 :rtype: str 142 """ 143 return self._signing_location 144 145 @signing_location.setter 146 def signing_location(self, signing_location): 147 """Sets the signing_location of this SignSessionInfoRequest. 148 149 Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. # noqa: E501 150 151 :param signing_location: The signing_location of this SignSessionInfoRequest. # noqa: E501 152 :type: str 153 """ 154 155 self._signing_location = signing_location 156 157 def to_dict(self): 158 """Returns the model properties as a dict""" 159 result = {} 160 161 for attr, _ in six.iteritems(self.swagger_types): 162 value = getattr(self, attr) 163 if isinstance(value, list): 164 result[attr] = list(map( 165 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 166 value 167 )) 168 elif hasattr(value, "to_dict"): 169 result[attr] = value.to_dict() 170 elif isinstance(value, dict): 171 result[attr] = dict(map( 172 lambda item: (item[0], item[1].to_dict()) 173 if hasattr(item[1], "to_dict") else item, 174 value.items() 175 )) 176 else: 177 result[attr] = value 178 if issubclass(SignSessionInfoRequest, dict): 179 for key, value in self.items(): 180 result[key] = value 181 182 return result 183 184 def to_str(self): 185 """Returns the string representation of the model""" 186 return pprint.pformat(self.to_dict()) 187 188 def __repr__(self): 189 """For `print` and `pprint`""" 190 return self.to_str() 191 192 def __eq__(self, other): 193 """Returns true if both objects are equal""" 194 if not isinstance(other, SignSessionInfoRequest): 195 return False 196 197 return self.__dict__ == other.__dict__ 198 199 def __ne__(self, other): 200 """Returns true if both objects are not equal""" 201 return not self == other
21class SignSessionInfoRequest(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 'certificate': 'str', 36 'max_signature_length': 'str', 37 'return_format': 'str', 38 'signing_location': 'str' 39 } 40 41 attribute_map = { 42 'certificate': 'certificate', 43 'max_signature_length': 'maxSignatureLength', 44 'return_format': 'returnFormat', 45 'signing_location': 'signingLocation' 46 } 47 48 def __init__(self, certificate=None, max_signature_length=None, return_format=None, signing_location=None): # noqa: E501 49 """SignSessionInfoRequest - a model defined in Swagger""" # noqa: E501 50 51 self._certificate = None 52 self._max_signature_length = None 53 self._return_format = None 54 self._signing_location = None 55 self.discriminator = None 56 57 if certificate is not None: 58 self.certificate = certificate 59 if max_signature_length is not None: 60 self.max_signature_length = max_signature_length 61 if return_format is not None: 62 self.return_format = return_format 63 if signing_location is not None: 64 self.signing_location = signing_location 65 66 @property 67 def certificate(self): 68 """Gets the certificate of this SignSessionInfoRequest. # noqa: E501 69 70 # noqa: E501 71 72 :return: The certificate of this SignSessionInfoRequest. # noqa: E501 73 :rtype: str 74 """ 75 return self._certificate 76 77 @certificate.setter 78 def certificate(self, certificate): 79 """Sets the certificate of this SignSessionInfoRequest. 80 81 # noqa: E501 82 83 :param certificate: The certificate of this SignSessionInfoRequest. # noqa: E501 84 :type: str 85 """ 86 87 self._certificate = certificate 88 89 @property 90 def max_signature_length(self): 91 """Gets the max_signature_length of this SignSessionInfoRequest. # noqa: E501 92 93 # noqa: E501 94 95 :return: The max_signature_length of this SignSessionInfoRequest. # noqa: E501 96 :rtype: str 97 """ 98 return self._max_signature_length 99 100 @max_signature_length.setter 101 def max_signature_length(self, max_signature_length): 102 """Sets the max_signature_length of this SignSessionInfoRequest. 103 104 # noqa: E501 105 106 :param max_signature_length: The max_signature_length of this SignSessionInfoRequest. # noqa: E501 107 :type: str 108 """ 109 110 self._max_signature_length = max_signature_length 111 112 @property 113 def return_format(self): 114 """Gets the return_format of this SignSessionInfoRequest. # noqa: E501 115 116 # noqa: E501 117 118 :return: The return_format of this SignSessionInfoRequest. # noqa: E501 119 :rtype: str 120 """ 121 return self._return_format 122 123 @return_format.setter 124 def return_format(self, return_format): 125 """Sets the return_format of this SignSessionInfoRequest. 126 127 # noqa: E501 128 129 :param return_format: The return_format of this SignSessionInfoRequest. # noqa: E501 130 :type: str 131 """ 132 133 self._return_format = return_format 134 135 @property 136 def signing_location(self): 137 """Gets the signing_location of this SignSessionInfoRequest. # noqa: E501 138 139 Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. # noqa: E501 140 141 :return: The signing_location of this SignSessionInfoRequest. # noqa: E501 142 :rtype: str 143 """ 144 return self._signing_location 145 146 @signing_location.setter 147 def signing_location(self, signing_location): 148 """Sets the signing_location of this SignSessionInfoRequest. 149 150 Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. # noqa: E501 151 152 :param signing_location: The signing_location of this SignSessionInfoRequest. # noqa: E501 153 :type: str 154 """ 155 156 self._signing_location = signing_location 157 158 def to_dict(self): 159 """Returns the model properties as a dict""" 160 result = {} 161 162 for attr, _ in six.iteritems(self.swagger_types): 163 value = getattr(self, attr) 164 if isinstance(value, list): 165 result[attr] = list(map( 166 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 167 value 168 )) 169 elif hasattr(value, "to_dict"): 170 result[attr] = value.to_dict() 171 elif isinstance(value, dict): 172 result[attr] = dict(map( 173 lambda item: (item[0], item[1].to_dict()) 174 if hasattr(item[1], "to_dict") else item, 175 value.items() 176 )) 177 else: 178 result[attr] = value 179 if issubclass(SignSessionInfoRequest, dict): 180 for key, value in self.items(): 181 result[key] = value 182 183 return result 184 185 def to_str(self): 186 """Returns the string representation of the model""" 187 return pprint.pformat(self.to_dict()) 188 189 def __repr__(self): 190 """For `print` and `pprint`""" 191 return self.to_str() 192 193 def __eq__(self, other): 194 """Returns true if both objects are equal""" 195 if not isinstance(other, SignSessionInfoRequest): 196 return False 197 198 return self.__dict__ == other.__dict__ 199 200 def __ne__(self, other): 201 """Returns true if both objects are not equal""" 202 return not self == other
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
48 def __init__(self, certificate=None, max_signature_length=None, return_format=None, signing_location=None): # noqa: E501 49 """SignSessionInfoRequest - a model defined in Swagger""" # noqa: E501 50 51 self._certificate = None 52 self._max_signature_length = None 53 self._return_format = None 54 self._signing_location = None 55 self.discriminator = None 56 57 if certificate is not None: 58 self.certificate = certificate 59 if max_signature_length is not None: 60 self.max_signature_length = max_signature_length 61 if return_format is not None: 62 self.return_format = return_format 63 if signing_location is not None: 64 self.signing_location = signing_location
SignSessionInfoRequest - a model defined in Swagger
Gets the certificate of this SignSessionInfoRequest. # noqa: E501
# noqa: E501
Returns
The certificate of this SignSessionInfoRequest. # noqa: E501
Gets the max_signature_length of this SignSessionInfoRequest. # noqa: E501
# noqa: E501
Returns
The max_signature_length of this SignSessionInfoRequest. # noqa: E501
Gets the return_format of this SignSessionInfoRequest. # noqa: E501
# noqa: E501
Returns
The return_format of this SignSessionInfoRequest. # noqa: E501
Gets the signing_location of this SignSessionInfoRequest. # noqa: E501
Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. # noqa: E501
Returns
The signing_location of this SignSessionInfoRequest. # noqa: E501
158 def to_dict(self): 159 """Returns the model properties as a dict""" 160 result = {} 161 162 for attr, _ in six.iteritems(self.swagger_types): 163 value = getattr(self, attr) 164 if isinstance(value, list): 165 result[attr] = list(map( 166 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 167 value 168 )) 169 elif hasattr(value, "to_dict"): 170 result[attr] = value.to_dict() 171 elif isinstance(value, dict): 172 result[attr] = dict(map( 173 lambda item: (item[0], item[1].to_dict()) 174 if hasattr(item[1], "to_dict") else item, 175 value.items() 176 )) 177 else: 178 result[attr] = value 179 if issubclass(SignSessionInfoRequest, dict): 180 for key, value in self.items(): 181 result[key] = value 182 183 return result
Returns the model properties as a dict