docusign_esign.models.user_profile
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 UserProfile(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 'address': 'AddressInformation', 37 'authentication_methods': 'list[AuthenticationMethod]', 38 'company_name': 'str', 39 'display_organization_info': 'str', 40 'display_personal_info': 'str', 41 'display_profile': 'str', 42 'display_usage_history': 'str', 43 'profile_image_uri': 'str', 44 'title': 'str', 45 'usage_history': 'UsageHistory', 46 'user_details': 'UserInformation', 47 'user_profile_last_modified_date': 'str' 48 } 49 50 attribute_map = { 51 'address': 'address', 52 'authentication_methods': 'authenticationMethods', 53 'company_name': 'companyName', 54 'display_organization_info': 'displayOrganizationInfo', 55 'display_personal_info': 'displayPersonalInfo', 56 'display_profile': 'displayProfile', 57 'display_usage_history': 'displayUsageHistory', 58 'profile_image_uri': 'profileImageUri', 59 'title': 'title', 60 'usage_history': 'usageHistory', 61 'user_details': 'userDetails', 62 'user_profile_last_modified_date': 'userProfileLastModifiedDate' 63 } 64 65 def __init__(self, _configuration=None, **kwargs): # noqa: E501 66 """UserProfile - a model defined in Swagger""" # noqa: E501 67 if _configuration is None: 68 _configuration = Configuration() 69 self._configuration = _configuration 70 71 self._address = None 72 self._authentication_methods = None 73 self._company_name = None 74 self._display_organization_info = None 75 self._display_personal_info = None 76 self._display_profile = None 77 self._display_usage_history = None 78 self._profile_image_uri = None 79 self._title = None 80 self._usage_history = None 81 self._user_details = None 82 self._user_profile_last_modified_date = None 83 self.discriminator = None 84 85 setattr(self, "_{}".format('address'), kwargs.get('address', None)) 86 setattr(self, "_{}".format('authentication_methods'), kwargs.get('authentication_methods', None)) 87 setattr(self, "_{}".format('company_name'), kwargs.get('company_name', None)) 88 setattr(self, "_{}".format('display_organization_info'), kwargs.get('display_organization_info', None)) 89 setattr(self, "_{}".format('display_personal_info'), kwargs.get('display_personal_info', None)) 90 setattr(self, "_{}".format('display_profile'), kwargs.get('display_profile', None)) 91 setattr(self, "_{}".format('display_usage_history'), kwargs.get('display_usage_history', None)) 92 setattr(self, "_{}".format('profile_image_uri'), kwargs.get('profile_image_uri', None)) 93 setattr(self, "_{}".format('title'), kwargs.get('title', None)) 94 setattr(self, "_{}".format('usage_history'), kwargs.get('usage_history', None)) 95 setattr(self, "_{}".format('user_details'), kwargs.get('user_details', None)) 96 setattr(self, "_{}".format('user_profile_last_modified_date'), kwargs.get('user_profile_last_modified_date', None)) 97 98 @property 99 def address(self): 100 """Gets the address of this UserProfile. # noqa: E501 101 102 The user's address. # noqa: E501 103 104 :return: The address of this UserProfile. # noqa: E501 105 :rtype: AddressInformation 106 """ 107 return self._address 108 109 @address.setter 110 def address(self, address): 111 """Sets the address of this UserProfile. 112 113 The user's address. # noqa: E501 114 115 :param address: The address of this UserProfile. # noqa: E501 116 :type: AddressInformation 117 """ 118 119 self._address = address 120 121 @property 122 def authentication_methods(self): 123 """Gets the authentication_methods of this UserProfile. # noqa: E501 124 125 These properties cannot be modified in the PUT. Indicates the authentication methods used by the user. # noqa: E501 126 127 :return: The authentication_methods of this UserProfile. # noqa: E501 128 :rtype: list[AuthenticationMethod] 129 """ 130 return self._authentication_methods 131 132 @authentication_methods.setter 133 def authentication_methods(self, authentication_methods): 134 """Sets the authentication_methods of this UserProfile. 135 136 These properties cannot be modified in the PUT. Indicates the authentication methods used by the user. # noqa: E501 137 138 :param authentication_methods: The authentication_methods of this UserProfile. # noqa: E501 139 :type: list[AuthenticationMethod] 140 """ 141 142 self._authentication_methods = authentication_methods 143 144 @property 145 def company_name(self): 146 """Gets the company_name of this UserProfile. # noqa: E501 147 148 The name of the user's Company. # noqa: E501 149 150 :return: The company_name of this UserProfile. # noqa: E501 151 :rtype: str 152 """ 153 return self._company_name 154 155 @company_name.setter 156 def company_name(self, company_name): 157 """Sets the company_name of this UserProfile. 158 159 The name of the user's Company. # noqa: E501 160 161 :param company_name: The company_name of this UserProfile. # noqa: E501 162 :type: str 163 """ 164 165 self._company_name = company_name 166 167 @property 168 def display_organization_info(self): 169 """Gets the display_organization_info of this UserProfile. # noqa: E501 170 171 When set to **true**, the user's company and title information are shown on the ID card. # noqa: E501 172 173 :return: The display_organization_info of this UserProfile. # noqa: E501 174 :rtype: str 175 """ 176 return self._display_organization_info 177 178 @display_organization_info.setter 179 def display_organization_info(self, display_organization_info): 180 """Sets the display_organization_info of this UserProfile. 181 182 When set to **true**, the user's company and title information are shown on the ID card. # noqa: E501 183 184 :param display_organization_info: The display_organization_info of this UserProfile. # noqa: E501 185 :type: str 186 """ 187 188 self._display_organization_info = display_organization_info 189 190 @property 191 def display_personal_info(self): 192 """Gets the display_personal_info of this UserProfile. # noqa: E501 193 194 When set to **true**, the user's Address and Phone number are shown on the ID card. # noqa: E501 195 196 :return: The display_personal_info of this UserProfile. # noqa: E501 197 :rtype: str 198 """ 199 return self._display_personal_info 200 201 @display_personal_info.setter 202 def display_personal_info(self, display_personal_info): 203 """Sets the display_personal_info of this UserProfile. 204 205 When set to **true**, the user's Address and Phone number are shown on the ID card. # noqa: E501 206 207 :param display_personal_info: The display_personal_info of this UserProfile. # noqa: E501 208 :type: str 209 """ 210 211 self._display_personal_info = display_personal_info 212 213 @property 214 def display_profile(self): 215 """Gets the display_profile of this UserProfile. # noqa: E501 216 217 When set to **true**, the user's ID card can be viewed from signed documents and envelope history. # noqa: E501 218 219 :return: The display_profile of this UserProfile. # noqa: E501 220 :rtype: str 221 """ 222 return self._display_profile 223 224 @display_profile.setter 225 def display_profile(self, display_profile): 226 """Sets the display_profile of this UserProfile. 227 228 When set to **true**, the user's ID card can be viewed from signed documents and envelope history. # noqa: E501 229 230 :param display_profile: The display_profile of this UserProfile. # noqa: E501 231 :type: str 232 """ 233 234 self._display_profile = display_profile 235 236 @property 237 def display_usage_history(self): 238 """Gets the display_usage_history of this UserProfile. # noqa: E501 239 240 When set to **true**, the user's usage information is shown on the ID card. # noqa: E501 241 242 :return: The display_usage_history of this UserProfile. # noqa: E501 243 :rtype: str 244 """ 245 return self._display_usage_history 246 247 @display_usage_history.setter 248 def display_usage_history(self, display_usage_history): 249 """Sets the display_usage_history of this UserProfile. 250 251 When set to **true**, the user's usage information is shown on the ID card. # noqa: E501 252 253 :param display_usage_history: The display_usage_history of this UserProfile. # noqa: E501 254 :type: str 255 """ 256 257 self._display_usage_history = display_usage_history 258 259 @property 260 def profile_image_uri(self): 261 """Gets the profile_image_uri of this UserProfile. # noqa: E501 262 263 # noqa: E501 264 265 :return: The profile_image_uri of this UserProfile. # noqa: E501 266 :rtype: str 267 """ 268 return self._profile_image_uri 269 270 @profile_image_uri.setter 271 def profile_image_uri(self, profile_image_uri): 272 """Sets the profile_image_uri of this UserProfile. 273 274 # noqa: E501 275 276 :param profile_image_uri: The profile_image_uri of this UserProfile. # noqa: E501 277 :type: str 278 """ 279 280 self._profile_image_uri = profile_image_uri 281 282 @property 283 def title(self): 284 """Gets the title of this UserProfile. # noqa: E501 285 286 # noqa: E501 287 288 :return: The title of this UserProfile. # noqa: E501 289 :rtype: str 290 """ 291 return self._title 292 293 @title.setter 294 def title(self, title): 295 """Sets the title of this UserProfile. 296 297 # noqa: E501 298 299 :param title: The title of this UserProfile. # noqa: E501 300 :type: str 301 """ 302 303 self._title = title 304 305 @property 306 def usage_history(self): 307 """Gets the usage_history of this UserProfile. # noqa: E501 308 309 A complex element consisting of: - `lastSentDateTime`: The date and time the user last sent an envelope. - `lastSignedDateTime`: The date and time the user last signed an envelope. - `sentCount`: The number of envelopes the user has sent. - `signedCount`: The number of envelopes the user has signed. # noqa: E501 310 311 :return: The usage_history of this UserProfile. # noqa: E501 312 :rtype: UsageHistory 313 """ 314 return self._usage_history 315 316 @usage_history.setter 317 def usage_history(self, usage_history): 318 """Sets the usage_history of this UserProfile. 319 320 A complex element consisting of: - `lastSentDateTime`: The date and time the user last sent an envelope. - `lastSignedDateTime`: The date and time the user last signed an envelope. - `sentCount`: The number of envelopes the user has sent. - `signedCount`: The number of envelopes the user has signed. # noqa: E501 321 322 :param usage_history: The usage_history of this UserProfile. # noqa: E501 323 :type: UsageHistory 324 """ 325 326 self._usage_history = usage_history 327 328 @property 329 def user_details(self): 330 """Gets the user_details of this UserProfile. # noqa: E501 331 332 # noqa: E501 333 334 :return: The user_details of this UserProfile. # noqa: E501 335 :rtype: UserInformation 336 """ 337 return self._user_details 338 339 @user_details.setter 340 def user_details(self, user_details): 341 """Sets the user_details of this UserProfile. 342 343 # noqa: E501 344 345 :param user_details: The user_details of this UserProfile. # noqa: E501 346 :type: UserInformation 347 """ 348 349 self._user_details = user_details 350 351 @property 352 def user_profile_last_modified_date(self): 353 """Gets the user_profile_last_modified_date of this UserProfile. # noqa: E501 354 355 # noqa: E501 356 357 :return: The user_profile_last_modified_date of this UserProfile. # noqa: E501 358 :rtype: str 359 """ 360 return self._user_profile_last_modified_date 361 362 @user_profile_last_modified_date.setter 363 def user_profile_last_modified_date(self, user_profile_last_modified_date): 364 """Sets the user_profile_last_modified_date of this UserProfile. 365 366 # noqa: E501 367 368 :param user_profile_last_modified_date: The user_profile_last_modified_date of this UserProfile. # noqa: E501 369 :type: str 370 """ 371 372 self._user_profile_last_modified_date = user_profile_last_modified_date 373 374 def to_dict(self): 375 """Returns the model properties as a dict""" 376 result = {} 377 378 for attr, _ in six.iteritems(self.swagger_types): 379 value = getattr(self, attr) 380 if isinstance(value, list): 381 result[attr] = list(map( 382 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 383 value 384 )) 385 elif hasattr(value, "to_dict"): 386 result[attr] = value.to_dict() 387 elif isinstance(value, dict): 388 result[attr] = dict(map( 389 lambda item: (item[0], item[1].to_dict()) 390 if hasattr(item[1], "to_dict") else item, 391 value.items() 392 )) 393 else: 394 result[attr] = value 395 if issubclass(UserProfile, dict): 396 for key, value in self.items(): 397 result[key] = value 398 399 return result 400 401 def to_str(self): 402 """Returns the string representation of the model""" 403 return pprint.pformat(self.to_dict()) 404 405 def __repr__(self): 406 """For `print` and `pprint`""" 407 return self.to_str() 408 409 def __eq__(self, other): 410 """Returns true if both objects are equal""" 411 if not isinstance(other, UserProfile): 412 return False 413 414 return self.to_dict() == other.to_dict() 415 416 def __ne__(self, other): 417 """Returns true if both objects are not equal""" 418 if not isinstance(other, UserProfile): 419 return True 420 421 return self.to_dict() != other.to_dict()
23class UserProfile(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 'address': 'AddressInformation', 38 'authentication_methods': 'list[AuthenticationMethod]', 39 'company_name': 'str', 40 'display_organization_info': 'str', 41 'display_personal_info': 'str', 42 'display_profile': 'str', 43 'display_usage_history': 'str', 44 'profile_image_uri': 'str', 45 'title': 'str', 46 'usage_history': 'UsageHistory', 47 'user_details': 'UserInformation', 48 'user_profile_last_modified_date': 'str' 49 } 50 51 attribute_map = { 52 'address': 'address', 53 'authentication_methods': 'authenticationMethods', 54 'company_name': 'companyName', 55 'display_organization_info': 'displayOrganizationInfo', 56 'display_personal_info': 'displayPersonalInfo', 57 'display_profile': 'displayProfile', 58 'display_usage_history': 'displayUsageHistory', 59 'profile_image_uri': 'profileImageUri', 60 'title': 'title', 61 'usage_history': 'usageHistory', 62 'user_details': 'userDetails', 63 'user_profile_last_modified_date': 'userProfileLastModifiedDate' 64 } 65 66 def __init__(self, _configuration=None, **kwargs): # noqa: E501 67 """UserProfile - a model defined in Swagger""" # noqa: E501 68 if _configuration is None: 69 _configuration = Configuration() 70 self._configuration = _configuration 71 72 self._address = None 73 self._authentication_methods = None 74 self._company_name = None 75 self._display_organization_info = None 76 self._display_personal_info = None 77 self._display_profile = None 78 self._display_usage_history = None 79 self._profile_image_uri = None 80 self._title = None 81 self._usage_history = None 82 self._user_details = None 83 self._user_profile_last_modified_date = None 84 self.discriminator = None 85 86 setattr(self, "_{}".format('address'), kwargs.get('address', None)) 87 setattr(self, "_{}".format('authentication_methods'), kwargs.get('authentication_methods', None)) 88 setattr(self, "_{}".format('company_name'), kwargs.get('company_name', None)) 89 setattr(self, "_{}".format('display_organization_info'), kwargs.get('display_organization_info', None)) 90 setattr(self, "_{}".format('display_personal_info'), kwargs.get('display_personal_info', None)) 91 setattr(self, "_{}".format('display_profile'), kwargs.get('display_profile', None)) 92 setattr(self, "_{}".format('display_usage_history'), kwargs.get('display_usage_history', None)) 93 setattr(self, "_{}".format('profile_image_uri'), kwargs.get('profile_image_uri', None)) 94 setattr(self, "_{}".format('title'), kwargs.get('title', None)) 95 setattr(self, "_{}".format('usage_history'), kwargs.get('usage_history', None)) 96 setattr(self, "_{}".format('user_details'), kwargs.get('user_details', None)) 97 setattr(self, "_{}".format('user_profile_last_modified_date'), kwargs.get('user_profile_last_modified_date', None)) 98 99 @property 100 def address(self): 101 """Gets the address of this UserProfile. # noqa: E501 102 103 The user's address. # noqa: E501 104 105 :return: The address of this UserProfile. # noqa: E501 106 :rtype: AddressInformation 107 """ 108 return self._address 109 110 @address.setter 111 def address(self, address): 112 """Sets the address of this UserProfile. 113 114 The user's address. # noqa: E501 115 116 :param address: The address of this UserProfile. # noqa: E501 117 :type: AddressInformation 118 """ 119 120 self._address = address 121 122 @property 123 def authentication_methods(self): 124 """Gets the authentication_methods of this UserProfile. # noqa: E501 125 126 These properties cannot be modified in the PUT. Indicates the authentication methods used by the user. # noqa: E501 127 128 :return: The authentication_methods of this UserProfile. # noqa: E501 129 :rtype: list[AuthenticationMethod] 130 """ 131 return self._authentication_methods 132 133 @authentication_methods.setter 134 def authentication_methods(self, authentication_methods): 135 """Sets the authentication_methods of this UserProfile. 136 137 These properties cannot be modified in the PUT. Indicates the authentication methods used by the user. # noqa: E501 138 139 :param authentication_methods: The authentication_methods of this UserProfile. # noqa: E501 140 :type: list[AuthenticationMethod] 141 """ 142 143 self._authentication_methods = authentication_methods 144 145 @property 146 def company_name(self): 147 """Gets the company_name of this UserProfile. # noqa: E501 148 149 The name of the user's Company. # noqa: E501 150 151 :return: The company_name of this UserProfile. # noqa: E501 152 :rtype: str 153 """ 154 return self._company_name 155 156 @company_name.setter 157 def company_name(self, company_name): 158 """Sets the company_name of this UserProfile. 159 160 The name of the user's Company. # noqa: E501 161 162 :param company_name: The company_name of this UserProfile. # noqa: E501 163 :type: str 164 """ 165 166 self._company_name = company_name 167 168 @property 169 def display_organization_info(self): 170 """Gets the display_organization_info of this UserProfile. # noqa: E501 171 172 When set to **true**, the user's company and title information are shown on the ID card. # noqa: E501 173 174 :return: The display_organization_info of this UserProfile. # noqa: E501 175 :rtype: str 176 """ 177 return self._display_organization_info 178 179 @display_organization_info.setter 180 def display_organization_info(self, display_organization_info): 181 """Sets the display_organization_info of this UserProfile. 182 183 When set to **true**, the user's company and title information are shown on the ID card. # noqa: E501 184 185 :param display_organization_info: The display_organization_info of this UserProfile. # noqa: E501 186 :type: str 187 """ 188 189 self._display_organization_info = display_organization_info 190 191 @property 192 def display_personal_info(self): 193 """Gets the display_personal_info of this UserProfile. # noqa: E501 194 195 When set to **true**, the user's Address and Phone number are shown on the ID card. # noqa: E501 196 197 :return: The display_personal_info of this UserProfile. # noqa: E501 198 :rtype: str 199 """ 200 return self._display_personal_info 201 202 @display_personal_info.setter 203 def display_personal_info(self, display_personal_info): 204 """Sets the display_personal_info of this UserProfile. 205 206 When set to **true**, the user's Address and Phone number are shown on the ID card. # noqa: E501 207 208 :param display_personal_info: The display_personal_info of this UserProfile. # noqa: E501 209 :type: str 210 """ 211 212 self._display_personal_info = display_personal_info 213 214 @property 215 def display_profile(self): 216 """Gets the display_profile of this UserProfile. # noqa: E501 217 218 When set to **true**, the user's ID card can be viewed from signed documents and envelope history. # noqa: E501 219 220 :return: The display_profile of this UserProfile. # noqa: E501 221 :rtype: str 222 """ 223 return self._display_profile 224 225 @display_profile.setter 226 def display_profile(self, display_profile): 227 """Sets the display_profile of this UserProfile. 228 229 When set to **true**, the user's ID card can be viewed from signed documents and envelope history. # noqa: E501 230 231 :param display_profile: The display_profile of this UserProfile. # noqa: E501 232 :type: str 233 """ 234 235 self._display_profile = display_profile 236 237 @property 238 def display_usage_history(self): 239 """Gets the display_usage_history of this UserProfile. # noqa: E501 240 241 When set to **true**, the user's usage information is shown on the ID card. # noqa: E501 242 243 :return: The display_usage_history of this UserProfile. # noqa: E501 244 :rtype: str 245 """ 246 return self._display_usage_history 247 248 @display_usage_history.setter 249 def display_usage_history(self, display_usage_history): 250 """Sets the display_usage_history of this UserProfile. 251 252 When set to **true**, the user's usage information is shown on the ID card. # noqa: E501 253 254 :param display_usage_history: The display_usage_history of this UserProfile. # noqa: E501 255 :type: str 256 """ 257 258 self._display_usage_history = display_usage_history 259 260 @property 261 def profile_image_uri(self): 262 """Gets the profile_image_uri of this UserProfile. # noqa: E501 263 264 # noqa: E501 265 266 :return: The profile_image_uri of this UserProfile. # noqa: E501 267 :rtype: str 268 """ 269 return self._profile_image_uri 270 271 @profile_image_uri.setter 272 def profile_image_uri(self, profile_image_uri): 273 """Sets the profile_image_uri of this UserProfile. 274 275 # noqa: E501 276 277 :param profile_image_uri: The profile_image_uri of this UserProfile. # noqa: E501 278 :type: str 279 """ 280 281 self._profile_image_uri = profile_image_uri 282 283 @property 284 def title(self): 285 """Gets the title of this UserProfile. # noqa: E501 286 287 # noqa: E501 288 289 :return: The title of this UserProfile. # noqa: E501 290 :rtype: str 291 """ 292 return self._title 293 294 @title.setter 295 def title(self, title): 296 """Sets the title of this UserProfile. 297 298 # noqa: E501 299 300 :param title: The title of this UserProfile. # noqa: E501 301 :type: str 302 """ 303 304 self._title = title 305 306 @property 307 def usage_history(self): 308 """Gets the usage_history of this UserProfile. # noqa: E501 309 310 A complex element consisting of: - `lastSentDateTime`: The date and time the user last sent an envelope. - `lastSignedDateTime`: The date and time the user last signed an envelope. - `sentCount`: The number of envelopes the user has sent. - `signedCount`: The number of envelopes the user has signed. # noqa: E501 311 312 :return: The usage_history of this UserProfile. # noqa: E501 313 :rtype: UsageHistory 314 """ 315 return self._usage_history 316 317 @usage_history.setter 318 def usage_history(self, usage_history): 319 """Sets the usage_history of this UserProfile. 320 321 A complex element consisting of: - `lastSentDateTime`: The date and time the user last sent an envelope. - `lastSignedDateTime`: The date and time the user last signed an envelope. - `sentCount`: The number of envelopes the user has sent. - `signedCount`: The number of envelopes the user has signed. # noqa: E501 322 323 :param usage_history: The usage_history of this UserProfile. # noqa: E501 324 :type: UsageHistory 325 """ 326 327 self._usage_history = usage_history 328 329 @property 330 def user_details(self): 331 """Gets the user_details of this UserProfile. # noqa: E501 332 333 # noqa: E501 334 335 :return: The user_details of this UserProfile. # noqa: E501 336 :rtype: UserInformation 337 """ 338 return self._user_details 339 340 @user_details.setter 341 def user_details(self, user_details): 342 """Sets the user_details of this UserProfile. 343 344 # noqa: E501 345 346 :param user_details: The user_details of this UserProfile. # noqa: E501 347 :type: UserInformation 348 """ 349 350 self._user_details = user_details 351 352 @property 353 def user_profile_last_modified_date(self): 354 """Gets the user_profile_last_modified_date of this UserProfile. # noqa: E501 355 356 # noqa: E501 357 358 :return: The user_profile_last_modified_date of this UserProfile. # noqa: E501 359 :rtype: str 360 """ 361 return self._user_profile_last_modified_date 362 363 @user_profile_last_modified_date.setter 364 def user_profile_last_modified_date(self, user_profile_last_modified_date): 365 """Sets the user_profile_last_modified_date of this UserProfile. 366 367 # noqa: E501 368 369 :param user_profile_last_modified_date: The user_profile_last_modified_date of this UserProfile. # noqa: E501 370 :type: str 371 """ 372 373 self._user_profile_last_modified_date = user_profile_last_modified_date 374 375 def to_dict(self): 376 """Returns the model properties as a dict""" 377 result = {} 378 379 for attr, _ in six.iteritems(self.swagger_types): 380 value = getattr(self, attr) 381 if isinstance(value, list): 382 result[attr] = list(map( 383 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 384 value 385 )) 386 elif hasattr(value, "to_dict"): 387 result[attr] = value.to_dict() 388 elif isinstance(value, dict): 389 result[attr] = dict(map( 390 lambda item: (item[0], item[1].to_dict()) 391 if hasattr(item[1], "to_dict") else item, 392 value.items() 393 )) 394 else: 395 result[attr] = value 396 if issubclass(UserProfile, dict): 397 for key, value in self.items(): 398 result[key] = value 399 400 return result 401 402 def to_str(self): 403 """Returns the string representation of the model""" 404 return pprint.pformat(self.to_dict()) 405 406 def __repr__(self): 407 """For `print` and `pprint`""" 408 return self.to_str() 409 410 def __eq__(self, other): 411 """Returns true if both objects are equal""" 412 if not isinstance(other, UserProfile): 413 return False 414 415 return self.to_dict() == other.to_dict() 416 417 def __ne__(self, other): 418 """Returns true if both objects are not equal""" 419 if not isinstance(other, UserProfile): 420 return True 421 422 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.
66 def __init__(self, _configuration=None, **kwargs): # noqa: E501 67 """UserProfile - a model defined in Swagger""" # noqa: E501 68 if _configuration is None: 69 _configuration = Configuration() 70 self._configuration = _configuration 71 72 self._address = None 73 self._authentication_methods = None 74 self._company_name = None 75 self._display_organization_info = None 76 self._display_personal_info = None 77 self._display_profile = None 78 self._display_usage_history = None 79 self._profile_image_uri = None 80 self._title = None 81 self._usage_history = None 82 self._user_details = None 83 self._user_profile_last_modified_date = None 84 self.discriminator = None 85 86 setattr(self, "_{}".format('address'), kwargs.get('address', None)) 87 setattr(self, "_{}".format('authentication_methods'), kwargs.get('authentication_methods', None)) 88 setattr(self, "_{}".format('company_name'), kwargs.get('company_name', None)) 89 setattr(self, "_{}".format('display_organization_info'), kwargs.get('display_organization_info', None)) 90 setattr(self, "_{}".format('display_personal_info'), kwargs.get('display_personal_info', None)) 91 setattr(self, "_{}".format('display_profile'), kwargs.get('display_profile', None)) 92 setattr(self, "_{}".format('display_usage_history'), kwargs.get('display_usage_history', None)) 93 setattr(self, "_{}".format('profile_image_uri'), kwargs.get('profile_image_uri', None)) 94 setattr(self, "_{}".format('title'), kwargs.get('title', None)) 95 setattr(self, "_{}".format('usage_history'), kwargs.get('usage_history', None)) 96 setattr(self, "_{}".format('user_details'), kwargs.get('user_details', None)) 97 setattr(self, "_{}".format('user_profile_last_modified_date'), kwargs.get('user_profile_last_modified_date', None))
UserProfile - a model defined in Swagger
Gets the address of this UserProfile. # noqa: E501
The user's address. # noqa: E501
Returns
The address of this UserProfile. # noqa: E501
Gets the authentication_methods of this UserProfile. # noqa: E501
These properties cannot be modified in the PUT. Indicates the authentication methods used by the user. # noqa: E501
Returns
The authentication_methods of this UserProfile. # noqa: E501
Gets the company_name of this UserProfile. # noqa: E501
The name of the user's Company. # noqa: E501
Returns
The company_name of this UserProfile. # noqa: E501
Gets the display_organization_info of this UserProfile. # noqa: E501
When set to true, the user's company and title information are shown on the ID card. # noqa: E501
Returns
The display_organization_info of this UserProfile. # noqa: E501
Gets the display_personal_info of this UserProfile. # noqa: E501
When set to true, the user's Address and Phone number are shown on the ID card. # noqa: E501
Returns
The display_personal_info of this UserProfile. # noqa: E501
Gets the display_profile of this UserProfile. # noqa: E501
When set to true, the user's ID card can be viewed from signed documents and envelope history. # noqa: E501
Returns
The display_profile of this UserProfile. # noqa: E501
Gets the display_usage_history of this UserProfile. # noqa: E501
When set to true, the user's usage information is shown on the ID card. # noqa: E501
Returns
The display_usage_history of this UserProfile. # noqa: E501
Gets the profile_image_uri of this UserProfile. # noqa: E501
# noqa: E501
Returns
The profile_image_uri of this UserProfile. # noqa: E501
Gets the title of this UserProfile. # noqa: E501
# noqa: E501
Returns
The title of this UserProfile. # noqa: E501
Gets the usage_history of this UserProfile. # noqa: E501
A complex element consisting of: - lastSentDateTime
: The date and time the user last sent an envelope. - lastSignedDateTime
: The date and time the user last signed an envelope. - sentCount
: The number of envelopes the user has sent. - signedCount
: The number of envelopes the user has signed. # noqa: E501
Returns
The usage_history of this UserProfile. # noqa: E501
Gets the user_details of this UserProfile. # noqa: E501
# noqa: E501
Returns
The user_details of this UserProfile. # noqa: E501
Gets the user_profile_last_modified_date of this UserProfile. # noqa: E501
# noqa: E501
Returns
The user_profile_last_modified_date of this UserProfile. # noqa: E501
375 def to_dict(self): 376 """Returns the model properties as a dict""" 377 result = {} 378 379 for attr, _ in six.iteritems(self.swagger_types): 380 value = getattr(self, attr) 381 if isinstance(value, list): 382 result[attr] = list(map( 383 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 384 value 385 )) 386 elif hasattr(value, "to_dict"): 387 result[attr] = value.to_dict() 388 elif isinstance(value, dict): 389 result[attr] = dict(map( 390 lambda item: (item[0], item[1].to_dict()) 391 if hasattr(item[1], "to_dict") else item, 392 value.items() 393 )) 394 else: 395 result[attr] = value 396 if issubclass(UserProfile, dict): 397 for key, value in self.items(): 398 result[key] = value 399 400 return result
Returns the model properties as a dict