package com.dji.sample.manage.model.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author sean.zhou
 * @version 0.1
 * @date 2021/11/23
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LiveDTO {

    private String url;

    private String username;

    private String password;

    /**
     * 观看会话ID，由服务端在 liveStart 时生成，前端需保存并在 heartbeat/stop 时回传。
     */
    @JsonProperty("session_id")
    private String sessionId;
}