Package dev.openfga.sdk.api.model
Class UsersetTreeDifference
- java.lang.Object
-
- dev.openfga.sdk.api.model.UsersetTreeDifference
-
public class UsersetTreeDifference extends java.lang.Object
UsersetTreeDifference
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JSON_PROPERTY_BASE
static java.lang.String
JSON_PROPERTY_SUBTRACT
-
Constructor Summary
Constructors Constructor Description UsersetTreeDifference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsersetTreeDifference
base(Node base)
boolean
equals(java.lang.Object o)
Return true if this UsersetTree.Difference object is equal to o.Node
getBase()
Get baseNode
getSubtract()
Get subtractint
hashCode()
void
setBase(Node base)
void
setSubtract(Node subtract)
UsersetTreeDifference
subtract(Node subtract)
java.lang.String
toString()
java.lang.String
toUrlQueryString()
Convert the instance into URL query string.java.lang.String
toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_BASE
public static final java.lang.String JSON_PROPERTY_BASE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBTRACT
public static final java.lang.String JSON_PROPERTY_SUBTRACT
- See Also:
- Constant Field Values
-
-
Method Detail
-
base
public UsersetTreeDifference base(Node base)
-
getBase
@Nonnull public Node getBase()
Get base- Returns:
- base
-
setBase
public void setBase(Node base)
-
subtract
public UsersetTreeDifference subtract(Node subtract)
-
getSubtract
@Nonnull public Node getSubtract()
Get subtract- Returns:
- subtract
-
setSubtract
public void setSubtract(Node subtract)
-
equals
public boolean equals(java.lang.Object o)
Return true if this UsersetTree.Difference object is equal to o.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-
-