Class CheckedExpr

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CheckedExpr extends Object
A CEL expression which has been successfully type checked.
  • Field Details

  • Constructor Details

    • CheckedExpr

      public CheckedExpr()
  • Method Details

    • referenceMap

      public CheckedExpr referenceMap(Map<String,V1alpha1Reference> referenceMap)
    • putReferenceMapItem

      public CheckedExpr putReferenceMapItem(String key, V1alpha1Reference referenceMapItem)
    • getReferenceMap

      @Nullable public Map<String,V1alpha1Reference> getReferenceMap()
      A map from expression ids to resolved references. The following entries are in this table: - An Ident or Select expression is represented here if it resolves to a declaration. For instance, if `a.b.c` is represented by `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, while `c` is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if `a` resolves to a declaration and `b.c` are field selections, the reference is attached to the ident expression. - Every Call expression has an entry here, identifying the function being called. - Every CreateStruct expression for a message has an entry, identifying the message.
      Returns:
      referenceMap
    • setReferenceMap

      public void setReferenceMap(Map<String,V1alpha1Reference> referenceMap)
    • typeMap

      public CheckedExpr typeMap(Map<String,V1alpha1Type> typeMap)
    • putTypeMapItem

      public CheckedExpr putTypeMapItem(String key, V1alpha1Type typeMapItem)
    • getTypeMap

      @Nullable public Map<String,V1alpha1Type> getTypeMap()
      A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.
      Returns:
      typeMap
    • setTypeMap

      public void setTypeMap(Map<String,V1alpha1Type> typeMap)
    • sourceInfo

      public CheckedExpr sourceInfo(SourceInfo sourceInfo)
    • getSourceInfo

      @Nullable public SourceInfo getSourceInfo()
      Get sourceInfo
      Returns:
      sourceInfo
    • setSourceInfo

      public void setSourceInfo(SourceInfo sourceInfo)
    • exprVersion

      public CheckedExpr exprVersion(String exprVersion)
    • getExprVersion

      @Nullable public String getExprVersion()
      The expr version indicates the major / minor version number of the `expr` representation. The most common reason for a version change will be to indicate to the CEL runtimes that transformations have been performed on the expr during static analysis. In some cases, this will save the runtime the work of applying the same or similar transformations prior to evaluation.
      Returns:
      exprVersion
    • setExprVersion

      public void setExprVersion(String exprVersion)
    • expr

      public CheckedExpr expr(Expr expr)
    • getExpr

      @Nullable public Expr getExpr()
      Get expr
      Returns:
      expr
    • setExpr

      public void setExpr(Expr expr)
    • equals

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