io.permit.sdk.enforcement.ResourceDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permit-sdk-java Show documentation
Show all versions of permit-sdk-java Show documentation
Java SDK for Permit.io: fullstack permissions for cloud native applications
package io.permit.sdk.enforcement;
import io.permit.sdk.util.Context;
import java.util.HashMap;
/**
* The {@code ResourceDetails} class represents a single resource instance information fetched from the PDP (key and attributes).
*/
public final class ResourceDetails extends TenantDetails {
public final String type;
public ResourceDetails(String type, String key, HashMap attributes) {
super(key, attributes);
this.type = type;
}
}