1// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//    http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package v20180321
16
17import (
18    "encoding/json"
19    tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors"
20    tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http"
21)
22
23type ApplyBlackListDataRequest struct {
24	*tchttp.BaseRequest
25
26	// 模块名,AiApi
27	Module *string `json:"Module,omitempty" name:"Module"`
28
29	// 操作名,ApplyBlackListData
30	Operation *string `json:"Operation,omitempty" name:"Operation"`
31
32	// 黑名单列表
33	BlackList []*BlackListData `json:"BlackList,omitempty" name:"BlackList"`
34}
35
36func (r *ApplyBlackListDataRequest) ToJsonString() string {
37    b, _ := json.Marshal(r)
38    return string(b)
39}
40
41// FromJsonString It is highly **NOT** recommended to use this function
42// because it has no param check, nor strict type check
43func (r *ApplyBlackListDataRequest) FromJsonString(s string) error {
44	f := make(map[string]interface{})
45	if err := json.Unmarshal([]byte(s), &f); err != nil {
46		return err
47	}
48	delete(f, "Module")
49	delete(f, "Operation")
50	delete(f, "BlackList")
51	if len(f) > 0 {
52		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ApplyBlackListDataRequest has unknown keys!", "")
53	}
54	return json.Unmarshal([]byte(s), &r)
55}
56
57type ApplyBlackListDataResponse struct {
58	*tchttp.BaseResponse
59	Response *struct {
60
61		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
62		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
63	} `json:"Response"`
64}
65
66func (r *ApplyBlackListDataResponse) ToJsonString() string {
67    b, _ := json.Marshal(r)
68    return string(b)
69}
70
71// FromJsonString It is highly **NOT** recommended to use this function
72// because it has no param check, nor strict type check
73func (r *ApplyBlackListDataResponse) FromJsonString(s string) error {
74	return json.Unmarshal([]byte(s), &r)
75}
76
77type ApplyBlackListRequest struct {
78	*tchttp.BaseRequest
79
80	// 模块名,本接口取值:account
81	Module *string `json:"Module,omitempty" name:"Module"`
82
83	// 操作名,本接口取值:ApplyBlackList
84	Operation *string `json:"Operation,omitempty" name:"Operation"`
85
86	// 黑名单列表
87	BlackList []*SingleBlackApply `json:"BlackList,omitempty" name:"BlackList"`
88
89	// 实例ID,不传默认为系统分配的初始实例
90	InstId *string `json:"InstId,omitempty" name:"InstId"`
91}
92
93func (r *ApplyBlackListRequest) ToJsonString() string {
94    b, _ := json.Marshal(r)
95    return string(b)
96}
97
98// FromJsonString It is highly **NOT** recommended to use this function
99// because it has no param check, nor strict type check
100func (r *ApplyBlackListRequest) FromJsonString(s string) error {
101	f := make(map[string]interface{})
102	if err := json.Unmarshal([]byte(s), &f); err != nil {
103		return err
104	}
105	delete(f, "Module")
106	delete(f, "Operation")
107	delete(f, "BlackList")
108	delete(f, "InstId")
109	if len(f) > 0 {
110		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ApplyBlackListRequest has unknown keys!", "")
111	}
112	return json.Unmarshal([]byte(s), &r)
113}
114
115type ApplyBlackListResponse struct {
116	*tchttp.BaseResponse
117	Response *struct {
118
119		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
120		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
121	} `json:"Response"`
122}
123
124func (r *ApplyBlackListResponse) ToJsonString() string {
125    b, _ := json.Marshal(r)
126    return string(b)
127}
128
129// FromJsonString It is highly **NOT** recommended to use this function
130// because it has no param check, nor strict type check
131func (r *ApplyBlackListResponse) FromJsonString(s string) error {
132	return json.Unmarshal([]byte(s), &r)
133}
134
135type ApplyCreditAuditRequest struct {
136	*tchttp.BaseRequest
137
138	// 模块名,本接口取值:Credit
139	Module *string `json:"Module,omitempty" name:"Module"`
140
141	// 操作名,本接口取值:Apply
142	Operation *string `json:"Operation,omitempty" name:"Operation"`
143
144	// 实例ID
145	InstId *string `json:"InstId,omitempty" name:"InstId"`
146
147	// 产品ID,形如P******。
148	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
149
150	// 信审任务ID,同一天内,同一InstId下,同一CaseId只能调用一次。
151	CaseId *string `json:"CaseId,omitempty" name:"CaseId"`
152
153	// 回调地址
154	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`
155
156	// JSON格式的业务字段。
157	Data *string `json:"Data,omitempty" name:"Data"`
158}
159
160func (r *ApplyCreditAuditRequest) ToJsonString() string {
161    b, _ := json.Marshal(r)
162    return string(b)
163}
164
165// FromJsonString It is highly **NOT** recommended to use this function
166// because it has no param check, nor strict type check
167func (r *ApplyCreditAuditRequest) FromJsonString(s string) error {
168	f := make(map[string]interface{})
169	if err := json.Unmarshal([]byte(s), &f); err != nil {
170		return err
171	}
172	delete(f, "Module")
173	delete(f, "Operation")
174	delete(f, "InstId")
175	delete(f, "ProductId")
176	delete(f, "CaseId")
177	delete(f, "CallbackUrl")
178	delete(f, "Data")
179	if len(f) > 0 {
180		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ApplyCreditAuditRequest has unknown keys!", "")
181	}
182	return json.Unmarshal([]byte(s), &r)
183}
184
185type ApplyCreditAuditResponse struct {
186	*tchttp.BaseResponse
187	Response *struct {
188
189		// 请求日期
190		RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"`
191
192		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
193		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
194	} `json:"Response"`
195}
196
197func (r *ApplyCreditAuditResponse) ToJsonString() string {
198    b, _ := json.Marshal(r)
199    return string(b)
200}
201
202// FromJsonString It is highly **NOT** recommended to use this function
203// because it has no param check, nor strict type check
204func (r *ApplyCreditAuditResponse) FromJsonString(s string) error {
205	return json.Unmarshal([]byte(s), &r)
206}
207
208type BlackListData struct {
209
210	// 黑名单类型,01代表手机号码。
211	BlackType *string `json:"BlackType,omitempty" name:"BlackType"`
212
213	// 操作类型,A为新增,D为删除。
214	// 注意:此字段可能返回 null,表示取不到有效值。
215	OperType *string `json:"OperType,omitempty" name:"OperType"`
216
217	// 黑名单值,BlackType为01时,填写11位手机号码。
218	BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"`
219
220	// 备注。
221	// 注意:此字段可能返回 null,表示取不到有效值。
222	BlackDescription *string `json:"BlackDescription,omitempty" name:"BlackDescription"`
223
224	// 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。
225	// 注意:此字段可能返回 null,表示取不到有效值。
226	BlackValidDate *string `json:"BlackValidDate,omitempty" name:"BlackValidDate"`
227
228	// 黑名单加入日期
229	// 注意:此字段可能返回 null,表示取不到有效值。
230	BlackAddDate *string `json:"BlackAddDate,omitempty" name:"BlackAddDate"`
231
232	// 0-生效 1-失效
233	BlackStatus *string `json:"BlackStatus,omitempty" name:"BlackStatus"`
234}
235
236type BotFileData struct {
237
238	// 文件类型 A 拨打结果 T 记录详情
239	FileType *string `json:"FileType,omitempty" name:"FileType"`
240
241	// 文件地址
242	CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`
243}
244
245type BotFlow struct {
246
247	// 对话流ID
248	BotFlowId *string `json:"BotFlowId,omitempty" name:"BotFlowId"`
249
250	// 对话流名称
251	BotFlowName *string `json:"BotFlowName,omitempty" name:"BotFlowName"`
252
253	// 号码组信息列表
254	PhonePoolList []*PhonePool `json:"PhonePoolList,omitempty" name:"PhonePoolList"`
255}
256
257type BotInfo struct {
258
259	// 机器人ID
260	BotId *string `json:"BotId,omitempty" name:"BotId"`
261
262	// 机器人名称
263	BotName *string `json:"BotName,omitempty" name:"BotName"`
264
265	// 机器人状态。0-停用 1-启用 2-待审核
266	BotStatus *string `json:"BotStatus,omitempty" name:"BotStatus"`
267}
268
269type CallInfo struct {
270
271	// 业务日期
272	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
273
274	// 状态 WAIT:待执行;DOING:执行中;ERROR:执行错误;DONE:已完成;
275	Status *string `json:"Status,omitempty" name:"Status"`
276
277	// 成功总数
278	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
279
280	// 文件名称
281	FileName *string `json:"FileName,omitempty" name:"FileName"`
282
283	// 文件类型 I:呼叫文件 R:停拨文件
284	FileType *string `json:"FileType,omitempty" name:"FileType"`
285
286	// 作业唯一标识
287	// 注意:此字段可能返回 null,表示取不到有效值。
288	CallId *string `json:"CallId,omitempty" name:"CallId"`
289}
290
291type CallTimeDict struct {
292
293	// 周一
294	Monday *CallTimeInfo `json:"Monday,omitempty" name:"Monday"`
295
296	// 周二
297	Tuesday *CallTimeInfo `json:"Tuesday,omitempty" name:"Tuesday"`
298
299	// 周三
300	Wednesday *CallTimeInfo `json:"Wednesday,omitempty" name:"Wednesday"`
301
302	// 周四
303	Thursday *CallTimeInfo `json:"Thursday,omitempty" name:"Thursday"`
304
305	// 周五
306	Friday *CallTimeInfo `json:"Friday,omitempty" name:"Friday"`
307
308	// 周六
309	Saturday *CallTimeInfo `json:"Saturday,omitempty" name:"Saturday"`
310
311	// 周日
312	Sunday *CallTimeInfo `json:"Sunday,omitempty" name:"Sunday"`
313}
314
315type CallTimeInfo struct {
316
317	// 产品开始拨打时间,HHmmss格式,默认090000
318	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
319
320	// 产品结束拨打时间,HHmmss格式.默认200000
321	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
322}
323
324type ChangeBotCallStatusRequest struct {
325	*tchttp.BaseRequest
326
327	// 模块名。默认值(固定):AiApi
328	Module *string `json:"Module,omitempty" name:"Module"`
329
330	// 操作名。默认值(固定):ChangeBotCallStatus
331	Operation *string `json:"Operation,omitempty" name:"Operation"`
332
333	// 作业变更状态
334	// SUSPEND:暂停;EXECUTE:恢复;
335	Status *string `json:"Status,omitempty" name:"Status"`
336
337	// 作业唯一标识
338	CallId *string `json:"CallId,omitempty" name:"CallId"`
339
340	// 业务日期
341	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
342
343	// 任务ID,二者必填一个
344	BotId *string `json:"BotId,omitempty" name:"BotId"`
345
346	// 任务名称,二者必填一个
347	BotName *string `json:"BotName,omitempty" name:"BotName"`
348}
349
350func (r *ChangeBotCallStatusRequest) ToJsonString() string {
351    b, _ := json.Marshal(r)
352    return string(b)
353}
354
355// FromJsonString It is highly **NOT** recommended to use this function
356// because it has no param check, nor strict type check
357func (r *ChangeBotCallStatusRequest) FromJsonString(s string) error {
358	f := make(map[string]interface{})
359	if err := json.Unmarshal([]byte(s), &f); err != nil {
360		return err
361	}
362	delete(f, "Module")
363	delete(f, "Operation")
364	delete(f, "Status")
365	delete(f, "CallId")
366	delete(f, "BizDate")
367	delete(f, "BotId")
368	delete(f, "BotName")
369	if len(f) > 0 {
370		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ChangeBotCallStatusRequest has unknown keys!", "")
371	}
372	return json.Unmarshal([]byte(s), &r)
373}
374
375type ChangeBotCallStatusResponse struct {
376	*tchttp.BaseResponse
377	Response *struct {
378
379		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
380		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
381	} `json:"Response"`
382}
383
384func (r *ChangeBotCallStatusResponse) ToJsonString() string {
385    b, _ := json.Marshal(r)
386    return string(b)
387}
388
389// FromJsonString It is highly **NOT** recommended to use this function
390// because it has no param check, nor strict type check
391func (r *ChangeBotCallStatusResponse) FromJsonString(s string) error {
392	return json.Unmarshal([]byte(s), &r)
393}
394
395type ChangeBotTaskStatusRequest struct {
396	*tchttp.BaseRequest
397
398	// 模块名。默认值(固定):AiApi
399	Module *string `json:"Module,omitempty" name:"Module"`
400
401	// 操作名。默认值(固定):ChangeBotTaskStatus
402	Operation *string `json:"Operation,omitempty" name:"Operation"`
403
404	// 作业变更状态
405	// SUSPEND:暂停;EXECUTE:恢复;
406	Status *string `json:"Status,omitempty" name:"Status"`
407
408	// 任务ID,二者必填一个
409	BotId *string `json:"BotId,omitempty" name:"BotId"`
410
411	// 任务名称,二者必填一个
412	BotName *string `json:"BotName,omitempty" name:"BotName"`
413}
414
415func (r *ChangeBotTaskStatusRequest) ToJsonString() string {
416    b, _ := json.Marshal(r)
417    return string(b)
418}
419
420// FromJsonString It is highly **NOT** recommended to use this function
421// because it has no param check, nor strict type check
422func (r *ChangeBotTaskStatusRequest) FromJsonString(s string) error {
423	f := make(map[string]interface{})
424	if err := json.Unmarshal([]byte(s), &f); err != nil {
425		return err
426	}
427	delete(f, "Module")
428	delete(f, "Operation")
429	delete(f, "Status")
430	delete(f, "BotId")
431	delete(f, "BotName")
432	if len(f) > 0 {
433		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ChangeBotTaskStatusRequest has unknown keys!", "")
434	}
435	return json.Unmarshal([]byte(s), &r)
436}
437
438type ChangeBotTaskStatusResponse struct {
439	*tchttp.BaseResponse
440	Response *struct {
441
442		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
443		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
444	} `json:"Response"`
445}
446
447func (r *ChangeBotTaskStatusResponse) ToJsonString() string {
448    b, _ := json.Marshal(r)
449    return string(b)
450}
451
452// FromJsonString It is highly **NOT** recommended to use this function
453// because it has no param check, nor strict type check
454func (r *ChangeBotTaskStatusResponse) FromJsonString(s string) error {
455	return json.Unmarshal([]byte(s), &r)
456}
457
458type CreateBotTaskRequest struct {
459	*tchttp.BaseRequest
460
461	// 模块名。默认值(固定):AiApi
462	Module *string `json:"Module,omitempty" name:"Module"`
463
464	// 操作名。默认值(固定):CreateTask
465	Operation *string `json:"Operation,omitempty" name:"Operation"`
466
467	// 任务名称
468	BotName *string `json:"BotName,omitempty" name:"BotName"`
469
470	// 对话流ID
471	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`
472
473	// 是否禁止拨打,默认Y
474	BanCall *string `json:"BanCall,omitempty" name:"BanCall"`
475
476	// 拨打线路集合
477	PhoneCollection *string `json:"PhoneCollection,omitempty" name:"PhoneCollection"`
478
479	// 产品拨打时间集合
480	CallTimeCollection *CallTimeDict `json:"CallTimeCollection,omitempty" name:"CallTimeCollection"`
481
482	// 禁止拨打起始时间。默认130000
483	StartTimeBan *string `json:"StartTimeBan,omitempty" name:"StartTimeBan"`
484
485	// 禁止拨打结束时间。默认140000
486	EndTimeBan *string `json:"EndTimeBan,omitempty" name:"EndTimeBan"`
487
488	// 重播方式,NON:未接通、LABEL:意向分级,可多选,用竖线分隔:NON|LABEL
489	CodeType *string `json:"CodeType,omitempty" name:"CodeType"`
490
491	// 重播值集合,A:强意向、B:中意向、C:低意向、D:无意向、E:在忙、F:未接通、G:无效号码,可多选,用竖线分隔:A|B|C|D|E|F|G
492	CodeCollection *string `json:"CodeCollection,omitempty" name:"CodeCollection"`
493
494	// 继续拨打次数
495	CallCount *int64 `json:"CallCount,omitempty" name:"CallCount"`
496
497	// 拨打间隔
498	CallInterval *int64 `json:"CallInterval,omitempty" name:"CallInterval"`
499
500	// 未接通引用短信签名ID
501	SmsSignId *string `json:"SmsSignId,omitempty" name:"SmsSignId"`
502
503	// 未接通引用短信模板ID
504	SmsTemplateId *string `json:"SmsTemplateId,omitempty" name:"SmsTemplateId"`
505
506	// 拨打方式。NORMAL - 正常拨打;TIMER - 定时拨打
507	CallType *string `json:"CallType,omitempty" name:"CallType"`
508
509	// 拨打开始日期。CallType=TIMER时有值,yyyy-MM-dd
510	CallStartDate *string `json:"CallStartDate,omitempty" name:"CallStartDate"`
511
512	// 拨打结束日期。CallType=PERIOD 时有值,yyyy-MM-dd
513	CallEndDate *string `json:"CallEndDate,omitempty" name:"CallEndDate"`
514}
515
516func (r *CreateBotTaskRequest) ToJsonString() string {
517    b, _ := json.Marshal(r)
518    return string(b)
519}
520
521// FromJsonString It is highly **NOT** recommended to use this function
522// because it has no param check, nor strict type check
523func (r *CreateBotTaskRequest) FromJsonString(s string) error {
524	f := make(map[string]interface{})
525	if err := json.Unmarshal([]byte(s), &f); err != nil {
526		return err
527	}
528	delete(f, "Module")
529	delete(f, "Operation")
530	delete(f, "BotName")
531	delete(f, "FlowId")
532	delete(f, "BanCall")
533	delete(f, "PhoneCollection")
534	delete(f, "CallTimeCollection")
535	delete(f, "StartTimeBan")
536	delete(f, "EndTimeBan")
537	delete(f, "CodeType")
538	delete(f, "CodeCollection")
539	delete(f, "CallCount")
540	delete(f, "CallInterval")
541	delete(f, "SmsSignId")
542	delete(f, "SmsTemplateId")
543	delete(f, "CallType")
544	delete(f, "CallStartDate")
545	delete(f, "CallEndDate")
546	if len(f) > 0 {
547		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateBotTaskRequest has unknown keys!", "")
548	}
549	return json.Unmarshal([]byte(s), &r)
550}
551
552type CreateBotTaskResponse struct {
553	*tchttp.BaseResponse
554	Response *struct {
555
556		// 机器人任务Id
557		BotId *string `json:"BotId,omitempty" name:"BotId"`
558
559		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
560		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
561	} `json:"Response"`
562}
563
564func (r *CreateBotTaskResponse) ToJsonString() string {
565    b, _ := json.Marshal(r)
566    return string(b)
567}
568
569// FromJsonString It is highly **NOT** recommended to use this function
570// because it has no param check, nor strict type check
571func (r *CreateBotTaskResponse) FromJsonString(s string) error {
572	return json.Unmarshal([]byte(s), &r)
573}
574
575type DescribeBotFlowRequest struct {
576	*tchttp.BaseRequest
577
578	// 模块名。默认值(固定):AiApi
579	Module *string `json:"Module,omitempty" name:"Module"`
580
581	// 操作名。默认值(固定):GetFlow
582	Operation *string `json:"Operation,omitempty" name:"Operation"`
583}
584
585func (r *DescribeBotFlowRequest) ToJsonString() string {
586    b, _ := json.Marshal(r)
587    return string(b)
588}
589
590// FromJsonString It is highly **NOT** recommended to use this function
591// because it has no param check, nor strict type check
592func (r *DescribeBotFlowRequest) FromJsonString(s string) error {
593	f := make(map[string]interface{})
594	if err := json.Unmarshal([]byte(s), &f); err != nil {
595		return err
596	}
597	delete(f, "Module")
598	delete(f, "Operation")
599	if len(f) > 0 {
600		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBotFlowRequest has unknown keys!", "")
601	}
602	return json.Unmarshal([]byte(s), &r)
603}
604
605type DescribeBotFlowResponse struct {
606	*tchttp.BaseResponse
607	Response *struct {
608
609		// 机器人对话流列表
610	// 注意:此字段可能返回 null,表示取不到有效值。
611		BotFlowList []*BotFlow `json:"BotFlowList,omitempty" name:"BotFlowList"`
612
613		// 短信签名列表
614	// 注意:此字段可能返回 null,表示取不到有效值。
615		SmsSignList []*SmsSign `json:"SmsSignList,omitempty" name:"SmsSignList"`
616
617		// 短信模板列表
618	// 注意:此字段可能返回 null,表示取不到有效值。
619		SmsTemplateList []*SmsTemplate `json:"SmsTemplateList,omitempty" name:"SmsTemplateList"`
620
621		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
622		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
623	} `json:"Response"`
624}
625
626func (r *DescribeBotFlowResponse) ToJsonString() string {
627    b, _ := json.Marshal(r)
628    return string(b)
629}
630
631// FromJsonString It is highly **NOT** recommended to use this function
632// because it has no param check, nor strict type check
633func (r *DescribeBotFlowResponse) FromJsonString(s string) error {
634	return json.Unmarshal([]byte(s), &r)
635}
636
637type DescribeCreditResultRequest struct {
638	*tchttp.BaseRequest
639
640	// 模块名,本接口取值:Credit
641	Module *string `json:"Module,omitempty" name:"Module"`
642
643	// 操作名,本接口取值:Get
644	Operation *string `json:"Operation,omitempty" name:"Operation"`
645
646	// 实例ID
647	InstId *string `json:"InstId,omitempty" name:"InstId"`
648
649	// 产品ID,形如P******。
650	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
651
652	// 信审任务ID
653	CaseId *string `json:"CaseId,omitempty" name:"CaseId"`
654
655	// 请求日期,格式为YYYY-MM-DD
656	RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"`
657}
658
659func (r *DescribeCreditResultRequest) ToJsonString() string {
660    b, _ := json.Marshal(r)
661    return string(b)
662}
663
664// FromJsonString It is highly **NOT** recommended to use this function
665// because it has no param check, nor strict type check
666func (r *DescribeCreditResultRequest) FromJsonString(s string) error {
667	f := make(map[string]interface{})
668	if err := json.Unmarshal([]byte(s), &f); err != nil {
669		return err
670	}
671	delete(f, "Module")
672	delete(f, "Operation")
673	delete(f, "InstId")
674	delete(f, "ProductId")
675	delete(f, "CaseId")
676	delete(f, "RequestDate")
677	if len(f) > 0 {
678		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCreditResultRequest has unknown keys!", "")
679	}
680	return json.Unmarshal([]byte(s), &r)
681}
682
683type DescribeCreditResultResponse struct {
684	*tchttp.BaseResponse
685	Response *struct {
686
687		// <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>
688		ResultCode *string `json:"ResultCode,omitempty" name:"ResultCode"`
689
690		// 客户标识代码,多个标识码以英文逗号分隔,ResultCode为NON时才有。
691	// 注意:此字段可能返回 null,表示取不到有效值。
692		ClientCode *string `json:"ClientCode,omitempty" name:"ClientCode"`
693
694		// 开始振铃时间,ResultCode为NON或DAD时才有此字段。
695	// 注意:此字段可能返回 null,表示取不到有效值。
696		RingStartTime *string `json:"RingStartTime,omitempty" name:"RingStartTime"`
697
698		// 振铃时长
699		RingDuration *int64 `json:"RingDuration,omitempty" name:"RingDuration"`
700
701		// 接通时长
702		AnswerDuration *int64 `json:"AnswerDuration,omitempty" name:"AnswerDuration"`
703
704		// JSON格式的扩展信息字段,ResultCode为NON时才有。
705	// 注意:此字段可能返回 null,表示取不到有效值。
706		ContextValue *string `json:"ContextValue,omitempty" name:"ContextValue"`
707
708		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
709		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
710	} `json:"Response"`
711}
712
713func (r *DescribeCreditResultResponse) ToJsonString() string {
714    b, _ := json.Marshal(r)
715    return string(b)
716}
717
718// FromJsonString It is highly **NOT** recommended to use this function
719// because it has no param check, nor strict type check
720func (r *DescribeCreditResultResponse) FromJsonString(s string) error {
721	return json.Unmarshal([]byte(s), &r)
722}
723
724type DescribeFileModelRequest struct {
725	*tchttp.BaseRequest
726
727	// 模块名。默认值(固定):AiApi
728	Module *string `json:"Module,omitempty" name:"Module"`
729
730	// 操作名。默认值(固定):DescribeFileModel
731	Operation *string `json:"Operation,omitempty" name:"Operation"`
732
733	// 模板文件类型,输入input,停拨stop
734	FileType *string `json:"FileType,omitempty" name:"FileType"`
735
736	// 任务ID,二者必填一个
737	BotId *string `json:"BotId,omitempty" name:"BotId"`
738
739	// 任务名称,二者必填一个
740	BotName *string `json:"BotName,omitempty" name:"BotName"`
741}
742
743func (r *DescribeFileModelRequest) ToJsonString() string {
744    b, _ := json.Marshal(r)
745    return string(b)
746}
747
748// FromJsonString It is highly **NOT** recommended to use this function
749// because it has no param check, nor strict type check
750func (r *DescribeFileModelRequest) FromJsonString(s string) error {
751	f := make(map[string]interface{})
752	if err := json.Unmarshal([]byte(s), &f); err != nil {
753		return err
754	}
755	delete(f, "Module")
756	delete(f, "Operation")
757	delete(f, "FileType")
758	delete(f, "BotId")
759	delete(f, "BotName")
760	if len(f) > 0 {
761		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFileModelRequest has unknown keys!", "")
762	}
763	return json.Unmarshal([]byte(s), &r)
764}
765
766type DescribeFileModelResponse struct {
767	*tchttp.BaseResponse
768	Response *struct {
769
770		// 模板下载链接
771		CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`
772
773		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
774		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
775	} `json:"Response"`
776}
777
778func (r *DescribeFileModelResponse) ToJsonString() string {
779    b, _ := json.Marshal(r)
780    return string(b)
781}
782
783// FromJsonString It is highly **NOT** recommended to use this function
784// because it has no param check, nor strict type check
785func (r *DescribeFileModelResponse) FromJsonString(s string) error {
786	return json.Unmarshal([]byte(s), &r)
787}
788
789type DescribeRecordsRequest struct {
790	*tchttp.BaseRequest
791
792	// 模块名,本接口取值:Record
793	Module *string `json:"Module,omitempty" name:"Module"`
794
795	// 操作名,本接口取值:List
796	Operation *string `json:"Operation,omitempty" name:"Operation"`
797
798	// 产品ID
799	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
800
801	// 案件编号
802	AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"`
803
804	// 被叫号码
805	CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`
806
807	// 查询起始日期,格式为YYYY-MM-DD
808	StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`
809
810	// 查询结束日期,格式为YYYY-MM-DD
811	EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`
812
813	// 分页参数,索引,默认为0
814	Offset *string `json:"Offset,omitempty" name:"Offset"`
815
816	// 分页参数,页长,默认为20
817	Limit *string `json:"Limit,omitempty" name:"Limit"`
818
819	// 实例ID,不传默认为系统分配的初始实例
820	InstId *string `json:"InstId,omitempty" name:"InstId"`
821}
822
823func (r *DescribeRecordsRequest) ToJsonString() string {
824    b, _ := json.Marshal(r)
825    return string(b)
826}
827
828// FromJsonString It is highly **NOT** recommended to use this function
829// because it has no param check, nor strict type check
830func (r *DescribeRecordsRequest) FromJsonString(s string) error {
831	f := make(map[string]interface{})
832	if err := json.Unmarshal([]byte(s), &f); err != nil {
833		return err
834	}
835	delete(f, "Module")
836	delete(f, "Operation")
837	delete(f, "ProductId")
838	delete(f, "AccountNum")
839	delete(f, "CalledPhone")
840	delete(f, "StartBizDate")
841	delete(f, "EndBizDate")
842	delete(f, "Offset")
843	delete(f, "Limit")
844	delete(f, "InstId")
845	if len(f) > 0 {
846		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordsRequest has unknown keys!", "")
847	}
848	return json.Unmarshal([]byte(s), &r)
849}
850
851type DescribeRecordsResponse struct {
852	*tchttp.BaseResponse
853	Response *struct {
854
855		// 录音列表。
856	// 注意:此字段可能返回 null,表示取不到有效值。
857		RecordList []*SingleRecord `json:"RecordList,omitempty" name:"RecordList"`
858
859		// 录音总量。
860		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
861
862		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
863		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
864	} `json:"Response"`
865}
866
867func (r *DescribeRecordsResponse) ToJsonString() string {
868    b, _ := json.Marshal(r)
869    return string(b)
870}
871
872// FromJsonString It is highly **NOT** recommended to use this function
873// because it has no param check, nor strict type check
874func (r *DescribeRecordsResponse) FromJsonString(s string) error {
875	return json.Unmarshal([]byte(s), &r)
876}
877
878type DescribeTaskStatusRequest struct {
879	*tchttp.BaseRequest
880
881	// 模块名,本接口取值:Task
882	Module *string `json:"Module,omitempty" name:"Module"`
883
884	// 操作名,本接口取值:DescribeTaskStatus
885	Operation *string `json:"Operation,omitempty" name:"Operation"`
886
887	// 任务ID,"上传文件"接口返回的DataResId,形如abc-xyz123
888	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
889
890	// 实例ID,不传默认为系统分配的初始实例。
891	InstId *string `json:"InstId,omitempty" name:"InstId"`
892}
893
894func (r *DescribeTaskStatusRequest) ToJsonString() string {
895    b, _ := json.Marshal(r)
896    return string(b)
897}
898
899// FromJsonString It is highly **NOT** recommended to use this function
900// because it has no param check, nor strict type check
901func (r *DescribeTaskStatusRequest) FromJsonString(s string) error {
902	f := make(map[string]interface{})
903	if err := json.Unmarshal([]byte(s), &f); err != nil {
904		return err
905	}
906	delete(f, "Module")
907	delete(f, "Operation")
908	delete(f, "TaskId")
909	delete(f, "InstId")
910	if len(f) > 0 {
911		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTaskStatusRequest has unknown keys!", "")
912	}
913	return json.Unmarshal([]byte(s), &r)
914}
915
916type DescribeTaskStatusResponse struct {
917	*tchttp.BaseResponse
918	Response *struct {
919
920		// <p>任务结果:</p><ul style="margin-bottom:0px;"><li>处理中:"Uploading Data."</li><li>上传成功:"File Uploading Task Success."</li><li>上传失败:具体失败原因</li></ul>
921		TaskResult *string `json:"TaskResult,omitempty" name:"TaskResult"`
922
923		// <p>任务类型:</p><ul style="margin-bottom:0px;"><li>到期/逾期提醒数据上传:002</li><li>到期/逾期提醒停拨数据上传:003</li><li>回访数据上传:004</li><li>回访停拨数据上传:005</li></ul>
924		TaskType *string `json:"TaskType,omitempty" name:"TaskType"`
925
926		// 过滤文件下载链接,有过滤数据时才存在。
927	// 注意:此字段可能返回 null,表示取不到有效值。
928		TaskFileUrl *string `json:"TaskFileUrl,omitempty" name:"TaskFileUrl"`
929
930		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
931		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
932	} `json:"Response"`
933}
934
935func (r *DescribeTaskStatusResponse) ToJsonString() string {
936    b, _ := json.Marshal(r)
937    return string(b)
938}
939
940// FromJsonString It is highly **NOT** recommended to use this function
941// because it has no param check, nor strict type check
942func (r *DescribeTaskStatusResponse) FromJsonString(s string) error {
943	return json.Unmarshal([]byte(s), &r)
944}
945
946type DownloadBotRecordRequest struct {
947	*tchttp.BaseRequest
948
949	// 模块:AiApi
950	Module *string `json:"Module,omitempty" name:"Module"`
951
952	// 操作:DownloadRecord
953	Operation *string `json:"Operation,omitempty" name:"Operation"`
954
955	// 业务日期
956	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
957}
958
959func (r *DownloadBotRecordRequest) ToJsonString() string {
960    b, _ := json.Marshal(r)
961    return string(b)
962}
963
964// FromJsonString It is highly **NOT** recommended to use this function
965// because it has no param check, nor strict type check
966func (r *DownloadBotRecordRequest) FromJsonString(s string) error {
967	f := make(map[string]interface{})
968	if err := json.Unmarshal([]byte(s), &f); err != nil {
969		return err
970	}
971	delete(f, "Module")
972	delete(f, "Operation")
973	delete(f, "BizDate")
974	if len(f) > 0 {
975		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DownloadBotRecordRequest has unknown keys!", "")
976	}
977	return json.Unmarshal([]byte(s), &r)
978}
979
980type DownloadBotRecordResponse struct {
981	*tchttp.BaseResponse
982	Response *struct {
983
984		// 录音地址。请求后30分钟内有效
985		RecordCosUrl *string `json:"RecordCosUrl,omitempty" name:"RecordCosUrl"`
986
987		// 文本地址。请求后30分钟内有效
988		TextCosUrl *string `json:"TextCosUrl,omitempty" name:"TextCosUrl"`
989
990		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
991		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
992	} `json:"Response"`
993}
994
995func (r *DownloadBotRecordResponse) ToJsonString() string {
996    b, _ := json.Marshal(r)
997    return string(b)
998}
999
1000// FromJsonString It is highly **NOT** recommended to use this function
1001// because it has no param check, nor strict type check
1002func (r *DownloadBotRecordResponse) FromJsonString(s string) error {
1003	return json.Unmarshal([]byte(s), &r)
1004}
1005
1006type DownloadDialogueTextRequest struct {
1007	*tchttp.BaseRequest
1008
1009	// 模块名,本接口取值:Report
1010	Module *string `json:"Module,omitempty" name:"Module"`
1011
1012	// 操作名,本接口取值:DownloadTextReport
1013	Operation *string `json:"Operation,omitempty" name:"Operation"`
1014
1015	// 报告日期,格式为YYYY-MM-DD
1016	ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"`
1017
1018	// 实例ID
1019	InstId *string `json:"InstId,omitempty" name:"InstId"`
1020}
1021
1022func (r *DownloadDialogueTextRequest) ToJsonString() string {
1023    b, _ := json.Marshal(r)
1024    return string(b)
1025}
1026
1027// FromJsonString It is highly **NOT** recommended to use this function
1028// because it has no param check, nor strict type check
1029func (r *DownloadDialogueTextRequest) FromJsonString(s string) error {
1030	f := make(map[string]interface{})
1031	if err := json.Unmarshal([]byte(s), &f); err != nil {
1032		return err
1033	}
1034	delete(f, "Module")
1035	delete(f, "Operation")
1036	delete(f, "ReportDate")
1037	delete(f, "InstId")
1038	if len(f) > 0 {
1039		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DownloadDialogueTextRequest has unknown keys!", "")
1040	}
1041	return json.Unmarshal([]byte(s), &r)
1042}
1043
1044type DownloadDialogueTextResponse struct {
1045	*tchttp.BaseResponse
1046	Response *struct {
1047
1048		// 对话文本下载地址
1049		TextReportUrl *string `json:"TextReportUrl,omitempty" name:"TextReportUrl"`
1050
1051		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1052		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1053	} `json:"Response"`
1054}
1055
1056func (r *DownloadDialogueTextResponse) ToJsonString() string {
1057    b, _ := json.Marshal(r)
1058    return string(b)
1059}
1060
1061// FromJsonString It is highly **NOT** recommended to use this function
1062// because it has no param check, nor strict type check
1063func (r *DownloadDialogueTextResponse) FromJsonString(s string) error {
1064	return json.Unmarshal([]byte(s), &r)
1065}
1066
1067type DownloadRecordListRequest struct {
1068	*tchttp.BaseRequest
1069
1070	// 模块名,本接口取值:Record
1071	Module *string `json:"Module,omitempty" name:"Module"`
1072
1073	// 操作名,本接口取值:DownloadList
1074	Operation *string `json:"Operation,omitempty" name:"Operation"`
1075
1076	// 录音日期,格式为YYYY-MM-DD
1077	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
1078
1079	// 实例ID
1080	InstId *string `json:"InstId,omitempty" name:"InstId"`
1081}
1082
1083func (r *DownloadRecordListRequest) ToJsonString() string {
1084    b, _ := json.Marshal(r)
1085    return string(b)
1086}
1087
1088// FromJsonString It is highly **NOT** recommended to use this function
1089// because it has no param check, nor strict type check
1090func (r *DownloadRecordListRequest) FromJsonString(s string) error {
1091	f := make(map[string]interface{})
1092	if err := json.Unmarshal([]byte(s), &f); err != nil {
1093		return err
1094	}
1095	delete(f, "Module")
1096	delete(f, "Operation")
1097	delete(f, "BizDate")
1098	delete(f, "InstId")
1099	if len(f) > 0 {
1100		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DownloadRecordListRequest has unknown keys!", "")
1101	}
1102	return json.Unmarshal([]byte(s), &r)
1103}
1104
1105type DownloadRecordListResponse struct {
1106	*tchttp.BaseResponse
1107	Response *struct {
1108
1109		// 录音列表下载地址
1110		RecordListUrl *string `json:"RecordListUrl,omitempty" name:"RecordListUrl"`
1111
1112		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1113		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1114	} `json:"Response"`
1115}
1116
1117func (r *DownloadRecordListResponse) ToJsonString() string {
1118    b, _ := json.Marshal(r)
1119    return string(b)
1120}
1121
1122// FromJsonString It is highly **NOT** recommended to use this function
1123// because it has no param check, nor strict type check
1124func (r *DownloadRecordListResponse) FromJsonString(s string) error {
1125	return json.Unmarshal([]byte(s), &r)
1126}
1127
1128type DownloadReportRequest struct {
1129	*tchttp.BaseRequest
1130
1131	// 模块名,本接口取值:Report
1132	Module *string `json:"Module,omitempty" name:"Module"`
1133
1134	// 操作名,本接口取值:DownloadReport
1135	Operation *string `json:"Operation,omitempty" name:"Operation"`
1136
1137	// 报告日期,格式为YYYY-MM-DD
1138	ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"`
1139
1140	// 实例ID,不传默认为系统分配的初始实例。
1141	InstId *string `json:"InstId,omitempty" name:"InstId"`
1142}
1143
1144func (r *DownloadReportRequest) ToJsonString() string {
1145    b, _ := json.Marshal(r)
1146    return string(b)
1147}
1148
1149// FromJsonString It is highly **NOT** recommended to use this function
1150// because it has no param check, nor strict type check
1151func (r *DownloadReportRequest) FromJsonString(s string) error {
1152	f := make(map[string]interface{})
1153	if err := json.Unmarshal([]byte(s), &f); err != nil {
1154		return err
1155	}
1156	delete(f, "Module")
1157	delete(f, "Operation")
1158	delete(f, "ReportDate")
1159	delete(f, "InstId")
1160	if len(f) > 0 {
1161		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DownloadReportRequest has unknown keys!", "")
1162	}
1163	return json.Unmarshal([]byte(s), &r)
1164}
1165
1166type DownloadReportResponse struct {
1167	*tchttp.BaseResponse
1168	Response *struct {
1169
1170		// 到期/逾期提醒日报下载地址
1171	// 注意:此字段可能返回 null,表示取不到有效值。
1172		DailyReportUrl *string `json:"DailyReportUrl,omitempty" name:"DailyReportUrl"`
1173
1174		// 到期/逾期提醒结果下载地址
1175	// 注意:此字段可能返回 null,表示取不到有效值。
1176		ResultReportUrl *string `json:"ResultReportUrl,omitempty" name:"ResultReportUrl"`
1177
1178		// 到期/逾期提醒明细下载地址
1179	// 注意:此字段可能返回 null,表示取不到有效值。
1180		DetailReportUrl *string `json:"DetailReportUrl,omitempty" name:"DetailReportUrl"`
1181
1182		// 回访日报下载地址
1183	// 注意:此字段可能返回 null,表示取不到有效值。
1184		CallbackDailyReportUrl *string `json:"CallbackDailyReportUrl,omitempty" name:"CallbackDailyReportUrl"`
1185
1186		// 回访结果下载地址
1187	// 注意:此字段可能返回 null,表示取不到有效值。
1188		CallbackResultReportUrl *string `json:"CallbackResultReportUrl,omitempty" name:"CallbackResultReportUrl"`
1189
1190		// 回访明细下载地址
1191	// 注意:此字段可能返回 null,表示取不到有效值。
1192		CallbackDetailReportUrl *string `json:"CallbackDetailReportUrl,omitempty" name:"CallbackDetailReportUrl"`
1193
1194		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1195		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1196	} `json:"Response"`
1197}
1198
1199func (r *DownloadReportResponse) ToJsonString() string {
1200    b, _ := json.Marshal(r)
1201    return string(b)
1202}
1203
1204// FromJsonString It is highly **NOT** recommended to use this function
1205// because it has no param check, nor strict type check
1206func (r *DownloadReportResponse) FromJsonString(s string) error {
1207	return json.Unmarshal([]byte(s), &r)
1208}
1209
1210type ExportBotDataRequest struct {
1211	*tchttp.BaseRequest
1212
1213	// 模块名。默认值(固定):AiApi
1214	Module *string `json:"Module,omitempty" name:"Module"`
1215
1216	// 操作名。默认值(固定):ExportBotData
1217	Operation *string `json:"Operation,omitempty" name:"Operation"`
1218
1219	// 业务日期。YYYY-MM-DD
1220	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
1221
1222	// 任务ID,二者必填一个
1223	BotId *string `json:"BotId,omitempty" name:"BotId"`
1224
1225	// 任务名称,二者必填一个
1226	BotName *string `json:"BotName,omitempty" name:"BotName"`
1227}
1228
1229func (r *ExportBotDataRequest) ToJsonString() string {
1230    b, _ := json.Marshal(r)
1231    return string(b)
1232}
1233
1234// FromJsonString It is highly **NOT** recommended to use this function
1235// because it has no param check, nor strict type check
1236func (r *ExportBotDataRequest) FromJsonString(s string) error {
1237	f := make(map[string]interface{})
1238	if err := json.Unmarshal([]byte(s), &f); err != nil {
1239		return err
1240	}
1241	delete(f, "Module")
1242	delete(f, "Operation")
1243	delete(f, "BizDate")
1244	delete(f, "BotId")
1245	delete(f, "BotName")
1246	if len(f) > 0 {
1247		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ExportBotDataRequest has unknown keys!", "")
1248	}
1249	return json.Unmarshal([]byte(s), &r)
1250}
1251
1252type ExportBotDataResponse struct {
1253	*tchttp.BaseResponse
1254	Response *struct {
1255
1256		// 导出文件列表
1257		Data []*BotFileData `json:"Data,omitempty" name:"Data"`
1258
1259		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1260		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1261	} `json:"Response"`
1262}
1263
1264func (r *ExportBotDataResponse) ToJsonString() string {
1265    b, _ := json.Marshal(r)
1266    return string(b)
1267}
1268
1269// FromJsonString It is highly **NOT** recommended to use this function
1270// because it has no param check, nor strict type check
1271func (r *ExportBotDataResponse) FromJsonString(s string) error {
1272	return json.Unmarshal([]byte(s), &r)
1273}
1274
1275type PhonePool struct {
1276
1277	// 号码组ID
1278	PoolId *string `json:"PoolId,omitempty" name:"PoolId"`
1279
1280	// 号码组名称
1281	PoolName *string `json:"PoolName,omitempty" name:"PoolName"`
1282}
1283
1284type ProductQueryInfo struct {
1285
1286	// 产品Id
1287	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
1288
1289	// 产品名称
1290	ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
1291
1292	// 产品编码
1293	// 注意:此字段可能返回 null,表示取不到有效值。
1294	ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"`
1295
1296	// 产品状态 0 禁用 1 启用
1297	// 注意:此字段可能返回 null,表示取不到有效值。
1298	ProductStatus *int64 `json:"ProductStatus,omitempty" name:"ProductStatus"`
1299
1300	// 场景类型
1301	// 注意:此字段可能返回 null,表示取不到有效值。
1302	SceneType *string `json:"SceneType,omitempty" name:"SceneType"`
1303}
1304
1305type QueryBlackListDataRequest struct {
1306	*tchttp.BaseRequest
1307
1308	// 模块:AiApi
1309	Module *string `json:"Module,omitempty" name:"Module"`
1310
1311	// 操作:QueryBlackListData
1312	Operation *string `json:"Operation,omitempty" name:"Operation"`
1313
1314	// 页码
1315	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1316
1317	// 每页数量
1318	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1319
1320	// 开始日期
1321	StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`
1322
1323	// 结束日期
1324	EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`
1325
1326	// 电话号码、手机
1327	BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"`
1328}
1329
1330func (r *QueryBlackListDataRequest) ToJsonString() string {
1331    b, _ := json.Marshal(r)
1332    return string(b)
1333}
1334
1335// FromJsonString It is highly **NOT** recommended to use this function
1336// because it has no param check, nor strict type check
1337func (r *QueryBlackListDataRequest) FromJsonString(s string) error {
1338	f := make(map[string]interface{})
1339	if err := json.Unmarshal([]byte(s), &f); err != nil {
1340		return err
1341	}
1342	delete(f, "Module")
1343	delete(f, "Operation")
1344	delete(f, "Offset")
1345	delete(f, "Limit")
1346	delete(f, "StartBizDate")
1347	delete(f, "EndBizDate")
1348	delete(f, "BlackValue")
1349	if len(f) > 0 {
1350		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryBlackListDataRequest has unknown keys!", "")
1351	}
1352	return json.Unmarshal([]byte(s), &r)
1353}
1354
1355type QueryBlackListDataResponse struct {
1356	*tchttp.BaseResponse
1357	Response *struct {
1358
1359		// 总数。
1360		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1361
1362		// 黑名单列表
1363	// 注意:此字段可能返回 null,表示取不到有效值。
1364		Data []*BlackListData `json:"Data,omitempty" name:"Data"`
1365
1366		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1367		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1368	} `json:"Response"`
1369}
1370
1371func (r *QueryBlackListDataResponse) ToJsonString() string {
1372    b, _ := json.Marshal(r)
1373    return string(b)
1374}
1375
1376// FromJsonString It is highly **NOT** recommended to use this function
1377// because it has no param check, nor strict type check
1378func (r *QueryBlackListDataResponse) FromJsonString(s string) error {
1379	return json.Unmarshal([]byte(s), &r)
1380}
1381
1382type QueryBotListRequest struct {
1383	*tchttp.BaseRequest
1384
1385	// 模块名:AiApi
1386	Module *string `json:"Module,omitempty" name:"Module"`
1387
1388	// 操作名:QueryBotList
1389	Operation *string `json:"Operation,omitempty" name:"Operation"`
1390}
1391
1392func (r *QueryBotListRequest) ToJsonString() string {
1393    b, _ := json.Marshal(r)
1394    return string(b)
1395}
1396
1397// FromJsonString It is highly **NOT** recommended to use this function
1398// because it has no param check, nor strict type check
1399func (r *QueryBotListRequest) FromJsonString(s string) error {
1400	f := make(map[string]interface{})
1401	if err := json.Unmarshal([]byte(s), &f); err != nil {
1402		return err
1403	}
1404	delete(f, "Module")
1405	delete(f, "Operation")
1406	if len(f) > 0 {
1407		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryBotListRequest has unknown keys!", "")
1408	}
1409	return json.Unmarshal([]byte(s), &r)
1410}
1411
1412type QueryBotListResponse struct {
1413	*tchttp.BaseResponse
1414	Response *struct {
1415
1416		// 任务列表。
1417		BotList []*BotInfo `json:"BotList,omitempty" name:"BotList"`
1418
1419		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1420		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1421	} `json:"Response"`
1422}
1423
1424func (r *QueryBotListResponse) ToJsonString() string {
1425    b, _ := json.Marshal(r)
1426    return string(b)
1427}
1428
1429// FromJsonString It is highly **NOT** recommended to use this function
1430// because it has no param check, nor strict type check
1431func (r *QueryBotListResponse) FromJsonString(s string) error {
1432	return json.Unmarshal([]byte(s), &r)
1433}
1434
1435type QueryCallListRequest struct {
1436	*tchttp.BaseRequest
1437
1438	// 模块名。默认值(固定):AiApi
1439	Module *string `json:"Module,omitempty" name:"Module"`
1440
1441	// 操作名。默认值(固定):QueryCallList
1442	Operation *string `json:"Operation,omitempty" name:"Operation"`
1443
1444	// 业务日期
1445	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
1446
1447	// 任务ID,二者必填一个
1448	BotId *string `json:"BotId,omitempty" name:"BotId"`
1449
1450	// 任务名称,二者必填一个
1451	BotName *string `json:"BotName,omitempty" name:"BotName"`
1452
1453	// 通过API或平台上传的文件完整名称
1454	FileName *string `json:"FileName,omitempty" name:"FileName"`
1455}
1456
1457func (r *QueryCallListRequest) ToJsonString() string {
1458    b, _ := json.Marshal(r)
1459    return string(b)
1460}
1461
1462// FromJsonString It is highly **NOT** recommended to use this function
1463// because it has no param check, nor strict type check
1464func (r *QueryCallListRequest) FromJsonString(s string) error {
1465	f := make(map[string]interface{})
1466	if err := json.Unmarshal([]byte(s), &f); err != nil {
1467		return err
1468	}
1469	delete(f, "Module")
1470	delete(f, "Operation")
1471	delete(f, "BizDate")
1472	delete(f, "BotId")
1473	delete(f, "BotName")
1474	delete(f, "FileName")
1475	if len(f) > 0 {
1476		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryCallListRequest has unknown keys!", "")
1477	}
1478	return json.Unmarshal([]byte(s), &r)
1479}
1480
1481type QueryCallListResponse struct {
1482	*tchttp.BaseResponse
1483	Response *struct {
1484
1485		// 任务作业状态
1486	// 注意:此字段可能返回 null,表示取不到有效值。
1487		CallList []*CallInfo `json:"CallList,omitempty" name:"CallList"`
1488
1489		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1490		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1491	} `json:"Response"`
1492}
1493
1494func (r *QueryCallListResponse) ToJsonString() string {
1495    b, _ := json.Marshal(r)
1496    return string(b)
1497}
1498
1499// FromJsonString It is highly **NOT** recommended to use this function
1500// because it has no param check, nor strict type check
1501func (r *QueryCallListResponse) FromJsonString(s string) error {
1502	return json.Unmarshal([]byte(s), &r)
1503}
1504
1505type QueryInstantDataRequest struct {
1506	*tchttp.BaseRequest
1507
1508	// 模块名,本接口取值:Data
1509	Module *string `json:"Module,omitempty" name:"Module"`
1510
1511	// 操作名,本接口取值:Query
1512	Operation *string `json:"Operation,omitempty" name:"Operation"`
1513
1514	// 产品ID
1515	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
1516
1517	// 实例ID,不传默认为系统分配的初始实例
1518	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1519
1520	// 查询类型:callRecord 通话记录
1521	QueryModel *string `json:"QueryModel,omitempty" name:"QueryModel"`
1522
1523	// 查询参数
1524	Data *string `json:"Data,omitempty" name:"Data"`
1525}
1526
1527func (r *QueryInstantDataRequest) ToJsonString() string {
1528    b, _ := json.Marshal(r)
1529    return string(b)
1530}
1531
1532// FromJsonString It is highly **NOT** recommended to use this function
1533// because it has no param check, nor strict type check
1534func (r *QueryInstantDataRequest) FromJsonString(s string) error {
1535	f := make(map[string]interface{})
1536	if err := json.Unmarshal([]byte(s), &f); err != nil {
1537		return err
1538	}
1539	delete(f, "Module")
1540	delete(f, "Operation")
1541	delete(f, "ProductId")
1542	delete(f, "InstanceId")
1543	delete(f, "QueryModel")
1544	delete(f, "Data")
1545	if len(f) > 0 {
1546		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryInstantDataRequest has unknown keys!", "")
1547	}
1548	return json.Unmarshal([]byte(s), &r)
1549}
1550
1551type QueryInstantDataResponse struct {
1552	*tchttp.BaseResponse
1553	Response *struct {
1554
1555		// 总数
1556	// 注意:此字段可能返回 null,表示取不到有效值。
1557		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1558
1559		// 返回内容
1560	// 注意:此字段可能返回 null,表示取不到有效值。
1561		Data *string `json:"Data,omitempty" name:"Data"`
1562
1563		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1564		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1565	} `json:"Response"`
1566}
1567
1568func (r *QueryInstantDataResponse) ToJsonString() string {
1569    b, _ := json.Marshal(r)
1570    return string(b)
1571}
1572
1573// FromJsonString It is highly **NOT** recommended to use this function
1574// because it has no param check, nor strict type check
1575func (r *QueryInstantDataResponse) FromJsonString(s string) error {
1576	return json.Unmarshal([]byte(s), &r)
1577}
1578
1579type QueryProductsRequest struct {
1580	*tchttp.BaseRequest
1581
1582	// 模块名。默认值(固定):Product
1583	Module *string `json:"Module,omitempty" name:"Module"`
1584
1585	// 操作名。默认值(固定):QueryProducts
1586	Operation *string `json:"Operation,omitempty" name:"Operation"`
1587
1588	// 实例Id。
1589	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
1590}
1591
1592func (r *QueryProductsRequest) ToJsonString() string {
1593    b, _ := json.Marshal(r)
1594    return string(b)
1595}
1596
1597// FromJsonString It is highly **NOT** recommended to use this function
1598// because it has no param check, nor strict type check
1599func (r *QueryProductsRequest) FromJsonString(s string) error {
1600	f := make(map[string]interface{})
1601	if err := json.Unmarshal([]byte(s), &f); err != nil {
1602		return err
1603	}
1604	delete(f, "Module")
1605	delete(f, "Operation")
1606	delete(f, "InstanceId")
1607	if len(f) > 0 {
1608		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryProductsRequest has unknown keys!", "")
1609	}
1610	return json.Unmarshal([]byte(s), &r)
1611}
1612
1613type QueryProductsResponse struct {
1614	*tchttp.BaseResponse
1615	Response *struct {
1616
1617		// 产品信息。
1618		ProductList []*ProductQueryInfo `json:"ProductList,omitempty" name:"ProductList"`
1619
1620		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1621		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1622	} `json:"Response"`
1623}
1624
1625func (r *QueryProductsResponse) ToJsonString() string {
1626    b, _ := json.Marshal(r)
1627    return string(b)
1628}
1629
1630// FromJsonString It is highly **NOT** recommended to use this function
1631// because it has no param check, nor strict type check
1632func (r *QueryProductsResponse) FromJsonString(s string) error {
1633	return json.Unmarshal([]byte(s), &r)
1634}
1635
1636type QueryRecordListRequest struct {
1637	*tchttp.BaseRequest
1638
1639	// 模块名。AiApi
1640	Module *string `json:"Module,omitempty" name:"Module"`
1641
1642	// 操作名。QueryRecordList
1643	Operation *string `json:"Operation,omitempty" name:"Operation"`
1644
1645	// 偏移值
1646	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
1647
1648	// 偏移位移,最大20
1649	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
1650
1651	// 任务ID,二者必填一个
1652	BotId *string `json:"BotId,omitempty" name:"BotId"`
1653
1654	// 任务名称,二者必填一个
1655	BotName *string `json:"BotName,omitempty" name:"BotName"`
1656
1657	// 被叫号码
1658	CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`
1659
1660	// 开始日期
1661	StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`
1662
1663	// 结束日期
1664	EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`
1665}
1666
1667func (r *QueryRecordListRequest) ToJsonString() string {
1668    b, _ := json.Marshal(r)
1669    return string(b)
1670}
1671
1672// FromJsonString It is highly **NOT** recommended to use this function
1673// because it has no param check, nor strict type check
1674func (r *QueryRecordListRequest) FromJsonString(s string) error {
1675	f := make(map[string]interface{})
1676	if err := json.Unmarshal([]byte(s), &f); err != nil {
1677		return err
1678	}
1679	delete(f, "Module")
1680	delete(f, "Operation")
1681	delete(f, "Offset")
1682	delete(f, "Limit")
1683	delete(f, "BotId")
1684	delete(f, "BotName")
1685	delete(f, "CalledPhone")
1686	delete(f, "StartBizDate")
1687	delete(f, "EndBizDate")
1688	if len(f) > 0 {
1689		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryRecordListRequest has unknown keys!", "")
1690	}
1691	return json.Unmarshal([]byte(s), &r)
1692}
1693
1694type QueryRecordListResponse struct {
1695	*tchttp.BaseResponse
1696	Response *struct {
1697
1698		// 录音列表。
1699		RecordList []*RecordInfo `json:"RecordList,omitempty" name:"RecordList"`
1700
1701		// 总数
1702		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
1703
1704		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1705		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1706	} `json:"Response"`
1707}
1708
1709func (r *QueryRecordListResponse) ToJsonString() string {
1710    b, _ := json.Marshal(r)
1711    return string(b)
1712}
1713
1714// FromJsonString It is highly **NOT** recommended to use this function
1715// because it has no param check, nor strict type check
1716func (r *QueryRecordListResponse) FromJsonString(s string) error {
1717	return json.Unmarshal([]byte(s), &r)
1718}
1719
1720type RecordInfo struct {
1721
1722	// 任务Id
1723	BotId *string `json:"BotId,omitempty" name:"BotId"`
1724
1725	// 任务名称
1726	BotName *string `json:"BotName,omitempty" name:"BotName"`
1727
1728	// 任务日期
1729	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
1730
1731	// 被叫号码
1732	CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`
1733
1734	// 开始通话时间
1735	CallStartTime *string `json:"CallStartTime,omitempty" name:"CallStartTime"`
1736
1737	// 通话时长
1738	Duration *int64 `json:"Duration,omitempty" name:"Duration"`
1739
1740	// 录音文件地址
1741	CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`
1742
1743	// 对话日志。JSON格式
1744	DialogueLog *string `json:"DialogueLog,omitempty" name:"DialogueLog"`
1745
1746	// 录音文件名
1747	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
1748}
1749
1750type SingleBlackApply struct {
1751
1752	// 黑名单类型,01代表手机号码。
1753	BlackType *string `json:"BlackType,omitempty" name:"BlackType"`
1754
1755	// 操作类型,A为新增,D为删除。
1756	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`
1757
1758	// 黑名单值,BlackType为01时,填写11位手机号码。
1759	BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"`
1760
1761	// 备注。
1762	BlackDescription *string `json:"BlackDescription,omitempty" name:"BlackDescription"`
1763
1764	// 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。
1765	BlackValidDate *string `json:"BlackValidDate,omitempty" name:"BlackValidDate"`
1766}
1767
1768type SingleRecord struct {
1769
1770	// 案件编号。
1771	AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"`
1772
1773	// 外呼日期。
1774	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
1775
1776	// 开始呼叫时间。
1777	CallStartTime *string `json:"CallStartTime,omitempty" name:"CallStartTime"`
1778
1779	// 主叫号码。
1780	CallerPhone *string `json:"CallerPhone,omitempty" name:"CallerPhone"`
1781
1782	// 呼叫方向,O为呼出,I为呼入。
1783	Direction *string `json:"Direction,omitempty" name:"Direction"`
1784
1785	// 通话时长。
1786	Duration *int64 `json:"Duration,omitempty" name:"Duration"`
1787
1788	// 产品ID。
1789	// 注意:此字段可能返回 null,表示取不到有效值。
1790	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
1791
1792	// 录音下载链接。
1793	// 注意:此字段可能返回 null,表示取不到有效值。
1794	RecordCosUrl *string `json:"RecordCosUrl,omitempty" name:"RecordCosUrl"`
1795}
1796
1797type SmsSign struct {
1798
1799	// 短信签名ID
1800	SignId *string `json:"SignId,omitempty" name:"SignId"`
1801
1802	// 短信签名名称
1803	SignName *string `json:"SignName,omitempty" name:"SignName"`
1804}
1805
1806type SmsTemplate struct {
1807
1808	// 短信模板ID
1809	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
1810
1811	// 短信模板名称
1812	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
1813}
1814
1815type UpdateBotTaskRequest struct {
1816	*tchttp.BaseRequest
1817
1818	// 模块名。默认值(固定):AiApi
1819	Module *string `json:"Module,omitempty" name:"Module"`
1820
1821	// 操作名。默认值(固定):UpdateTask
1822	Operation *string `json:"Operation,omitempty" name:"Operation"`
1823
1824	// 任务名称
1825	BotName *string `json:"BotName,omitempty" name:"BotName"`
1826
1827	// 任务ID
1828	BotId *string `json:"BotId,omitempty" name:"BotId"`
1829
1830	// 产品拨打时间集合
1831	CallTimeCollection *CallTimeDict `json:"CallTimeCollection,omitempty" name:"CallTimeCollection"`
1832
1833	// 是否禁止拨打,默认Y
1834	BanCall *string `json:"BanCall,omitempty" name:"BanCall"`
1835
1836	// 禁止拨打起始时间。默认130000
1837	StartTimeBan *string `json:"StartTimeBan,omitempty" name:"StartTimeBan"`
1838
1839	// 禁止拨打结束时间。默认140000
1840	EndTimeBan *string `json:"EndTimeBan,omitempty" name:"EndTimeBan"`
1841
1842	// 拨打线路集合
1843	PhoneCollection *string `json:"PhoneCollection,omitempty" name:"PhoneCollection"`
1844
1845	// 重播方式,NON:未接通、LABEL:意向分级,可多选,用竖线分隔:NON|LABEL
1846	CodeType *string `json:"CodeType,omitempty" name:"CodeType"`
1847
1848	// 重播值集合,A:强意向、B:中意向、C:低意向、D:无意向、E:在忙、F:未接通、G:无效号码,可多选,用竖线分隔:A|B|C|D|E|F|G
1849	CodeCollection *string `json:"CodeCollection,omitempty" name:"CodeCollection"`
1850
1851	// 继续拨打次数
1852	CallCount *int64 `json:"CallCount,omitempty" name:"CallCount"`
1853
1854	// 拨打间隔
1855	CallInterval *int64 `json:"CallInterval,omitempty" name:"CallInterval"`
1856
1857	// 未接通引用短信签名ID
1858	SmsSignId *string `json:"SmsSignId,omitempty" name:"SmsSignId"`
1859
1860	// 未接通引用短信模板ID
1861	SmsTemplateId *string `json:"SmsTemplateId,omitempty" name:"SmsTemplateId"`
1862}
1863
1864func (r *UpdateBotTaskRequest) ToJsonString() string {
1865    b, _ := json.Marshal(r)
1866    return string(b)
1867}
1868
1869// FromJsonString It is highly **NOT** recommended to use this function
1870// because it has no param check, nor strict type check
1871func (r *UpdateBotTaskRequest) FromJsonString(s string) error {
1872	f := make(map[string]interface{})
1873	if err := json.Unmarshal([]byte(s), &f); err != nil {
1874		return err
1875	}
1876	delete(f, "Module")
1877	delete(f, "Operation")
1878	delete(f, "BotName")
1879	delete(f, "BotId")
1880	delete(f, "CallTimeCollection")
1881	delete(f, "BanCall")
1882	delete(f, "StartTimeBan")
1883	delete(f, "EndTimeBan")
1884	delete(f, "PhoneCollection")
1885	delete(f, "CodeType")
1886	delete(f, "CodeCollection")
1887	delete(f, "CallCount")
1888	delete(f, "CallInterval")
1889	delete(f, "SmsSignId")
1890	delete(f, "SmsTemplateId")
1891	if len(f) > 0 {
1892		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateBotTaskRequest has unknown keys!", "")
1893	}
1894	return json.Unmarshal([]byte(s), &r)
1895}
1896
1897type UpdateBotTaskResponse struct {
1898	*tchttp.BaseResponse
1899	Response *struct {
1900
1901		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1902		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1903	} `json:"Response"`
1904}
1905
1906func (r *UpdateBotTaskResponse) ToJsonString() string {
1907    b, _ := json.Marshal(r)
1908    return string(b)
1909}
1910
1911// FromJsonString It is highly **NOT** recommended to use this function
1912// because it has no param check, nor strict type check
1913func (r *UpdateBotTaskResponse) FromJsonString(s string) error {
1914	return json.Unmarshal([]byte(s), &r)
1915}
1916
1917type UploadBotDataRequest struct {
1918	*tchttp.BaseRequest
1919
1920	// 模块名。默认值(固定):AiApi
1921	Module *string `json:"Module,omitempty" name:"Module"`
1922
1923	// 操作名。默认值(固定):UploadData
1924	Operation *string `json:"Operation,omitempty" name:"Operation"`
1925
1926	// 任务数据。JSON格式
1927	Data *string `json:"Data,omitempty" name:"Data"`
1928
1929	// 任务ID,二者必填一个
1930	BotId *string `json:"BotId,omitempty" name:"BotId"`
1931
1932	// 任务名称,二者必填一个
1933	BotName *string `json:"BotName,omitempty" name:"BotName"`
1934}
1935
1936func (r *UploadBotDataRequest) ToJsonString() string {
1937    b, _ := json.Marshal(r)
1938    return string(b)
1939}
1940
1941// FromJsonString It is highly **NOT** recommended to use this function
1942// because it has no param check, nor strict type check
1943func (r *UploadBotDataRequest) FromJsonString(s string) error {
1944	f := make(map[string]interface{})
1945	if err := json.Unmarshal([]byte(s), &f); err != nil {
1946		return err
1947	}
1948	delete(f, "Module")
1949	delete(f, "Operation")
1950	delete(f, "Data")
1951	delete(f, "BotId")
1952	delete(f, "BotName")
1953	if len(f) > 0 {
1954		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UploadBotDataRequest has unknown keys!", "")
1955	}
1956	return json.Unmarshal([]byte(s), &r)
1957}
1958
1959type UploadBotDataResponse struct {
1960	*tchttp.BaseResponse
1961	Response *struct {
1962
1963		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1964		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1965	} `json:"Response"`
1966}
1967
1968func (r *UploadBotDataResponse) ToJsonString() string {
1969    b, _ := json.Marshal(r)
1970    return string(b)
1971}
1972
1973// FromJsonString It is highly **NOT** recommended to use this function
1974// because it has no param check, nor strict type check
1975func (r *UploadBotDataResponse) FromJsonString(s string) error {
1976	return json.Unmarshal([]byte(s), &r)
1977}
1978
1979type UploadBotFileRequest struct {
1980	*tchttp.BaseRequest
1981
1982	// 模块名。默认值(固定):AiApi
1983	Module *string `json:"Module,omitempty" name:"Module"`
1984
1985	// 操作名。默认值(固定):Upload
1986	Operation *string `json:"Operation,omitempty" name:"Operation"`
1987
1988	// 文件类型,输入input,停拨stop
1989	FileType *string `json:"FileType,omitempty" name:"FileType"`
1990
1991	// 文件链接
1992	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`
1993
1994	// 文件名
1995	FileName *string `json:"FileName,omitempty" name:"FileName"`
1996
1997	// 任务ID,二者必填一个
1998	BotId *string `json:"BotId,omitempty" name:"BotId"`
1999
2000	// 任务名称,二者必填一个
2001	BotName *string `json:"BotName,omitempty" name:"BotName"`
2002}
2003
2004func (r *UploadBotFileRequest) ToJsonString() string {
2005    b, _ := json.Marshal(r)
2006    return string(b)
2007}
2008
2009// FromJsonString It is highly **NOT** recommended to use this function
2010// because it has no param check, nor strict type check
2011func (r *UploadBotFileRequest) FromJsonString(s string) error {
2012	f := make(map[string]interface{})
2013	if err := json.Unmarshal([]byte(s), &f); err != nil {
2014		return err
2015	}
2016	delete(f, "Module")
2017	delete(f, "Operation")
2018	delete(f, "FileType")
2019	delete(f, "FileUrl")
2020	delete(f, "FileName")
2021	delete(f, "BotId")
2022	delete(f, "BotName")
2023	if len(f) > 0 {
2024		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UploadBotFileRequest has unknown keys!", "")
2025	}
2026	return json.Unmarshal([]byte(s), &r)
2027}
2028
2029type UploadBotFileResponse struct {
2030	*tchttp.BaseResponse
2031	Response *struct {
2032
2033		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2034		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2035	} `json:"Response"`
2036}
2037
2038func (r *UploadBotFileResponse) ToJsonString() string {
2039    b, _ := json.Marshal(r)
2040    return string(b)
2041}
2042
2043// FromJsonString It is highly **NOT** recommended to use this function
2044// because it has no param check, nor strict type check
2045func (r *UploadBotFileResponse) FromJsonString(s string) error {
2046	return json.Unmarshal([]byte(s), &r)
2047}
2048
2049type UploadDataFileRequest struct {
2050	*tchttp.BaseRequest
2051
2052	// 模块名,本接口取值:Data
2053	Module *string `json:"Module,omitempty" name:"Module"`
2054
2055	// 操作名,本接口取值:Upload
2056	Operation *string `json:"Operation,omitempty" name:"Operation"`
2057
2058	// 文件名
2059	FileName *string `json:"FileName,omitempty" name:"FileName"`
2060
2061	// <p>上传类型,不填默认到期/逾期提醒文件,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒文件</li><li>repay:到期/逾期提醒停拨文件</li><li>callback:回访文件</li><li>callstop:回访停拨文件</li><li>blacklist:黑名单文件</li></ul>
2062	UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"`
2063
2064	// 文件,文件与文件地址上传只可选用一种,必须使用multipart/form-data协议来上传二进制流文件,建议使用xlsx格式,大小不超过5MB。
2065	File *string `json:"File,omitempty" name:"File"`
2066
2067	// 文件上传地址,文件与文件地址上传只可选用一种,大小不超过50MB。
2068	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`
2069
2070	// 实例ID,不传默认为系统分配的初始实例。
2071	InstId *string `json:"InstId,omitempty" name:"InstId"`
2072}
2073
2074func (r *UploadDataFileRequest) ToJsonString() string {
2075    b, _ := json.Marshal(r)
2076    return string(b)
2077}
2078
2079// FromJsonString It is highly **NOT** recommended to use this function
2080// because it has no param check, nor strict type check
2081func (r *UploadDataFileRequest) FromJsonString(s string) error {
2082	f := make(map[string]interface{})
2083	if err := json.Unmarshal([]byte(s), &f); err != nil {
2084		return err
2085	}
2086	delete(f, "Module")
2087	delete(f, "Operation")
2088	delete(f, "FileName")
2089	delete(f, "UploadModel")
2090	delete(f, "File")
2091	delete(f, "FileUrl")
2092	delete(f, "InstId")
2093	if len(f) > 0 {
2094		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UploadDataFileRequest has unknown keys!", "")
2095	}
2096	return json.Unmarshal([]byte(s), &r)
2097}
2098
2099type UploadDataFileResponse struct {
2100	*tchttp.BaseResponse
2101	Response *struct {
2102
2103		// 数据ID
2104		DataResId *string `json:"DataResId,omitempty" name:"DataResId"`
2105
2106		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2107		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2108	} `json:"Response"`
2109}
2110
2111func (r *UploadDataFileResponse) ToJsonString() string {
2112    b, _ := json.Marshal(r)
2113    return string(b)
2114}
2115
2116// FromJsonString It is highly **NOT** recommended to use this function
2117// because it has no param check, nor strict type check
2118func (r *UploadDataFileResponse) FromJsonString(s string) error {
2119	return json.Unmarshal([]byte(s), &r)
2120}
2121
2122type UploadDataJsonRequest struct {
2123	*tchttp.BaseRequest
2124
2125	// 模块名,本接口取值:Data
2126	Module *string `json:"Module,omitempty" name:"Module"`
2127
2128	// 操作名,本接口取值:UploadJson
2129	Operation *string `json:"Operation,omitempty" name:"Operation"`
2130
2131	// 报文信息
2132	Data *string `json:"Data,omitempty" name:"Data"`
2133
2134	// <p>上传类型,不填默认到期/逾期提醒数据,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒数据</li><li>repay:到期/逾期提醒停拨数据</li></ul>
2135	UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"`
2136
2137	// 实例ID,不传默认为系统分配的初始实例。
2138	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
2139}
2140
2141func (r *UploadDataJsonRequest) ToJsonString() string {
2142    b, _ := json.Marshal(r)
2143    return string(b)
2144}
2145
2146// FromJsonString It is highly **NOT** recommended to use this function
2147// because it has no param check, nor strict type check
2148func (r *UploadDataJsonRequest) FromJsonString(s string) error {
2149	f := make(map[string]interface{})
2150	if err := json.Unmarshal([]byte(s), &f); err != nil {
2151		return err
2152	}
2153	delete(f, "Module")
2154	delete(f, "Operation")
2155	delete(f, "Data")
2156	delete(f, "UploadModel")
2157	delete(f, "InstanceId")
2158	if len(f) > 0 {
2159		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UploadDataJsonRequest has unknown keys!", "")
2160	}
2161	return json.Unmarshal([]byte(s), &r)
2162}
2163
2164type UploadDataJsonResponse struct {
2165	*tchttp.BaseResponse
2166	Response *struct {
2167
2168		// 响应报文信息
2169	// 注意:此字段可能返回 null,表示取不到有效值。
2170		Data *string `json:"Data,omitempty" name:"Data"`
2171
2172		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2173		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2174	} `json:"Response"`
2175}
2176
2177func (r *UploadDataJsonResponse) ToJsonString() string {
2178    b, _ := json.Marshal(r)
2179    return string(b)
2180}
2181
2182// FromJsonString It is highly **NOT** recommended to use this function
2183// because it has no param check, nor strict type check
2184func (r *UploadDataJsonResponse) FromJsonString(s string) error {
2185	return json.Unmarshal([]byte(s), &r)
2186}
2187
2188type UploadFileRequest struct {
2189	*tchttp.BaseRequest
2190
2191	// 模块名
2192	Module *string `json:"Module,omitempty" name:"Module"`
2193
2194	// 操作名
2195	Operation *string `json:"Operation,omitempty" name:"Operation"`
2196
2197	// 文件上传地址,要求地址协议为HTTPS,且URL端口必须为443
2198	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`
2199
2200	// 文件名
2201	FileName *string `json:"FileName,omitempty" name:"FileName"`
2202
2203	// 文件日期
2204	FileDate *string `json:"FileDate,omitempty" name:"FileDate"`
2205}
2206
2207func (r *UploadFileRequest) ToJsonString() string {
2208    b, _ := json.Marshal(r)
2209    return string(b)
2210}
2211
2212// FromJsonString It is highly **NOT** recommended to use this function
2213// because it has no param check, nor strict type check
2214func (r *UploadFileRequest) FromJsonString(s string) error {
2215	f := make(map[string]interface{})
2216	if err := json.Unmarshal([]byte(s), &f); err != nil {
2217		return err
2218	}
2219	delete(f, "Module")
2220	delete(f, "Operation")
2221	delete(f, "FileUrl")
2222	delete(f, "FileName")
2223	delete(f, "FileDate")
2224	if len(f) > 0 {
2225		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UploadFileRequest has unknown keys!", "")
2226	}
2227	return json.Unmarshal([]byte(s), &r)
2228}
2229
2230type UploadFileResponse struct {
2231	*tchttp.BaseResponse
2232	Response *struct {
2233
2234		// 任务ID
2235		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`
2236
2237		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2238		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2239	} `json:"Response"`
2240}
2241
2242func (r *UploadFileResponse) ToJsonString() string {
2243    b, _ := json.Marshal(r)
2244    return string(b)
2245}
2246
2247// FromJsonString It is highly **NOT** recommended to use this function
2248// because it has no param check, nor strict type check
2249func (r *UploadFileResponse) FromJsonString(s string) error {
2250	return json.Unmarshal([]byte(s), &r)
2251}
2252