@@ -44,6 +44,8 @@ public class GHPullRequestReviewComment extends GHObject implements Reactable {
4444 private String path ;
4545 private int position = -1 ;
4646 private int original_position = -1 ;
47+ private long in_reply_to_id = -1L ;
48+
4749
4850 public static GHPullRequestReviewComment draft (String body , String path , int position ) {
4951 GHPullRequestReviewComment result = new GHPullRequestReviewComment ();
@@ -89,10 +91,15 @@ public Integer getPosition() {
8991 }
9092
9193 @ CheckForNull
92- public int getOriginalPosition () {
94+ public Integer getOriginalPosition () {
9395 return original_position == -1 ? null : original_position ;
9496 }
9597
98+ @ CheckForNull
99+ public Long getInReplyToId () {
100+ return in_reply_to_id == -1 ? null : in_reply_to_id ;
101+ }
102+
96103 @ Override
97104 public URL getHtmlUrl () {
98105 return null ;
@@ -129,7 +136,7 @@ public GHReaction createReaction(ReactionContent content) throws IOException {
129136 public PagedIterable <GHReaction > listReactions () {
130137 return new PagedIterable <GHReaction >() {
131138 public PagedIterator <GHReaction > _iterator (int pageSize ) {
132- return new PagedIterator <GHReaction >(owner .root .retrieve ().withPreview (SQUIRREL_GIRL ).asIterator (getApiRoute ()+ "/reactions" , GHReaction [].class , pageSize )) {
139+ return new PagedIterator <GHReaction >(owner .root .retrieve ().withPreview (SQUIRREL_GIRL ).asIterator (getApiRoute () + "/reactions" , GHReaction [].class , pageSize )) {
133140 @ Override
134141 protected void wrapUp (GHReaction [] page ) {
135142 for (GHReaction c : page )
0 commit comments