UpdateIdentityBody class abstract
Update Identity Body
Properties:
- credentials
- metadataAdmin - Store metadata about the user which is only accessible through admin APIs such as
GET /admin/identities/<id>
. - metadataPublic - Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field.
- schemaId - SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID.
- state - State is the identity's state. active StateActive inactive StateInactive
- traits - Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in
schema_id
.
- Annotations
-
- @BuiltValue()
Constructors
- UpdateIdentityBody([void updates(UpdateIdentityBodyBuilder b)])
-
factory
Properties
- credentials → IdentityWithCredentials?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadataAdmin → JsonObject?
-
Store metadata about the user which is only accessible through admin APIs such as
GET /admin/identities/<id>
.no setter - metadataPublic → JsonObject?
-
Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaId → String
-
SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID.
no setter
- state → UpdateIdentityBodyStateEnum
-
State is the identity's state. active StateActive inactive StateInactive
no setter
- traits → JsonObject
-
Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in
schema_id
.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(UpdateIdentityBodyBuilder)) → UpdateIdentityBody -
Rebuilds the instance.
inherited
-
toBuilder(
) → UpdateIdentityBodyBuilder -
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<
UpdateIdentityBody> -
no setter