package com.its.onvif.cmra.server.dto.request;

import com.its.onvif.cmra.server.dto.PtzDirection;
import com.its.onvif.cmra.server.dto.response.CameraStreamProfileDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
@Schema(description = "카메라 PTZ 제어 요청 DTO")
public class PtzControlRequestDto {

//    @Schema(description = "제어유형", example = "0(STOP),1(PAN_LEFT),2(PAN_RIGHT),3(TILT_UP),4(TILT_DOWN),5(PAN_TILT_UP_LEFT),6(PAN_TILT_UP_RIGHT),7(PAN_TILT_DOWN_LEFT),8(PAN_TILT_DOWN_RIGHT),9(ZOOM_IN),10(ZOOM_OUT),11(HOME);")
    @Schema(description = "제어 유형", example = "0(STOP)", implementation = PtzDirection.class)
    private Integer type;

    @Schema(description = "카메라 IP", example = "192.168.20.91")
    private String ip;

    @Schema(description = "카메라 Port", example = "80")
    private Integer port;

    @Schema(description = "User Name", example = "root")
    private String username;

    @Schema(description = "Password", example = "pass")
    private String password;

    @Schema(description = "제어 속도", example = "30(1~100)")
    private Integer speed;

}
