Class UsersIdLikedTweetsResponseMeta


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

      • UsersIdLikedTweetsResponseMeta

        public UsersIdLikedTweetsResponseMeta()
    • Method Detail

      • 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 UsersIdLikedTweetsResponseMeta
      • fromJson

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

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