liusheng
2025-04-02 ae086bc3ad6f785e6368b84e57a7e199c675779b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package com.smartor.domain;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 * 电话回调
 *
 * @author ls
 * @date 2024-04-10
 */
@Data
public class PhoneCallBackVO {
 
    // 结果类型  呼叫结果接口: 1      通话状态更新接口: 2    语音识别结果上报接口: 3
    @ApiModelProperty(value = "结果类型  呼叫结果接口: 1   通话状态更新接口: 2    语音识别结果上报接口: 3 ")
    private Integer resultType;
 
    // UUID
    @ApiModelProperty(value = "uuid")
    private String uuid;
 
 
    /**
     * 呼叫结果接口
     */
    //成功,1-失败
    @ApiModelProperty(value = "0-成功,1-失败")
    private Integer uint8;
 
 
    //失败原因(没有线路、外呼命令格式错误、用户未注册...FS侧定义)
    @ApiModelProperty(value = "失败原因(没有线路、外呼命令格式错误、用户未注册...FS侧定义)")
    private String errResult;
 
    /**
     * 通话状态更新接口
     */
    //状态 0-振铃,1-接听、2-挂断三种(暂定)
    @ApiModelProperty(value = "0-振铃,1-接听、2-挂断三种(暂定)")
    private Integer enumState;
 
    //挂断原因(如果是挂断的话)
    @ApiModelProperty(value = "挂断原因(如果是挂断的话)")
    private String hangUpResult;
 
    /**
     * 语音识别结果上报接口
     */
    @ApiModelProperty(value = "语音识别结果文本")
    private String textResult;
 
    @Override
    public String toString() {
        return "PhoneCallBackVO{" + "resultType=" + resultType + ", uuid='" + uuid + '\'' + ", uint8=" + uint8 + ", errResult='" + errResult + '\'' + ", enumState=" + enumState + ", hangUpResult='" + hangUpResult + '\'' + ", textResult='" + textResult + '\'' + '}';
    }
}