Interface V2RetrieveResponse.DraftVersion.Parameters.ConditionalAuthorizationActionParameters.Condition.Value.Visitor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract T visitRegex(String regex) A regex string, to be used with MATCHES or DOES_NOT_MATCH
      abstract T visitNumber(Long number) A number, to be used with IS_GREATER_THAN, IS_GREATER_THAN_OR_EQUAL_TO, IS_LESS_THAN, IS_LESS_THAN_OR_EQUAL_TO, IS_EQUAL_TO, or IS_NOT_EQUAL_TO
      abstract T visitListOfStrings(List<String> listOfStrings) An array of strings, to be used with IS_ONE_OF or IS_NOT_ONE_OF
      T unknown(JsonValue json) Maps an unknown variant of Value to a value of type T.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • visitRegex

         abstract T visitRegex(String regex)

        A regex string, to be used with MATCHES or DOES_NOT_MATCH

      • visitNumber

         abstract T visitNumber(Long number)

        A number, to be used with IS_GREATER_THAN, IS_GREATER_THAN_OR_EQUAL_TO, IS_LESS_THAN, IS_LESS_THAN_OR_EQUAL_TO, IS_EQUAL_TO, or IS_NOT_EQUAL_TO

      • unknown

         T unknown(JsonValue json)

        Maps an unknown variant of Value to a value of type T.

        An instance of Value can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.