kclub

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package kclub 包含知识库API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=38771

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaKclubKcGetcategorytreeAPIRequest added in v1.3.4

func ReleaseAlibabaKclubKcGetcategorytreeAPIRequest(v *AlibabaKclubKcGetcategorytreeAPIRequest)

ReleaseAlibabaKclubKcGetcategorytreeAPIRequest 将 AlibabaKclubKcGetcategorytreeAPIRequest 放入 sync.Pool

func ReleaseAlibabaKclubKcGetcategorytreeAPIResponse added in v1.3.4

func ReleaseAlibabaKclubKcGetcategorytreeAPIResponse(v *AlibabaKclubKcGetcategorytreeAPIResponse)

ReleaseAlibabaKclubKcGetcategorytreeAPIResponse 将 AlibabaKclubKcGetcategorytreeAPIResponse 保存到 sync.Pool

func ReleaseAlibabaKclubKcGetcategorytreeResult added in v1.3.4

func ReleaseAlibabaKclubKcGetcategorytreeResult(v *AlibabaKclubKcGetcategorytreeResult)

ReleaseAlibabaKclubKcGetcategorytreeResult 释放AlibabaKclubKcGetcategorytreeResult

func ReleaseAlibabaKclubKcQaGetAPIRequest added in v1.3.4

func ReleaseAlibabaKclubKcQaGetAPIRequest(v *AlibabaKclubKcQaGetAPIRequest)

ReleaseAlibabaKclubKcQaGetAPIRequest 将 AlibabaKclubKcQaGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaKclubKcQaGetAPIResponse added in v1.3.4

func ReleaseAlibabaKclubKcQaGetAPIResponse(v *AlibabaKclubKcQaGetAPIResponse)

ReleaseAlibabaKclubKcQaGetAPIResponse 将 AlibabaKclubKcQaGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaKclubKcQaGetResult added in v1.3.4

func ReleaseAlibabaKclubKcQaGetResult(v *AlibabaKclubKcQaGetResult)

ReleaseAlibabaKclubKcQaGetResult 释放AlibabaKclubKcQaGetResult

func ReleaseAlibabaKclubKcQaSearchAPIRequest added in v1.3.4

func ReleaseAlibabaKclubKcQaSearchAPIRequest(v *AlibabaKclubKcQaSearchAPIRequest)

ReleaseAlibabaKclubKcQaSearchAPIRequest 将 AlibabaKclubKcQaSearchAPIRequest 放入 sync.Pool

func ReleaseAlibabaKclubKcQaSearchAPIResponse added in v1.3.4

func ReleaseAlibabaKclubKcQaSearchAPIResponse(v *AlibabaKclubKcQaSearchAPIResponse)

ReleaseAlibabaKclubKcQaSearchAPIResponse 将 AlibabaKclubKcQaSearchAPIResponse 保存到 sync.Pool

func ReleaseAlibabaKclubKcQaSearchPageAPIRequest added in v1.3.4

func ReleaseAlibabaKclubKcQaSearchPageAPIRequest(v *AlibabaKclubKcQaSearchPageAPIRequest)

ReleaseAlibabaKclubKcQaSearchPageAPIRequest 将 AlibabaKclubKcQaSearchPageAPIRequest 放入 sync.Pool

func ReleaseAlibabaKclubKcQaSearchPageAPIResponse added in v1.3.4

func ReleaseAlibabaKclubKcQaSearchPageAPIResponse(v *AlibabaKclubKcQaSearchPageAPIResponse)

ReleaseAlibabaKclubKcQaSearchPageAPIResponse 将 AlibabaKclubKcQaSearchPageAPIResponse 保存到 sync.Pool

func ReleaseAlibabaKclubKcQaSearchPageResult added in v1.3.4

func ReleaseAlibabaKclubKcQaSearchPageResult(v *AlibabaKclubKcQaSearchPageResult)

ReleaseAlibabaKclubKcQaSearchPageResult 释放AlibabaKclubKcQaSearchPageResult

func ReleaseAlibabaKclubKcQaSearchResult added in v1.3.4

func ReleaseAlibabaKclubKcQaSearchResult(v *AlibabaKclubKcQaSearchResult)

ReleaseAlibabaKclubKcQaSearchResult 释放AlibabaKclubKcQaSearchResult

func ReleaseAlibabaKclubKcQueryknowledgeAPIRequest added in v1.3.4

func ReleaseAlibabaKclubKcQueryknowledgeAPIRequest(v *AlibabaKclubKcQueryknowledgeAPIRequest)

ReleaseAlibabaKclubKcQueryknowledgeAPIRequest 将 AlibabaKclubKcQueryknowledgeAPIRequest 放入 sync.Pool

func ReleaseAlibabaKclubKcQueryknowledgeAPIResponse added in v1.3.4

func ReleaseAlibabaKclubKcQueryknowledgeAPIResponse(v *AlibabaKclubKcQueryknowledgeAPIResponse)

ReleaseAlibabaKclubKcQueryknowledgeAPIResponse 将 AlibabaKclubKcQueryknowledgeAPIResponse 保存到 sync.Pool

func ReleaseAlibabaKclubKcQueryknowledgeResult added in v1.3.4

