sdkms.v1.models.user module

Fortanix DSM REST API

This is a set of REST APIs for accessing the Fortanix Data Security Manager. This includes APIs for managing accounts, and for performing cryptographic and key management operations.

OpenAPI spec version: 1.0.0-20200608 Contact: support@fortanix.com Generated by: https://github.com/swagger-api/swagger-codegen.git

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

class sdkms.v1.models.user.User(user_id=None, user_email=None, email_verified=None, has_password=None, created_at=None, last_logged_in_at=None, first_name=None, last_name=None, account_role=None, groups=None, u2f_devices=None)[source]

Bases: object

swagger_types

The key is attribute name and the value is attribute type.

Type:

dict

attribute_map

The key is attribute name and the value is json key in definition.

Type:

dict

__init__(user_id=None, user_email=None, email_verified=None, has_password=None, created_at=None, last_logged_in_at=None, first_name=None, last_name=None, account_role=None, groups=None, u2f_devices=None)[source]

User - a model defined in Swagger

property account_role

Gets the account_role of this User. Roles for the user in the current account (if there is a selected account).

Type: list[UserAccountFlags]

Setter:

Sets the account_role of this User.

property created_at

Gets the created_at of this User. When this user was added to DSM.

Type: str

Setter:

Sets the created_at of this User.

property email_verified

Gets the email_verified of this User. Whether this user’s email has been verified.

Type: bool

Setter:

Sets the email_verified of this User.

property first_name

Gets the first_name of this User.

Type: str

Setter:

Sets the first_name of this User.

property groups

Gets the groups of this User.

Type: UserGroupMap

Setter:

Sets the groups of this User.

property has_password

Gets the has_password of this User. Whether this user has a password.

Type: bool

Setter:

Sets the has_password of this User.

property last_logged_in_at

Gets the last_logged_in_at of this User. When this user last logged in (if any).

Type: str

Setter:

Sets the last_logged_in_at of this User.

property last_name

Gets the last_name of this User.

Type: str

Setter:

Sets the last_name of this User.

property u2f_devices

Gets the u2f_devices of this User.

Type: list[U2fDevice]

Setter:

Sets the u2f_devices of this User.

property user_email

Gets the user_email of this User. The user’s email address. Must be unique.

Type: str

Setter:

Sets the user_email of this User.

property user_id

Gets the user_id of this User. User ID uniquely identifying this user.

Type: str

Setter:

Sets the user_id of this User.