github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/User.md (about) 1 # User 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **id** | **str** | A unique identifier for the user. Cannot be edited. | 9 **creation_date** | **int** | Unix Epoch in seconds | 10 **friendly_name** | **str** | A shorter name for the user than the id. Unlike id it does not identify the user (it might not be unique). Used in some places in the UI. | [optional] 11 **email** | **str** | The email address of the user. If API authentication is enabled, this field is mandatory and will be invited to login. If API authentication is disabled, this field will be ignored. All current APIAuthenticators require the email to be lowercase and unique, although custom authenticators may not enforce this. | [optional] 12 13 ## Example 14 15 ```python 16 from lakefs_sdk.models.user import User 17 18 # TODO update the JSON string below 19 json = "{}" 20 # create an instance of User from a JSON string 21 user_instance = User.from_json(json) 22 # print the JSON string representation of the object 23 print User.to_json() 24 25 # convert the object into a dict 26 user_dict = user_instance.to_dict() 27 # create an instance of User from a dict 28 user_form_dict = user.from_dict(user_dict) 29 ``` 30 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 31 32