io.quarkiverse.openfga.client.model.Metadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-openfga-client-model Show documentation
Show all versions of quarkus-openfga-client-model Show documentation
OpenFGA Client API model classes
package io.quarkiverse.openfga.client.model;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
import com.fasterxml.jackson.annotation.JsonCreator;
public class Metadata {
@Nullable
Map relations;
@JsonCreator
public Metadata(@Nullable Map relations) {
this.relations = relations;
}
@Nullable
public Map getRelations() {
return relations;
}
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (!(o instanceof Metadata))
return false;
Metadata metadata = (Metadata) o;
return Objects.equals(relations, metadata.relations);
}
@Override
public int hashCode() {
return Objects.hash(relations);
}
@Override
public String toString() {
return "Metadata{" +
"relations=" + relations +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy