Class Select
java.lang.Object
co.permify.sdk.model.Select
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Select
extends Object
A field selection expression. e.g. `request.auth`.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Select object is equal to o.getField()Required.Get operandWhether the select is to be interpreted as a field presence test.inthashCode()voidvoidsetOperand(Expr operand) voidsetTestOnly(Boolean testOnly) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_OPERAND
- See Also:
-
JSON_PROPERTY_FIELD
- See Also:
-
JSON_PROPERTY_TEST_ONLY
- See Also:
-
-
Constructor Details
-
Select
public Select()
-
-
Method Details
-
operand
-
getOperand
-
setOperand
-
field
-
getField
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.- Returns:
- field
-
setField
-
testOnly
-
getTestOnly
Whether the select is to be interpreted as a field presence test. This results from the macro `has(request.auth)`.- Returns:
- testOnly
-
setTestOnly
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-