Class TopicCategoryFilterConstant

    • Method Detail

      • constantType

        public final ConstantType constantType()

        The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.

        If the service returns an enum value that is not available in the current SDK version, constantType will return ConstantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from constantTypeAsString().

        Returns:
        The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.
        See Also:
        ConstantType
      • constantTypeAsString

        public final String constantTypeAsString()

        The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.

        If the service returns an enum value that is not available in the current SDK version, constantType will return ConstantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from constantTypeAsString().

        Returns:
        The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.
        See Also:
        ConstantType
      • singularConstant

        public final String singularConstant()

        A singular constant used in a category filter. This element is used to specify a single value for the constant.

        Returns:
        A singular constant used in a category filter. This element is used to specify a single value for the constant.
      • collectiveConstant

        public final CollectiveConstant collectiveConstant()

        A collective constant used in a category filter. This element is used to specify a list of values for the constant.

        Returns:
        A collective constant used in a category filter. This element is used to specify a list of values for the constant.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)