Class CheckRequest


  • public class CheckRequest
    extends java.lang.Object
    CheckRequest
    • Field Detail

      • JSON_PROPERTY_TUPLE_KEY

        public static final java.lang.String JSON_PROPERTY_TUPLE_KEY
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONTEXTUAL_TUPLES

        public static final java.lang.String JSON_PROPERTY_CONTEXTUAL_TUPLES
        See Also:
        Constant Field Values
      • JSON_PROPERTY_AUTHORIZATION_MODEL_ID

        public static final java.lang.String JSON_PROPERTY_AUTHORIZATION_MODEL_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_TRACE

        public static final java.lang.String JSON_PROPERTY_TRACE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONTEXT

        public static final java.lang.String JSON_PROPERTY_CONTEXT
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONSISTENCY

        public static final java.lang.String JSON_PROPERTY_CONSISTENCY
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckRequest

        public CheckRequest()
      • CheckRequest

        public CheckRequest​(java.lang.Boolean trace)
    • Method Detail

      • getContextualTuples

        @Nullable
        public ContextualTupleKeys getContextualTuples()
        Get contextualTuples
        Returns:
        contextualTuples
      • setContextualTuples

        public void setContextualTuples​(ContextualTupleKeys contextualTuples)
      • authorizationModelId

        public CheckRequest authorizationModelId​(java.lang.String authorizationModelId)
      • getAuthorizationModelId

        @Nullable
        public java.lang.String getAuthorizationModelId()
        Get authorizationModelId
        Returns:
        authorizationModelId
      • setAuthorizationModelId

        public void setAuthorizationModelId​(java.lang.String authorizationModelId)
      • getTrace

        @Nullable
        public java.lang.Boolean getTrace()
        Defaults to false. Making it true has performance implications.
        Returns:
        trace
      • context

        public CheckRequest context​(java.lang.Object context)
      • getContext

        @Nullable
        public java.lang.Object getContext()
        Additional request context that will be used to evaluate any ABAC conditions encountered in the query evaluation.
        Returns:
        context
      • setContext

        public void setContext​(java.lang.Object context)
      • getConsistency

        @Nullable
        public ConsistencyPreference getConsistency()
        Get consistency
        Returns:
        consistency
      • equals

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

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

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

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

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