docusign_esign.models.recipient_preview_request
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 RecipientPreviewRequest(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 'assertion_id': 'str', 37 'authentication_instant': 'str', 38 'authentication_method': 'str', 39 'client_ur_ls': 'RecipientTokenClientURLs', 40 'ping_frequency': 'str', 41 'ping_url': 'str', 42 'recipient_id': 'str', 43 'return_url': 'str', 44 'security_domain': 'str', 45 'x_frame_options': 'str', 46 'x_frame_options_allow_from_url': 'str' 47 } 48 49 attribute_map = { 50 'assertion_id': 'assertionId', 51 'authentication_instant': 'authenticationInstant', 52 'authentication_method': 'authenticationMethod', 53 'client_ur_ls': 'clientURLs', 54 'ping_frequency': 'pingFrequency', 55 'ping_url': 'pingUrl', 56 'recipient_id': 'recipientId', 57 'return_url': 'returnUrl', 58 'security_domain': 'securityDomain', 59 'x_frame_options': 'xFrameOptions', 60 'x_frame_options_allow_from_url': 'xFrameOptionsAllowFromUrl' 61 } 62 63 def __init__(self, _configuration=None, **kwargs): # noqa: E501 64 """RecipientPreviewRequest - a model defined in Swagger""" # noqa: E501 65 if _configuration is None: 66 _configuration = Configuration() 67 self._configuration = _configuration 68 69 self._assertion_id = None 70 self._authentication_instant = None 71 self._authentication_method = None 72 self._client_ur_ls = None 73 self._ping_frequency = None 74 self._ping_url = None 75 self._recipient_id = None 76 self._return_url = None 77 self._security_domain = None 78 self._x_frame_options = None 79 self._x_frame_options_allow_from_url = None 80 self.discriminator = None 81 82 setattr(self, "_{}".format('assertion_id'), kwargs.get('assertion_id', None)) 83 setattr(self, "_{}".format('authentication_instant'), kwargs.get('authentication_instant', None)) 84 setattr(self, "_{}".format('authentication_method'), kwargs.get('authentication_method', None)) 85 setattr(self, "_{}".format('client_ur_ls'), kwargs.get('client_ur_ls', None)) 86 setattr(self, "_{}".format('ping_frequency'), kwargs.get('ping_frequency', None)) 87 setattr(self, "_{}".format('ping_url'), kwargs.get('ping_url', None)) 88 setattr(self, "_{}".format('recipient_id'), kwargs.get('recipient_id', None)) 89 setattr(self, "_{}".format('return_url'), kwargs.get('return_url', None)) 90 setattr(self, "_{}".format('security_domain'), kwargs.get('security_domain', None)) 91 setattr(self, "_{}".format('x_frame_options'), kwargs.get('x_frame_options', None)) 92 setattr(self, "_{}".format('x_frame_options_allow_from_url'), kwargs.get('x_frame_options_allow_from_url', None)) 93 94 @property 95 def assertion_id(self): 96 """Gets the assertion_id of this RecipientPreviewRequest. # noqa: E501 97 98 # noqa: E501 99 100 :return: The assertion_id of this RecipientPreviewRequest. # noqa: E501 101 :rtype: str 102 """ 103 return self._assertion_id 104 105 @assertion_id.setter 106 def assertion_id(self, assertion_id): 107 """Sets the assertion_id of this RecipientPreviewRequest. 108 109 # noqa: E501 110 111 :param assertion_id: The assertion_id of this RecipientPreviewRequest. # noqa: E501 112 :type: str 113 """ 114 115 self._assertion_id = assertion_id 116 117 @property 118 def authentication_instant(self): 119 """Gets the authentication_instant of this RecipientPreviewRequest. # noqa: E501 120 121 # noqa: E501 122 123 :return: The authentication_instant of this RecipientPreviewRequest. # noqa: E501 124 :rtype: str 125 """ 126 return self._authentication_instant 127 128 @authentication_instant.setter 129 def authentication_instant(self, authentication_instant): 130 """Sets the authentication_instant of this RecipientPreviewRequest. 131 132 # noqa: E501 133 134 :param authentication_instant: The authentication_instant of this RecipientPreviewRequest. # noqa: E501 135 :type: str 136 """ 137 138 self._authentication_instant = authentication_instant 139 140 @property 141 def authentication_method(self): 142 """Gets the authentication_method of this RecipientPreviewRequest. # noqa: E501 143 144 # noqa: E501 145 146 :return: The authentication_method of this RecipientPreviewRequest. # noqa: E501 147 :rtype: str 148 """ 149 return self._authentication_method 150 151 @authentication_method.setter 152 def authentication_method(self, authentication_method): 153 """Sets the authentication_method of this RecipientPreviewRequest. 154 155 # noqa: E501 156 157 :param authentication_method: The authentication_method of this RecipientPreviewRequest. # noqa: E501 158 :type: str 159 """ 160 161 self._authentication_method = authentication_method 162 163 @property 164 def client_ur_ls(self): 165 """Gets the client_ur_ls of this RecipientPreviewRequest. # noqa: E501 166 167 # noqa: E501 168 169 :return: The client_ur_ls of this RecipientPreviewRequest. # noqa: E501 170 :rtype: RecipientTokenClientURLs 171 """ 172 return self._client_ur_ls 173 174 @client_ur_ls.setter 175 def client_ur_ls(self, client_ur_ls): 176 """Sets the client_ur_ls of this RecipientPreviewRequest. 177 178 # noqa: E501 179 180 :param client_ur_ls: The client_ur_ls of this RecipientPreviewRequest. # noqa: E501 181 :type: RecipientTokenClientURLs 182 """ 183 184 self._client_ur_ls = client_ur_ls 185 186 @property 187 def ping_frequency(self): 188 """Gets the ping_frequency of this RecipientPreviewRequest. # noqa: E501 189 190 # noqa: E501 191 192 :return: The ping_frequency of this RecipientPreviewRequest. # noqa: E501 193 :rtype: str 194 """ 195 return self._ping_frequency 196 197 @ping_frequency.setter 198 def ping_frequency(self, ping_frequency): 199 """Sets the ping_frequency of this RecipientPreviewRequest. 200 201 # noqa: E501 202 203 :param ping_frequency: The ping_frequency of this RecipientPreviewRequest. # noqa: E501 204 :type: str 205 """ 206 207 self._ping_frequency = ping_frequency 208 209 @property 210 def ping_url(self): 211 """Gets the ping_url of this RecipientPreviewRequest. # noqa: E501 212 213 # noqa: E501 214 215 :return: The ping_url of this RecipientPreviewRequest. # noqa: E501 216 :rtype: str 217 """ 218 return self._ping_url 219 220 @ping_url.setter 221 def ping_url(self, ping_url): 222 """Sets the ping_url of this RecipientPreviewRequest. 223 224 # noqa: E501 225 226 :param ping_url: The ping_url of this RecipientPreviewRequest. # noqa: E501 227 :type: str 228 """ 229 230 self._ping_url = ping_url 231 232 @property 233 def recipient_id(self): 234 """Gets the recipient_id of this RecipientPreviewRequest. # noqa: E501 235 236 Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. # noqa: E501 237 238 :return: The recipient_id of this RecipientPreviewRequest. # noqa: E501 239 :rtype: str 240 """ 241 return self._recipient_id 242 243 @recipient_id.setter 244 def recipient_id(self, recipient_id): 245 """Sets the recipient_id of this RecipientPreviewRequest. 246 247 Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. # noqa: E501 248 249 :param recipient_id: The recipient_id of this RecipientPreviewRequest. # noqa: E501 250 :type: str 251 """ 252 253 self._recipient_id = recipient_id 254 255 @property 256 def return_url(self): 257 """Gets the return_url of this RecipientPreviewRequest. # noqa: E501 258 259 # noqa: E501 260 261 :return: The return_url of this RecipientPreviewRequest. # noqa: E501 262 :rtype: str 263 """ 264 return self._return_url 265 266 @return_url.setter 267 def return_url(self, return_url): 268 """Sets the return_url of this RecipientPreviewRequest. 269 270 # noqa: E501 271 272 :param return_url: The return_url of this RecipientPreviewRequest. # noqa: E501 273 :type: str 274 """ 275 276 self._return_url = return_url 277 278 @property 279 def security_domain(self): 280 """Gets the security_domain of this RecipientPreviewRequest. # noqa: E501 281 282 # noqa: E501 283 284 :return: The security_domain of this RecipientPreviewRequest. # noqa: E501 285 :rtype: str 286 """ 287 return self._security_domain 288 289 @security_domain.setter 290 def security_domain(self, security_domain): 291 """Sets the security_domain of this RecipientPreviewRequest. 292 293 # noqa: E501 294 295 :param security_domain: The security_domain of this RecipientPreviewRequest. # noqa: E501 296 :type: str 297 """ 298 299 self._security_domain = security_domain 300 301 @property 302 def x_frame_options(self): 303 """Gets the x_frame_options of this RecipientPreviewRequest. # noqa: E501 304 305 # noqa: E501 306 307 :return: The x_frame_options of this RecipientPreviewRequest. # noqa: E501 308 :rtype: str 309 """ 310 return self._x_frame_options 311 312 @x_frame_options.setter 313 def x_frame_options(self, x_frame_options): 314 """Sets the x_frame_options of this RecipientPreviewRequest. 315 316 # noqa: E501 317 318 :param x_frame_options: The x_frame_options of this RecipientPreviewRequest. # noqa: E501 319 :type: str 320 """ 321 322 self._x_frame_options = x_frame_options 323 324 @property 325 def x_frame_options_allow_from_url(self): 326 """Gets the x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501 327 328 # noqa: E501 329 330 :return: The x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501 331 :rtype: str 332 """ 333 return self._x_frame_options_allow_from_url 334 335 @x_frame_options_allow_from_url.setter 336 def x_frame_options_allow_from_url(self, x_frame_options_allow_from_url): 337 """Sets the x_frame_options_allow_from_url of this RecipientPreviewRequest. 338 339 # noqa: E501 340 341 :param x_frame_options_allow_from_url: The x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501 342 :type: str 343 """ 344 345 self._x_frame_options_allow_from_url = x_frame_options_allow_from_url 346 347 def to_dict(self): 348 """Returns the model properties as a dict""" 349 result = {} 350 351 for attr, _ in six.iteritems(self.swagger_types): 352 value = getattr(self, attr) 353 if isinstance(value, list): 354 result[attr] = list(map( 355 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 356 value 357 )) 358 elif hasattr(value, "to_dict"): 359 result[attr] = value.to_dict() 360 elif isinstance(value, dict): 361 result[attr] = dict(map( 362 lambda item: (item[0], item[1].to_dict()) 363 if hasattr(item[1], "to_dict") else item, 364 value.items() 365 )) 366 else: 367 result[attr] = value 368 if issubclass(RecipientPreviewRequest, dict): 369 for key, value in self.items(): 370 result[key] = value 371 372 return result 373 374 def to_str(self): 375 """Returns the string representation of the model""" 376 return pprint.pformat(self.to_dict()) 377 378 def __repr__(self): 379 """For `print` and `pprint`""" 380 return self.to_str() 381 382 def __eq__(self, other): 383 """Returns true if both objects are equal""" 384 if not isinstance(other, RecipientPreviewRequest): 385 return False 386 387 return self.to_dict() == other.to_dict() 388 389 def __ne__(self, other): 390 """Returns true if both objects are not equal""" 391 if not isinstance(other, RecipientPreviewRequest): 392 return True 393 394 return self.to_dict() != other.to_dict()
23class RecipientPreviewRequest(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 'assertion_id': 'str', 38 'authentication_instant': 'str', 39 'authentication_method': 'str', 40 'client_ur_ls': 'RecipientTokenClientURLs', 41 'ping_frequency': 'str', 42 'ping_url': 'str', 43 'recipient_id': 'str', 44 'return_url': 'str', 45 'security_domain': 'str', 46 'x_frame_options': 'str', 47 'x_frame_options_allow_from_url': 'str' 48 } 49 50 attribute_map = { 51 'assertion_id': 'assertionId', 52 'authentication_instant': 'authenticationInstant', 53 'authentication_method': 'authenticationMethod', 54 'client_ur_ls': 'clientURLs', 55 'ping_frequency': 'pingFrequency', 56 'ping_url': 'pingUrl', 57 'recipient_id': 'recipientId', 58 'return_url': 'returnUrl', 59 'security_domain': 'securityDomain', 60 'x_frame_options': 'xFrameOptions', 61 'x_frame_options_allow_from_url': 'xFrameOptionsAllowFromUrl' 62 } 63 64 def __init__(self, _configuration=None, **kwargs): # noqa: E501 65 """RecipientPreviewRequest - a model defined in Swagger""" # noqa: E501 66 if _configuration is None: 67 _configuration = Configuration() 68 self._configuration = _configuration 69 70 self._assertion_id = None 71 self._authentication_instant = None 72 self._authentication_method = None 73 self._client_ur_ls = None 74 self._ping_frequency = None 75 self._ping_url = None 76 self._recipient_id = None 77 self._return_url = None 78 self._security_domain = None 79 self._x_frame_options = None 80 self._x_frame_options_allow_from_url = None 81 self.discriminator = None 82 83 setattr(self, "_{}".format('assertion_id'), kwargs.get('assertion_id', None)) 84 setattr(self, "_{}".format('authentication_instant'), kwargs.get('authentication_instant', None)) 85 setattr(self, "_{}".format('authentication_method'), kwargs.get('authentication_method', None)) 86 setattr(self, "_{}".format('client_ur_ls'), kwargs.get('client_ur_ls', None)) 87 setattr(self, "_{}".format('ping_frequency'), kwargs.get('ping_frequency', None)) 88 setattr(self, "_{}".format('ping_url'), kwargs.get('ping_url', None)) 89 setattr(self, "_{}".format('recipient_id'), kwargs.get('recipient_id', None)) 90 setattr(self, "_{}".format('return_url'), kwargs.get('return_url', None)) 91 setattr(self, "_{}".format('security_domain'), kwargs.get('security_domain', None)) 92 setattr(self, "_{}".format('x_frame_options'), kwargs.get('x_frame_options', None)) 93 setattr(self, "_{}".format('x_frame_options_allow_from_url'), kwargs.get('x_frame_options_allow_from_url', None)) 94 95 @property 96 def assertion_id(self): 97 """Gets the assertion_id of this RecipientPreviewRequest. # noqa: E501 98 99 # noqa: E501 100 101 :return: The assertion_id of this RecipientPreviewRequest. # noqa: E501 102 :rtype: str 103 """ 104 return self._assertion_id 105 106 @assertion_id.setter 107 def assertion_id(self, assertion_id): 108 """Sets the assertion_id of this RecipientPreviewRequest. 109 110 # noqa: E501 111 112 :param assertion_id: The assertion_id of this RecipientPreviewRequest. # noqa: E501 113 :type: str 114 """ 115 116 self._assertion_id = assertion_id 117 118 @property 119 def authentication_instant(self): 120 """Gets the authentication_instant of this RecipientPreviewRequest. # noqa: E501 121 122 # noqa: E501 123 124 :return: The authentication_instant of this RecipientPreviewRequest. # noqa: E501 125 :rtype: str 126 """ 127 return self._authentication_instant 128 129 @authentication_instant.setter 130 def authentication_instant(self, authentication_instant): 131 """Sets the authentication_instant of this RecipientPreviewRequest. 132 133 # noqa: E501 134 135 :param authentication_instant: The authentication_instant of this RecipientPreviewRequest. # noqa: E501 136 :type: str 137 """ 138 139 self._authentication_instant = authentication_instant 140 141 @property 142 def authentication_method(self): 143 """Gets the authentication_method of this RecipientPreviewRequest. # noqa: E501 144 145 # noqa: E501 146 147 :return: The authentication_method of this RecipientPreviewRequest. # noqa: E501 148 :rtype: str 149 """ 150 return self._authentication_method 151 152 @authentication_method.setter 153 def authentication_method(self, authentication_method): 154 """Sets the authentication_method of this RecipientPreviewRequest. 155 156 # noqa: E501 157 158 :param authentication_method: The authentication_method of this RecipientPreviewRequest. # noqa: E501 159 :type: str 160 """ 161 162 self._authentication_method = authentication_method 163 164 @property 165 def client_ur_ls(self): 166 """Gets the client_ur_ls of this RecipientPreviewRequest. # noqa: E501 167 168 # noqa: E501 169 170 :return: The client_ur_ls of this RecipientPreviewRequest. # noqa: E501 171 :rtype: RecipientTokenClientURLs 172 """ 173 return self._client_ur_ls 174 175 @client_ur_ls.setter 176 def client_ur_ls(self, client_ur_ls): 177 """Sets the client_ur_ls of this RecipientPreviewRequest. 178 179 # noqa: E501 180 181 :param client_ur_ls: The client_ur_ls of this RecipientPreviewRequest. # noqa: E501 182 :type: RecipientTokenClientURLs 183 """ 184 185 self._client_ur_ls = client_ur_ls 186 187 @property 188 def ping_frequency(self): 189 """Gets the ping_frequency of this RecipientPreviewRequest. # noqa: E501 190 191 # noqa: E501 192 193 :return: The ping_frequency of this RecipientPreviewRequest. # noqa: E501 194 :rtype: str 195 """ 196 return self._ping_frequency 197 198 @ping_frequency.setter 199 def ping_frequency(self, ping_frequency): 200 """Sets the ping_frequency of this RecipientPreviewRequest. 201 202 # noqa: E501 203 204 :param ping_frequency: The ping_frequency of this RecipientPreviewRequest. # noqa: E501 205 :type: str 206 """ 207 208 self._ping_frequency = ping_frequency 209 210 @property 211 def ping_url(self): 212 """Gets the ping_url of this RecipientPreviewRequest. # noqa: E501 213 214 # noqa: E501 215 216 :return: The ping_url of this RecipientPreviewRequest. # noqa: E501 217 :rtype: str 218 """ 219 return self._ping_url 220 221 @ping_url.setter 222 def ping_url(self, ping_url): 223 """Sets the ping_url of this RecipientPreviewRequest. 224 225 # noqa: E501 226 227 :param ping_url: The ping_url of this RecipientPreviewRequest. # noqa: E501 228 :type: str 229 """ 230 231 self._ping_url = ping_url 232 233 @property 234 def recipient_id(self): 235 """Gets the recipient_id of this RecipientPreviewRequest. # noqa: E501 236 237 Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. # noqa: E501 238 239 :return: The recipient_id of this RecipientPreviewRequest. # noqa: E501 240 :rtype: str 241 """ 242 return self._recipient_id 243 244 @recipient_id.setter 245 def recipient_id(self, recipient_id): 246 """Sets the recipient_id of this RecipientPreviewRequest. 247 248 Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. # noqa: E501 249 250 :param recipient_id: The recipient_id of this RecipientPreviewRequest. # noqa: E501 251 :type: str 252 """ 253 254 self._recipient_id = recipient_id 255 256 @property 257 def return_url(self): 258 """Gets the return_url of this RecipientPreviewRequest. # noqa: E501 259 260 # noqa: E501 261 262 :return: The return_url of this RecipientPreviewRequest. # noqa: E501 263 :rtype: str 264 """ 265 return self._return_url 266 267 @return_url.setter 268 def return_url(self, return_url): 269 """Sets the return_url of this RecipientPreviewRequest. 270 271 # noqa: E501 272 273 :param return_url: The return_url of this RecipientPreviewRequest. # noqa: E501 274 :type: str 275 """ 276 277 self._return_url = return_url 278 279 @property 280 def security_domain(self): 281 """Gets the security_domain of this RecipientPreviewRequest. # noqa: E501 282 283 # noqa: E501 284 285 :return: The security_domain of this RecipientPreviewRequest. # noqa: E501 286 :rtype: str 287 """ 288 return self._security_domain 289 290 @security_domain.setter 291 def security_domain(self, security_domain): 292 """Sets the security_domain of this RecipientPreviewRequest. 293 294 # noqa: E501 295 296 :param security_domain: The security_domain of this RecipientPreviewRequest. # noqa: E501 297 :type: str 298 """ 299 300 self._security_domain = security_domain 301 302 @property 303 def x_frame_options(self): 304 """Gets the x_frame_options of this RecipientPreviewRequest. # noqa: E501 305 306 # noqa: E501 307 308 :return: The x_frame_options of this RecipientPreviewRequest. # noqa: E501 309 :rtype: str 310 """ 311 return self._x_frame_options 312 313 @x_frame_options.setter 314 def x_frame_options(self, x_frame_options): 315 """Sets the x_frame_options of this RecipientPreviewRequest. 316 317 # noqa: E501 318 319 :param x_frame_options: The x_frame_options of this RecipientPreviewRequest. # noqa: E501 320 :type: str 321 """ 322 323 self._x_frame_options = x_frame_options 324 325 @property 326 def x_frame_options_allow_from_url(self): 327 """Gets the x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501 328 329 # noqa: E501 330 331 :return: The x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501 332 :rtype: str 333 """ 334 return self._x_frame_options_allow_from_url 335 336 @x_frame_options_allow_from_url.setter 337 def x_frame_options_allow_from_url(self, x_frame_options_allow_from_url): 338 """Sets the x_frame_options_allow_from_url of this RecipientPreviewRequest. 339 340 # noqa: E501 341 342 :param x_frame_options_allow_from_url: The x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501 343 :type: str 344 """ 345 346 self._x_frame_options_allow_from_url = x_frame_options_allow_from_url 347 348 def to_dict(self): 349 """Returns the model properties as a dict""" 350 result = {} 351 352 for attr, _ in six.iteritems(self.swagger_types): 353 value = getattr(self, attr) 354 if isinstance(value, list): 355 result[attr] = list(map( 356 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 357 value 358 )) 359 elif hasattr(value, "to_dict"): 360 result[attr] = value.to_dict() 361 elif isinstance(value, dict): 362 result[attr] = dict(map( 363 lambda item: (item[0], item[1].to_dict()) 364 if hasattr(item[1], "to_dict") else item, 365 value.items() 366 )) 367 else: 368 result[attr] = value 369 if issubclass(RecipientPreviewRequest, dict): 370 for key, value in self.items(): 371 result[key] = value 372 373 return result 374 375 def to_str(self): 376 """Returns the string representation of the model""" 377 return pprint.pformat(self.to_dict()) 378 379 def __repr__(self): 380 """For `print` and `pprint`""" 381 return self.to_str() 382 383 def __eq__(self, other): 384 """Returns true if both objects are equal""" 385 if not isinstance(other, RecipientPreviewRequest): 386 return False 387 388 return self.to_dict() == other.to_dict() 389 390 def __ne__(self, other): 391 """Returns true if both objects are not equal""" 392 if not isinstance(other, RecipientPreviewRequest): 393 return True 394 395 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.
64 def __init__(self, _configuration=None, **kwargs): # noqa: E501 65 """RecipientPreviewRequest - a model defined in Swagger""" # noqa: E501 66 if _configuration is None: 67 _configuration = Configuration() 68 self._configuration = _configuration 69 70 self._assertion_id = None 71 self._authentication_instant = None 72 self._authentication_method = None 73 self._client_ur_ls = None 74 self._ping_frequency = None 75 self._ping_url = None 76 self._recipient_id = None 77 self._return_url = None 78 self._security_domain = None 79 self._x_frame_options = None 80 self._x_frame_options_allow_from_url = None 81 self.discriminator = None 82 83 setattr(self, "_{}".format('assertion_id'), kwargs.get('assertion_id', None)) 84 setattr(self, "_{}".format('authentication_instant'), kwargs.get('authentication_instant', None)) 85 setattr(self, "_{}".format('authentication_method'), kwargs.get('authentication_method', None)) 86 setattr(self, "_{}".format('client_ur_ls'), kwargs.get('client_ur_ls', None)) 87 setattr(self, "_{}".format('ping_frequency'), kwargs.get('ping_frequency', None)) 88 setattr(self, "_{}".format('ping_url'), kwargs.get('ping_url', None)) 89 setattr(self, "_{}".format('recipient_id'), kwargs.get('recipient_id', None)) 90 setattr(self, "_{}".format('return_url'), kwargs.get('return_url', None)) 91 setattr(self, "_{}".format('security_domain'), kwargs.get('security_domain', None)) 92 setattr(self, "_{}".format('x_frame_options'), kwargs.get('x_frame_options', None)) 93 setattr(self, "_{}".format('x_frame_options_allow_from_url'), kwargs.get('x_frame_options_allow_from_url', None))
RecipientPreviewRequest - a model defined in Swagger
Gets the assertion_id of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The assertion_id of this RecipientPreviewRequest. # noqa: E501
Gets the authentication_instant of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The authentication_instant of this RecipientPreviewRequest. # noqa: E501
Gets the authentication_method of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The authentication_method of this RecipientPreviewRequest. # noqa: E501
Gets the client_ur_ls of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The client_ur_ls of this RecipientPreviewRequest. # noqa: E501
Gets the ping_frequency of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The ping_frequency of this RecipientPreviewRequest. # noqa: E501
Gets the ping_url of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The ping_url of this RecipientPreviewRequest. # noqa: E501
Gets the recipient_id of this RecipientPreviewRequest. # noqa: E501
Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. # noqa: E501
Returns
The recipient_id of this RecipientPreviewRequest. # noqa: E501
Gets the return_url of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The return_url of this RecipientPreviewRequest. # noqa: E501
Gets the security_domain of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The security_domain of this RecipientPreviewRequest. # noqa: E501
Gets the x_frame_options of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The x_frame_options of this RecipientPreviewRequest. # noqa: E501
Gets the x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501
# noqa: E501
Returns
The x_frame_options_allow_from_url of this RecipientPreviewRequest. # noqa: E501
348 def to_dict(self): 349 """Returns the model properties as a dict""" 350 result = {} 351 352 for attr, _ in six.iteritems(self.swagger_types): 353 value = getattr(self, attr) 354 if isinstance(value, list): 355 result[attr] = list(map( 356 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 357 value 358 )) 359 elif hasattr(value, "to_dict"): 360 result[attr] = value.to_dict() 361 elif isinstance(value, dict): 362 result[attr] = dict(map( 363 lambda item: (item[0], item[1].to_dict()) 364 if hasattr(item[1], "to_dict") else item, 365 value.items() 366 )) 367 else: 368 result[attr] = value 369 if issubclass(RecipientPreviewRequest, dict): 370 for key, value in self.items(): 371 result[key] = value 372 373 return result
Returns the model properties as a dict