Class TweetSearchResponseMeta


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

      • TweetSearchResponseMeta

        public TweetSearchResponseMeta()
    • Method Detail

      • getNewestId

        @Nullable
        public String getNewestId()
        Most recent Tweet Id returned by search query
        Returns:
        newestId
      • setNewestId

        public void setNewestId​(String newestId)
      • getOldestId

        @Nullable
        public String getOldestId()
        Oldest Tweet Id returned by search query
        Returns:
        oldestId
      • setOldestId

        public void setOldestId​(String oldestId)
      • 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)
      • getResultCount

        @Nullable
        public Integer getResultCount()
        Number of search query results
        Returns:
        resultCount
      • setResultCount

        public void setResultCount​(Integer resultCount)
      • 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 TweetSearchResponseMeta
      • fromJson

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

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