65 lines
1.8 KiB
Java
65 lines
1.8 KiB
Java
|
|
package com.whdc.model.entity.autocall;
|
|||
|
|
|
|||
|
|
|
|||
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
|||
|
|
import lombok.ToString;
|
|||
|
|
|
|||
|
|
import java.util.List;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 联通查询任务状态接口返回对象
|
|||
|
|
*
|
|||
|
|
* @author lyf
|
|||
|
|
* @since 2025-06-17
|
|||
|
|
*/
|
|||
|
|
@lombok.Data
|
|||
|
|
@ToString
|
|||
|
|
public class AICCCallRespDetail {
|
|||
|
|
private Data data;
|
|||
|
|
|
|||
|
|
@lombok.Data
|
|||
|
|
@ToString
|
|||
|
|
public static class Data {
|
|||
|
|
List<Record> records;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@lombok.Data
|
|||
|
|
@ToString
|
|||
|
|
public static class Record {
|
|||
|
|
private String caller; //外呼号码
|
|||
|
|
private Long dataTime;
|
|||
|
|
private String processId; //机器人id
|
|||
|
|
private String sessionDetailId; //联系人id,等同返回值的custId
|
|||
|
|
private Integer talkTimes;//通话时长,单位秒
|
|||
|
|
private String remark; //中文状态,接通,空号,停机,关机,未接,拒接,占线,呼叫失败,""代表未呼叫
|
|||
|
|
private String taskName; //任务名
|
|||
|
|
private Integer status; //0进行中 2结束 4暂停
|
|||
|
|
private Integer totalCount;
|
|||
|
|
private Integer sendCount;
|
|||
|
|
|
|||
|
|
private RawVarListMap rawVarListMap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@lombok.Data
|
|||
|
|
@ToString
|
|||
|
|
public static class RawVarListMap {
|
|||
|
|
private String taskName; //任务名,作为参数的taskName
|
|||
|
|
private String dialTaskMainSn; //任务编号,作为参数的requestId
|
|||
|
|
private String custId; //联系人id
|
|||
|
|
private String sipTermCause; //例如”对方挂机“
|
|||
|
|
private String sipTermStatus; //接通是200
|
|||
|
|
private String caller;
|
|||
|
|
@JSONField(name = "@NUMBER")
|
|||
|
|
private String number;
|
|||
|
|
private String startringAt;
|
|||
|
|
private String connectedAt;
|
|||
|
|
private String startedAt;
|
|||
|
|
private String endringAt;
|
|||
|
|
private String disconnectedAt;
|
|||
|
|
private String stopedAt;
|
|||
|
|
private String lastModify;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|