Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryConvoAgentListRequest ¶
type QueryConvoAgentListRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* 传参字段描述:
- appId[eq] JRTC appID
- roomId[eq] JRTC 房间号
- userId[eq] 用户Id
- agentName[eq] 智能体名称
- agentId[eq] 智能体Id
- status[eq] 在线状态 智能体状态,0-未启动 1-启动 2-停止 3-异常
- startTime[eq] 用户加入时间段开始时间-UTC时间 startTime,endTime同时有值时生效
- endTime[eq] 用户加入时间段结束时间-UTC时间 startTime,endTime同时有值时生效
(Optional) */
Filters []conversationalai.Filter `json:"filters"`
}
func NewQueryConvoAgentListRequest ¶
func NewQueryConvoAgentListRequest() *QueryConvoAgentListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryConvoAgentListRequestWithAllParams ¶
func NewQueryConvoAgentListRequestWithAllParams( pageNumber *int, pageSize *int, filters []conversationalai.Filter, ) *QueryConvoAgentListRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: 传参字段描述: - appId[eq] JRTC appID - roomId[eq] JRTC 房间号 - userId[eq] 用户Id - agentName[eq] 智能体名称 - agentId[eq] 智能体Id - status[eq] 在线状态 智能体状态,0-未启动 1-启动 2-停止 3-异常 - startTime[eq] 用户加入时间段开始时间-UTC时间 startTime,endTime同时有值时生效 - endTime[eq] 用户加入时间段结束时间-UTC时间 startTime,endTime同时有值时生效 (Optional)
func NewQueryConvoAgentListRequestWithoutParam ¶
func NewQueryConvoAgentListRequestWithoutParam() *QueryConvoAgentListRequest
This constructor has better compatible ability when API parameters changed
func (QueryConvoAgentListRequest) GetRegionId ¶
func (r QueryConvoAgentListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryConvoAgentListRequest) SetFilters ¶
func (r *QueryConvoAgentListRequest) SetFilters(filters []conversationalai.Filter)
param filters: 传参字段描述: - appId[eq] JRTC appID - roomId[eq] JRTC 房间号 - userId[eq] 用户Id - agentName[eq] 智能体名称 - agentId[eq] 智能体Id - status[eq] 在线状态 智能体状态,0-未启动 1-启动 2-停止 3-异常 - startTime[eq] 用户加入时间段开始时间-UTC时间 startTime,endTime同时有值时生效 - endTime[eq] 用户加入时间段结束时间-UTC时间 startTime,endTime同时有值时生效
(Optional)
func (*QueryConvoAgentListRequest) SetPageNumber ¶
func (r *QueryConvoAgentListRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*QueryConvoAgentListRequest) SetPageSize ¶
func (r *QueryConvoAgentListRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type QueryConvoAgentListResponse ¶
type QueryConvoAgentListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryConvoAgentListResult `json:"result"`
}
type QueryConvoAgentListResult ¶
type QueryConvoAgentListResult struct {
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
TotalElements int `json:"totalElements"`
TotalPages int `json:"totalPages"`
Content []conversationalai.ConvoAgentStatusInfo `json:"content"`
}
type QueryConvoAgentStatusRequest ¶
type QueryConvoAgentStatusRequest struct {
core.JDCloudRequest
/* 智能体ID */
AgentId string `json:"agentId"`
}
func NewQueryConvoAgentStatusRequest ¶
func NewQueryConvoAgentStatusRequest( agentId string, ) *QueryConvoAgentStatusRequest
* param agentId: 智能体ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryConvoAgentStatusRequestWithAllParams ¶
func NewQueryConvoAgentStatusRequestWithAllParams( agentId string, ) *QueryConvoAgentStatusRequest
* param agentId: 智能体ID (Required)
func NewQueryConvoAgentStatusRequestWithoutParam ¶
func NewQueryConvoAgentStatusRequestWithoutParam() *QueryConvoAgentStatusRequest
This constructor has better compatible ability when API parameters changed
func (QueryConvoAgentStatusRequest) GetRegionId ¶
func (r QueryConvoAgentStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryConvoAgentStatusRequest) SetAgentId ¶
func (r *QueryConvoAgentStatusRequest) SetAgentId(agentId string)
param agentId: 智能体ID(Required)
type QueryConvoAgentStatusResponse ¶
type QueryConvoAgentStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryConvoAgentStatusResult `json:"result"`
}
type QueryConvoAgentStatusResult ¶
type QueryConvoAgentStatusResult struct {
AgentName string `json:"agentName"`
AgentId string `json:"agentId"`
AppId string `json:"appId"`
UserPin string `json:"userPin"`
UserRoomId string `json:"userRoomId"`
UserId string `json:"userId"`
Status int `json:"status"`
ErrorMsg string `json:"errorMsg"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}