Class ExpandTreeNode

java.lang.Object
co.permify.sdk.model.ExpandTreeNode

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ExpandTreeNode extends Object
ExpandTreeNode represents a node in an expansion tree with a specific operation and its children.
  • Field Details

  • Constructor Details

    • ExpandTreeNode

      public ExpandTreeNode()
  • Method Details

    • operation

      public ExpandTreeNode operation(ExpandTreeNodeOperation operation)
    • getOperation

      @Nullable public ExpandTreeNodeOperation getOperation()
      Get operation
      Returns:
      operation
    • setOperation

      public void setOperation(ExpandTreeNodeOperation operation)
    • children

      public ExpandTreeNode children(List<V1Expand> children)
    • addChildrenItem

      public ExpandTreeNode addChildrenItem(V1Expand childrenItem)
    • getChildren

      @Nullable public List<V1Expand> getChildren()
      Get children
      Returns:
      children
    • setChildren

      public void setChildren(List<V1Expand> children)
    • equals

      public boolean equals(Object o)
      Return true if this ExpandTreeNode object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string