io.permit.sdk.api.models.CreateOrUpdateResult 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.api.models;
public class CreateOrUpdateResult {
private final T object;
private final boolean created;
public CreateOrUpdateResult(T object, boolean created) {
this.object = object;
this.created = created;
}
public T getResult() {
return this.object;
}
public boolean wasCreated() {
return this.created;
}
}