diff --git a/model/src/main/java/io/quarkiverse/openfga/client/model/Condition.java b/model/src/main/java/io/quarkiverse/openfga/client/model/Condition.java index 8f5e30a..ce1abbb 100644 --- a/model/src/main/java/io/quarkiverse/openfga/client/model/Condition.java +++ b/model/src/main/java/io/quarkiverse/openfga/client/model/Condition.java @@ -36,11 +36,13 @@ public List getGenericTypes() { private final String name; private final String expression; private final Map parameters; + private final Map metadata; - public Condition(String name, String expression, Map parameters) { + public Condition(String name, String expression, Map parameters, Map metadata) { this.name = name; this.expression = expression; this.parameters = parameters; + this.metadata = metadata; } public String getName() { @@ -55,6 +57,10 @@ public Map getParameters() { return parameters; } + public Map getMetadata() { + return metadata; + } + @Override public boolean equals(Object o) { if (this == o)