Class GenericTweetsTimelineResponseMeta


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

      • GenericTweetsTimelineResponseMeta

        public GenericTweetsTimelineResponseMeta()
    • Method Detail

      • getNewestId

        @Nullable
        public String getNewestId()
        Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
        Returns:
        newestId
      • setNewestId

        public void setNewestId​(String newestId)
      • getOldestId

        @Nullable
        public String getOldestId()
        Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
        Returns:
        oldestId
      • setOldestId

        public void setOldestId​(String oldestId)
      • getPreviousToken

        @Nullable
        public String getPreviousToken()
        The previous token
        Returns:
        previousToken
      • setPreviousToken

        public void setPreviousToken​(String previousToken)
      • getNextToken

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

        public void setNextToken​(String nextToken)
      • getResultCount

        @Nullable
        public Integer getResultCount()
        Number of Tweets in result set
        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 GenericTweetsTimelineResponseMeta
      • fromJson

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

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