Class UsersRetweetsCreateResponseData


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

      • UsersRetweetsCreateResponseData

        public UsersRetweetsCreateResponseData()
    • Method Detail

      • getRetweeted

        @Nullable
        public Boolean getRetweeted()
        Get retweeted
        Returns:
        retweeted
      • setRetweeted

        public void setRetweeted​(Boolean retweeted)
      • 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 UsersRetweetsCreateResponseData
      • fromJson

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

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