User#
- class User(username=None, user_type=None, idp_id=None, display_name=None, first_name=None, middle_initial=None, last_name=None, email_id=None, locale=None, region=None, password=None, is_force_reset_password_enabled=None, additional_attributes=None, status=None, buckets_access_keys=None, last_login_time=None, created_time=None, last_updated_time=None, created_by=None, last_updated_by=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModel
Information of the User.
- Parameters:
username – (
username
) Identifier for the User in the form an email address.user_type – (
user_type
)idp_id – (
idp_id
) Identifier of the IDP for the User.display_name – (
display_name
) Display name for the User.first_name – (
first_name
) First name for the User.middle_initial – (
middle_initial
) Middle name for the User.last_name – (
last_name
) Last name for the User.email_id – (
email_id
) Email Id for the User.locale – (
locale
) Default locale for the User.region – (
region
) Default Region for the User.password – (
password
) Password for the User.is_force_reset_password_enabled – (
is_force_reset_password_enabled
) Flag to force the User to reset password.additional_attributes – (
additional_attributes
) Any additional attribute for the User.status – (
status
)buckets_access_keys – (
buckets_access_keys
) Bucket Access Keys for the User.last_login_time – (
last_login_time
) Last successful logged in time for the User.created_time – (
created_time
) Creation time of the User.last_updated_time – (
last_updated_time
) Last updated time of the User.created_by – (
created_by
) User or Service who created the User.last_updated_by – (
last_updated_by
) Last updated by this User ID.
- property buckets_access_keys#
Bucket Access Keys for the User.
- Type:
list[
BucketsAccessKey
]
- property created_by#
User or Service who created the User.
- Type:
str
- property created_time#
Creation time of the User.
- Type:
datetime
- property display_name#
Display name for the User.
- Type:
str
- property email_id#
Email Id for the User.
- Type:
str
- property first_name#
First name for the User.
- Type:
str
- property idp_id#
Identifier of the IDP for the User.
- Type:
str
- property is_force_reset_password_enabled#
Flag to force the User to reset password.
- Type:
bool
- property last_login_time#
Last successful logged in time for the User.
- Type:
datetime
- property last_name#
Last name for the User.
- Type:
str
- property last_updated_by#
Last updated by this User ID.
- Type:
str
- property last_updated_time#
Last updated time of the User.
- Type:
datetime
- property locale#
Default locale for the User.
- Type:
str
- property middle_initial#
Middle name for the User.
- Type:
str
- property password#
Password for the User.
- Type:
str
- property region#
Default Region for the User.
- Type:
str
- property status#
- Type:
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property username#
Identifier for the User in the form an email address.
- Type:
str