Class Document
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Document
-
public class Document extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocument.Builder
-
Constructor Summary
Constructors Constructor Description Document()Document(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path, org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityCategory> category, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Content>> contents, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl, org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityFileFormat> fileFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Document.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<WorkEligibilityCategory>category()The category of the fileorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>categoryId()The categoryId of the documentsorg.openapitools.jackson.nullable.JsonNullable<java.util.List<Content>>contents()Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()The creation date of the filebooleanequals(java.lang.Object o)org.openapitools.jackson.nullable.JsonNullable<WorkEligibilityFileFormat>fileFormat()The file format of the fileinthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()The name of the fileorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>path()The path where the file is storedorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteUrl()URL where the file content is locatedjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()The update date of the fileDocumentwithCategory(WorkEligibilityCategory category)The category of the fileDocumentwithCategory(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityCategory> category)The category of the fileDocumentwithCategoryId(java.lang.String categoryId)The categoryId of the documentsDocumentwithCategoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)The categoryId of the documentsDocumentwithContents(java.util.List<Content> contents)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.DocumentwithContents(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.DocumentwithCreatedAt(java.time.OffsetDateTime createdAt)The creation date of the fileDocumentwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The creation date of the fileDocumentwithFileFormat(WorkEligibilityFileFormat fileFormat)The file format of the fileDocumentwithFileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityFileFormat> fileFormat)The file format of the fileDocumentwithId(java.lang.String id)Unique identifierDocumentwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierDocumentwithName(java.lang.String name)The name of the fileDocumentwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the fileDocumentwithPath(java.lang.String path)The path where the file is storedDocumentwithPath(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)The path where the file is storedDocumentwithRemoteId(java.lang.String remoteId)Provider's unique identifierDocumentwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierDocumentwithRemoteUrl(java.lang.String remoteUrl)URL where the file content is locatedDocumentwithRemoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)URL where the file content is locatedDocumentwithUpdatedAt(java.time.OffsetDateTime updatedAt)The update date of the fileDocumentwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The update date of the file
-
-
-
Constructor Detail
-
Document
public Document(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path, org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityCategory> category, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Content>> contents, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl, org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityFileFormat> fileFormat)
-
Document
public Document()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
The name of the file
-
path
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path()
The path where the file is stored
-
category
public org.openapitools.jackson.nullable.JsonNullable<WorkEligibilityCategory> category()
The category of the file
-
contents
@Deprecated public org.openapitools.jackson.nullable.JsonNullable<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 org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId()
The categoryId of the documents
-
createdAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
The creation date of the file
-
updatedAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
The update date of the file
-
remoteUrl
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl()
URL where the file content is located
-
fileFormat
public org.openapitools.jackson.nullable.JsonNullable<WorkEligibilityFileFormat> fileFormat()
The file format of the file
-
builder
public static final Document.Builder builder()
-
withId
public Document withId(java.lang.String id)
Unique identifier
-
withId
public Document withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public Document withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public Document withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withName
public Document withName(java.lang.String name)
The name of the file
-
withName
public Document withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the file
-
withPath
public Document withPath(java.lang.String path)
The path where the file is stored
-
withPath
public Document withPath(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)
The path where the file is stored
-
withCategory
public Document withCategory(WorkEligibilityCategory category)
The category of the file
-
withCategory
public Document withCategory(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityCategory> category)
The category of the file
-
withContents
@Deprecated public Document withContents(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
-
withContents
@Deprecated public Document withContents(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
-
withCategoryId
public Document withCategoryId(java.lang.String categoryId)
The categoryId of the documents
-
withCategoryId
public Document withCategoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
The categoryId of the documents
-
withCreatedAt
public Document withCreatedAt(java.time.OffsetDateTime createdAt)
The creation date of the file
-
withCreatedAt
public Document withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The creation date of the file
-
withUpdatedAt
public Document withUpdatedAt(java.time.OffsetDateTime updatedAt)
The update date of the file
-
withUpdatedAt
public Document withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The update date of the file
-
withRemoteUrl
public Document withRemoteUrl(java.lang.String remoteUrl)
URL where the file content is located
-
withRemoteUrl
public Document withRemoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)
URL where the file content is located
-
withFileFormat
public Document withFileFormat(WorkEligibilityFileFormat fileFormat)
The file format of the file
-
withFileFormat
public Document withFileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends WorkEligibilityFileFormat> fileFormat)
The file format of the file
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-