package com.dji.sdk.cloudapi.psdk;

import com.dji.sdk.common.BaseModel;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Speaker play stop request
 * 
 * @author sean
 * @version 1.7
 * @date 2023/10/16
 */
public class SpeakerPlayStopRequest extends BaseModel {

    /**
     * PSDK payload device index (0-3)
     */
    @NotNull
    @Min(0)
    private Integer psdkIndex;

    public SpeakerPlayStopRequest() {
    }

    @Override
    public String toString() {
        return "SpeakerPlayStopRequest{" +
                "psdkIndex=" + psdkIndex +
                '}';
    }

    public Integer getPsdkIndex() {
        return psdkIndex;
    }

    public SpeakerPlayStopRequest setPsdkIndex(Integer psdkIndex) {
        this.psdkIndex = psdkIndex;
        return this;
    }
}