func ReleaseAlibabaKclubKcQueryknowledgeResult(v *AlibabaKclubKcQueryknowledgeResult)

ReleaseAlibabaKclubKcQueryknowledgeResult 释放AlibabaKclubKcQueryknowledgeResult

func ReleaseKcQaFilter added in v1.3.4

func ReleaseKcQaFilter(v *KcQaFilter)

ReleaseKcQaFilter 释放KcQaFilter

func ReleaseKcQaQuery added in v1.3.4

func ReleaseKcQaQuery(v *KcQaQuery)

ReleaseKcQaQuery 释放KcQaQuery

func ReleaseKcQaRead added in v1.3.4

func ReleaseKcQaRead(v *KcQaRead)

ReleaseKcQaRead 释放KcQaRead

func ReleaseKcQaReadDto added in v1.3.4

func ReleaseKcQaReadDto(v *KcQaReadDto)

ReleaseKcQaReadDto 释放KcQaReadDto

func ReleaseKcQaSolution added in v1.3.4

func ReleaseKcQaSolution(v *KcQaSolution)

ReleaseKcQaSolution 释放KcQaSolution

func ReleaseKcQaSolutionDto added in v1.3.4

func ReleaseKcQaSolutionDto(v *KcQaSolutionDto)

ReleaseKcQaSolutionDto 释放KcQaSolutionDto

func ReleaseKcSearchQuestion added in v1.3.4

func ReleaseKcSearchQuestion(v *KcSearchQuestion)

ReleaseKcSearchQuestion 释放KcSearchQuestion

func ReleaseKcSearchQuestionDto added in v1.3.4

func ReleaseKcSearchQuestionDto(v *KcSearchQuestionDto)

ReleaseKcSearchQuestionDto 释放KcSearchQuestionDto

func ReleaseKcSearchQuestionQuery added in v1.3.4

func ReleaseKcSearchQuestionQuery(v *KcSearchQuestionQuery)

ReleaseKcSearchQuestionQuery 释放KcSearchQuestionQuery

func ReleasePaging added in v1.3.4

func ReleasePaging(v *Paging)

ReleasePaging 释放Paging

func ReleaseQaPvDto added in v1.3.4

func ReleaseQaPvDto(v *QaPvDto)

ReleaseQaPvDto 释放QaPvDto

func ReleaseSorterConfig added in v1.3.4

func ReleaseSorterConfig(v *SorterConfig)

ReleaseSorterConfig 释放SorterConfig

func ReleaseTenancyAuth added in v1.3.4

func ReleaseTenancyAuth(v *TenancyAuth)

ReleaseTenancyAuth 释放TenancyAuth

Types

type AlibabaKclubKcGetcategorytreeAPIRequest added in v1.2.0

type AlibabaKclubKcGetcategorytreeAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaKclubKcGetcategorytreeAPIRequest 知识云-查询租户下类目树 API请求 alibaba.kclub.kc.getcategorytree

知识云-查询租户下类目树。通过租户id、类型(外部类目、帮助中心类目、内部类目)。

func GetAlibabaKclubKcGetcategorytreeAPIRequest added in v1.3.4

func GetAlibabaKclubKcGetcategorytreeAPIRequest() *AlibabaKclubKcGetcategorytreeAPIRequest

GetAlibabaKclubKcGetcategorytreeRequest 从 sync.Pool 获取 AlibabaKclubKcGetcategorytreeAPIRequest

func NewAlibabaKclubKcGetcategorytreeRequest

func NewAlibabaKclubKcGetcategorytreeRequest() *AlibabaKclubKcGetcategorytreeAPIRequest

NewAlibabaKclubKcGetcategorytreeRequest 初始化AlibabaKclubKcGetcategorytreeAPIRequest对象

func (AlibabaKclubKcGetcategorytreeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaKclubKcGetcategorytreeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaKclubKcGetcategorytreeAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaKclubKcGetcategorytreeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaKclubKcGetcategorytreeAPIRequest) GetAuth added in v1.2.0

GetAuth Auth Getter

func (AlibabaKclubKcGetcategorytreeAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaKclubKcGetcategorytreeAPIRequest) GetTenantId added in v1.2.0

GetTenantId TenantId Getter

func (*AlibabaKclubKcGetcategorytreeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaKclubKcGetcategorytreeAPIRequest) SetAuth added in v1.2.0

SetAuth is Auth Setter 鉴权参数

func (*AlibabaKclubKcGetcategorytreeAPIRequest) SetTenantId added in v1.2.0

func (r *AlibabaKclubKcGetcategorytreeAPIRequest) SetTenantId(_tenantId int64) error

SetTenantId is TenantId Setter 租户id

type AlibabaKclubKcGetcategorytreeAPIResponse

type AlibabaKclubKcGetcategorytreeAPIResponse struct {
	model.CommonResponse
	AlibabaKclubKcGetcategorytreeAPIResponseModel
}

AlibabaKclubKcGetcategorytreeAPIResponse 知识云-查询租户下类目树 API返回值 alibaba.kclub.kc.getcategorytree

知识云-查询租户下类目树。通过租户id、类型(外部类目、帮助中心类目、内部类目)。

func GetAlibabaKclubKcGetcategorytreeAPIResponse added in v1.3.4

