Documentation
¶
Index ¶
- Constants
- type ApplyBlackListDataRequest
- type ApplyBlackListDataResponse
- type ApplyBlackListRequest
- type ApplyBlackListResponse
- type ApplyCreditAuditRequest
- type ApplyCreditAuditResponse
- type BlackListData
- type BotFileData
- type BotFlow
- type BotInfo
- type CallInfo
- type CallTimeDict
- type CallTimeInfo
- type ChangeBotCallStatusRequest
- type ChangeBotCallStatusResponse
- type ChangeBotTaskStatusRequest
- type ChangeBotTaskStatusResponse
- type Client
- func (c *Client) ApplyBlackList(request *ApplyBlackListRequest) (response *ApplyBlackListResponse, err error)
- func (c *Client) ApplyBlackListData(request *ApplyBlackListDataRequest) (response *ApplyBlackListDataResponse, err error)
- func (c *Client) ApplyCreditAudit(request *ApplyCreditAuditRequest) (response *ApplyCreditAuditResponse, err error)
- func (c *Client) ChangeBotCallStatus(request *ChangeBotCallStatusRequest) (response *ChangeBotCallStatusResponse, err error)
- func (c *Client) ChangeBotTaskStatus(request *ChangeBotTaskStatusRequest) (response *ChangeBotTaskStatusResponse, err error)
- func (c *Client) CreateBotTask(request *CreateBotTaskRequest) (response *CreateBotTaskResponse, err error)
- func (c *Client) DescribeBotFlow(request *DescribeBotFlowRequest) (response *DescribeBotFlowResponse, err error)
- func (c *Client) DescribeCreditResult(request *DescribeCreditResultRequest) (response *DescribeCreditResultResponse, err error)
- func (c *Client) DescribeFileModel(request *DescribeFileModelRequest) (response *DescribeFileModelResponse, err error)
- func (c *Client) DescribeRecords(request *DescribeRecordsRequest) (response *DescribeRecordsResponse, err error)
- func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DownloadBotRecord(request *DownloadBotRecordRequest) (response *DownloadBotRecordResponse, err error)
- func (c *Client) DownloadDialogueText(request *DownloadDialogueTextRequest) (response *DownloadDialogueTextResponse, err error)
- func (c *Client) DownloadRecordList(request *DownloadRecordListRequest) (response *DownloadRecordListResponse, err error)
- func (c *Client) DownloadReport(request *DownloadReportRequest) (response *DownloadReportResponse, err error)
- func (c *Client) ExportBotData(request *ExportBotDataRequest) (response *ExportBotDataResponse, err error)
- func (c *Client) QueryBlackListData(request *QueryBlackListDataRequest) (response *QueryBlackListDataResponse, err error)
- func (c *Client) QueryBotList(request *QueryBotListRequest) (response *QueryBotListResponse, err error)
- func (c *Client) QueryCallList(request *QueryCallListRequest) (response *QueryCallListResponse, err error)
- func (c *Client) QueryInstantData(request *QueryInstantDataRequest) (response *QueryInstantDataResponse, err error)
- func (c *Client) QueryProducts(request *QueryProductsRequest) (response *QueryProductsResponse, err error)
- func (c *Client) QueryRecordList(request *QueryRecordListRequest) (response *QueryRecordListResponse, err error)
- func (c *Client) UpdateBotTask(request *UpdateBotTaskRequest) (response *UpdateBotTaskResponse, err error)
- func (c *Client) UploadBotData(request *UploadBotDataRequest) (response *UploadBotDataResponse, err error)
- func (c *Client) UploadBotFile(request *UploadBotFileRequest) (response *UploadBotFileResponse, err error)
- func (c *Client) UploadDataFile(request *UploadDataFileRequest) (response *UploadDataFileResponse, err error)
- func (c *Client) UploadDataJson(request *UploadDataJsonRequest) (response *UploadDataJsonResponse, err error)
- func (c *Client) UploadFile(request *UploadFileRequest) (response *UploadFileResponse, err error)
- type CreateBotTaskRequest
- type CreateBotTaskResponse
- type DescribeBotFlowRequest
- type DescribeBotFlowResponse
- type DescribeCreditResultRequest
- type DescribeCreditResultResponse
- type DescribeFileModelRequest
- type DescribeFileModelResponse
- type DescribeRecordsRequest
- type DescribeRecordsResponse
- type DescribeTaskStatusRequest
- type DescribeTaskStatusResponse
- type DownloadBotRecordRequest
- type DownloadBotRecordResponse
- type DownloadDialogueTextRequest
- type DownloadDialogueTextResponse
- type DownloadRecordListRequest
- type DownloadRecordListResponse
- type DownloadReportRequest
- type DownloadReportResponse
- type ExportBotDataRequest
- type ExportBotDataResponse
- type PhonePool
- type ProductQueryInfo
- type QueryBlackListDataRequest
- type QueryBlackListDataResponse
- type QueryBotListRequest
- type QueryBotListResponse
- type QueryCallListRequest
- type QueryCallListResponse
- type QueryInstantDataRequest
- type QueryInstantDataResponse
- type QueryProductsRequest
- type QueryProductsResponse
- type QueryRecordListRequest
- type QueryRecordListResponse
- type RecordInfo
- type SingleBlackApply
- type SingleRecord
- type SmsSign
- type SmsTemplate
- type UpdateBotTaskRequest
- type UpdateBotTaskResponse
- type UploadBotDataRequest
- type UploadBotDataResponse
- type UploadBotFileRequest
- type UploadBotFileResponse
- type UploadDataFileRequest
- type UploadDataFileResponse
- type UploadDataJsonRequest
- type UploadDataJsonResponse
- type UploadFileRequest
- type UploadFileResponse
Constants ¶
const APIVersion = "2018-03-21"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyBlackListDataRequest ¶
type ApplyBlackListDataRequest struct {
*tchttp.BaseRequest
// 模块名,AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,ApplyBlackListData
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 黑名单列表
BlackList []*BlackListData `json:"BlackList,omitempty" name:"BlackList" list`
}
func NewApplyBlackListDataRequest ¶
func NewApplyBlackListDataRequest() (request *ApplyBlackListDataRequest)
func (*ApplyBlackListDataRequest) FromJsonString ¶
func (r *ApplyBlackListDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyBlackListDataRequest) ToJsonString ¶
func (r *ApplyBlackListDataRequest) ToJsonString() string
type ApplyBlackListDataResponse ¶
type ApplyBlackListDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewApplyBlackListDataResponse ¶
func NewApplyBlackListDataResponse() (response *ApplyBlackListDataResponse)
func (*ApplyBlackListDataResponse) FromJsonString ¶
func (r *ApplyBlackListDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyBlackListDataResponse) ToJsonString ¶
func (r *ApplyBlackListDataResponse) ToJsonString() string
type ApplyBlackListRequest ¶
type ApplyBlackListRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:account
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:ApplyBlackList
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 黑名单列表
BlackList []*SingleBlackApply `json:"BlackList,omitempty" name:"BlackList" list`
// 实例ID,不传默认为系统分配的初始实例
InstId *string `json:"InstId,omitempty" name:"InstId"`
}
func NewApplyBlackListRequest ¶
func NewApplyBlackListRequest() (request *ApplyBlackListRequest)
func (*ApplyBlackListRequest) FromJsonString ¶
func (r *ApplyBlackListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyBlackListRequest) ToJsonString ¶
func (r *ApplyBlackListRequest) ToJsonString() string
type ApplyBlackListResponse ¶
type ApplyBlackListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewApplyBlackListResponse ¶
func NewApplyBlackListResponse() (response *ApplyBlackListResponse)
func (*ApplyBlackListResponse) FromJsonString ¶
func (r *ApplyBlackListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyBlackListResponse) ToJsonString ¶
func (r *ApplyBlackListResponse) ToJsonString() string
type ApplyCreditAuditRequest ¶
type ApplyCreditAuditRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Credit
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:Apply
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 实例ID
InstId *string `json:"InstId,omitempty" name:"InstId"`
// 产品ID,形如P******。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 信审任务ID,同一天内,同一InstId下,同一CaseId只能调用一次。
CaseId *string `json:"CaseId,omitempty" name:"CaseId"`
// 回调地址
CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`
// JSON格式的业务字段。
Data *string `json:"Data,omitempty" name:"Data"`
}
func NewApplyCreditAuditRequest ¶
func NewApplyCreditAuditRequest() (request *ApplyCreditAuditRequest)
func (*ApplyCreditAuditRequest) FromJsonString ¶
func (r *ApplyCreditAuditRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyCreditAuditRequest) ToJsonString ¶
func (r *ApplyCreditAuditRequest) ToJsonString() string
type ApplyCreditAuditResponse ¶
type ApplyCreditAuditResponse struct {
*tchttp.BaseResponse
Response *struct {
// 请求日期
RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewApplyCreditAuditResponse ¶
func NewApplyCreditAuditResponse() (response *ApplyCreditAuditResponse)
func (*ApplyCreditAuditResponse) FromJsonString ¶
func (r *ApplyCreditAuditResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyCreditAuditResponse) ToJsonString ¶
func (r *ApplyCreditAuditResponse) ToJsonString() string
type BlackListData ¶
type BlackListData struct {
// 黑名单类型,01代表手机号码。
BlackType *string `json:"BlackType,omitempty" name:"BlackType"`
// 操作类型,A为新增,D为删除。
// 注意:此字段可能返回 null,表示取不到有效值。
OperType *string `json:"OperType,omitempty" name:"OperType"`
// 黑名单值,BlackType为01时,填写11位手机号码。
BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"`
// 备注。
// 注意:此字段可能返回 null,表示取不到有效值。
BlackDescription *string `json:"BlackDescription,omitempty" name:"BlackDescription"`
// 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。
// 注意:此字段可能返回 null,表示取不到有效值。
BlackValidDate *string `json:"BlackValidDate,omitempty" name:"BlackValidDate"`
// 黑名单加入日期
// 注意:此字段可能返回 null,表示取不到有效值。
BlackAddDate *string `json:"BlackAddDate,omitempty" name:"BlackAddDate"`
// 0-生效 1-失效
BlackStatus *string `json:"BlackStatus,omitempty" name:"BlackStatus"`
}
type BotFileData ¶
type CallInfo ¶
type CallInfo struct {
// 业务日期
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
// 状态 WAIT:待执行;DOING:执行中;ERROR:执行错误;DONE:已完成;
Status *string `json:"Status,omitempty" name:"Status"`
// 成功总数
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 文件名称
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 文件类型 I:呼叫文件 R:停拨文件
FileType *string `json:"FileType,omitempty" name:"FileType"`
// 作业唯一标识
// 注意:此字段可能返回 null,表示取不到有效值。
CallId *string `json:"CallId,omitempty" name:"CallId"`
}
type CallTimeDict ¶
type CallTimeDict struct {
// 周一
Monday *CallTimeInfo `json:"Monday,omitempty" name:"Monday"`
// 周二
Tuesday *CallTimeInfo `json:"Tuesday,omitempty" name:"Tuesday"`
// 周三
Wednesday *CallTimeInfo `json:"Wednesday,omitempty" name:"Wednesday"`
// 周四
Thursday *CallTimeInfo `json:"Thursday,omitempty" name:"Thursday"`
// 周五
Friday *CallTimeInfo `json:"Friday,omitempty" name:"Friday"`
// 周六
Saturday *CallTimeInfo `json:"Saturday,omitempty" name:"Saturday"`
// 周日
Sunday *CallTimeInfo `json:"Sunday,omitempty" name:"Sunday"`
}
type CallTimeInfo ¶
type ChangeBotCallStatusRequest ¶
type ChangeBotCallStatusRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):ChangeBotCallStatus
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 作业变更状态
// SUSPEND:暂停;EXECUTE:恢复;
Status *string `json:"Status,omitempty" name:"Status"`
// 作业唯一标识
CallId *string `json:"CallId,omitempty" name:"CallId"`
// 业务日期
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
}
func NewChangeBotCallStatusRequest ¶
func NewChangeBotCallStatusRequest() (request *ChangeBotCallStatusRequest)
func (*ChangeBotCallStatusRequest) FromJsonString ¶
func (r *ChangeBotCallStatusRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ChangeBotCallStatusRequest) ToJsonString ¶
func (r *ChangeBotCallStatusRequest) ToJsonString() string
type ChangeBotCallStatusResponse ¶
type ChangeBotCallStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewChangeBotCallStatusResponse ¶
func NewChangeBotCallStatusResponse() (response *ChangeBotCallStatusResponse)
func (*ChangeBotCallStatusResponse) FromJsonString ¶
func (r *ChangeBotCallStatusResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ChangeBotCallStatusResponse) ToJsonString ¶
func (r *ChangeBotCallStatusResponse) ToJsonString() string
type ChangeBotTaskStatusRequest ¶
type ChangeBotTaskStatusRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):ChangeBotTaskStatus
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 作业变更状态
// SUSPEND:暂停;EXECUTE:恢复;
Status *string `json:"Status,omitempty" name:"Status"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
}
func NewChangeBotTaskStatusRequest ¶
func NewChangeBotTaskStatusRequest() (request *ChangeBotTaskStatusRequest)
func (*ChangeBotTaskStatusRequest) FromJsonString ¶
func (r *ChangeBotTaskStatusRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ChangeBotTaskStatusRequest) ToJsonString ¶
func (r *ChangeBotTaskStatusRequest) ToJsonString() string
type ChangeBotTaskStatusResponse ¶
type ChangeBotTaskStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewChangeBotTaskStatusResponse ¶
func NewChangeBotTaskStatusResponse() (response *ChangeBotTaskStatusResponse)
func (*ChangeBotTaskStatusResponse) FromJsonString ¶
func (r *ChangeBotTaskStatusResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ChangeBotTaskStatusResponse) ToJsonString ¶
func (r *ChangeBotTaskStatusResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyBlackList ¶
func (c *Client) ApplyBlackList(request *ApplyBlackListRequest) (response *ApplyBlackListResponse, err error)
提交黑名单后,黑名单中有效期内的号码将停止拨打,适用于到期/逾期提醒、回访场景。
func (*Client) ApplyBlackListData ¶
func (c *Client) ApplyBlackListData(request *ApplyBlackListDataRequest) (response *ApplyBlackListDataResponse, err error)
提交机器人黑名单申请
func (*Client) ApplyCreditAudit ¶
func (c *Client) ApplyCreditAudit(request *ApplyCreditAuditRequest) (response *ApplyCreditAuditResponse, err error)
提交信审外呼申请,返回当次请求日期。
func (*Client) ChangeBotCallStatus ¶
func (c *Client) ChangeBotCallStatus(request *ChangeBotCallStatusRequest) (response *ChangeBotCallStatusResponse, err error)
更新机器人任务作业状态
func (*Client) ChangeBotTaskStatus ¶
func (c *Client) ChangeBotTaskStatus(request *ChangeBotTaskStatusRequest) (response *ChangeBotTaskStatusResponse, err error)
更新机器人任务状态
func (*Client) CreateBotTask ¶
func (c *Client) CreateBotTask(request *CreateBotTaskRequest) (response *CreateBotTaskResponse, err error)
创建机器人任务
func (*Client) DescribeBotFlow ¶
func (c *Client) DescribeBotFlow(request *DescribeBotFlowRequest) (response *DescribeBotFlowResponse, err error)
查询机器人对话流
func (*Client) DescribeCreditResult ¶
func (c *Client) DescribeCreditResult(request *DescribeCreditResultRequest) (response *DescribeCreditResultResponse, err error)
根据信审任务ID和请求日期,获取相关信审结果。
func (*Client) DescribeFileModel ¶
func (c *Client) DescribeFileModel(request *DescribeFileModelRequest) (response *DescribeFileModelResponse, err error)
查询机器人文件模板
func (*Client) DescribeRecords ¶
func (c *Client) DescribeRecords(request *DescribeRecordsRequest) (response *DescribeRecordsResponse, err error)
用于获取指定案件的录音地址,次日早上8:00后可查询前日录音。
func (*Client) DescribeTaskStatus ¶
func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
根据上传文件接口的输出参数DataResId,获取相关上传结果。
func (*Client) DownloadBotRecord ¶
func (c *Client) DownloadBotRecord(request *DownloadBotRecordRequest) (response *DownloadBotRecordResponse, err error)
下载任务录音与文本,第二天12点后可使用此接口获取对应的录音与文本
func (*Client) DownloadDialogueText ¶
func (c *Client) DownloadDialogueText(request *DownloadDialogueTextRequest) (response *DownloadDialogueTextResponse, err error)
用于获取指定案件的对话文本内容,次日早上8:00后可查询前日对话文本内容。
func (*Client) DownloadRecordList ¶
func (c *Client) DownloadRecordList(request *DownloadRecordListRequest) (response *DownloadRecordListResponse, err error)
<p>用于获取录音下载链接清单,次日早上8:00后可查询前日录音清单。</p> <p>注意:录音清单中的录音下载链接仅次日20:00之前有效,请及时下载。</p>
func (*Client) DownloadReport ¶
func (c *Client) DownloadReport(request *DownloadReportRequest) (response *DownloadReportResponse, err error)
用于下载结果报表。当日23:00后,可获取当日到期/逾期提醒结果,次日00:30后,可获取昨日回访结果。
func (*Client) ExportBotData ¶
func (c *Client) ExportBotData(request *ExportBotDataRequest) (response *ExportBotDataResponse, err error)
导出机器人数据
func (*Client) QueryBlackListData ¶
func (c *Client) QueryBlackListData(request *QueryBlackListDataRequest) (response *QueryBlackListDataResponse, err error)
查看黑名单数据列表
func (*Client) QueryBotList ¶
func (c *Client) QueryBotList(request *QueryBotListRequest) (response *QueryBotListResponse, err error)
查询机器人任务状态列表
func (*Client) QueryCallList ¶
func (c *Client) QueryCallList(request *QueryCallListRequest) (response *QueryCallListResponse, err error)
机器人任务查询
func (*Client) QueryInstantData ¶
func (c *Client) QueryInstantData(request *QueryInstantDataRequest) (response *QueryInstantDataResponse, err error)
实时数据查询
func (*Client) QueryProducts ¶
func (c *Client) QueryProducts(request *QueryProductsRequest) (response *QueryProductsResponse, err error)
查询产品列表
func (*Client) QueryRecordList ¶
func (c *Client) QueryRecordList(request *QueryRecordListRequest) (response *QueryRecordListResponse, err error)
查询录音列表
func (*Client) UpdateBotTask ¶
func (c *Client) UpdateBotTask(request *UpdateBotTaskRequest) (response *UpdateBotTaskResponse, err error)
更新机器人任务
func (*Client) UploadBotData ¶
func (c *Client) UploadBotData(request *UploadBotDataRequest) (response *UploadBotDataResponse, err error)
上传机器人任务数据
func (*Client) UploadBotFile ¶
func (c *Client) UploadBotFile(request *UploadBotFileRequest) (response *UploadBotFileResponse, err error)
上传机器人文件
func (*Client) UploadDataFile ¶
func (c *Client) UploadDataFile(request *UploadDataFileRequest) (response *UploadDataFileResponse, err error)
上传文件,接口返回数据任务ID,支持xlsx、xls、csv、zip格式。
func (*Client) UploadDataJson ¶
func (c *Client) UploadDataJson(request *UploadDataJsonRequest) (response *UploadDataJsonResponse, err error)
上传Json格式数据,接口返回数据任务ID
func (*Client) UploadFile ¶
func (c *Client) UploadFile(request *UploadFileRequest) (response *UploadFileResponse, err error)
客户通过调用该接口上传需催收文档,格式需为excel格式。接口返回任务ID。
type CreateBotTaskRequest ¶
type CreateBotTaskRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):CreateTask
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 任务名称
BotName *string `json:"BotName,omitempty" name:"BotName"`
// 对话流ID
FlowId *string `json:"FlowId,omitempty" name:"FlowId"`
// 是否禁止拨打,默认Y
BanCall *string `json:"BanCall,omitempty" name:"BanCall"`
// 拨打线路集合
PhoneCollection *string `json:"PhoneCollection,omitempty" name:"PhoneCollection"`
// 产品拨打时间集合
CallTimeCollection *CallTimeDict `json:"CallTimeCollection,omitempty" name:"CallTimeCollection"`
// 禁止拨打起始时间。默认130000
StartTimeBan *string `json:"StartTimeBan,omitempty" name:"StartTimeBan"`
// 禁止拨打结束时间。默认140000
EndTimeBan *string `json:"EndTimeBan,omitempty" name:"EndTimeBan"`
// 重播方式,NON:未接通、LABEL:意向分级,可多选,用竖线分隔:NON|LABEL
CodeType *string `json:"CodeType,omitempty" name:"CodeType"`
// 重播值集合,A:强意向、B:中意向、C:低意向、D:无意向、E:在忙、F:未接通、G:无效号码,可多选,用竖线分隔:A|B|C|D|E|F|G
CodeCollection *string `json:"CodeCollection,omitempty" name:"CodeCollection"`
// 继续拨打次数
CallCount *int64 `json:"CallCount,omitempty" name:"CallCount"`
// 拨打间隔
CallInterval *int64 `json:"CallInterval,omitempty" name:"CallInterval"`
// 未接通引用短信签名ID
SmsSignId *string `json:"SmsSignId,omitempty" name:"SmsSignId"`
// 未接通引用短信模板ID
SmsTemplateId *string `json:"SmsTemplateId,omitempty" name:"SmsTemplateId"`
// 拨打方式。NORMAL - 正常拨打;TIMER - 定时拨打
CallType *string `json:"CallType,omitempty" name:"CallType"`
// 拨打开始日期。CallType=TIMER时有值,yyyy-MM-dd
CallStartDate *string `json:"CallStartDate,omitempty" name:"CallStartDate"`
// 拨打结束日期。CallType=PERIOD 时有值,yyyy-MM-dd
CallEndDate *string `json:"CallEndDate,omitempty" name:"CallEndDate"`
}
func NewCreateBotTaskRequest ¶
func NewCreateBotTaskRequest() (request *CreateBotTaskRequest)
func (*CreateBotTaskRequest) FromJsonString ¶
func (r *CreateBotTaskRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBotTaskRequest) ToJsonString ¶
func (r *CreateBotTaskRequest) ToJsonString() string
type CreateBotTaskResponse ¶
type CreateBotTaskResponse struct {
*tchttp.BaseResponse
Response *struct {
// 机器人任务Id
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateBotTaskResponse ¶
func NewCreateBotTaskResponse() (response *CreateBotTaskResponse)
func (*CreateBotTaskResponse) FromJsonString ¶
func (r *CreateBotTaskResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBotTaskResponse) ToJsonString ¶
func (r *CreateBotTaskResponse) ToJsonString() string
type DescribeBotFlowRequest ¶
type DescribeBotFlowRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):GetFlow
Operation *string `json:"Operation,omitempty" name:"Operation"`
}
func NewDescribeBotFlowRequest ¶
func NewDescribeBotFlowRequest() (request *DescribeBotFlowRequest)
func (*DescribeBotFlowRequest) FromJsonString ¶
func (r *DescribeBotFlowRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotFlowRequest) ToJsonString ¶
func (r *DescribeBotFlowRequest) ToJsonString() string
type DescribeBotFlowResponse ¶
type DescribeBotFlowResponse struct {
*tchttp.BaseResponse
Response *struct {
// 机器人对话流列表
// 注意:此字段可能返回 null,表示取不到有效值。
BotFlowList []*BotFlow `json:"BotFlowList,omitempty" name:"BotFlowList" list`
// 短信签名列表
// 注意:此字段可能返回 null,表示取不到有效值。
SmsSignList []*SmsSign `json:"SmsSignList,omitempty" name:"SmsSignList" list`
// 短信模板列表
// 注意:此字段可能返回 null,表示取不到有效值。
SmsTemplateList []*SmsTemplate `json:"SmsTemplateList,omitempty" name:"SmsTemplateList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeBotFlowResponse ¶
func NewDescribeBotFlowResponse() (response *DescribeBotFlowResponse)
func (*DescribeBotFlowResponse) FromJsonString ¶
func (r *DescribeBotFlowResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotFlowResponse) ToJsonString ¶
func (r *DescribeBotFlowResponse) ToJsonString() string
type DescribeCreditResultRequest ¶
type DescribeCreditResultRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Credit
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:Get
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 实例ID
InstId *string `json:"InstId,omitempty" name:"InstId"`
// 产品ID,形如P******。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 信审任务ID
CaseId *string `json:"CaseId,omitempty" name:"CaseId"`
// 请求日期,格式为YYYY-MM-DD
RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"`
}
func NewDescribeCreditResultRequest ¶
func NewDescribeCreditResultRequest() (request *DescribeCreditResultRequest)
func (*DescribeCreditResultRequest) FromJsonString ¶
func (r *DescribeCreditResultRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCreditResultRequest) ToJsonString ¶
func (r *DescribeCreditResultRequest) ToJsonString() string
type DescribeCreditResultResponse ¶
type DescribeCreditResultResponse struct {
*tchttp.BaseResponse
Response *struct {
// <p>呼叫结果,取值范围:</p><ul style="margin-bottom:0px;"><li>NON:接通</li><li>DBU:号码忙</li><li>DRF:不在服务区</li><li>ANA:欠费未接听</li><li>REJ:拒接</li><li>SHU:关机</li><li>NAN:空号</li><li>HAL:停机</li><li>DAD:未接听</li><li>EXE:其他异常</li></ul>
ResultCode *string `json:"ResultCode,omitempty" name:"ResultCode"`
// 客户标识代码,多个标识码以英文逗号分隔,ResultCode为NON时才有。
// 注意:此字段可能返回 null,表示取不到有效值。
ClientCode *string `json:"ClientCode,omitempty" name:"ClientCode"`
// 开始振铃时间,ResultCode为NON或DAD时才有此字段。
// 注意:此字段可能返回 null,表示取不到有效值。
RingStartTime *string `json:"RingStartTime,omitempty" name:"RingStartTime"`
// 振铃时长
RingDuration *int64 `json:"RingDuration,omitempty" name:"RingDuration"`
// 接通时长
AnswerDuration *int64 `json:"AnswerDuration,omitempty" name:"AnswerDuration"`
// JSON格式的扩展信息字段,ResultCode为NON时才有。
// 注意:此字段可能返回 null,表示取不到有效值。
ContextValue *string `json:"ContextValue,omitempty" name:"ContextValue"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCreditResultResponse ¶
func NewDescribeCreditResultResponse() (response *DescribeCreditResultResponse)
func (*DescribeCreditResultResponse) FromJsonString ¶
func (r *DescribeCreditResultResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCreditResultResponse) ToJsonString ¶
func (r *DescribeCreditResultResponse) ToJsonString() string
type DescribeFileModelRequest ¶
type DescribeFileModelRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):DescribeFileModel
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 模板文件类型,输入input,停拨stop
FileType *string `json:"FileType,omitempty" name:"FileType"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
}
func NewDescribeFileModelRequest ¶
func NewDescribeFileModelRequest() (request *DescribeFileModelRequest)
func (*DescribeFileModelRequest) FromJsonString ¶
func (r *DescribeFileModelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFileModelRequest) ToJsonString ¶
func (r *DescribeFileModelRequest) ToJsonString() string
type DescribeFileModelResponse ¶
type DescribeFileModelResponse struct {
*tchttp.BaseResponse
Response *struct {
// 模板下载链接
CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeFileModelResponse ¶
func NewDescribeFileModelResponse() (response *DescribeFileModelResponse)
func (*DescribeFileModelResponse) FromJsonString ¶
func (r *DescribeFileModelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFileModelResponse) ToJsonString ¶
func (r *DescribeFileModelResponse) ToJsonString() string
type DescribeRecordsRequest ¶
type DescribeRecordsRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Record
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:List
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 案件编号
AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"`
// 被叫号码
CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`
// 查询起始日期,格式为YYYY-MM-DD
StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`
// 查询结束日期,格式为YYYY-MM-DD
EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`
// 分页参数,索引,默认为0
Offset *string `json:"Offset,omitempty" name:"Offset"`
// 分页参数,页长,默认为20
Limit *string `json:"Limit,omitempty" name:"Limit"`
// 实例ID,不传默认为系统分配的初始实例
InstId *string `json:"InstId,omitempty" name:"InstId"`
}
func NewDescribeRecordsRequest ¶
func NewDescribeRecordsRequest() (request *DescribeRecordsRequest)
func (*DescribeRecordsRequest) FromJsonString ¶
func (r *DescribeRecordsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordsRequest) ToJsonString ¶
func (r *DescribeRecordsRequest) ToJsonString() string
type DescribeRecordsResponse ¶
type DescribeRecordsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录音列表。
// 注意:此字段可能返回 null,表示取不到有效值。
RecordList []*SingleRecord `json:"RecordList,omitempty" name:"RecordList" list`
// 录音总量。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeRecordsResponse ¶
func NewDescribeRecordsResponse() (response *DescribeRecordsResponse)
func (*DescribeRecordsResponse) FromJsonString ¶
func (r *DescribeRecordsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordsResponse) ToJsonString ¶
func (r *DescribeRecordsResponse) ToJsonString() string
type DescribeTaskStatusRequest ¶
type DescribeTaskStatusRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Task
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:DescribeTaskStatus
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 任务ID,"上传文件"接口返回的DataResId,形如abc-xyz123
TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
// 实例ID,不传默认为系统分配的初始实例。
InstId *string `json:"InstId,omitempty" name:"InstId"`
}
func NewDescribeTaskStatusRequest ¶
func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)
func (*DescribeTaskStatusRequest) FromJsonString ¶
func (r *DescribeTaskStatusRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusRequest) ToJsonString ¶
func (r *DescribeTaskStatusRequest) ToJsonString() string
type DescribeTaskStatusResponse ¶
type DescribeTaskStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// <p>任务结果:</p><ul style="margin-bottom:0px;"><li>处理中:"Uploading Data."</li><li>上传成功:"File Uploading Task Success."</li><li>上传失败:具体失败原因</li></ul>
TaskResult *string `json:"TaskResult,omitempty" name:"TaskResult"`
// <p>任务类型:</p><ul style="margin-bottom:0px;"><li>到期/逾期提醒数据上传:002</li><li>到期/逾期提醒停拨数据上传:003</li><li>回访数据上传:004</li><li>回访停拨数据上传:005</li></ul>
TaskType *string `json:"TaskType,omitempty" name:"TaskType"`
// 过滤文件下载链接,有过滤数据时才存在。
// 注意:此字段可能返回 null,表示取不到有效值。
TaskFileUrl *string `json:"TaskFileUrl,omitempty" name:"TaskFileUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTaskStatusResponse ¶
func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)
func (*DescribeTaskStatusResponse) FromJsonString ¶
func (r *DescribeTaskStatusResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusResponse) ToJsonString ¶
func (r *DescribeTaskStatusResponse) ToJsonString() string
type DownloadBotRecordRequest ¶
type DownloadBotRecordRequest struct {
*tchttp.BaseRequest
// 模块:AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作:DownloadRecord
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 业务日期
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
}
func NewDownloadBotRecordRequest ¶
func NewDownloadBotRecordRequest() (request *DownloadBotRecordRequest)
func (*DownloadBotRecordRequest) FromJsonString ¶
func (r *DownloadBotRecordRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadBotRecordRequest) ToJsonString ¶
func (r *DownloadBotRecordRequest) ToJsonString() string
type DownloadBotRecordResponse ¶
type DownloadBotRecordResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录音地址。请求后30分钟内有效
RecordCosUrl *string `json:"RecordCosUrl,omitempty" name:"RecordCosUrl"`
// 文本地址。请求后30分钟内有效
TextCosUrl *string `json:"TextCosUrl,omitempty" name:"TextCosUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDownloadBotRecordResponse ¶
func NewDownloadBotRecordResponse() (response *DownloadBotRecordResponse)
func (*DownloadBotRecordResponse) FromJsonString ¶
func (r *DownloadBotRecordResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadBotRecordResponse) ToJsonString ¶
func (r *DownloadBotRecordResponse) ToJsonString() string
type DownloadDialogueTextRequest ¶
type DownloadDialogueTextRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Report
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:DownloadTextReport
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 报告日期,格式为YYYY-MM-DD
ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"`
// 实例ID
InstId *string `json:"InstId,omitempty" name:"InstId"`
}
func NewDownloadDialogueTextRequest ¶
func NewDownloadDialogueTextRequest() (request *DownloadDialogueTextRequest)
func (*DownloadDialogueTextRequest) FromJsonString ¶
func (r *DownloadDialogueTextRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadDialogueTextRequest) ToJsonString ¶
func (r *DownloadDialogueTextRequest) ToJsonString() string
type DownloadDialogueTextResponse ¶
type DownloadDialogueTextResponse struct {
*tchttp.BaseResponse
Response *struct {
// 对话文本下载地址
TextReportUrl *string `json:"TextReportUrl,omitempty" name:"TextReportUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDownloadDialogueTextResponse ¶
func NewDownloadDialogueTextResponse() (response *DownloadDialogueTextResponse)
func (*DownloadDialogueTextResponse) FromJsonString ¶
func (r *DownloadDialogueTextResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadDialogueTextResponse) ToJsonString ¶
func (r *DownloadDialogueTextResponse) ToJsonString() string
type DownloadRecordListRequest ¶
type DownloadRecordListRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Record
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:DownloadList
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 录音日期,格式为YYYY-MM-DD
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
// 实例ID
InstId *string `json:"InstId,omitempty" name:"InstId"`
}
func NewDownloadRecordListRequest ¶
func NewDownloadRecordListRequest() (request *DownloadRecordListRequest)
func (*DownloadRecordListRequest) FromJsonString ¶
func (r *DownloadRecordListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadRecordListRequest) ToJsonString ¶
func (r *DownloadRecordListRequest) ToJsonString() string
type DownloadRecordListResponse ¶
type DownloadRecordListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录音列表下载地址
RecordListUrl *string `json:"RecordListUrl,omitempty" name:"RecordListUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDownloadRecordListResponse ¶
func NewDownloadRecordListResponse() (response *DownloadRecordListResponse)
func (*DownloadRecordListResponse) FromJsonString ¶
func (r *DownloadRecordListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadRecordListResponse) ToJsonString ¶
func (r *DownloadRecordListResponse) ToJsonString() string
type DownloadReportRequest ¶
type DownloadReportRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Report
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:DownloadReport
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 报告日期,格式为YYYY-MM-DD
ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"`
// 实例ID,不传默认为系统分配的初始实例。
InstId *string `json:"InstId,omitempty" name:"InstId"`
}
func NewDownloadReportRequest ¶
func NewDownloadReportRequest() (request *DownloadReportRequest)
func (*DownloadReportRequest) FromJsonString ¶
func (r *DownloadReportRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadReportRequest) ToJsonString ¶
func (r *DownloadReportRequest) ToJsonString() string
type DownloadReportResponse ¶
type DownloadReportResponse struct {
*tchttp.BaseResponse
Response *struct {
// 到期/逾期提醒日报下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
DailyReportUrl *string `json:"DailyReportUrl,omitempty" name:"DailyReportUrl"`
// 到期/逾期提醒结果下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
ResultReportUrl *string `json:"ResultReportUrl,omitempty" name:"ResultReportUrl"`
// 到期/逾期提醒明细下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
DetailReportUrl *string `json:"DetailReportUrl,omitempty" name:"DetailReportUrl"`
// 回访日报下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
CallbackDailyReportUrl *string `json:"CallbackDailyReportUrl,omitempty" name:"CallbackDailyReportUrl"`
// 回访结果下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
CallbackResultReportUrl *string `json:"CallbackResultReportUrl,omitempty" name:"CallbackResultReportUrl"`
// 回访明细下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
CallbackDetailReportUrl *string `json:"CallbackDetailReportUrl,omitempty" name:"CallbackDetailReportUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDownloadReportResponse ¶
func NewDownloadReportResponse() (response *DownloadReportResponse)
func (*DownloadReportResponse) FromJsonString ¶
func (r *DownloadReportResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadReportResponse) ToJsonString ¶
func (r *DownloadReportResponse) ToJsonString() string
type ExportBotDataRequest ¶
type ExportBotDataRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):ExportBotData
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 业务日期。YYYY-MM-DD
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
}
func NewExportBotDataRequest ¶
func NewExportBotDataRequest() (request *ExportBotDataRequest)
func (*ExportBotDataRequest) FromJsonString ¶
func (r *ExportBotDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportBotDataRequest) ToJsonString ¶
func (r *ExportBotDataRequest) ToJsonString() string
type ExportBotDataResponse ¶
type ExportBotDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件列表
Data []*BotFileData `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportBotDataResponse ¶
func NewExportBotDataResponse() (response *ExportBotDataResponse)
func (*ExportBotDataResponse) FromJsonString ¶
func (r *ExportBotDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportBotDataResponse) ToJsonString ¶
func (r *ExportBotDataResponse) ToJsonString() string
type ProductQueryInfo ¶
type ProductQueryInfo struct {
// 产品Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品名称
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品编码
// 注意:此字段可能返回 null,表示取不到有效值。
ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"`
// 产品状态 0 禁用 1 启用
// 注意:此字段可能返回 null,表示取不到有效值。
ProductStatus *int64 `json:"ProductStatus,omitempty" name:"ProductStatus"`
// 场景类型
// 注意:此字段可能返回 null,表示取不到有效值。
SceneType *string `json:"SceneType,omitempty" name:"SceneType"`
}
type QueryBlackListDataRequest ¶
type QueryBlackListDataRequest struct {
*tchttp.BaseRequest
// 模块:AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作:QueryBlackListData
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 页码
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 每页数量
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 开始日期
StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`
// 结束日期
EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`
// 电话号码、手机
BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"`
}
func NewQueryBlackListDataRequest ¶
func NewQueryBlackListDataRequest() (request *QueryBlackListDataRequest)
func (*QueryBlackListDataRequest) FromJsonString ¶
func (r *QueryBlackListDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryBlackListDataRequest) ToJsonString ¶
func (r *QueryBlackListDataRequest) ToJsonString() string
type QueryBlackListDataResponse ¶
type QueryBlackListDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 总数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 黑名单列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*BlackListData `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewQueryBlackListDataResponse ¶
func NewQueryBlackListDataResponse() (response *QueryBlackListDataResponse)
func (*QueryBlackListDataResponse) FromJsonString ¶
func (r *QueryBlackListDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryBlackListDataResponse) ToJsonString ¶
func (r *QueryBlackListDataResponse) ToJsonString() string
type QueryBotListRequest ¶
type QueryBotListRequest struct {
*tchttp.BaseRequest
// 模块名:AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名:QueryBotList
Operation *string `json:"Operation,omitempty" name:"Operation"`
}
func NewQueryBotListRequest ¶
func NewQueryBotListRequest() (request *QueryBotListRequest)
func (*QueryBotListRequest) FromJsonString ¶
func (r *QueryBotListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryBotListRequest) ToJsonString ¶
func (r *QueryBotListRequest) ToJsonString() string
type QueryBotListResponse ¶
type QueryBotListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 任务列表。
BotList []*BotInfo `json:"BotList,omitempty" name:"BotList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewQueryBotListResponse ¶
func NewQueryBotListResponse() (response *QueryBotListResponse)
func (*QueryBotListResponse) FromJsonString ¶
func (r *QueryBotListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryBotListResponse) ToJsonString ¶
func (r *QueryBotListResponse) ToJsonString() string
type QueryCallListRequest ¶
type QueryCallListRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):QueryCallList
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 业务日期
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
// 通过API或平台上传的文件完整名称
FileName *string `json:"FileName,omitempty" name:"FileName"`
}
func NewQueryCallListRequest ¶
func NewQueryCallListRequest() (request *QueryCallListRequest)
func (*QueryCallListRequest) FromJsonString ¶
func (r *QueryCallListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCallListRequest) ToJsonString ¶
func (r *QueryCallListRequest) ToJsonString() string
type QueryCallListResponse ¶
type QueryCallListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 任务作业状态
// 注意:此字段可能返回 null,表示取不到有效值。
CallList []*CallInfo `json:"CallList,omitempty" name:"CallList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewQueryCallListResponse ¶
func NewQueryCallListResponse() (response *QueryCallListResponse)
func (*QueryCallListResponse) FromJsonString ¶
func (r *QueryCallListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCallListResponse) ToJsonString ¶
func (r *QueryCallListResponse) ToJsonString() string
type QueryInstantDataRequest ¶
type QueryInstantDataRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Data
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:Query
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 实例ID,不传默认为系统分配的初始实例
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
// 查询类型:callRecord 通话记录
QueryModel *string `json:"QueryModel,omitempty" name:"QueryModel"`
// 查询参数
Data *string `json:"Data,omitempty" name:"Data"`
}
func NewQueryInstantDataRequest ¶
func NewQueryInstantDataRequest() (request *QueryInstantDataRequest)
func (*QueryInstantDataRequest) FromJsonString ¶
func (r *QueryInstantDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryInstantDataRequest) ToJsonString ¶
func (r *QueryInstantDataRequest) ToJsonString() string
type QueryInstantDataResponse ¶
type QueryInstantDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 总数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 返回内容
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewQueryInstantDataResponse ¶
func NewQueryInstantDataResponse() (response *QueryInstantDataResponse)
func (*QueryInstantDataResponse) FromJsonString ¶
func (r *QueryInstantDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryInstantDataResponse) ToJsonString ¶
func (r *QueryInstantDataResponse) ToJsonString() string
type QueryProductsRequest ¶
type QueryProductsRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):Product
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):QueryProducts
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 实例Id。
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}
func NewQueryProductsRequest ¶
func NewQueryProductsRequest() (request *QueryProductsRequest)
func (*QueryProductsRequest) FromJsonString ¶
func (r *QueryProductsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryProductsRequest) ToJsonString ¶
func (r *QueryProductsRequest) ToJsonString() string
type QueryProductsResponse ¶
type QueryProductsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 产品信息。
ProductList []*ProductQueryInfo `json:"ProductList,omitempty" name:"ProductList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewQueryProductsResponse ¶
func NewQueryProductsResponse() (response *QueryProductsResponse)
func (*QueryProductsResponse) FromJsonString ¶
func (r *QueryProductsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryProductsResponse) ToJsonString ¶
func (r *QueryProductsResponse) ToJsonString() string
type QueryRecordListRequest ¶
type QueryRecordListRequest struct {
*tchttp.BaseRequest
// 模块名。AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。QueryRecordList
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 偏移值
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 偏移位移,最大20
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
// 被叫号码
CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`
// 开始日期
StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`
// 结束日期
EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`
}
func NewQueryRecordListRequest ¶
func NewQueryRecordListRequest() (request *QueryRecordListRequest)
func (*QueryRecordListRequest) FromJsonString ¶
func (r *QueryRecordListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryRecordListRequest) ToJsonString ¶
func (r *QueryRecordListRequest) ToJsonString() string
type QueryRecordListResponse ¶
type QueryRecordListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录音列表。
RecordList []*RecordInfo `json:"RecordList,omitempty" name:"RecordList" list`
// 总数
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewQueryRecordListResponse ¶
func NewQueryRecordListResponse() (response *QueryRecordListResponse)
func (*QueryRecordListResponse) FromJsonString ¶
func (r *QueryRecordListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryRecordListResponse) ToJsonString ¶
func (r *QueryRecordListResponse) ToJsonString() string
type RecordInfo ¶
type RecordInfo struct {
// 任务Id
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称
BotName *string `json:"BotName,omitempty" name:"BotName"`
// 任务日期
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
// 被叫号码
CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`
// 开始通话时间
CallStartTime *string `json:"CallStartTime,omitempty" name:"CallStartTime"`
// 通话时长
Duration *int64 `json:"Duration,omitempty" name:"Duration"`
// 录音文件地址
CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`
// 对话日志。JSON格式
DialogueLog *string `json:"DialogueLog,omitempty" name:"DialogueLog"`
// 录音文件名
CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
}
type SingleBlackApply ¶
type SingleBlackApply struct {
// 黑名单类型,01代表手机号码。
BlackType *string `json:"BlackType,omitempty" name:"BlackType"`
// 操作类型,A为新增,D为删除。
OperationType *string `json:"OperationType,omitempty" name:"OperationType"`
// 黑名单值,BlackType为01时,填写11位手机号码。
BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"`
// 备注。
BlackDescription *string `json:"BlackDescription,omitempty" name:"BlackDescription"`
// 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。
BlackValidDate *string `json:"BlackValidDate,omitempty" name:"BlackValidDate"`
}
type SingleRecord ¶
type SingleRecord struct {
// 案件编号。
AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"`
// 外呼日期。
BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
// 开始呼叫时间。
CallStartTime *string `json:"CallStartTime,omitempty" name:"CallStartTime"`
// 主叫号码。
CallerPhone *string `json:"CallerPhone,omitempty" name:"CallerPhone"`
// 呼叫方向,O为呼出,I为呼入。
Direction *string `json:"Direction,omitempty" name:"Direction"`
// 通话时长。
Duration *int64 `json:"Duration,omitempty" name:"Duration"`
// 产品ID。
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 录音下载链接。
// 注意:此字段可能返回 null,表示取不到有效值。
RecordCosUrl *string `json:"RecordCosUrl,omitempty" name:"RecordCosUrl"`
}
type SmsTemplate ¶
type UpdateBotTaskRequest ¶
type UpdateBotTaskRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):UpdateTask
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 任务名称
BotName *string `json:"BotName,omitempty" name:"BotName"`
// 任务ID
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 产品拨打时间集合
CallTimeCollection *CallTimeDict `json:"CallTimeCollection,omitempty" name:"CallTimeCollection"`
// 是否禁止拨打,默认Y
BanCall *string `json:"BanCall,omitempty" name:"BanCall"`
// 禁止拨打起始时间。默认130000
StartTimeBan *string `json:"StartTimeBan,omitempty" name:"StartTimeBan"`
// 禁止拨打结束时间。默认140000
EndTimeBan *string `json:"EndTimeBan,omitempty" name:"EndTimeBan"`
// 拨打线路集合
PhoneCollection *string `json:"PhoneCollection,omitempty" name:"PhoneCollection"`
// 重播方式,NON:未接通、LABEL:意向分级,可多选,用竖线分隔:NON|LABEL
CodeType *string `json:"CodeType,omitempty" name:"CodeType"`
// 重播值集合,A:强意向、B:中意向、C:低意向、D:无意向、E:在忙、F:未接通、G:无效号码,可多选,用竖线分隔:A|B|C|D|E|F|G
CodeCollection *string `json:"CodeCollection,omitempty" name:"CodeCollection"`
// 继续拨打次数
CallCount *int64 `json:"CallCount,omitempty" name:"CallCount"`
// 拨打间隔
CallInterval *int64 `json:"CallInterval,omitempty" name:"CallInterval"`
// 未接通引用短信签名ID
SmsSignId *string `json:"SmsSignId,omitempty" name:"SmsSignId"`
// 未接通引用短信模板ID
SmsTemplateId *string `json:"SmsTemplateId,omitempty" name:"SmsTemplateId"`
}
func NewUpdateBotTaskRequest ¶
func NewUpdateBotTaskRequest() (request *UpdateBotTaskRequest)
func (*UpdateBotTaskRequest) FromJsonString ¶
func (r *UpdateBotTaskRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateBotTaskRequest) ToJsonString ¶
func (r *UpdateBotTaskRequest) ToJsonString() string
type UpdateBotTaskResponse ¶
type UpdateBotTaskResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateBotTaskResponse ¶
func NewUpdateBotTaskResponse() (response *UpdateBotTaskResponse)
func (*UpdateBotTaskResponse) FromJsonString ¶
func (r *UpdateBotTaskResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateBotTaskResponse) ToJsonString ¶
func (r *UpdateBotTaskResponse) ToJsonString() string
type UploadBotDataRequest ¶
type UploadBotDataRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):UploadData
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 任务数据。JSON格式
Data *string `json:"Data,omitempty" name:"Data"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
}
func NewUploadBotDataRequest ¶
func NewUploadBotDataRequest() (request *UploadBotDataRequest)
func (*UploadBotDataRequest) FromJsonString ¶
func (r *UploadBotDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadBotDataRequest) ToJsonString ¶
func (r *UploadBotDataRequest) ToJsonString() string
type UploadBotDataResponse ¶
type UploadBotDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUploadBotDataResponse ¶
func NewUploadBotDataResponse() (response *UploadBotDataResponse)
func (*UploadBotDataResponse) FromJsonString ¶
func (r *UploadBotDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadBotDataResponse) ToJsonString ¶
func (r *UploadBotDataResponse) ToJsonString() string
type UploadBotFileRequest ¶
type UploadBotFileRequest struct {
*tchttp.BaseRequest
// 模块名。默认值(固定):AiApi
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名。默认值(固定):Upload
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 文件类型,输入input,停拨stop
FileType *string `json:"FileType,omitempty" name:"FileType"`
// 文件链接
FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`
// 文件名
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 任务ID,二者必填一个
BotId *string `json:"BotId,omitempty" name:"BotId"`
// 任务名称,二者必填一个
BotName *string `json:"BotName,omitempty" name:"BotName"`
}
func NewUploadBotFileRequest ¶
func NewUploadBotFileRequest() (request *UploadBotFileRequest)
func (*UploadBotFileRequest) FromJsonString ¶
func (r *UploadBotFileRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadBotFileRequest) ToJsonString ¶
func (r *UploadBotFileRequest) ToJsonString() string
type UploadBotFileResponse ¶
type UploadBotFileResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUploadBotFileResponse ¶
func NewUploadBotFileResponse() (response *UploadBotFileResponse)
func (*UploadBotFileResponse) FromJsonString ¶
func (r *UploadBotFileResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadBotFileResponse) ToJsonString ¶
func (r *UploadBotFileResponse) ToJsonString() string
type UploadDataFileRequest ¶
type UploadDataFileRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Data
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:Upload
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 文件名
FileName *string `json:"FileName,omitempty" name:"FileName"`
// <p>上传类型,不填默认到期/逾期提醒文件,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒文件</li><li>repay:到期/逾期提醒停拨文件</li><li>callback:回访文件</li><li>callstop:回访停拨文件</li><li>blacklist:黑名单文件</li></ul>
UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"`
// 文件,文件与文件地址上传只可选用一种,必须使用multipart/form-data协议来上传二进制流文件,建议使用xlsx格式,大小不超过5MB。
File *string `json:"File,omitempty" name:"File"`
// 文件上传地址,文件与文件地址上传只可选用一种,大小不超过50MB。
FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`
// 实例ID,不传默认为系统分配的初始实例。
InstId *string `json:"InstId,omitempty" name:"InstId"`
}
func NewUploadDataFileRequest ¶
func NewUploadDataFileRequest() (request *UploadDataFileRequest)
func (*UploadDataFileRequest) FromJsonString ¶
func (r *UploadDataFileRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadDataFileRequest) ToJsonString ¶
func (r *UploadDataFileRequest) ToJsonString() string
type UploadDataFileResponse ¶
type UploadDataFileResponse struct {
*tchttp.BaseResponse
Response *struct {
// 数据ID
DataResId *string `json:"DataResId,omitempty" name:"DataResId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUploadDataFileResponse ¶
func NewUploadDataFileResponse() (response *UploadDataFileResponse)
func (*UploadDataFileResponse) FromJsonString ¶
func (r *UploadDataFileResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadDataFileResponse) ToJsonString ¶
func (r *UploadDataFileResponse) ToJsonString() string
type UploadDataJsonRequest ¶
type UploadDataJsonRequest struct {
*tchttp.BaseRequest
// 模块名,本接口取值:Data
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名,本接口取值:UploadJson
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 报文信息
Data *string `json:"Data,omitempty" name:"Data"`
// <p>上传类型,不填默认到期/逾期提醒数据,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒数据</li><li>repay:到期/逾期提醒停拨数据</li></ul>
UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"`
// 实例ID,不传默认为系统分配的初始实例。
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}
func NewUploadDataJsonRequest ¶
func NewUploadDataJsonRequest() (request *UploadDataJsonRequest)
func (*UploadDataJsonRequest) FromJsonString ¶
func (r *UploadDataJsonRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadDataJsonRequest) ToJsonString ¶
func (r *UploadDataJsonRequest) ToJsonString() string
type UploadDataJsonResponse ¶
type UploadDataJsonResponse struct {
*tchttp.BaseResponse
Response *struct {
// 响应报文信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUploadDataJsonResponse ¶
func NewUploadDataJsonResponse() (response *UploadDataJsonResponse)
func (*UploadDataJsonResponse) FromJsonString ¶
func (r *UploadDataJsonResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadDataJsonResponse) ToJsonString ¶
func (r *UploadDataJsonResponse) ToJsonString() string
type UploadFileRequest ¶
type UploadFileRequest struct {
*tchttp.BaseRequest
// 模块名
Module *string `json:"Module,omitempty" name:"Module"`
// 操作名
Operation *string `json:"Operation,omitempty" name:"Operation"`
// 文件上传地址,要求地址协议为HTTPS,且URL端口必须为443
FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`
// 文件名
FileName *string `json:"FileName,omitempty" name:"FileName"`
// 文件日期
FileDate *string `json:"FileDate,omitempty" name:"FileDate"`
}
func NewUploadFileRequest ¶
func NewUploadFileRequest() (request *UploadFileRequest)
func (*UploadFileRequest) FromJsonString ¶
func (r *UploadFileRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadFileRequest) ToJsonString ¶
func (r *UploadFileRequest) ToJsonString() string
type UploadFileResponse ¶
type UploadFileResponse struct {
*tchttp.BaseResponse
Response *struct {
// 任务ID
TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUploadFileResponse ¶
func NewUploadFileResponse() (response *UploadFileResponse)
func (*UploadFileResponse) FromJsonString ¶
func (r *UploadFileResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadFileResponse) ToJsonString ¶
func (r *UploadFileResponse) ToJsonString() string