@JsonSurrogate public class

RestComment

extends RestPropertySupport
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ java.util.LinkedHashMap<K, V>
         ↳ com.atlassian.bitbucket.rest.RestMapEntity
           ↳ com.atlassian.bitbucket.rest.property.RestPropertySupport
             ↳ com.atlassian.bitbucket.rest.comment.RestComment

Summary

[Expand]
Inherited Constants
From class com.atlassian.bitbucket.rest.property.RestPropertySupport
Fields
public static final Function<DiffCommentAnchorRestComment> FROM_ANCHOR This field is deprecated. in 4.11 to be removed in 5.0. The Comment API is going through a maintenance cycle. For more details see the API Changelog
public static final RestComment REQUEST_EXAMPLE
public static final RestComment REQUEST_EXAMPLE_ID
public static final RestComment REQUEST_EXISTING_EXAMPLE
public static final RestComment RESPONSE_EXAMPLE
public static final RestComment RESPONSE_EXAMPLE_NO_REPLY
public static final Function<CommentRestComment> REST_TRANSFORM
Public Constructors
RestComment()
RestComment(Map<StringObject> values)
RestComment(Comment comment)
RestComment(Comment comment, Function<CommentRestComment> replyTransformer)
RestComment(Comment comment, RestDiffCommentAnchor anchor, Function<CommentRestComment> replyTransformer)
RestComment(Comment comment, RestDiffCommentAnchor anchor, Function<CommentRestComment> replyTransformer, Function<TaskRestTask> taskTransformer)
Public Methods
RestDiffCommentAnchor getAnchor()
long getId()
RestComment getParent()
String getText()
int getVersion()
boolean isAnchored()
boolean isReply()
void setHtml(String html)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.rest.property.RestPropertySupport
From class com.atlassian.bitbucket.rest.RestMapEntity
From class java.util.LinkedHashMap
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Fields

public static final Function<DiffCommentAnchorRestComment> FROM_ANCHOR

This field is deprecated.
in 4.11 to be removed in 5.0. The Comment API is going through a maintenance cycle. For more details see the API Changelog

public static final RestComment REQUEST_EXAMPLE

public static final RestComment REQUEST_EXAMPLE_ID

public static final RestComment REQUEST_EXISTING_EXAMPLE

public static final RestComment RESPONSE_EXAMPLE

public static final RestComment RESPONSE_EXAMPLE_NO_REPLY

public static final Function<CommentRestComment> REST_TRANSFORM

Public Constructors

public RestComment ()

public RestComment (Map<StringObject> values)

public RestComment (Comment comment)

public RestComment (Comment comment, Function<CommentRestComment> replyTransformer)

public RestComment (Comment comment, RestDiffCommentAnchor anchor, Function<CommentRestComment> replyTransformer)

public RestComment (Comment comment, RestDiffCommentAnchor anchor, Function<CommentRestComment> replyTransformer, Function<TaskRestTask> taskTransformer)

Public Methods

public RestDiffCommentAnchor getAnchor ()

public long getId ()

public RestComment getParent ()

public String getText ()

public int getVersion ()

public boolean isAnchored ()

public boolean isReply ()

public void setHtml (String html)