
com.aliyun.dianjin20240628.models.GetDocumentChunkListResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dianjin20240628 Show documentation
Show all versions of dianjin20240628 Show documentation
Alibaba Cloud DianJin (20240628) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dianjin20240628.models;
import com.aliyun.tea.*;
public class GetDocumentChunkListResponseBody extends TeaModel {
/**
* example:
* null
*/
@NameInMap("cost")
public Long cost;
@NameInMap("data")
public GetDocumentChunkListResponseBodyData data;
/**
* example:
* null
*/
@NameInMap("dataType")
public String dataType;
/**
* example:
* 0
*/
@NameInMap("errCode")
public String errCode;
/**
* example:
* ok
*/
@NameInMap("message")
public String message;
/**
* example:
* 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
*/
@NameInMap("requestId")
public String requestId;
/**
* example:
* true
*/
@NameInMap("success")
public Boolean success;
/**
* example:
* 2024-04-24 11:54:34
*/
@NameInMap("time")
public String time;
public static GetDocumentChunkListResponseBody build(java.util.Map map) throws Exception {
GetDocumentChunkListResponseBody self = new GetDocumentChunkListResponseBody();
return TeaModel.build(map, self);
}
public GetDocumentChunkListResponseBody setCost(Long cost) {
this.cost = cost;
return this;
}
public Long getCost() {
return this.cost;
}
public GetDocumentChunkListResponseBody setData(GetDocumentChunkListResponseBodyData data) {
this.data = data;
return this;
}
public GetDocumentChunkListResponseBodyData getData() {
return this.data;
}
public GetDocumentChunkListResponseBody setDataType(String dataType) {
this.dataType = dataType;
return this;
}
public String getDataType() {
return this.dataType;
}
public GetDocumentChunkListResponseBody setErrCode(String errCode) {
this.errCode = errCode;
return this;
}
public String getErrCode() {
return this.errCode;
}
public GetDocumentChunkListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetDocumentChunkListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetDocumentChunkListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public GetDocumentChunkListResponseBody setTime(String time) {
this.time = time;
return this;
}
public String getTime() {
return this.time;
}
public static class GetDocumentChunkListResponseBodyDataRecordsPos extends TeaModel {
@NameInMap("axisArray")
public java.util.List axisArray;
/**
* example:
* 1
*/
@NameInMap("page")
public Integer page;
@NameInMap("textHighlightArea")
public java.util.List textHighlightArea;
public static GetDocumentChunkListResponseBodyDataRecordsPos build(java.util.Map map) throws Exception {
GetDocumentChunkListResponseBodyDataRecordsPos self = new GetDocumentChunkListResponseBodyDataRecordsPos();
return TeaModel.build(map, self);
}
public GetDocumentChunkListResponseBodyDataRecordsPos setAxisArray(java.util.List axisArray) {
this.axisArray = axisArray;
return this;
}
public java.util.List getAxisArray() {
return this.axisArray;
}
public GetDocumentChunkListResponseBodyDataRecordsPos setPage(Integer page) {
this.page = page;
return this;
}
public Integer getPage() {
return this.page;
}
public GetDocumentChunkListResponseBodyDataRecordsPos setTextHighlightArea(java.util.List textHighlightArea) {
this.textHighlightArea = textHighlightArea;
return this;
}
public java.util.List getTextHighlightArea() {
return this.textHighlightArea;
}
}
public static class GetDocumentChunkListResponseBodyDataRecords extends TeaModel {
/**
* example:
* 28377468263482764
*/
@NameInMap("chunkId")
public String chunkId;
/**
* example:
* {"a":"1"}
*/
@NameInMap("chunkMeta")
public java.util.Map chunkMeta;
/**
* example:
* oss-xxxx-hangzhou.com/test.pdf
*/
@NameInMap("chunkOssUrl")
public String chunkOssUrl;
@NameInMap("chunkText")
public String chunkText;
/**
* example:
* text
*/
@NameInMap("chunkType")
public String chunkType;
/**
* example:
* 8947387648356
*/
@NameInMap("docId")
public String docId;
/**
* example:
* pdf
*/
@NameInMap("fileType")
public String fileType;
/**
* example:
* jhsdvne
*/
@NameInMap("libraryId")
public String libraryId;
@NameInMap("libraryName")
public String libraryName;
/**
* example:
* 947538465
*/
@NameInMap("nextChunkId")
public String nextChunkId;
@NameInMap("pos")
public java.util.List pos;
/**
* example:
* 9848346548365
*/
@NameInMap("preChunkId")
public String preChunkId;
/**
* example:
* 0.5
*/
@NameInMap("score")
public Float score;
/**
* example:
* test
*/
@NameInMap("title")
public String title;
public static GetDocumentChunkListResponseBodyDataRecords build(java.util.Map map) throws Exception {
GetDocumentChunkListResponseBodyDataRecords self = new GetDocumentChunkListResponseBodyDataRecords();
return TeaModel.build(map, self);
}
public GetDocumentChunkListResponseBodyDataRecords setChunkId(String chunkId) {
this.chunkId = chunkId;
return this;
}
public String getChunkId() {
return this.chunkId;
}
public GetDocumentChunkListResponseBodyDataRecords setChunkMeta(java.util.Map chunkMeta) {
this.chunkMeta = chunkMeta;
return this;
}
public java.util.Map getChunkMeta() {
return this.chunkMeta;
}
public GetDocumentChunkListResponseBodyDataRecords setChunkOssUrl(String chunkOssUrl) {
this.chunkOssUrl = chunkOssUrl;
return this;
}
public String getChunkOssUrl() {
return this.chunkOssUrl;
}
public GetDocumentChunkListResponseBodyDataRecords setChunkText(String chunkText) {
this.chunkText = chunkText;
return this;
}
public String getChunkText() {
return this.chunkText;
}
public GetDocumentChunkListResponseBodyDataRecords setChunkType(String chunkType) {
this.chunkType = chunkType;
return this;
}
public String getChunkType() {
return this.chunkType;
}
public GetDocumentChunkListResponseBodyDataRecords setDocId(String docId) {
this.docId = docId;
return this;
}
public String getDocId() {
return this.docId;
}
public GetDocumentChunkListResponseBodyDataRecords setFileType(String fileType) {
this.fileType = fileType;
return this;
}
public String getFileType() {
return this.fileType;
}
public GetDocumentChunkListResponseBodyDataRecords setLibraryId(String libraryId) {
this.libraryId = libraryId;
return this;
}
public String getLibraryId() {
return this.libraryId;
}
public GetDocumentChunkListResponseBodyDataRecords setLibraryName(String libraryName) {
this.libraryName = libraryName;
return this;
}
public String getLibraryName() {
return this.libraryName;
}
public GetDocumentChunkListResponseBodyDataRecords setNextChunkId(String nextChunkId) {
this.nextChunkId = nextChunkId;
return this;
}
public String getNextChunkId() {
return this.nextChunkId;
}
public GetDocumentChunkListResponseBodyDataRecords setPos(java.util.List pos) {
this.pos = pos;
return this;
}
public java.util.List getPos() {
return this.pos;
}
public GetDocumentChunkListResponseBodyDataRecords setPreChunkId(String preChunkId) {
this.preChunkId = preChunkId;
return this;
}
public String getPreChunkId() {
return this.preChunkId;
}
public GetDocumentChunkListResponseBodyDataRecords setScore(Float score) {
this.score = score;
return this;
}
public Float getScore() {
return this.score;
}
public GetDocumentChunkListResponseBodyDataRecords setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
public static class GetDocumentChunkListResponseBodyData extends TeaModel {
/**
* example:
* 1
*/
@NameInMap("currentPage")
public Long currentPage;
/**
* example:
* 10
*/
@NameInMap("pageSize")
public Long pageSize;
@NameInMap("records")
public java.util.List records;
/**
* example:
* 10
*/
@NameInMap("totalPages")
public Long totalPages;
/**
* example:
* 100
*/
@NameInMap("totalRecords")
public Long totalRecords;
public static GetDocumentChunkListResponseBodyData build(java.util.Map map) throws Exception {
GetDocumentChunkListResponseBodyData self = new GetDocumentChunkListResponseBodyData();
return TeaModel.build(map, self);
}
public GetDocumentChunkListResponseBodyData setCurrentPage(Long currentPage) {
this.currentPage = currentPage;
return this;
}
public Long getCurrentPage() {
return this.currentPage;
}
public GetDocumentChunkListResponseBodyData setPageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
public Long getPageSize() {
return this.pageSize;
}
public GetDocumentChunkListResponseBodyData setRecords(java.util.List records) {
this.records = records;
return this;
}
public java.util.List getRecords() {
return this.records;
}
public GetDocumentChunkListResponseBodyData setTotalPages(Long totalPages) {
this.totalPages = totalPages;
return this;
}
public Long getTotalPages() {
return this.totalPages;
}
public GetDocumentChunkListResponseBodyData setTotalRecords(Long totalRecords) {
this.totalRecords = totalRecords;
return this;
}
public Long getTotalRecords() {
return this.totalRecords;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy