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 + '\'' + '}'; 
 | 
    } 
 | 
} 
 |