Class Project.Builder
-
- All Implemented Interfaces:
public final class Project.BuilderA builder for Project.
-
-
Method Summary
Modifier and Type Method Description final Project.Builderid(String id)The identifier, which can be referenced in API endpoints final Project.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Project.BuildercreatedAt(Long createdAt)The Unix timestamp (in seconds) of when the project was created. final Project.BuildercreatedAt(JsonField<Long> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final Project.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final Project.BuilderarchivedAt(Long archivedAt)The Unix timestamp (in seconds) of when the project was archived or null.final Project.BuilderarchivedAt(Long archivedAt)Alias for Builder.archivedAt. final Project.BuilderarchivedAt(Optional<Long> archivedAt)Alias for calling Builder.archivedAt with archivedAt.orElse(null).final Project.BuilderarchivedAt(JsonField<Long> archivedAt)Sets Builder.archivedAt to an arbitrary JSON value. final Project.BuilderexternalKeyId(String externalKeyId)The external key associated with the project. final Project.BuilderexternalKeyId(Optional<String> externalKeyId)Alias for calling Builder.externalKeyId with externalKeyId.orElse(null).final Project.BuilderexternalKeyId(JsonField<String> externalKeyId)Sets Builder.externalKeyId to an arbitrary JSON value. final Project.Buildername(String name)The name of the project. final Project.Buildername(Optional<String> name)Alias for calling Builder.name with name.orElse(null).final Project.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Project.Builderstatus(String status)activeorarchivedfinal Project.Builderstatus(Optional<String> status)Alias for calling Builder.status with status.orElse(null).final Project.Builderstatus(JsonField<String> status)Sets Builder.status to an arbitrary JSON value. final Project.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Project.BuilderputAdditionalProperty(String key, JsonValue value)final Project.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Project.BuilderremoveAdditionalProperty(String key)final Project.BuilderremoveAllAdditionalProperties(Set<String> keys)final Projectbuild()Returns an immutable instance of Project. -
-
Method Detail
-
id
final Project.Builder id(String id)
The identifier, which can be referenced in API endpoints
-
id
final Project.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 Project.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) of when the project was created.
-
createdAt
final Project.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.
-
object_
final Project.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("organization.project")This method is primarily for setting the field to an undocumented or not yet supported value.
-
archivedAt
final Project.Builder archivedAt(Long archivedAt)
The Unix timestamp (in seconds) of when the project was archived or
null.
-
archivedAt
final Project.Builder archivedAt(Long archivedAt)
Alias for Builder.archivedAt.
This unboxed primitive overload exists for backwards compatibility.
-
archivedAt
final Project.Builder archivedAt(Optional<Long> archivedAt)
Alias for calling Builder.archivedAt with
archivedAt.orElse(null).
-
archivedAt
final Project.Builder archivedAt(JsonField<Long> archivedAt)
Sets Builder.archivedAt to an arbitrary JSON value.
You should usually call Builder.archivedAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalKeyId
final Project.Builder externalKeyId(String externalKeyId)
The external key associated with the project.
-
externalKeyId
final Project.Builder externalKeyId(Optional<String> externalKeyId)
Alias for calling Builder.externalKeyId with
externalKeyId.orElse(null).
-
externalKeyId
final Project.Builder externalKeyId(JsonField<String> externalKeyId)
Sets Builder.externalKeyId to an arbitrary JSON value.
You should usually call Builder.externalKeyId 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 Project.Builder name(String name)
The name of the project. This appears in reporting.
-
name
final Project.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final Project.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.
-
status
final Project.Builder status(String status)
activeorarchived
-
status
final Project.Builder status(Optional<String> status)
Alias for calling Builder.status with
status.orElse(null).
-
status
final Project.Builder status(JsonField<String> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status 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 Project.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Project.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Project.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Project.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Project.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-