docusign_esign.models.workspace_user_authorization
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 WorkspaceUserAuthorization(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 'can_delete': 'str', 37 'can_move': 'str', 38 'can_transact': 'str', 39 'can_view': 'str', 40 'created': 'str', 41 'created_by_id': 'str', 42 'error_details': 'ErrorDetails', 43 'modified': 'str', 44 'modified_by_id': 'str', 45 'workspace_user_id': 'str', 46 'workspace_user_information': 'WorkspaceUser' 47 } 48 49 attribute_map = { 50 'can_delete': 'canDelete', 51 'can_move': 'canMove', 52 'can_transact': 'canTransact', 53 'can_view': 'canView', 54 'created': 'created', 55 'created_by_id': 'createdById', 56 'error_details': 'errorDetails', 57 'modified': 'modified', 58 'modified_by_id': 'modifiedById', 59 'workspace_user_id': 'workspaceUserId', 60 'workspace_user_information': 'workspaceUserInformation' 61 } 62 63 def __init__(self, _configuration=None, **kwargs): # noqa: E501 64 """WorkspaceUserAuthorization - a model defined in Swagger""" # noqa: E501 65 if _configuration is None: 66 _configuration = Configuration() 67 self._configuration = _configuration 68 69 self._can_delete = None 70 self._can_move = None 71 self._can_transact = None 72 self._can_view = None 73 self._created = None 74 self._created_by_id = None 75 self._error_details = None 76 self._modified = None 77 self._modified_by_id = None 78 self._workspace_user_id = None 79 self._workspace_user_information = None 80 self.discriminator = None 81 82 setattr(self, "_{}".format('can_delete'), kwargs.get('can_delete', None)) 83 setattr(self, "_{}".format('can_move'), kwargs.get('can_move', None)) 84 setattr(self, "_{}".format('can_transact'), kwargs.get('can_transact', None)) 85 setattr(self, "_{}".format('can_view'), kwargs.get('can_view', None)) 86 setattr(self, "_{}".format('created'), kwargs.get('created', None)) 87 setattr(self, "_{}".format('created_by_id'), kwargs.get('created_by_id', None)) 88 setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None)) 89 setattr(self, "_{}".format('modified'), kwargs.get('modified', None)) 90 setattr(self, "_{}".format('modified_by_id'), kwargs.get('modified_by_id', None)) 91 setattr(self, "_{}".format('workspace_user_id'), kwargs.get('workspace_user_id', None)) 92 setattr(self, "_{}".format('workspace_user_information'), kwargs.get('workspace_user_information', None)) 93 94 @property 95 def can_delete(self): 96 """Gets the can_delete of this WorkspaceUserAuthorization. # noqa: E501 97 98 # noqa: E501 99 100 :return: The can_delete of this WorkspaceUserAuthorization. # noqa: E501 101 :rtype: str 102 """ 103 return self._can_delete 104 105 @can_delete.setter 106 def can_delete(self, can_delete): 107 """Sets the can_delete of this WorkspaceUserAuthorization. 108 109 # noqa: E501 110 111 :param can_delete: The can_delete of this WorkspaceUserAuthorization. # noqa: E501 112 :type: str 113 """ 114 115 self._can_delete = can_delete 116 117 @property 118 def can_move(self): 119 """Gets the can_move of this WorkspaceUserAuthorization. # noqa: E501 120 121 # noqa: E501 122 123 :return: The can_move of this WorkspaceUserAuthorization. # noqa: E501 124 :rtype: str 125 """ 126 return self._can_move 127 128 @can_move.setter 129 def can_move(self, can_move): 130 """Sets the can_move of this WorkspaceUserAuthorization. 131 132 # noqa: E501 133 134 :param can_move: The can_move of this WorkspaceUserAuthorization. # noqa: E501 135 :type: str 136 """ 137 138 self._can_move = can_move 139 140 @property 141 def can_transact(self): 142 """Gets the can_transact of this WorkspaceUserAuthorization. # noqa: E501 143 144 # noqa: E501 145 146 :return: The can_transact of this WorkspaceUserAuthorization. # noqa: E501 147 :rtype: str 148 """ 149 return self._can_transact 150 151 @can_transact.setter 152 def can_transact(self, can_transact): 153 """Sets the can_transact of this WorkspaceUserAuthorization. 154 155 # noqa: E501 156 157 :param can_transact: The can_transact of this WorkspaceUserAuthorization. # noqa: E501 158 :type: str 159 """ 160 161 self._can_transact = can_transact 162 163 @property 164 def can_view(self): 165 """Gets the can_view of this WorkspaceUserAuthorization. # noqa: E501 166 167 # noqa: E501 168 169 :return: The can_view of this WorkspaceUserAuthorization. # noqa: E501 170 :rtype: str 171 """ 172 return self._can_view 173 174 @can_view.setter 175 def can_view(self, can_view): 176 """Sets the can_view of this WorkspaceUserAuthorization. 177 178 # noqa: E501 179 180 :param can_view: The can_view of this WorkspaceUserAuthorization. # noqa: E501 181 :type: str 182 """ 183 184 self._can_view = can_view 185 186 @property 187 def created(self): 188 """Gets the created of this WorkspaceUserAuthorization. # noqa: E501 189 190 The UTC DateTime when the workspace user authorization was created. # noqa: E501 191 192 :return: The created of this WorkspaceUserAuthorization. # noqa: E501 193 :rtype: str 194 """ 195 return self._created 196 197 @created.setter 198 def created(self, created): 199 """Sets the created of this WorkspaceUserAuthorization. 200 201 The UTC DateTime when the workspace user authorization was created. # noqa: E501 202 203 :param created: The created of this WorkspaceUserAuthorization. # noqa: E501 204 :type: str 205 """ 206 207 self._created = created 208 209 @property 210 def created_by_id(self): 211 """Gets the created_by_id of this WorkspaceUserAuthorization. # noqa: E501 212 213 # noqa: E501 214 215 :return: The created_by_id of this WorkspaceUserAuthorization. # noqa: E501 216 :rtype: str 217 """ 218 return self._created_by_id 219 220 @created_by_id.setter 221 def created_by_id(self, created_by_id): 222 """Sets the created_by_id of this WorkspaceUserAuthorization. 223 224 # noqa: E501 225 226 :param created_by_id: The created_by_id of this WorkspaceUserAuthorization. # noqa: E501 227 :type: str 228 """ 229 230 self._created_by_id = created_by_id 231 232 @property 233 def error_details(self): 234 """Gets the error_details of this WorkspaceUserAuthorization. # noqa: E501 235 236 Array or errors. # noqa: E501 237 238 :return: The error_details of this WorkspaceUserAuthorization. # noqa: E501 239 :rtype: ErrorDetails 240 """ 241 return self._error_details 242 243 @error_details.setter 244 def error_details(self, error_details): 245 """Sets the error_details of this WorkspaceUserAuthorization. 246 247 Array or errors. # noqa: E501 248 249 :param error_details: The error_details of this WorkspaceUserAuthorization. # noqa: E501 250 :type: ErrorDetails 251 """ 252 253 self._error_details = error_details 254 255 @property 256 def modified(self): 257 """Gets the modified of this WorkspaceUserAuthorization. # noqa: E501 258 259 # noqa: E501 260 261 :return: The modified of this WorkspaceUserAuthorization. # noqa: E501 262 :rtype: str 263 """ 264 return self._modified 265 266 @modified.setter 267 def modified(self, modified): 268 """Sets the modified of this WorkspaceUserAuthorization. 269 270 # noqa: E501 271 272 :param modified: The modified of this WorkspaceUserAuthorization. # noqa: E501 273 :type: str 274 """ 275 276 self._modified = modified 277 278 @property 279 def modified_by_id(self): 280 """Gets the modified_by_id of this WorkspaceUserAuthorization. # noqa: E501 281 282 # noqa: E501 283 284 :return: The modified_by_id of this WorkspaceUserAuthorization. # noqa: E501 285 :rtype: str 286 """ 287 return self._modified_by_id 288 289 @modified_by_id.setter 290 def modified_by_id(self, modified_by_id): 291 """Sets the modified_by_id of this WorkspaceUserAuthorization. 292 293 # noqa: E501 294 295 :param modified_by_id: The modified_by_id of this WorkspaceUserAuthorization. # noqa: E501 296 :type: str 297 """ 298 299 self._modified_by_id = modified_by_id 300 301 @property 302 def workspace_user_id(self): 303 """Gets the workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501 304 305 # noqa: E501 306 307 :return: The workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501 308 :rtype: str 309 """ 310 return self._workspace_user_id 311 312 @workspace_user_id.setter 313 def workspace_user_id(self, workspace_user_id): 314 """Sets the workspace_user_id of this WorkspaceUserAuthorization. 315 316 # noqa: E501 317 318 :param workspace_user_id: The workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501 319 :type: str 320 """ 321 322 self._workspace_user_id = workspace_user_id 323 324 @property 325 def workspace_user_information(self): 326 """Gets the workspace_user_information of this WorkspaceUserAuthorization. # noqa: E501 327 328 An object that provides details about the workspace user. # noqa: E501 329 330 :return: The workspace_user_information of this WorkspaceUserAuthorization. # noqa: E501 331 :rtype: WorkspaceUser 332 """ 333 return self._workspace_user_information 334 335 @workspace_user_information.setter 336 def workspace_user_information(self, workspace_user_information): 337 """Sets the workspace_user_information of this WorkspaceUserAuthorization. 338 339 An object that provides details about the workspace user. # noqa: E501 340 341 :param workspace_user_information: The workspace_user_information of this WorkspaceUserAuthorization. # noqa: E501 342 :type: WorkspaceUser 343 """ 344 345 self._workspace_user_information = workspace_user_information 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(WorkspaceUserAuthorization, 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, WorkspaceUserAuthorization): 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, WorkspaceUserAuthorization): 392 return True 393 394 return self.to_dict() != other.to_dict()
23class WorkspaceUserAuthorization(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 'can_delete': 'str', 38 'can_move': 'str', 39 'can_transact': 'str', 40 'can_view': 'str', 41 'created': 'str', 42 'created_by_id': 'str', 43 'error_details': 'ErrorDetails', 44 'modified': 'str', 45 'modified_by_id': 'str', 46 'workspace_user_id': 'str', 47 'workspace_user_information': 'WorkspaceUser' 48 } 49 50 attribute_map = { 51 'can_delete': 'canDelete', 52 'can_move': 'canMove', 53 'can_transact': 'canTransact', 54 'can_view': 'canView', 55 'created': 'created', 56 'created_by_id': 'createdById', 57 'error_details': 'errorDetails', 58 'modified': 'modified', 59 'modified_by_id': 'modifiedById', 60 'workspace_user_id': 'workspaceUserId', 61 'workspace_user_information': 'workspaceUserInformation' 62 } 63 64 def __init__(self, _configuration=None, **kwargs): # noqa: E501 65 """WorkspaceUserAuthorization - a model defined in Swagger""" # noqa: E501 66 if _configuration is None: 67 _configuration = Configuration() 68 self._configuration = _configuration 69 70 self._can_delete = None 71 self._can_move = None 72 self._can_transact = None 73 self._can_view = None 74 self._created = None 75 self._created_by_id = None 76 self._error_details = None 77 self._modified = None 78 self._modified_by_id = None 79 self._workspace_user_id = None 80 self._workspace_user_information = None 81 self.discriminator = None 82 83 setattr(self, "_{}".format('can_delete'), kwargs.get('can_delete', None)) 84 setattr(self, "_{}".format('can_move'), kwargs.get('can_move', None)) 85 setattr(self, "_{}".format('can_transact'), kwargs.get('can_transact', None)) 86 setattr(self, "_{}".format('can_view'), kwargs.get('can_view', None)) 87 setattr(self, "_{}".format('created'), kwargs.get('created', None)) 88 setattr(self, "_{}".format('created_by_id'), kwargs.get('created_by_id', None)) 89 setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None)) 90 setattr(self, "_{}".format('modified'), kwargs.get('modified', None)) 91 setattr(self, "_{}".format('modified_by_id'), kwargs.get('modified_by_id', None)) 92 setattr(self, "_{}".format('workspace_user_id'), kwargs.get('workspace_user_id', None)) 93 setattr(self, "_{}".format('workspace_user_information'), kwargs.get('workspace_user_information', None)) 94 95 @property 96 def can_delete(self): 97 """Gets the can_delete of this WorkspaceUserAuthorization. # noqa: E501 98 99 # noqa: E501 100 101 :return: The can_delete of this WorkspaceUserAuthorization. # noqa: E501 102 :rtype: str 103 """ 104 return self._can_delete 105 106 @can_delete.setter 107 def can_delete(self, can_delete): 108 """Sets the can_delete of this WorkspaceUserAuthorization. 109 110 # noqa: E501 111 112 :param can_delete: The can_delete of this WorkspaceUserAuthorization. # noqa: E501 113 :type: str 114 """ 115 116 self._can_delete = can_delete 117 118 @property 119 def can_move(self): 120 """Gets the can_move of this WorkspaceUserAuthorization. # noqa: E501 121 122 # noqa: E501 123 124 :return: The can_move of this WorkspaceUserAuthorization. # noqa: E501 125 :rtype: str 126 """ 127 return self._can_move 128 129 @can_move.setter 130 def can_move(self, can_move): 131 """Sets the can_move of this WorkspaceUserAuthorization. 132 133 # noqa: E501 134 135 :param can_move: The can_move of this WorkspaceUserAuthorization. # noqa: E501 136 :type: str 137 """ 138 139 self._can_move = can_move 140 141 @property 142 def can_transact(self): 143 """Gets the can_transact of this WorkspaceUserAuthorization. # noqa: E501 144 145 # noqa: E501 146 147 :return: The can_transact of this WorkspaceUserAuthorization. # noqa: E501 148 :rtype: str 149 """ 150 return self._can_transact 151 152 @can_transact.setter 153 def can_transact(self, can_transact): 154 """Sets the can_transact of this WorkspaceUserAuthorization. 155 156 # noqa: E501 157 158 :param can_transact: The can_transact of this WorkspaceUserAuthorization. # noqa: E501 159 :type: str 160 """ 161 162 self._can_transact = can_transact 163 164 @property 165 def can_view(self): 166 """Gets the can_view of this WorkspaceUserAuthorization. # noqa: E501 167 168 # noqa: E501 169 170 :return: The can_view of this WorkspaceUserAuthorization. # noqa: E501 171 :rtype: str 172 """ 173 return self._can_view 174 175 @can_view.setter 176 def can_view(self, can_view): 177 """Sets the can_view of this WorkspaceUserAuthorization. 178 179 # noqa: E501 180 181 :param can_view: The can_view of this WorkspaceUserAuthorization. # noqa: E501 182 :type: str 183 """ 184 185 self._can_view = can_view 186 187 @property 188 def created(self): 189 """Gets the created of this WorkspaceUserAuthorization. # noqa: E501 190 191 The UTC DateTime when the workspace user authorization was created. # noqa: E501 192 193 :return: The created of this WorkspaceUserAuthorization. # noqa: E501 194 :rtype: str 195 """ 196 return self._created 197 198 @created.setter 199 def created(self, created): 200 """Sets the created of this WorkspaceUserAuthorization. 201 202 The UTC DateTime when the workspace user authorization was created. # noqa: E501 203 204 :param created: The created of this WorkspaceUserAuthorization. # noqa: E501 205 :type: str 206 """ 207 208 self._created = created 209 210 @property 211 def created_by_id(self): 212 """Gets the created_by_id of this WorkspaceUserAuthorization. # noqa: E501 213 214 # noqa: E501 215 216 :return: The created_by_id of this WorkspaceUserAuthorization. # noqa: E501 217 :rtype: str 218 """ 219 return self._created_by_id 220 221 @created_by_id.setter 222 def created_by_id(self, created_by_id): 223 """Sets the created_by_id of this WorkspaceUserAuthorization. 224 225 # noqa: E501 226 227 :param created_by_id: The created_by_id of this WorkspaceUserAuthorization. # noqa: E501 228 :type: str 229 """ 230 231 self._created_by_id = created_by_id 232 233 @property 234 def error_details(self): 235 """Gets the error_details of this WorkspaceUserAuthorization. # noqa: E501 236 237 Array or errors. # noqa: E501 238 239 :return: The error_details of this WorkspaceUserAuthorization. # noqa: E501 240 :rtype: ErrorDetails 241 """ 242 return self._error_details 243 244 @error_details.setter 245 def error_details(self, error_details): 246 """Sets the error_details of this WorkspaceUserAuthorization. 247 248 Array or errors. # noqa: E501 249 250 :param error_details: The error_details of this WorkspaceUserAuthorization. # noqa: E501 251 :type: ErrorDetails 252 """ 253 254 self._error_details = error_details 255 256 @property 257 def modified(self): 258 """Gets the modified of this WorkspaceUserAuthorization. # noqa: E501 259 260 # noqa: E501 261 262 :return: The modified of this WorkspaceUserAuthorization. # noqa: E501 263 :rtype: str 264 """ 265 return self._modified 266 267 @modified.setter 268 def modified(self, modified): 269 """Sets the modified of this WorkspaceUserAuthorization. 270 271 # noqa: E501 272 273 :param modified: The modified of this WorkspaceUserAuthorization. # noqa: E501 274 :type: str 275 """ 276 277 self._modified = modified 278 279 @property 280 def modified_by_id(self): 281 """Gets the modified_by_id of this WorkspaceUserAuthorization. # noqa: E501 282 283 # noqa: E501 284 285 :return: The modified_by_id of this WorkspaceUserAuthorization. # noqa: E501 286 :rtype: str 287 """ 288 return self._modified_by_id 289 290 @modified_by_id.setter 291 def modified_by_id(self, modified_by_id): 292 """Sets the modified_by_id of this WorkspaceUserAuthorization. 293 294 # noqa: E501 295 296 :param modified_by_id: The modified_by_id of this WorkspaceUserAuthorization. # noqa: E501 297 :type: str 298 """ 299 300 self._modified_by_id = modified_by_id 301 302 @property 303 def workspace_user_id(self): 304 """Gets the workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501 305 306 # noqa: E501 307 308 :return: The workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501 309 :rtype: str 310 """ 311 return self._workspace_user_id 312 313 @workspace_user_id.setter 314 def workspace_user_id(self, workspace_user_id): 315 """Sets the workspace_user_id of this WorkspaceUserAuthorization. 316 317 # noqa: E501 318 319 :param workspace_user_id: The workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501 320 :type: str 321 """ 322 323 self._workspace_user_id = workspace_user_id 324 325 @property 326 def workspace_user_information(self): 327 """Gets the workspace_user_information of this WorkspaceUserAuthorization. # noqa: E501 328 329 An object that provides details about the workspace user. # noqa: E501 330 331 :return: The workspace_user_information of this WorkspaceUserAuthorization. # noqa: E501 332 :rtype: WorkspaceUser 333 """ 334 return self._workspace_user_information 335 336 @workspace_user_information.setter 337 def workspace_user_information(self, workspace_user_information): 338 """Sets the workspace_user_information of this WorkspaceUserAuthorization. 339 340 An object that provides details about the workspace user. # noqa: E501 341 342 :param workspace_user_information: The workspace_user_information of this WorkspaceUserAuthorization. # noqa: E501 343 :type: WorkspaceUser 344 """ 345 346 self._workspace_user_information = workspace_user_information 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(WorkspaceUserAuthorization, 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, WorkspaceUserAuthorization): 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, WorkspaceUserAuthorization): 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 """WorkspaceUserAuthorization - a model defined in Swagger""" # noqa: E501 66 if _configuration is None: 67 _configuration = Configuration() 68 self._configuration = _configuration 69 70 self._can_delete = None 71 self._can_move = None 72 self._can_transact = None 73 self._can_view = None 74 self._created = None 75 self._created_by_id = None 76 self._error_details = None 77 self._modified = None 78 self._modified_by_id = None 79 self._workspace_user_id = None 80 self._workspace_user_information = None 81 self.discriminator = None 82 83 setattr(self, "_{}".format('can_delete'), kwargs.get('can_delete', None)) 84 setattr(self, "_{}".format('can_move'), kwargs.get('can_move', None)) 85 setattr(self, "_{}".format('can_transact'), kwargs.get('can_transact', None)) 86 setattr(self, "_{}".format('can_view'), kwargs.get('can_view', None)) 87 setattr(self, "_{}".format('created'), kwargs.get('created', None)) 88 setattr(self, "_{}".format('created_by_id'), kwargs.get('created_by_id', None)) 89 setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None)) 90 setattr(self, "_{}".format('modified'), kwargs.get('modified', None)) 91 setattr(self, "_{}".format('modified_by_id'), kwargs.get('modified_by_id', None)) 92 setattr(self, "_{}".format('workspace_user_id'), kwargs.get('workspace_user_id', None)) 93 setattr(self, "_{}".format('workspace_user_information'), kwargs.get('workspace_user_information', None))
WorkspaceUserAuthorization - a model defined in Swagger
Gets the can_delete of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The can_delete of this WorkspaceUserAuthorization. # noqa: E501
Gets the can_move of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The can_move of this WorkspaceUserAuthorization. # noqa: E501
Gets the can_transact of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The can_transact of this WorkspaceUserAuthorization. # noqa: E501
Gets the can_view of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The can_view of this WorkspaceUserAuthorization. # noqa: E501
Gets the created of this WorkspaceUserAuthorization. # noqa: E501
The UTC DateTime when the workspace user authorization was created. # noqa: E501
Returns
The created of this WorkspaceUserAuthorization. # noqa: E501
Gets the created_by_id of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The created_by_id of this WorkspaceUserAuthorization. # noqa: E501
Gets the error_details of this WorkspaceUserAuthorization. # noqa: E501
Array or errors. # noqa: E501
Returns
The error_details of this WorkspaceUserAuthorization. # noqa: E501
Gets the modified of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The modified of this WorkspaceUserAuthorization. # noqa: E501
Gets the modified_by_id of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The modified_by_id of this WorkspaceUserAuthorization. # noqa: E501
Gets the workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501
# noqa: E501
Returns
The workspace_user_id of this WorkspaceUserAuthorization. # noqa: E501
Gets the workspace_user_information of this WorkspaceUserAuthorization. # noqa: E501
An object that provides details about the workspace user. # noqa: E501
Returns
The workspace_user_information of this WorkspaceUserAuthorization. # 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(WorkspaceUserAuthorization, dict): 370 for key, value in self.items(): 371 result[key] = value 372 373 return result
Returns the model properties as a dict