
io.permit.sdk.api.models.ResourceSpec Maven / Gradle / Ivy
package io.permit.sdk.api.models;
import java.util.HashMap;
public class ResourceSpec {
private String type;
private String description;
private HashMap attributes;
private HashMap actions = new HashMap<>();
public ResourceSpec(String type, String description, HashMap attributes, HashMap actions) {
this.type = type;
this.description = description;
this.attributes = attributes;
this.actions = actions;
}
public ResourceSpec(String type, String description, HashMap attributes) {
this(type, description, attributes, new HashMap<>());
}
public ResourceSpec(String type, HashMap actions) {
this(type, null, null, actions);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy