Class Document.Builder

  • Enclosing class:
    Document

    public static final class Document.Builder
    extends java.lang.Object
    • Method Detail

      • id

        public Document.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • remoteId

        public Document.Builder remoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • remoteId

        public Document.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • name

        public Document.Builder name​(java.lang.String name)
        The name of the file
      • name

        public Document.Builder name​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
        The name of the file
      • contents

        @Deprecated
        public Document.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 Document.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 Document.Builder categoryId​(java.lang.String categoryId)
        The categoryId of the documents
      • categoryId

        public Document.Builder categoryId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
        The categoryId of the documents
      • createdAt

        public Document.Builder createdAt​(java.time.OffsetDateTime createdAt)
        The creation date of the file
      • createdAt

        public Document.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The creation date of the file
      • updatedAt

        public Document.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
        The update date of the file
      • updatedAt

        public Document.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The update date of the file
      • remoteUrl

        public Document.Builder remoteUrl​(java.lang.String remoteUrl)
        URL where the file content is located
      • remoteUrl

        public Document.Builder remoteUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)
        URL where the file content is located