Class Get2TweetsSearchAllResponseMeta


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

      • Get2TweetsSearchAllResponseMeta

        public Get2TweetsSearchAllResponseMeta()
    • 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)
      • getResultCount

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

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

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