public class CommentResource extends java.lang.Object implements RestResource
RestResource.HasETag, RestResource.HasLastModified
Modifier and Type | Field and Description |
---|---|
static com.google.inject.TypeLiteral<RestView<CommentResource>> |
COMMENT_KIND |
Constructor and Description |
---|
CommentResource(RevisionResource rev,
Comment c) |
Modifier and Type | Method and Description |
---|---|
Account.Id |
getAuthorId() |
Comment |
getComment() |
java.lang.String |
getId() |
PatchSet |
getPatchSet() |
RevisionResource |
getRevisionResource() |
public static final com.google.inject.TypeLiteral<RestView<CommentResource>> COMMENT_KIND
public CommentResource(RevisionResource rev, Comment c)
public PatchSet getPatchSet()
public Comment getComment()
public java.lang.String getId()
public Account.Id getAuthorId()
public RevisionResource getRevisionResource()