Class File
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.File
-
public class File extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFile.Builder
-
Constructor Summary
Constructors Constructor Description File()File(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<? extends FileCategory> 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 FileFileFormat> fileFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static File.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<FileCategory>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<FileFileFormat>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>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 fileFilewithCategory(FileCategory category)The category of the fileFilewithCategory(org.openapitools.jackson.nullable.JsonNullable<? extends FileCategory> category)The category of the fileFilewithCategoryId(java.lang.String categoryId)The categoryId of the documentsFilewithCategoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)The categoryId of the documentsFilewithContents(java.util.List<Content> contents)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.FilewithContents(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.FilewithCreatedAt(java.time.OffsetDateTime createdAt)The creation date of the fileFilewithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The creation date of the fileFilewithFileFormat(FileFileFormat fileFormat)The file format of the fileFilewithFileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends FileFileFormat> fileFormat)The file format of the fileFilewithId(java.lang.String id)Unique identifierFilewithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierFilewithName(java.lang.String name)The name of the fileFilewithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the fileFilewithRemoteId(java.lang.String remoteId)Provider's unique identifierFilewithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierFilewithRemoteUrl(java.lang.String remoteUrl)URL where the file content is locatedFilewithRemoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)URL where the file content is locatedFilewithUpdatedAt(java.time.OffsetDateTime updatedAt)The update date of the fileFilewithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The update date of the file
-
-
-
Constructor Detail
-
File
public File(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<? extends FileCategory> 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 FileFileFormat> fileFormat)
-
File
public File()
-
-
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
-
category
public org.openapitools.jackson.nullable.JsonNullable<FileCategory> 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<FileFileFormat> fileFormat()
The file format of the file
-
builder
public static File.Builder builder()
-
withId
public File withId(java.lang.String id)
Unique identifier
-
withId
public File withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public File withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public File withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withName
public File withName(java.lang.String name)
The name of the file
-
withName
public File withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the file
-
withCategory
public File withCategory(FileCategory category)
The category of the file
-
withCategory
public File withCategory(org.openapitools.jackson.nullable.JsonNullable<? extends FileCategory> category)
The category of the file
-
withContents
@Deprecated public File 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 File 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 File withCategoryId(java.lang.String categoryId)
The categoryId of the documents
-
withCategoryId
public File withCategoryId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
The categoryId of the documents
-
withCreatedAt
public File withCreatedAt(java.time.OffsetDateTime createdAt)
The creation date of the file
-
withCreatedAt
public File withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The creation date of the file
-
withUpdatedAt
public File withUpdatedAt(java.time.OffsetDateTime updatedAt)
The update date of the file
-
withUpdatedAt
public File withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The update date of the file
-
withRemoteUrl
public File withRemoteUrl(java.lang.String remoteUrl)
URL where the file content is located
-
withRemoteUrl
public File withRemoteUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)
URL where the file content is located
-
withFileFormat
public File withFileFormat(FileFileFormat fileFormat)
The file format of the file
-
withFileFormat
public File withFileFormat(org.openapitools.jackson.nullable.JsonNullable<? extends FileFileFormat> 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
-
-