Class BetaApiKeyUserActor
-
- All Implemented Interfaces:
public final class BetaApiKeyUserActor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaApiKeyUserActor.BuilderA builder for BetaApiKeyUserActor.
-
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 BetaApiKeyUserActor.BuildertoBuilder()final BetaApiKeyUserActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaApiKeyUserActor.Builderbuilder()Returns a mutable builder for constructing an instance of BetaApiKeyUserActor. final static BetaApiKeyUserActorof(String userId)Returns an immutable instance of BetaApiKeyUserActor 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 BetaApiKeyUserActor.Builder toBuilder()
-
validate
final BetaApiKeyUserActor 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 BetaApiKeyUserActor.Builder builder()
Returns a mutable builder for constructing an instance of BetaApiKeyUserActor.
The following fields are required:
.userId()
-
of
final static BetaApiKeyUserActor of(String userId)
Returns an immutable instance of BetaApiKeyUserActor with the required userId set to the given value.
-
-
-
-