Class InsightQueryItemPropertiesAdditionalQuery


  • public final class InsightQueryItemPropertiesAdditionalQuery
    extends Object
    The activity query definitions.
    • Constructor Detail

      • InsightQueryItemPropertiesAdditionalQuery

        public InsightQueryItemPropertiesAdditionalQuery()
    • Method Detail

      • query

        public String query()
        Get the query property: The insight query.
        Returns:
        the query value.
      • withQuery

        public InsightQueryItemPropertiesAdditionalQuery withQuery​(String query)
        Set the query property: The insight query.
        Parameters:
        query - the query value to set.
        Returns:
        the InsightQueryItemPropertiesAdditionalQuery object itself.
      • text

        public String text()
        Get the text property: The insight text.
        Returns:
        the text value.
      • withText

        public InsightQueryItemPropertiesAdditionalQuery withText​(String text)
        Set the text property: The insight text.
        Parameters:
        text - the text value to set.
        Returns:
        the InsightQueryItemPropertiesAdditionalQuery object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.