Class Document.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Document.Builder
-
- Enclosing class:
- Document
public static final class Document.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Documentbuild()Document.Buildercategory(WorkEligibilityCategory category)The category of the fileDocument.Buildercategory(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityCategory> category)The category of the fileDocument.BuildercategoryId(java.lang.String categoryId)The categoryId of the documentsDocument.BuildercategoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)The categoryId of the documentsDocument.Buildercontents(java.util.List<Content> contents)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Document.Buildercontents(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Content>> contents)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Document.BuildercreatedAt(java.time.OffsetDateTime createdAt)The creation date of the fileDocument.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The creation date of the fileDocument.BuilderfileFormat(WorkEligibilityFileFormat fileFormat)The file format of the fileDocument.BuilderfileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityFileFormat> fileFormat)The file format of the fileDocument.Builderid(java.lang.String id)Unique identifierDocument.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierDocument.Buildername(java.lang.String name)The name of the fileDocument.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the fileDocument.Builderpath(java.lang.String path)The path where the file is storedDocument.Builderpath(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)The path where the file is storedDocument.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierDocument.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierDocument.BuilderremoteUrl(java.lang.String remoteUrl)URL where the file content is locatedDocument.BuilderremoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)URL where the file content is locatedDocument.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The update date of the fileDocument.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The update date of the file
-
-
-
Method Detail
-
id
public Document.Builder id(java.lang.String id)
Unique identifier
-
id
public Document.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public Document.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public Document.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
name
public Document.Builder name(java.lang.String name)
The name of the file
-
name
public Document.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the file
-
path
public Document.Builder path(java.lang.String path)
The path where the file is stored
-
path
public Document.Builder path(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)
The path where the file is stored
-
category
public Document.Builder category(WorkEligibilityCategory category)
The category of the file
-
category
public Document.Builder category(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityCategory> category)
The category of the file
-
contents
@Deprecated public Document.Builder contents(java.util.List<Content> contents)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The content of the file. Deprecated, use `url` and `file_format` one level up instead
-
contents
@Deprecated public Document.Builder contents(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Content>> contents)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The content of the file. Deprecated, use `url` and `file_format` one level up instead
-
categoryId
public Document.Builder categoryId(java.lang.String categoryId)
The categoryId of the documents
-
categoryId
public Document.Builder categoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
The categoryId of the documents
-
createdAt
public Document.Builder createdAt(java.time.OffsetDateTime createdAt)
The creation date of the file
-
createdAt
public Document.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The creation date of the file
-
updatedAt
public Document.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The update date of the file
-
updatedAt
public Document.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The update date of the file
-
remoteUrl
public Document.Builder remoteUrl(java.lang.String remoteUrl)
URL where the file content is located
-
remoteUrl
public Document.Builder remoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)
URL where the file content is located
-
fileFormat
public Document.Builder fileFormat(WorkEligibilityFileFormat fileFormat)
The file format of the file
-
fileFormat
public Document.Builder fileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityFileFormat> fileFormat)
The file format of the file
-
build
public Document build()
-
-