Class UnifiedUploadRequestDto.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.UnifiedUploadRequestDto.Builder
-
- Enclosing class:
- UnifiedUploadRequestDto
public static final class UnifiedUploadRequestDto.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnifiedUploadRequestDtobuild()UnifiedUploadRequestDto.Buildercategory(UnifiedUploadRequestDtoCategory category)The category object for associating uploaded files.UnifiedUploadRequestDto.Buildercategory(org.openapitools.jackson.nullable.JsonNullable<? extends UnifiedUploadRequestDtoCategory> category)The category object for associating uploaded files.UnifiedUploadRequestDto.BuildercategoryId(java.lang.String categoryId)The categoryId of the documentsUnifiedUploadRequestDto.BuildercategoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)The categoryId of the documentsUnifiedUploadRequestDto.Builderconfidential(UnifiedUploadRequestDtoConfidential confidential)The confidentiality level of the file to be uploadedUnifiedUploadRequestDto.Builderconfidential(org.openapitools.jackson.nullable.JsonNullable<? extends UnifiedUploadRequestDtoConfidential> confidential)The confidentiality level of the file to be uploadedUnifiedUploadRequestDto.Buildercontent(java.lang.String content)The base64 encoded content of the file to uploadUnifiedUploadRequestDto.Buildercontent(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content)The base64 encoded content of the file to uploadUnifiedUploadRequestDto.BuilderfileFormat(UnifiedUploadRequestDtoFileFormat fileFormat)The file format of the fileUnifiedUploadRequestDto.BuilderfileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends UnifiedUploadRequestDtoFileFormat> fileFormat)The file format of the fileUnifiedUploadRequestDto.Buildername(java.lang.String name)The filename of the file to uploadUnifiedUploadRequestDto.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The filename of the file to uploadUnifiedUploadRequestDto.Builderpath(java.lang.String path)The path for the file to be uploaded toUnifiedUploadRequestDto.Builderpath(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)The path for the file to be uploaded to
-
-
-
Method Detail
-
name
public UnifiedUploadRequestDto.Builder name(java.lang.String name)
The filename of the file to upload
-
name
public UnifiedUploadRequestDto.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The filename of the file to upload
-
fileFormat
public UnifiedUploadRequestDto.Builder fileFormat(UnifiedUploadRequestDtoFileFormat fileFormat)
The file format of the file
-
fileFormat
public UnifiedUploadRequestDto.Builder fileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends UnifiedUploadRequestDtoFileFormat> fileFormat)
The file format of the file
-
content
public UnifiedUploadRequestDto.Builder content(java.lang.String content)
The base64 encoded content of the file to upload
-
content
public UnifiedUploadRequestDto.Builder content(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content)
The base64 encoded content of the file to upload
-
categoryId
public UnifiedUploadRequestDto.Builder categoryId(java.lang.String categoryId)
The categoryId of the documents
-
categoryId
public UnifiedUploadRequestDto.Builder categoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
The categoryId of the documents
-
path
public UnifiedUploadRequestDto.Builder path(java.lang.String path)
The path for the file to be uploaded to
-
path
public UnifiedUploadRequestDto.Builder path(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)
The path for the file to be uploaded to
-
category
public UnifiedUploadRequestDto.Builder category(UnifiedUploadRequestDtoCategory category)
The category object for associating uploaded files. If both an ID and a name are provided, the ID takes precedence.
-
category
public UnifiedUploadRequestDto.Builder category(org.openapitools.jackson.nullable.JsonNullable<? extends UnifiedUploadRequestDtoCategory> category)
The category object for associating uploaded files. If both an ID and a name are provided, the ID takes precedence.
-
confidential
public UnifiedUploadRequestDto.Builder confidential(UnifiedUploadRequestDtoConfidential confidential)
The confidentiality level of the file to be uploaded
-
confidential
public UnifiedUploadRequestDto.Builder confidential(org.openapitools.jackson.nullable.JsonNullable<? extends UnifiedUploadRequestDtoConfidential> confidential)
The confidentiality level of the file to be uploaded
-
build
public UnifiedUploadRequestDto build()
-
-