Class TweetCountsResponseMeta


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

      • TweetCountsResponseMeta

        public TweetCountsResponseMeta()
    • Method Detail

      • getNextToken

        @Nullable
        public String getNextToken()
        This value is used to get the next 'page' of results by providing it to the next_token parameter.
        Returns:
        nextToken
      • setNextToken

        public void setNextToken​(String nextToken)
      • getTotalTweetCount

        @Nullable
        public Integer getTotalTweetCount()
        Sum of search query count results
        Returns:
        totalTweetCount
      • setTotalTweetCount

        public void setTotalTweetCount​(Integer totalTweetCount)
      • 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 TweetCountsResponseMeta
      • fromJson

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

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