Class FilteredStreamingTweetMatchingRules


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class FilteredStreamingTweetMatchingRules
    extends Object
    FilteredStreamingTweetMatchingRules
    • Constructor Detail

      • FilteredStreamingTweetMatchingRules

        public FilteredStreamingTweetMatchingRules()
    • Method Detail

      • getId

        @Nonnull
        public String getId()
        Unique identifier of this rule.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getTag

        @Nullable
        public String getTag()
        The user-supplied tag assigned to the rule which matched
        Returns:
        tag
      • setTag

        public void setTag​(String tag)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to FilteredStreamingTweetMatchingRules
      • fromJson

        public static FilteredStreamingTweetMatchingRules fromJson​(String jsonString)
                                                            throws IOException
        Create an instance of FilteredStreamingTweetMatchingRules given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FilteredStreamingTweetMatchingRules
        Throws:
        IOException - if the JSON string is invalid with respect to FilteredStreamingTweetMatchingRules
      • toJson

        public String toJson()
        Convert an instance of FilteredStreamingTweetMatchingRules to an JSON string
        Returns:
        JSON string