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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CheckedExpr object is equal to o.exprVersion(String exprVersion) getExpr()Get exprThe expr version indicates the major / minor version number of the `expr` representation.A map from expression ids to resolved references.Get sourceInfoA map from expression ids to types.inthashCode()putReferenceMapItem(String key, V1alpha1Reference referenceMapItem) putTypeMapItem(String key, V1alpha1Type typeMapItem) referenceMap(Map<String, V1alpha1Reference> referenceMap) voidvoidsetExprVersion(String exprVersion) voidsetReferenceMap(Map<String, V1alpha1Reference> referenceMap) voidsetSourceInfo(SourceInfo sourceInfo) voidsetTypeMap(Map<String, V1alpha1Type> typeMap) sourceInfo(SourceInfo sourceInfo) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.typeMap(Map<String, V1alpha1Type> typeMap)
-
Field Details
-
JSON_PROPERTY_REFERENCE_MAP
- See Also:
-
JSON_PROPERTY_TYPE_MAP
- See Also:
-
JSON_PROPERTY_SOURCE_INFO
- See Also:
-
JSON_PROPERTY_EXPR_VERSION
- See Also:
-
JSON_PROPERTY_EXPR
- See Also:
-
-
Constructor Details
-
CheckedExpr
public CheckedExpr()
-
-
Method Details
-
referenceMap
-
putReferenceMapItem
-
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
-
typeMap
-
putTypeMapItem
-
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
-
sourceInfo
-
getSourceInfo
-
setSourceInfo
-
exprVersion
-
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
-
expr
-
getExpr
-
setExpr
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-