func GetAlibabaKclubKcGetcategorytreeAPIResponse() *AlibabaKclubKcGetcategorytreeAPIResponse

GetAlibabaKclubKcGetcategorytreeAPIResponse 从 sync.Pool 获取 AlibabaKclubKcGetcategorytreeAPIResponse

func (*AlibabaKclubKcGetcategorytreeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcGetcategorytreeAPIResponseModel added in v1.2.0

type AlibabaKclubKcGetcategorytreeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_kclub_kc_getcategorytree_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaKclubKcGetcategorytreeResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaKclubKcGetcategorytreeAPIResponseModel is 知识云-查询租户下类目树 成功返回结果

func (*AlibabaKclubKcGetcategorytreeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcGetcategorytreeResult

type AlibabaKclubKcGetcategorytreeResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 类目数据 JSONArray
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaKclubKcGetcategorytreeResult 结构体

func GetAlibabaKclubKcGetcategorytreeResult added in v1.3.4

func GetAlibabaKclubKcGetcategorytreeResult() *AlibabaKclubKcGetcategorytreeResult

GetAlibabaKclubKcGetcategorytreeResult() 从对象池中获取AlibabaKclubKcGetcategorytreeResult

type AlibabaKclubKcQaGetAPIRequest added in v1.2.0

type AlibabaKclubKcQaGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaKclubKcQaGetAPIRequest 知识云-查询单个知识详情 API请求 alibaba.kclub.kc.qa.get

知识云-查询单个知识详情。通过租户id、问题id查询问题详情

func GetAlibabaKclubKcQaGetAPIRequest added in v1.3.4

func GetAlibabaKclubKcQaGetAPIRequest() *AlibabaKclubKcQaGetAPIRequest

GetAlibabaKclubKcQaGetRequest 从 sync.Pool 获取 AlibabaKclubKcQaGetAPIRequest

func NewAlibabaKclubKcQaGetRequest

func NewAlibabaKclubKcQaGetRequest() *AlibabaKclubKcQaGetAPIRequest

NewAlibabaKclubKcQaGetRequest 初始化AlibabaKclubKcQaGetAPIRequest对象

func (AlibabaKclubKcQaGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaKclubKcQaGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaKclubKcQaGetAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaKclubKcQaGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaKclubKcQaGetAPIRequest) GetAuth added in v1.2.0

GetAuth Auth Getter

func (AlibabaKclubKcQaGetAPIRequest) GetFilter added in v1.2.0

GetFilter Filter Getter

func (AlibabaKclubKcQaGetAPIRequest) GetQuestionId added in v1.2.0

func (r AlibabaKclubKcQaGetAPIRequest) GetQuestionId() int64

GetQuestionId QuestionId Getter

func (AlibabaKclubKcQaGetAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaKclubKcQaGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaKclubKcQaGetAPIRequest) Reset added in v1.3.4

func (r *AlibabaKclubKcQaGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*AlibabaKclubKcQaGetAPIRequest) SetAuth added in v1.2.0

func (r *AlibabaKclubKcQaGetAPIRequest) SetAuth(_auth *TenancyAuth) error

SetAuth is Auth Setter 鉴权

func (*AlibabaKclubKcQaGetAPIRequest) SetFilter added in v1.2.0

func (r *AlibabaKclubKcQaGetAPIRequest) SetFilter(_filter *KcQaFilter) error

SetFilter is Filter Setter 过滤条件

func (*AlibabaKclubKcQaGetAPIRequest) SetQuestionId added in v1.2.0

func (r *AlibabaKclubKcQaGetAPIRequest) SetQuestionId(_questionId int64) error

SetQuestionId is QuestionId Setter 问题id

type AlibabaKclubKcQaGetAPIResponse

type AlibabaKclubKcQaGetAPIResponse struct {
	model.CommonResponse
	AlibabaKclubKcQaGetAPIResponseModel
}

AlibabaKclubKcQaGetAPIResponse 知识云-查询单个知识详情 API返回值 alibaba.kclub.kc.qa.get

知识云-查询单个知识详情。通过租户id、问题id查询问题详情

func GetAlibabaKclubKcQaGetAPIResponse added in v1.3.4

func GetAlibabaKclubKcQaGetAPIResponse() *AlibabaKclubKcQaGetAPIResponse

GetAlibabaKclubKcQaGetAPIResponse 从 sync.Pool 获取 AlibabaKclubKcQaGetAPIResponse

func (*AlibabaKclubKcQaGetAPIResponse) Reset added in v1.3.4

func (m *AlibabaKclubKcQaGetAPIResponse) Reset()

Reset 清空结构体

type AlibabaKclubKcQaGetAPIResponseModel added in v1.2.0

type AlibabaKclubKcQaGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_kclub_kc_qa_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaKclubKcQaGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaKclubKcQaGetAPIResponseModel is 知识云-查询单个知识详情 成功返回结果

func (*AlibabaKclubKcQaGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcQaGetResult

type AlibabaKclubKcQaGetResult struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 返回数据
	Data *KcQaRead `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaKclubKcQaGetResult 结构体

func GetAlibabaKclubKcQaGetResult added in v1.3.4

func GetAlibabaKclubKcQaGetResult() *AlibabaKclubKcQaGetResult

GetAlibabaKclubKcQaGetResult() 从对象池中获取AlibabaKclubKcQaGetResult

type AlibabaKclubKcQaSearchAPIRequest added in v1.2.0

type AlibabaKclubKcQaSearchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaKclubKcQaSearchAPIRequest 知识云-知识检索 API请求 alibaba.kclub.kc.qa.search

知识云-知识搜索服务

func GetAlibabaKclubKcQaSearchAPIRequest added in v1.3.4

func GetAlibabaKclubKcQaSearchAPIRequest() *AlibabaKclubKcQaSearchAPIRequest

GetAlibabaKclubKcQaSearchRequest 从 sync.Pool 获取 AlibabaKclubKcQaSearchAPIRequest

func NewAlibabaKclubKcQaSearchRequest

func NewAlibabaKclubKcQaSearchRequest() *AlibabaKclubKcQaSearchAPIRequest

NewAlibabaKclubKcQaSearchRequest 初始化AlibabaKclubKcQaSearchAPIRequest对象

func (AlibabaKclubKcQaSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaKclubKcQaSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaKclubKcQaSearchAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaKclubKcQaSearchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaKclubKcQaSearchAPIRequest) GetAuth added in v1.2.0

GetAuth Auth Getter

func (AlibabaKclubKcQaSearchAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (AlibabaKclubKcQaSearchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaKclubKcQaSearchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaKclubKcQaSearchAPIRequest) SetAuth added in v1.2.0

SetAuth is Auth Setter 鉴权

func (*AlibabaKclubKcQaSearchAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 查询参数

type AlibabaKclubKcQaSearchAPIResponse

type AlibabaKclubKcQaSearchAPIResponse struct {
	model.CommonResponse
	AlibabaKclubKcQaSearchAPIResponseModel
}

AlibabaKclubKcQaSearchAPIResponse 知识云-知识检索 API返回值 alibaba.kclub.kc.qa.search

知识云-知识搜索服务

func GetAlibabaKclubKcQaSearchAPIResponse added in v1.3.4

func GetAlibabaKclubKcQaSearchAPIResponse() *AlibabaKclubKcQaSearchAPIResponse

GetAlibabaKclubKcQaSearchAPIResponse 从 sync.Pool 获取 AlibabaKclubKcQaSearchAPIResponse

func (*AlibabaKclubKcQaSearchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcQaSearchAPIResponseModel added in v1.2.0

type AlibabaKclubKcQaSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_kclub_kc_qa_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 搜索结果
	Result *AlibabaKclubKcQaSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaKclubKcQaSearchAPIResponseModel is 知识云-知识检索 成功返回结果

func (*AlibabaKclubKcQaSearchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcQaSearchPageAPIRequest added in v1.2.0

type AlibabaKclubKcQaSearchPageAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaKclubKcQaSearchPageAPIRequest 知识云-知识检索(分页) API请求 alibaba.kclub.kc.qa.search.page

知识云-知识搜索服务

func GetAlibabaKclubKcQaSearchPageAPIRequest added in v1.3.4

func GetAlibabaKclubKcQaSearchPageAPIRequest() *AlibabaKclubKcQaSearchPageAPIRequest

GetAlibabaKclubKcQaSearchPageRequest 从 sync.Pool 获取 AlibabaKclubKcQaSearchPageAPIRequest

func NewAlibabaKclubKcQaSearchPageRequest

func NewAlibabaKclubKcQaSearchPageRequest() *AlibabaKclubKcQaSearchPageAPIRequest

NewAlibabaKclubKcQaSearchPageRequest 初始化AlibabaKclubKcQaSearchPageAPIRequest对象

func (AlibabaKclubKcQaSearchPageAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaKclubKcQaSearchPageAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaKclubKcQaSearchPageAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaKclubKcQaSearchPageAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaKclubKcQaSearchPageAPIRequest) GetAuth added in v1.2.0

GetAuth Auth Getter

func (AlibabaKclubKcQaSearchPageAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (AlibabaKclubKcQaSearchPageAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaKclubKcQaSearchPageAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaKclubKcQaSearchPageAPIRequest) SetAuth added in v1.2.0

SetAuth is Auth Setter 鉴权

func (*AlibabaKclubKcQaSearchPageAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 查询参数

type AlibabaKclubKcQaSearchPageAPIResponse

type AlibabaKclubKcQaSearchPageAPIResponse struct {
	model.CommonResponse
	AlibabaKclubKcQaSearchPageAPIResponseModel
}

AlibabaKclubKcQaSearchPageAPIResponse 知识云-知识检索(分页) API返回值 alibaba.kclub.kc.qa.search.page

知识云-知识搜索服务

func GetAlibabaKclubKcQaSearchPageAPIResponse added in v1.3.4

func GetAlibabaKclubKcQaSearchPageAPIResponse() *AlibabaKclubKcQaSearchPageAPIResponse

GetAlibabaKclubKcQaSearchPageAPIResponse 从 sync.Pool 获取 AlibabaKclubKcQaSearchPageAPIResponse

func (*AlibabaKclubKcQaSearchPageAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcQaSearchPageAPIResponseModel added in v1.2.0

type AlibabaKclubKcQaSearchPageAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_kclub_kc_qa_search_page_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaKclubKcQaSearchPageResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaKclubKcQaSearchPageAPIResponseModel is 知识云-知识检索(分页) 成功返回结果

func (*AlibabaKclubKcQaSearchPageAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcQaSearchPageResult

type AlibabaKclubKcQaSearchPageResult struct {
	// 错误编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 分页数据
	Data *Paging `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaKclubKcQaSearchPageResult 结构体

func GetAlibabaKclubKcQaSearchPageResult added in v1.3.4

func GetAlibabaKclubKcQaSearchPageResult() *AlibabaKclubKcQaSearchPageResult

GetAlibabaKclubKcQaSearchPageResult() 从对象池中获取AlibabaKclubKcQaSearchPageResult

type AlibabaKclubKcQaSearchResult

type AlibabaKclubKcQaSearchResult struct {
	// 返回数据列表
	DataList []KcSearchQuestion `json:"data_list,omitempty" xml:"data_list>kc_search_question,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaKclubKcQaSearchResult 结构体

func GetAlibabaKclubKcQaSearchResult added in v1.3.4

func GetAlibabaKclubKcQaSearchResult() *AlibabaKclubKcQaSearchResult

GetAlibabaKclubKcQaSearchResult() 从对象池中获取AlibabaKclubKcQaSearchResult

type AlibabaKclubKcQueryknowledgeAPIRequest added in v1.2.0

type AlibabaKclubKcQueryknowledgeAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaKclubKcQueryknowledgeAPIRequest 知识云-通用知识查询服务 API请求 alibaba.kclub.kc.queryknowledge

知识云-通用知识查询服务。通过租户id、类目id、知识类型、知识状态等条件查询类目。

func GetAlibabaKclubKcQueryknowledgeAPIRequest added in v1.3.4

func GetAlibabaKclubKcQueryknowledgeAPIRequest() *AlibabaKclubKcQueryknowledgeAPIRequest

GetAlibabaKclubKcQueryknowledgeRequest 从 sync.Pool 获取 AlibabaKclubKcQueryknowledgeAPIRequest

func NewAlibabaKclubKcQueryknowledgeRequest

func NewAlibabaKclubKcQueryknowledgeRequest() *AlibabaKclubKcQueryknowledgeAPIRequest

NewAlibabaKclubKcQueryknowledgeRequest 初始化AlibabaKclubKcQueryknowledgeAPIRequest对象

func (AlibabaKclubKcQueryknowledgeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaKclubKcQueryknowledgeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaKclubKcQueryknowledgeAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaKclubKcQueryknowledgeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaKclubKcQueryknowledgeAPIRequest) GetAuth added in v1.2.0

GetAuth Auth Getter

func (AlibabaKclubKcQueryknowledgeAPIRequest) GetKcQaQuery added in v1.2.0

GetKcQaQuery KcQaQuery Getter

func (AlibabaKclubKcQueryknowledgeAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaKclubKcQueryknowledgeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaKclubKcQueryknowledgeAPIRequest) SetAuth added in v1.2.0

SetAuth is Auth Setter 鉴权

func (*AlibabaKclubKcQueryknowledgeAPIRequest) SetKcQaQuery added in v1.2.0

func (r *AlibabaKclubKcQueryknowledgeAPIRequest) SetKcQaQuery(_kcQaQuery *KcQaQuery) error

SetKcQaQuery is KcQaQuery Setter 查询条件

type AlibabaKclubKcQueryknowledgeAPIResponse

type AlibabaKclubKcQueryknowledgeAPIResponse struct {
	model.CommonResponse
	AlibabaKclubKcQueryknowledgeAPIResponseModel
}

AlibabaKclubKcQueryknowledgeAPIResponse 知识云-通用知识查询服务 API返回值 alibaba.kclub.kc.queryknowledge

知识云-通用知识查询服务。通过租户id、类目id、知识类型、知识状态等条件查询类目。

func GetAlibabaKclubKcQueryknowledgeAPIResponse added in v1.3.4

func GetAlibabaKclubKcQueryknowledgeAPIResponse() *AlibabaKclubKcQueryknowledgeAPIResponse

GetAlibabaKclubKcQueryknowledgeAPIResponse 从 sync.Pool 获取 AlibabaKclubKcQueryknowledgeAPIResponse

func (*AlibabaKclubKcQueryknowledgeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcQueryknowledgeAPIResponseModel added in v1.2.0

type AlibabaKclubKcQueryknowledgeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_kclub_kc_queryknowledge_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *AlibabaKclubKcQueryknowledgeResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaKclubKcQueryknowledgeAPIResponseModel is 知识云-通用知识查询服务 成功返回结果

func (*AlibabaKclubKcQueryknowledgeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKclubKcQueryknowledgeResult

type AlibabaKclubKcQueryknowledgeResult struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 返回数据
	Data *Paging `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaKclubKcQueryknowledgeResult 结构体

func GetAlibabaKclubKcQueryknowledgeResult added in v1.3.4

func GetAlibabaKclubKcQueryknowledgeResult() *AlibabaKclubKcQueryknowledgeResult

GetAlibabaKclubKcQueryknowledgeResult() 从对象池中获取AlibabaKclubKcQueryknowledgeResult

type KcQaFilter

type KcQaFilter struct {
	// 视角
	Views []string `json:"views,omitempty" xml:"views>string,omitempty"`
	// 状态
	Statuses []string `json:"statuses,omitempty" xml:"statuses>string,omitempty"`
	// 是否需要子知识
	NeedChildKnowledge bool `json:"need_child_knowledge,omitempty" xml:"need_child_knowledge,omitempty"`
}

KcQaFilter 结构体

func GetKcQaFilter added in v1.3.4

func GetKcQaFilter() *KcQaFilter

GetKcQaFilter() 从对象池中获取KcQaFilter

type KcQaQuery

type KcQaQuery struct {
	// context列表
	ContextList []int64 `json:"context_list,omitempty" xml:"context_list>int64,omitempty"`
	// 问题类型列表
	QuestionTypes []string `json:"question_types,omitempty" xml:"question_types>string,omitempty"`
	// 状态列表
	StatusList []string `json:"status_list,omitempty" xml:"status_list>string,omitempty"`
	// 视角过滤
	Views []string `json:"views,omitempty" xml:"views>string,omitempty"`
	// 租户id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// context
	Context int64 `json:"context,omitempty" xml:"context,omitempty"`
	// 页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 类目id
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 问题类型
	QuestionType int64 `json:"question_type,omitempty" xml:"question_type,omitempty"`
	// 排序对象
	SorterConfig *SorterConfig `json:"sorter_config,omitempty" xml:"sorter_config,omitempty"`
}

KcQaQuery 结构体

func GetKcQaQuery added in v1.3.4

func GetKcQaQuery() *KcQaQuery

GetKcQaQuery() 从对象池中获取KcQaQuery

type KcQaRead

type KcQaRead struct {
	// 子知识
	ChildQas []KcQaRead `json:"child_qas,omitempty" xml:"child_qas>kc_qa_read,omitempty"`
	// 问题答案
	Solutions []KcQaSolution `json:"solutions,omitempty" xml:"solutions>kc_qa_solution,omitempty"`
	// 问题父类目列表
	ParentCats []int64 `json:"parent_cats,omitempty" xml:"parent_cats>int64,omitempty"`
	// 问题关联实体code
	EntityCode string `json:"entity_code,omitempty" xml:"entity_code,omitempty"`
	// 问题类目路径
	CatPath string `json:"cat_path,omitempty" xml:"cat_path,omitempty"`
	// 问题标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 问题编辑时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 问题创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 问题context
	Context int64 `json:"context,omitempty" xml:"context,omitempty"`
	// 问题类型
	QuestionType int64 `json:"question_type,omitempty" xml:"question_type,omitempty"`
	// 问题类目id
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// 问题租户id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 问题状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 问题id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

KcQaRead 结构体

func GetKcQaRead added in v1.3.4

func GetKcQaRead() *KcQaRead

GetKcQaRead() 从对象池中获取KcQaRead

type KcQaReadDto

type KcQaReadDto struct {
	// 子知识
	ChildQas []KcQaReadDto `json:"child_qas,omitempty" xml:"child_qas>kc_qa_read_dto,omitempty"`
	// 问题答案
	Solutions []KcQaSolutionDto `json:"solutions,omitempty" xml:"solutions>kc_qa_solution_dto,omitempty"`
	// 父类目id
	ParentCats []int64 `json:"parent_cats,omitempty" xml:"parent_cats>int64,omitempty"`
	// 类目路径
	CatPath string `json:"cat_path,omitempty" xml:"cat_path,omitempty"`
	// 知识标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 编辑时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 关联的实体code
	EntityCode string `json:"entity_code,omitempty" xml:"entity_code,omitempty"`
	// 类目id
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// 租户id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 问题id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 问题类型(原kbs context)
	Context int64 `json:"context,omitempty" xml:"context,omitempty"`
	// 问题类型
	QuestionType int64 `json:"question_type,omitempty" xml:"question_type,omitempty"`
	// qa的访问量
	QaPv *QaPvDto `json:"qa_pv,omitempty" xml:"qa_pv,omitempty"`
}

KcQaReadDto 结构体

func GetKcQaReadDto added in v1.3.4

func GetKcQaReadDto() *KcQaReadDto

GetKcQaReadDto() 从对象池中获取KcQaReadDto

type KcQaSolution

type KcQaSolution struct {
	// 子知识答案摘要
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
	// 子知识答案额外内容
	ExtraContent string `json:"extra_content,omitempty" xml:"extra_content,omitempty"`
	// 子知识答案视角,逗号分隔
	ContentView string `json:"content_view,omitempty" xml:"content_view,omitempty"`
	// 子知识答案
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 子知识答案编辑时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 子知识答案创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 子知识答案纯文本
	PlainText string `json:"plain_text,omitempty" xml:"plain_text,omitempty"`
	// 子知识答案视角
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 子知识答案类型
	ContentType int64 `json:"content_type,omitempty" xml:"content_type,omitempty"`
	// 子知识问题id
	QuestionId int64 `json:"question_id,omitempty" xml:"question_id,omitempty"`
	// 子知识答案id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

KcQaSolution 结构体

func GetKcQaSolution added in v1.3.4

func GetKcQaSolution() *KcQaSolution

GetKcQaSolution() 从对象池中获取KcQaSolution

type KcQaSolutionDto

type KcQaSolutionDto struct {
	// 子知识编辑时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 子知识创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 子知识答案纯文本
	PlainText string `json:"plain_text,omitempty" xml:"plain_text,omitempty"`
	// 子知识答案摘要
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
	// 子知识答案额外内容
	ExtraContent string `json:"extra_content,omitempty" xml:"extra_content,omitempty"`
	// 子知识答案内容视角
	ContentView string `json:"content_view,omitempty" xml:"content_view,omitempty"`
	// 子知识答案富文本内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 子知识问题id
	QuestionId int64 `json:"question_id,omitempty" xml:"question_id,omitempty"`
	// 子知识答案id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 子知识答案视角
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 子知识答案内容类型
	ContentType int64 `json:"content_type,omitempty" xml:"content_type,omitempty"`
}

KcQaSolutionDto 结构体

func GetKcQaSolutionDto added in v1.3.4

func GetKcQaSolutionDto() *KcQaSolutionDto

GetKcQaSolutionDto() 从对象池中获取KcQaSolutionDto

type KcSearchQuestion

type KcSearchQuestion struct {
	// catId 路径
	CatIdPathList []int64 `json:"cat_id_path_list,omitempty" xml:"cat_id_path_list>int64,omitempty"`
	// 问题关联的实体code
	EntityCode string `json:"entity_code,omitempty" xml:"entity_code,omitempty"`
	// 编辑人名称
	ModifiedUserName string `json:"modified_user_name,omitempty" xml:"modified_user_name,omitempty"`
	// 创建人名称
	CreateUserName string `json:"create_user_name,omitempty" xml:"create_user_name,omitempty"`
	// 标题分词
	TitleSegment string `json:"title_segment,omitempty" xml:"title_segment,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 编辑时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// qa 失效时间
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// qa 生效时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 额外字段
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 类目名称
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// 类目路径
	CatPathName string `json:"cat_path_name,omitempty" xml:"cat_path_name,omitempty"`
	// 记录唯一编码
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 得分
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 相似标题
	SimilarTitle string `json:"similar_title,omitempty" xml:"similar_title,omitempty"`
	// 问题类型
	QuestionType int64 `json:"question_type,omitempty" xml:"question_type,omitempty"`
	// 租户id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 问题id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 问题类型:0-普通/1-引用
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 问题id
	QuestionId int64 `json:"question_id,omitempty" xml:"question_id,omitempty"`
	// 是否相似标题
	IsSimilarTitle int64 `json:"is_similar_title,omitempty" xml:"is_similar_title,omitempty"`
	// 来源:草稿表-0/正式表-1
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 类目id
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// 相似问题主键id
	SimilarId int64 `json:"similar_id,omitempty" xml:"similar_id,omitempty"`
}

KcSearchQuestion 结构体

func GetKcSearchQuestion added in v1.3.4

func GetKcSearchQuestion() *KcSearchQuestion

GetKcSearchQuestion() 从对象池中获取KcSearchQuestion

type KcSearchQuestionDto

type KcSearchQuestionDto struct {
	// 父类目列表
	CatIdPathList []int64 `json:"cat_id_path_list,omitempty" xml:"cat_id_path_list>int64,omitempty"`
	// 生效时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 额外字段
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 类目名称
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// 类目路径名称
	CatPathName string `json:"cat_path_name,omitempty" xml:"cat_path_name,omitempty"`
	// 编辑人
	ModifiedUserName string `json:"modified_user_name,omitempty" xml:"modified_user_name,omitempty"`
	// 创建人
	CreateUserName string `json:"create_user_name,omitempty" xml:"create_user_name,omitempty"`
	// 分词
	TitleSegment string `json:"title_segment,omitempty" xml:"title_segment,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 编辑时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 关联实体code
	EntityCode string `json:"entity_code,omitempty" xml:"entity_code,omitempty"`
	// 唯一编码
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 得分
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 相似问题标题
	SimilarTitle string `json:"similar_title,omitempty" xml:"similar_title,omitempty"`
	// 失效时间
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 类目id
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// 相似问题id
	SimilarId int64 `json:"similar_id,omitempty" xml:"similar_id,omitempty"`
	// 问题类型
	QuestionType int64 `json:"question_type,omitempty" xml:"question_type,omitempty"`
	// 编辑人id
	ModifiedUserId int64 `json:"modified_user_id,omitempty" xml:"modified_user_id,omitempty"`
	// 创建人id
	CreateUserId int64 `json:"create_user_id,omitempty" xml:"create_user_id,omitempty"`
	// 租户id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 索引id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 索引类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 问题id
	QuestionId int64 `json:"question_id,omitempty" xml:"question_id,omitempty"`
	// 是否相似标题
	IsSimilarTitle int64 `json:"is_similar_title,omitempty" xml:"is_similar_title,omitempty"`
	// 是否草稿版本
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 版本
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 十天访问pv
	TenDayPv int64 `json:"ten_day_pv,omitempty" xml:"ten_day_pv,omitempty"`
	// 7天访问pv
	SevenDayPv int64 `json:"seven_day_pv,omitempty" xml:"seven_day_pv,omitempty"`
	// 5天访问pv
	FiveDayPv int64 `json:"five_day_pv,omitempty" xml:"five_day_pv,omitempty"`
	// 3天访问pv
	ThreeDayPv int64 `json:"three_day_pv,omitempty" xml:"three_day_pv,omitempty"`
	// 1天访问pv
	OneDayPv int64 `json:"one_day_pv,omitempty" xml:"one_day_pv,omitempty"`
}

KcSearchQuestionDto 结构体

func GetKcSearchQuestionDto added in v1.3.4

func GetKcSearchQuestionDto() *KcSearchQuestionDto

GetKcSearchQuestionDto() 从对象池中获取KcSearchQuestionDto

type KcSearchQuestionQuery

type KcSearchQuestionQuery struct {
	// 租户列表
	TenantIdList []int64 `json:"tenant_id_list,omitempty" xml:"tenant_id_list>int64,omitempty"`
	// context列表
	ContextList []int64 `json:"context_list,omitempty" xml:"context_list>int64,omitempty"`
	// 视角列表
	Views []string `json:"views,omitempty" xml:"views>string,omitempty"`
	// 类目id列表
	CategoryIdList []int64 `json:"category_id_list,omitempty" xml:"category_id_list>int64,omitempty"`
	// 搜索字段
	SearchString string `json:"search_string,omitempty" xml:"search_string,omitempty"`
	// 排序规则
	SearchRule string `json:"search_rule,omitempty" xml:"search_rule,omitempty"`
	// 租户id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 问题id
	KnowledgeId int64 `json:"knowledge_id,omitempty" xml:"knowledge_id,omitempty"`
	// 编辑人
	EditorId int64 `json:"editor_id,omitempty" xml:"editor_id,omitempty"`
	// 问题类型
	QuestionType int64 `json:"question_type,omitempty" xml:"question_type,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 创建者id
	CreatorId int64 `json:"creator_id,omitempty" xml:"creator_id,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 排序配置
	SorterConfig *SorterConfig `json:"sorter_config,omitempty" xml:"sorter_config,omitempty"`
	// 高亮显示
	Highlight bool `json:"highlight,omitempty" xml:"highlight,omitempty"`
	// 是否需要返回内容
	NeedContent bool `json:"need_content,omitempty" xml:"need_content,omitempty"`
	// 是否包含子类目
	IncludeSubCategorys bool `json:"include_sub_categorys,omitempty" xml:"include_sub_categorys,omitempty"`
	// 是否默认展示扩展标题
	DisplayExtTitle bool `json:"display_ext_title,omitempty" xml:"display_ext_title,omitempty"`
}

KcSearchQuestionQuery 结构体

func GetKcSearchQuestionQuery added in v1.3.4

func GetKcSearchQuestionQuery() *KcSearchQuestionQuery

GetKcSearchQuestionQuery() 从对象池中获取KcSearchQuestionQuery

type Paging

type Paging struct {
	// 数据
	DataList []KcSearchQuestionDto `json:"data_list,omitempty" xml:"data_list>kc_search_question_dto,omitempty"`
	// 行数
	RowCount int64 `json:"row_count,omitempty" xml:"row_count,omitempty"`
	// 每页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
}

Paging 结构体

func GetPaging added in v1.3.4

func GetPaging() *Paging

GetPaging() 从对象池中获取Paging

type QaPvDto

type QaPvDto struct {
	// 十天访问量
	TenDayPv int64 `json:"ten_day_pv,omitempty" xml:"ten_day_pv,omitempty"`
	// 7天访问量
	SevenDayPv int64 `json:"seven_day_pv,omitempty" xml:"seven_day_pv,omitempty"`
	// 5天访问量
	FiveDayPv int64 `json:"five_day_pv,omitempty" xml:"five_day_pv,omitempty"`
	// 3天访问量
	ThreeDayPv int64 `json:"three_day_pv,omitempty" xml:"three_day_pv,omitempty"`
	// 1天访问量
	OneDayPv int64 `json:"one_day_pv,omitempty" xml:"one_day_pv,omitempty"`
}

QaPvDto 结构体

func GetQaPvDto added in v1.3.4

func GetQaPvDto() *QaPvDto

GetQaPvDto() 从对象池中获取QaPvDto

type SorterConfig

type SorterConfig struct {
	// 排序顺序
	Order string `json:"order,omitempty" xml:"order,omitempty"`
	// 排序字段
	Field string `json:"field,omitempty" xml:"field,omitempty"`
}

SorterConfig 结构体

func GetSorterConfig added in v1.3.4

func GetSorterConfig() *SorterConfig

GetSorterConfig() 从对象池中获取SorterConfig

type TenancyAuth

type TenancyAuth struct {
	// 鉴权秘钥
	SecretKey string `json:"secret_key,omitempty" xml:"secret_key,omitempty"`
	// 鉴权应用名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

TenancyAuth 结构体

func GetTenancyAuth added in v1.3.4

func GetTenancyAuth() *TenancyAuth

GetTenancyAuth() 从对象池中获取TenancyAuth

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL