package com.sonic.cow.domain.input;

import com.sonic.cow.enums.VoiceChatOptTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: mzc
 * @date: 2025-08-14 14:09
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VoiceChatOptInput {

    @ApiModelProperty("ai的id")
    @NotNull
    private Long aiId;

    @ApiModelProperty("操作类型  开启通话:START,打断:INTERRUPT,结束通话:STOP，取消通话：CANCEL")
    @NotNull
    private VoiceChatOptTypeEnum optType;

    @ApiModelProperty("房间id")
    @NotNull
    private String roomId;

    @ApiModelProperty("任务id")
    @NotNull
    private String taskId;

    @ApiModelProperty("结束通话时传 通话时长")
    private Long duration;

    @ApiModelProperty("终端(内部使用)")
    private String endpoint;
}
