Class PullRequestComment
PullRequestComment represents a comment on a pull request.
Implements
Inherited Members
Namespace: Google.Apis.SecureSourceManager.v1.Data
Assembly: Google.Apis.SecureSourceManager.v1.dll
Syntax
public class PullRequestComment : IDirectResponseSchema
Properties
Code
Optional. The comment on a code line.
Declaration
[JsonProperty("code")]
public virtual Code Code { get; set; }
Property Value
| Type | Description |
|---|---|
| Code |
Comment
Optional. The general pull request comment.
Declaration
[JsonProperty("comment")]
public virtual Comment Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| Comment |
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. Creation timestamp.
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 |
Name
Identifier. Unique identifier for the pull request comment. The comment id is generated by the server.
Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Review
Optional. The review summary comment.
Declaration
[JsonProperty("review")]
public virtual Review Review { get; set; }
Property Value
| Type | Description |
|---|---|
| Review |
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. Last updated timestamp.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |