Class File.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.File.Builder
-
- Enclosing class:
- File
public static final class File.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Filebuild()File.Buildercategory(FileCategory category)The category of the fileFile.Buildercategory(org.openapitools.jackson.nullable.JsonNullable<? extends FileCategory> category)The category of the fileFile.BuildercategoryId(java.lang.String categoryId)The categoryId of the documentsFile.BuildercategoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)The categoryId of the documentsFile.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.File.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.File.BuildercreatedAt(java.time.OffsetDateTime createdAt)The creation date of the fileFile.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The creation date of the fileFile.BuilderfileFormat(FileFileFormat fileFormat)The file format of the fileFile.BuilderfileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends FileFileFormat> fileFormat)The file format of the fileFile.Builderid(java.lang.String id)Unique identifierFile.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierFile.Buildername(java.lang.String name)The name of the fileFile.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the fileFile.Builderpath(java.lang.String path)The path where the file is storedFile.Builderpath(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)The path where the file is storedFile.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierFile.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierFile.BuilderremoteUrl(java.lang.String remoteUrl)URL where the file content is locatedFile.BuilderremoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)URL where the file content is locatedFile.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The update date of the fileFile.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The update date of the file
-
-
-
Method Detail
-
id
public File.Builder id(java.lang.String id)
Unique identifier
-
id
public File.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public File.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public File.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
name
public File.Builder name(java.lang.String name)
The name of the file
-
name
public File.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the file
-
path
public File.Builder path(java.lang.String path)
The path where the file is stored
-
path
public File.Builder path(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)
The path where the file is stored
-
category
public File.Builder category(FileCategory category)
The category of the file
-
category
public File.Builder category(org.openapitools.jackson.nullable.JsonNullable<? extends FileCategory> category)
The category of the file
-
contents
@Deprecated public File.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 File.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 File.Builder categoryId(java.lang.String categoryId)
The categoryId of the documents
-
categoryId
public File.Builder categoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
The categoryId of the documents
-
createdAt
public File.Builder createdAt(java.time.OffsetDateTime createdAt)
The creation date of the file
-
createdAt
public File.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The creation date of the file
-
updatedAt
public File.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The update date of the file
-
updatedAt
public File.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The update date of the file
-
remoteUrl
public File.Builder remoteUrl(java.lang.String remoteUrl)
URL where the file content is located
-
remoteUrl
public File.Builder remoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)
URL where the file content is located
-
fileFormat
public File.Builder fileFormat(FileFileFormat fileFormat)
The file format of the file
-
fileFormat
public File.Builder fileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends FileFileFormat> fileFormat)
The file format of the file
-
build
public File build()
-
-