Class TweetCreateRequestReply


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class TweetCreateRequestReply
    extends Object
    Tweet information of the Tweet being replied to.
    • Constructor Detail

      • TweetCreateRequestReply

        public TweetCreateRequestReply()
    • Method Detail

      • getExcludeReplyUserIds

        @Nullable
        public List<String> getExcludeReplyUserIds()
        A list of User Ids to be excluded from the reply Tweet.
        Returns:
        excludeReplyUserIds
      • setExcludeReplyUserIds

        public void setExcludeReplyUserIds​(List<String> excludeReplyUserIds)
      • getInReplyToTweetId

        @Nonnull
        public String getInReplyToTweetId()
        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:
        inReplyToTweetId
      • setInReplyToTweetId

        public void setInReplyToTweetId​(String inReplyToTweetId)
      • 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 TweetCreateRequestReply
      • fromJson

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

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