All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dyvmsapi20170525.models.QueryRobotTaskCallDetailResponseBody Maven / Gradle / Ivy

Go to download

Aliyun DYSMSAPI SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 3.2.2
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dyvmsapi20170525.models;

import com.aliyun.tea.*;

public class QueryRobotTaskCallDetailResponseBody extends TeaModel {
    /**
     * 

The response code.

*
*

* The value OK indicates that the request was successful.

*

* For more information about other response codes, see [API error codes](~~112502~~).

*/ @NameInMap("Code") public String code; /** *

The call details of a robocall task, in the JSON format.

*
*

* **taskId**: the unique ID of the robocall task.

*

* **caller**: the calling number.

*

* **called**: the called number.

*

* **duration**: the call duration. Unit: seconds.

*

* **label**: the label of the called party.

*

* **dialogCount**: the number of conversation rounds in the call.

*

* **callResult**: the call result.

*

* **hangupDirection**: the party who hung up. Valid values: **0**: the robot. **1**: the called party.

*

* **transferResult**: the result of transferring the call to an agent. Valid values: **1**, **0**, and **3**. The value 1 indicates that the call was transferred to the agent. The value 0 indicates that the call failed to be transferred to the agent. The value 3 indicates that the call was not transferred to the agent.

*

* **transferNumber**: the phone number of the agent to whom the call was transferred.

*

* **transferFailReason**: the reason why the call failed to be transferred to the agent.

*

* **callId**: the unique receipt ID of the call, in the `taskId^bizId` format.

*

* **recallCurTimes**: the number of recalls.

*

* **callStartTime**: the start time of the call.

*

* **callEndTime**: the end time of the call.

*

* **sureCount**: the number of times that the robocall task was affirmed.

*

* **denyCount**: the number of times that the robocall task was denied.

*

* **rejectCount**: the number of times that the robocall task was rejected.

*

* **customCount**: the number of times that the robocall task was customized.

*

* **knowledgeCount**: the number of times that the knowledge base was queried.

*

* **defaultCount**: the default number of calls.

*

* **knowledgeBusinessCount**: the number of call failures caused by the business issues in the knowledge base.

*

* **knowledgeCommonCount**: the number of call failures caused by the common issues in the knowledge base.

*

* **recordStatus**: Indicates whether the call has a recording file. Valid values: **1**: The call has a recording file. **2**: The call does not have a recording file.

*

* **recordFile**: the download URL of the recording file.

*

* **dialogDetail**: the dialog details, in a JSON-formatted array. **role**: the object of the speech. **content**: the content of the speech. **speakTime**: the time of the speech.

*/ @NameInMap("Data") public String data; /** *

The returned message.

*/ @NameInMap("Message") public String message; /** *

The request ID.

*/ @NameInMap("RequestId") public String requestId; public static QueryRobotTaskCallDetailResponseBody build(java.util.Map map) throws Exception { QueryRobotTaskCallDetailResponseBody self = new QueryRobotTaskCallDetailResponseBody(); return TeaModel.build(map, self); } public QueryRobotTaskCallDetailResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public QueryRobotTaskCallDetailResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public QueryRobotTaskCallDetailResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public QueryRobotTaskCallDetailResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy