cn.authing.sdk.java.dto.GetAuthorizedResourceActionDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class GetAuthorizedResourceActionDto {
/**
* AND or OR
*/
@JsonProperty("op")
private Op op;
/**
* Action 列表
*/
@JsonProperty("list")
private List list;
public Op getOp() {
return op;
}
public void setOp(Op op) {
this.op = op;
}
public List getList() {
return list;
}
public void setList(List list) {
this.list = list;
}
/**
* AND or OR
*/
public static enum Op {
@JsonProperty("AND")
AND("AND"),
@JsonProperty("OR")
OR("OR"),
;
private String value;
Op(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
}