PullRequestReviewComment class
Pull Request Review Comment
Pull Request Review Comments are comments on a portion of the Pull Request's diff.
- Annotations
-
- @JsonSerializable()
Constructors
- PullRequestReviewComment({String? authorAssociation, String? body, String? bodyHtml, String? bodyText, String? commitId, DateTime? createdAt, String? diffHunk, String? htmlUrl, int? id, int? inReplyToId, int? line, ReviewLinks? links, String? nodeId, String? originalCommitId, int? originalLine, int? originalPosition, int? originalStartLine, String? path, int? position, int? pullRequestReviewId, String? pullRequestUrl, ReactionRollup? reactions, String? side, int? startLine, String? startSide, String? subjectType, DateTime? updatedAt, String? url, User? user})
-
PullRequestReviewComment.fromJson(Map<
String, dynamic> input) -
factory
Properties
-
How the author is associated with the repository.
getter/setter pair
- body ↔ String?
-
The text of the comment.
getter/setter pair
- bodyHtml ↔ String?
-
Example:
"<p>comment body</p>"
getter/setter pair - bodyText ↔ String?
-
Example:
"comment body"
getter/setter pair - commitId ↔ String?
-
The SHA of the commit to which the comment applies.
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- diffHunk ↔ String?
-
The diff of the line that the comment refers to.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- htmlUrl ↔ String?
-
HTML URL for the pull request review comment.
getter/setter pair
- id ↔ int?
-
The ID of the pull request review comment.
getter/setter pair
- inReplyToId ↔ int?
-
The comment ID to reply to.
getter/setter pair
- line ↔ int?
-
The line of the blob to which the comment applies. The last line of the range
for a multi-line comment
getter/setter pair
- links ↔ ReviewLinks?
-
getter/setter pair
- nodeId ↔ String?
-
The node ID of the pull request review comment.
getter/setter pair
- originalCommitId ↔ String?
-
The SHA of the original commit to which the comment applies.
getter/setter pair
- originalLine ↔ int?
-
The line of the blob to which the comment applies. The last line of the range
for a multi-line comment
getter/setter pair
- originalPosition ↔ int?
-
The index of the original line in the diff to which the comment applies. This
field is deprecated; use
original_line
instead.getter/setter pair - originalStartLine ↔ int?
-
The first line of the range for a multi-line comment.
getter/setter pair
- path ↔ String?
-
The relative path of the file to which the comment applies.
getter/setter pair
- position ↔ int?
-
The line index in the diff to which the comment applies. This field is deprecated;
use
line
instead.getter/setter pair - pullRequestReviewId ↔ int?
-
The ID of the pull request review to which the comment belongs.
getter/setter pair
- pullRequestUrl ↔ String?
-
URL for the pull request that the review comment belongs to.
getter/setter pair
- reactions ↔ ReactionRollup?
-
Reaction Rollup
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- side ↔ String?
-
The side of the diff to which the comment applies. The side of the last line
of the range for a multi-line comment
getter/setter pair
- startLine ↔ int?
-
The first line of the range for a multi-line comment.
getter/setter pair
- startSide ↔ String?
-
The side of the first line of the range for a multi-line comment.
getter/setter pair
- subjectType ↔ String?
-
The level at which the comment is targeted, can be a diff line or a file.
getter/setter pair
- updatedAt ↔ DateTime?
-
getter/setter pair
- url ↔ String?
-
URL for the pull request review comment
getter/setter pair
- user ↔ User?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited