Class Get2TweetsCountsAllResponseMeta


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

      • Get2TweetsCountsAllResponseMeta

        public Get2TweetsCountsAllResponseMeta()
    • Method Detail

      • getNewestId

        @Nullable
        public String getNewestId()
        The newest id in this response.
        Returns:
        newestId
      • setNewestId

        public void setNewestId​(String newestId)
      • getNextToken

        @Nullable
        public String getNextToken()
        The next token.
        Returns:
        nextToken
      • setNextToken

        public void setNextToken​(String nextToken)
      • getOldestId

        @Nullable
        public String getOldestId()
        The oldest id in this response.
        Returns:
        oldestId
      • setOldestId

        public void setOldestId​(String oldestId)
      • getTotalTweetCount

        @Nullable
        public Integer getTotalTweetCount()
        The sum of results returned in this response.
        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 Get2TweetsCountsAllResponseMeta
      • fromJson

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

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