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

cn.authing.sdk.java.dto.UpdateApplicationPermissionStrategyDataDto 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 UpdateApplicationPermissionStrategyDataDto {
    /**
     * 应用访问授权策略
     */
    @JsonProperty("permissionStrategy")
    private PermissionStrategy permissionStrategy;
    /**
     * 应用 ID
     */
    @JsonProperty("appId")
    private String appId;

    public PermissionStrategy getPermissionStrategy() {
        return permissionStrategy;
    }
    public void setPermissionStrategy(PermissionStrategy permissionStrategy) {
        this.permissionStrategy = permissionStrategy;
    }

    public String getAppId() {
        return appId;
    }
    public void setAppId(String appId) {
        this.appId = appId;
    }


    /**
     * 应用访问授权策略
     */
    public static enum PermissionStrategy {

        @JsonProperty("ALLOW_ALL")
        ALLOW_ALL("ALLOW_ALL"),

        @JsonProperty("DENY_ALL")
        DENY_ALL("DENY_ALL"),
        ;

        private String value;

        PermissionStrategy(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy