Class AdminApiKey.Owner.Builder
-
- All Implemented Interfaces:
public final class AdminApiKey.Owner.BuilderA builder for Owner.
-
-
Method Summary
-
-
Method Detail
-
id
final AdminApiKey.Owner.Builder id(String id)
The identifier, which can be referenced in API endpoints
-
id
final AdminApiKey.Owner.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 AdminApiKey.Owner.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) of when the user was created
-
createdAt
final AdminApiKey.Owner.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.
-
name
final AdminApiKey.Owner.Builder name(String name)
The name of the user
-
name
final AdminApiKey.Owner.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.
-
object_
final AdminApiKey.Owner.Builder object_(String object_)
The object type, which is always organization.user
-
object_
final AdminApiKey.Owner.Builder object_(JsonField<String> object_)
Sets Builder.object_ to an arbitrary JSON value.
You should usually call Builder.object_ 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 AdminApiKey.Owner.Builder role(String role)
Always
owner
-
role
final AdminApiKey.Owner.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.
-
type
final AdminApiKey.Owner.Builder type(String type)
Always
user
-
type
final AdminApiKey.Owner.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type 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 AdminApiKey.Owner.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AdminApiKey.Owner.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AdminApiKey.Owner.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AdminApiKey.Owner.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AdminApiKey.Owner.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AdminApiKey.Owner build()
Returns an immutable instance of Owner.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-