You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.dji.sdk.cloudapi.debug;
|
|
|
|
|
|
|
|
import com.dji.sdk.cloudapi.device.SwitchActionEnum;
|
|
|
|
import com.dji.sdk.common.BaseModel;
|
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author sean
|
|
|
|
* @version 1.3
|
|
|
|
* @date 2022/11/25
|
|
|
|
*/
|
|
|
|
public class AlarmStateSwitchRequest extends BaseModel {
|
|
|
|
|
|
|
|
@NotNull
|
|
|
|
private SwitchActionEnum action;
|
|
|
|
|
|
|
|
public AlarmStateSwitchRequest() {
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return "AlarmStateSwitchRequest{" +
|
|
|
|
"action=" + action +
|
|
|
|
'}';
|
|
|
|
}
|
|
|
|
|
|
|
|
public SwitchActionEnum getAction() {
|
|
|
|
return action;
|
|
|
|
}
|
|
|
|
|
|
|
|
public AlarmStateSwitchRequest setAction(SwitchActionEnum action) {
|
|
|
|
this.action = action;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|