Class PullRequestReviewComment
Message representing a SCM Pull Request Review Comment (inline on diff).
Implements
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1.Data
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class PullRequestReviewComment : IDirectResponseSchema
Properties
Author
Output only. The username of the author.
Declaration
[JsonProperty("author")]
public virtual string Author { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Body
Required. The body of the comment.
Declaration
[JsonProperty("body")]
public virtual string Body { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CommitId
Output only. The commit SHA the comment was actually applied to. Ignored in requests; to choose the commit
to comment on, set AddGitRepositoryLinkPullRequestReviewCommentRequest.commit_id.
Declaration
[JsonProperty("commitId")]
public virtual string CommitId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. When the comment was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FirstLine
Optional. The first line of the comment range (inclusive). If not specified, the comment applies only to the
last_line.
Declaration
[JsonProperty("firstLine")]
public virtual int? FirstLine { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Id
Output only. The ID of the comment.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LastLine
Required. The last line of the comment range (inclusive). If first_line is not specified, the comment
applies only to this line.
Declaration
[JsonProperty("lastLine")]
public virtual int? LastLine { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Path
Required. The file path to comment on.
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Side
Optional. The side of the diff to comment on. Defaults to HEAD.
Declaration
[JsonProperty("side")]
public virtual string Side { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. When the comment was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |