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

io.permit.sdk.api.models.ResourceSpec Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy