Class File


  • public class File
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  File.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<java.lang.String> path, 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.Builder builder()  
      org.openapitools.jackson.nullable.JsonNullable<FileCategory> category()
      The category of the file
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId()
      The categoryId of the documents
      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.
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
      The creation date of the file
      boolean equals​(java.lang.Object o)  
      org.openapitools.jackson.nullable.JsonNullable<FileFileFormat> fileFormat()
      The file format of the file
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
      Unique identifier
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
      The name of the file
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path()
      The path where the file is stored
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
      Provider's unique identifier
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl()
      URL where the file content is located
      java.lang.String toString()  
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
      The update date of the file
      File withCategory​(FileCategory category)
      The category of the file
      File withCategory​(org.openapitools.jackson.nullable.JsonNullable<? extends FileCategory> category)
      The category of the file
      File withCategoryId​(java.lang.String categoryId)
      The categoryId of the documents
      File withCategoryId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
      The categoryId of the documents
      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.
      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.
      File withCreatedAt​(java.time.OffsetDateTime createdAt)
      The creation date of the file
      File withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      The creation date of the file
      File withFileFormat​(FileFileFormat fileFormat)
      The file format of the file
      File withFileFormat​(org.openapitools.jackson.nullable.JsonNullable<? extends FileFileFormat> fileFormat)
      The file format of the file
      File withId​(java.lang.String id)
      Unique identifier
      File withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      File withName​(java.lang.String name)
      The name of the file
      File withName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
      The name of the file
      File withPath​(java.lang.String path)
      The path where the file is stored
      File withPath​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)
      The path where the file is stored
      File withRemoteId​(java.lang.String remoteId)
      Provider's unique identifier
      File withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      File withRemoteUrl​(java.lang.String remoteUrl)
      URL where the file content is located
      File withRemoteUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)
      URL where the file content is located
      File withUpdatedAt​(java.time.OffsetDateTime updatedAt)
      The update date of the file
      File withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      The update date of the file
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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<java.lang.String> path,
                    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
      • 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<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
      • 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
      • withPath

        public File withPath​(java.lang.String path)
        The path where the file is stored
      • withPath

        public File withPath​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> path)
        The path where the file is stored
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object