CommentsForPullRequest class

Returns information about comments on a pull request.

Constructors

CommentsForPullRequest({String? afterBlobId, String? afterCommitId, String? beforeBlobId, String? beforeCommitId, List<Comment>? comments, Location? location, String? pullRequestId, String? repositoryName})
CommentsForPullRequest.fromJson(Map<String, dynamic> json)
factory

Properties

afterBlobId String?
The full blob ID of the file on which you want to comment on the source commit.
final
afterCommitId String?
The full commit ID of the commit that was the tip of the source branch at the time the comment was made.
final
beforeBlobId String?
The full blob ID of the file on which you want to comment on the destination commit.
final
beforeCommitId String?
The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.
final
comments List<Comment>?
An array of comment objects. Each comment object contains information about a comment on the pull request.
final
hashCode int
The hash code for this object.
no setterinherited
location Location?
Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).
final
pullRequestId String?
The system-generated ID of the pull request.
final
repositoryName String?
The name of the repository that contains the pull request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited