cn.authing.sdk.java.dto.UpdateApplicationPermissionStrategyDataDto 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 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