com.aliyun.sdk.service.chatbot20220408.models.SearchDocResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-chatbot20220408 Show documentation
Show all versions of alibabacloud-chatbot20220408 Show documentation
Alibaba Cloud Chatbot (20220408) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.chatbot20220408.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SearchDocResponseBody} extends {@link TeaModel}
*
* SearchDocResponseBody
*/
public class SearchDocResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DocHits")
private java.util.List < DocHits> docHits;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private SearchDocResponseBody(Builder builder) {
this.docHits = builder.docHits;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static SearchDocResponseBody create() {
return builder().build();
}
/**
* @return docHits
*/
public java.util.List < DocHits> getDocHits() {
return this.docHits;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < DocHits> docHits;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* DocHits.
*/
public Builder docHits(java.util.List < DocHits> docHits) {
this.docHits = docHits;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* Id of the request
*
* example:
* E3E5C779-A630-45AC-B0F2-A4506A4212F1
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public SearchDocResponseBody build() {
return new SearchDocResponseBody(this);
}
}
/**
*
* {@link SearchDocResponseBody} extends {@link TeaModel}
*
* SearchDocResponseBody
*/
public static class DocTags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DefaultTag")
private Boolean defaultTag;
@com.aliyun.core.annotation.NameInMap("GroupId")
private Long groupId;
@com.aliyun.core.annotation.NameInMap("GroupName")
private String groupName;
@com.aliyun.core.annotation.NameInMap("TagId")
private Long tagId;
@com.aliyun.core.annotation.NameInMap("TagName")
private String tagName;
private DocTags(Builder builder) {
this.defaultTag = builder.defaultTag;
this.groupId = builder.groupId;
this.groupName = builder.groupName;
this.tagId = builder.tagId;
this.tagName = builder.tagName;
}
public static Builder builder() {
return new Builder();
}
public static DocTags create() {
return builder().build();
}
/**
* @return defaultTag
*/
public Boolean getDefaultTag() {
return this.defaultTag;
}
/**
* @return groupId
*/
public Long getGroupId() {
return this.groupId;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return tagId
*/
public Long getTagId() {
return this.tagId;
}
/**
* @return tagName
*/
public String getTagName() {
return this.tagName;
}
public static final class Builder {
private Boolean defaultTag;
private Long groupId;
private String groupName;
private Long tagId;
private String tagName;
/**
* DefaultTag.
*/
public Builder defaultTag(Boolean defaultTag) {
this.defaultTag = defaultTag;
return this;
}
/**
* GroupId.
*/
public Builder groupId(Long groupId) {
this.groupId = groupId;
return this;
}
/**
* GroupName.
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* TagId.
*/
public Builder tagId(Long tagId) {
this.tagId = tagId;
return this;
}
/**
* TagName.
*/
public Builder tagName(String tagName) {
this.tagName = tagName;
return this;
}
public DocTags build() {
return new DocTags(this);
}
}
}
/**
*
* {@link SearchDocResponseBody} extends {@link TeaModel}
*
* SearchDocResponseBody
*/
public static class DocHits extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BizCode")
private String bizCode;
@com.aliyun.core.annotation.NameInMap("CategoryId")
private Long categoryId;
@com.aliyun.core.annotation.NameInMap("Config")
private String config;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("CreateUserId")
private Long createUserId;
@com.aliyun.core.annotation.NameInMap("CreateUserName")
private String createUserName;
@com.aliyun.core.annotation.NameInMap("DocName")
private String docName;
@com.aliyun.core.annotation.NameInMap("DocTags")
private java.util.List < DocTags> docTags;
@com.aliyun.core.annotation.NameInMap("EffectStatus")
private Integer effectStatus;
@com.aliyun.core.annotation.NameInMap("EndDate")
private String endDate;
@com.aliyun.core.annotation.NameInMap("KnowledgeId")
private Long knowledgeId;
@com.aliyun.core.annotation.NameInMap("Meta")
private String meta;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("ModifyUserId")
private Long modifyUserId;
@com.aliyun.core.annotation.NameInMap("ModifyUserName")
private String modifyUserName;
@com.aliyun.core.annotation.NameInMap("ProcessCanRetry")
private Boolean processCanRetry;
@com.aliyun.core.annotation.NameInMap("ProcessMessage")
private String processMessage;
@com.aliyun.core.annotation.NameInMap("ProcessStatus")
private Integer processStatus;
@com.aliyun.core.annotation.NameInMap("StartDate")
private String startDate;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("Url")
private String url;
private DocHits(Builder builder) {
this.bizCode = builder.bizCode;
this.categoryId = builder.categoryId;
this.config = builder.config;
this.createTime = builder.createTime;
this.createUserId = builder.createUserId;
this.createUserName = builder.createUserName;
this.docName = builder.docName;
this.docTags = builder.docTags;
this.effectStatus = builder.effectStatus;
this.endDate = builder.endDate;
this.knowledgeId = builder.knowledgeId;
this.meta = builder.meta;
this.modifyTime = builder.modifyTime;
this.modifyUserId = builder.modifyUserId;
this.modifyUserName = builder.modifyUserName;
this.processCanRetry = builder.processCanRetry;
this.processMessage = builder.processMessage;
this.processStatus = builder.processStatus;
this.startDate = builder.startDate;
this.status = builder.status;
this.url = builder.url;
}
public static Builder builder() {
return new Builder();
}
public static DocHits create() {
return builder().build();
}
/**
* @return bizCode
*/
public String getBizCode() {
return this.bizCode;
}
/**
* @return categoryId
*/
public Long getCategoryId() {
return this.categoryId;
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return createUserId
*/
public Long getCreateUserId() {
return this.createUserId;
}
/**
* @return createUserName
*/
public String getCreateUserName() {
return this.createUserName;
}
/**
* @return docName
*/
public String getDocName() {
return this.docName;
}
/**
* @return docTags
*/
public java.util.List < DocTags> getDocTags() {
return this.docTags;
}
/**
* @return effectStatus
*/
public Integer getEffectStatus() {
return this.effectStatus;
}
/**
* @return endDate
*/
public String getEndDate() {
return this.endDate;
}
/**
* @return knowledgeId
*/
public Long getKnowledgeId() {
return this.knowledgeId;
}
/**
* @return meta
*/
public String getMeta() {
return this.meta;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return modifyUserId
*/
public Long getModifyUserId() {
return this.modifyUserId;
}
/**
* @return modifyUserName
*/
public String getModifyUserName() {
return this.modifyUserName;
}
/**
* @return processCanRetry
*/
public Boolean getProcessCanRetry() {
return this.processCanRetry;
}
/**
* @return processMessage
*/
public String getProcessMessage() {
return this.processMessage;
}
/**
* @return processStatus
*/
public Integer getProcessStatus() {
return this.processStatus;
}
/**
* @return startDate
*/
public String getStartDate() {
return this.startDate;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return url
*/
public String getUrl() {
return this.url;
}
public static final class Builder {
private String bizCode;
private Long categoryId;
private String config;
private String createTime;
private Long createUserId;
private String createUserName;
private String docName;
private java.util.List < DocTags> docTags;
private Integer effectStatus;
private String endDate;
private Long knowledgeId;
private String meta;
private String modifyTime;
private Long modifyUserId;
private String modifyUserName;
private Boolean processCanRetry;
private String processMessage;
private Integer processStatus;
private String startDate;
private Integer status;
private String url;
/**
* BizCode.
*/
public Builder bizCode(String bizCode) {
this.bizCode = bizCode;
return this;
}
/**
* CategoryId.
*/
public Builder categoryId(Long categoryId) {
this.categoryId = categoryId;
return this;
}
/**
* Config.
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* CreateUserId.
*/
public Builder createUserId(Long createUserId) {
this.createUserId = createUserId;
return this;
}
/**
* CreateUserName.
*/
public Builder createUserName(String createUserName) {
this.createUserName = createUserName;
return this;
}
/**
* DocName.
*/
public Builder docName(String docName) {
this.docName = docName;
return this;
}
/**
* DocTags.
*/
public Builder docTags(java.util.List < DocTags> docTags) {
this.docTags = docTags;
return this;
}
/**
* EffectStatus.
*/
public Builder effectStatus(Integer effectStatus) {
this.effectStatus = effectStatus;
return this;
}
/**
* EndDate.
*/
public Builder endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* KnowledgeId.
*/
public Builder knowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
return this;
}
/**
* Meta.
*/
public Builder meta(String meta) {
this.meta = meta;
return this;
}
/**
* ModifyTime.
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* ModifyUserId.
*/
public Builder modifyUserId(Long modifyUserId) {
this.modifyUserId = modifyUserId;
return this;
}
/**
* ModifyUserName.
*/
public Builder modifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
return this;
}
/**
* ProcessCanRetry.
*/
public Builder processCanRetry(Boolean processCanRetry) {
this.processCanRetry = processCanRetry;
return this;
}
/**
* ProcessMessage.
*/
public Builder processMessage(String processMessage) {
this.processMessage = processMessage;
return this;
}
/**
* ProcessStatus.
*/
public Builder processStatus(Integer processStatus) {
this.processStatus = processStatus;
return this;
}
/**
* StartDate.
*/
public Builder startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* Url.
*/
public Builder url(String url) {
this.url = url;
return this;
}
public DocHits build() {
return new DocHits(this);
}
}
}
}