Class CreatePullReviewComment


  • public class CreatePullReviewComment
    extends java.lang.Object
    CreatePullReviewComment represent a review comment for creation api
    • Constructor Detail

      • CreatePullReviewComment

        public CreatePullReviewComment()
    • Method Detail

      • getBody

        public java.lang.String getBody()
        Get body
        Returns:
        body
      • setBody

        public void setBody​(java.lang.String body)
      • getNewPosition

        public java.lang.Long getNewPosition()
        if comment to new file line or 0
        Returns:
        newPosition
      • setNewPosition

        public void setNewPosition​(java.lang.Long newPosition)
      • getOldPosition

        public java.lang.Long getOldPosition()
        if comment to old file line or 0
        Returns:
        oldPosition
      • setOldPosition

        public void setOldPosition​(java.lang.Long oldPosition)
      • getPath

        public java.lang.String getPath()
        the tree path
        Returns:
        path
      • setPath

        public void setPath​(java.lang.String path)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object