User class abstract
A JSON value representing the User.
Properties:
- id - JSON object with the User Id. Specify this field to update the device. Referencing non-existing User Id will cause error. Omit this field to create new customer.
- createdTime - Timestamp of the user creation, in milliseconds
- additionalInfo - Additional parameters of the user. May include: 'defaultDashboardId' (string, UUID of the default dashboard), 'defaultDashboardFullscreen' (boolean), 'homeDashboardId' (string, UUID of the home dashboard), 'homeDashboardHideToolbar' (boolean), 'lang' (string, user locale, e.g. 'en_US'), 'authProviderName' (string, name of the authentication provider).
- tenantId - JSON object with the Tenant Id.
- customerId - JSON object with the Customer Id.
- email - Email of the user
- authority - Authority
- firstName - First name of the user
- lastName - Last name of the user
- phone - Phone number of the user
- customMenuId
- version
- name - Duplicates the email of the user, readonly
- ownerId - JSON object with Customer or Tenant Id
- Annotations
-
- @BuiltValue.new()
Constructors
- User([void updates(UserBuilder b)])
-
factory
Properties
- additionalInfo → JsonObject?
-
Additional parameters of the user. May include: 'defaultDashboardId' (string, UUID of the default dashboard), 'defaultDashboardFullscreen' (boolean), 'homeDashboardId' (string, UUID of the home dashboard), 'homeDashboardHideToolbar' (boolean), 'lang' (string, user locale, e.g. 'en_US'), 'authProviderName' (string, name of the authentication provider).
no setter
-
Authority
no setter
- createdTime → int?
-
Timestamp of the user creation, in milliseconds
no setter
- customerId → CustomerId?
-
JSON object with the Customer Id.
no setter
- customMenuId → CustomMenuId?
-
no setter
- email → String
-
Email of the user
no setter
- firstName → String?
-
First name of the user
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → UserId?
-
JSON object with the User Id. Specify this field to update the device. Referencing non-existing User Id will cause error. Omit this field to create new customer.
no setter
- lastName → String?
-
Last name of the user
no setter
- name → String?
-
Duplicates the email of the user, readonly
no setter
- ownerId → EntityId?
-
JSON object with Customer or Tenant Id
no setter
- phone → String?
-
Phone number of the user
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tenantId → TenantId?
-
JSON object with the Tenant Id.
no setter
- version → int?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(UserBuilder)) → User -
Rebuilds the instance.
inherited
-
toBuilder(
) → UserBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
User> -
no setter