Class Entry

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Entry extends Object
Represents an entry.
  • Field Details

  • Constructor Details

    • Entry

      public Entry()
  • Method Details

    • id

      public Entry id(String id)
    • getId

      @Nullable public String getId()
      Required. An id assigned to this node by the parser which is unique in a given expression tree. This is used to associate type information and other attributes to the node.
      Returns:
      id
    • setId

      public void setId(String id)
    • fieldKey

      public Entry fieldKey(String fieldKey)
    • getFieldKey

      @Nullable public String getFieldKey()
      The field key for a message creator statement.
      Returns:
      fieldKey
    • setFieldKey

      public void setFieldKey(String fieldKey)
    • mapKey

      public Entry mapKey(Expr mapKey)
    • getMapKey

      @Nullable public Expr getMapKey()
      Get mapKey
      Returns:
      mapKey
    • setMapKey

      public void setMapKey(Expr mapKey)
    • value

      public Entry value(Expr value)
    • getValue

      @Nullable public Expr getValue()
      Get value
      Returns:
      value
    • setValue

      public void setValue(Expr value)
    • optionalEntry

      public Entry optionalEntry(Boolean optionalEntry)
    • getOptionalEntry

      @Nullable public Boolean getOptionalEntry()
      Whether the key-value pair is optional.
      Returns:
      optionalEntry
    • setOptionalEntry

      public void setOptionalEntry(Boolean optionalEntry)
    • equals

      public boolean equals(Object o)
      Return true if this Entry 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