All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.authing.sdk.java.dto.GetAuthorizedResourceActionDto Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
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;
        }
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy