Class ApiKeyUserActor
-
- All Implemented Interfaces:
public final class ApiKeyUserActor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classApiKeyUserActor.BuilderA builder for ApiKeyUserActor.
-
Method Summary
Modifier and Type Method Description final StringuserId()ID of the User the API key acts as. final JsonValue_type()Principal type. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final ApiKeyUserActor.BuildertoBuilder()final ApiKeyUserActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ApiKeyUserActor.Builderbuilder()Returns a mutable builder for constructing an instance of ApiKeyUserActor. final static ApiKeyUserActorof(String userId)Returns an immutable instance of ApiKeyUserActor with the required userId set to the given value. -
-
Method Detail
-
_type
final JsonValue _type()
Principal type. Always
"user_actor"for a User.Expected to always return the following:
JsonValue.from("user_actor")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ApiKeyUserActor.Builder toBuilder()
-
validate
final ApiKeyUserActor validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ApiKeyUserActor.Builder builder()
Returns a mutable builder for constructing an instance of ApiKeyUserActor.
The following fields are required:
.userId()
-
of
final static ApiKeyUserActor of(String userId)
Returns an immutable instance of ApiKeyUserActor with the required userId set to the given value.
-
-
-
-