Class ProjectApiKey.Owner.User.Builder
-
- All Implemented Interfaces:
public final class ProjectApiKey.Owner.User.BuilderA builder for User.
-
-
Method Summary
-
-
Method Detail
-
id
final ProjectApiKey.Owner.User.Builder id(String id)
The identifier, which can be referenced in API endpoints
-
id
final ProjectApiKey.Owner.User.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final ProjectApiKey.Owner.User.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) of when the user was created.
-
createdAt
final ProjectApiKey.Owner.User.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final ProjectApiKey.Owner.User.Builder email(String email)
The email address of the user.
-
email
final ProjectApiKey.Owner.User.Builder email(JsonField<String> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final ProjectApiKey.Owner.User.Builder name(String name)
The name of the user.
-
name
final ProjectApiKey.Owner.User.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
role
final ProjectApiKey.Owner.User.Builder role(String role)
The user's project role.
-
role
final ProjectApiKey.Owner.User.Builder role(JsonField<String> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ProjectApiKey.Owner.User.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectApiKey.Owner.User.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectApiKey.Owner.User.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectApiKey.Owner.User.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectApiKey.Owner.User.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectApiKey.Owner.User build()
Returns an immutable instance of User.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .email() .name() .role()
-
-
-
-