Developer Connect v1 API - Class PullRequestReviewComment (1.0.0-beta05)

public sealed class PullRequestReviewComment : IMessage<PullRequestReviewComment>, IEquatable<PullRequestReviewComment>, IDeepCloneable<PullRequestReviewComment>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class PullRequestReviewComment.

Message representing a SCM Pull Request Review Comment (inline on diff).

Inheritance

object > PullRequestReviewComment

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Constructors

PullRequestReviewComment()

public PullRequestReviewComment()

PullRequestReviewComment(PullRequestReviewComment)

public PullRequestReviewComment(PullRequestReviewComment other)
Parameter
Name Description
other PullRequestReviewComment

Properties

Author

public string Author { get; set; }

Output only. The username of the author.

Property Value
Type Description
string

Body

public string Body { get; set; }

Required. The body of the comment.

Property Value
Type Description
string

CommitId

public string CommitId { get; set; }

Output only. The commit SHA the comment was actually applied to.

Property Value
Type Description
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. When the comment was created.

Property Value
Type Description
Timestamp

FirstLine

public int FirstLine { get; set; }

Optional. The first line of the comment range (inclusive). If not specified, the comment applies only to the last_line.

Property Value
Type Description
int

Id

public string Id { get; set; }

Output only. The ID of the comment.

Property Value
Type Description
string

LastLine

public int LastLine { get; set; }

Required. The last line of the comment range (inclusive). If first_line is not specified, the comment applies only to this line.

Property Value
Type Description
int

Path

public string Path { get; set; }

Required. The file path to comment on.

Property Value
Type Description
string

Side

public PullRequestReviewComment.Types.DiffSide Side { get; set; }

Optional. The side of the diff to comment on. Defaults to HEAD.

Property Value
Type Description
PullRequestReviewCommentTypesDiffSide

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. When the comment was updated.

Property Value
Type Description
Timestamp