Show / Hide Table of Contents

Class PullRequestCommentSummary

summary of a pullRequest comment

Inheritance
object
PullRequestCommentSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class PullRequestCommentSummary

Properties

CommentContext

Declaration
[JsonProperty(PropertyName = "commentContext")]
public List<DiffLineDetails> CommentContext { get; set; }
Property Value
Type Description
List<DiffLineDetails>

4 line snippet to be displayed as context for inline comments

CommitId

Declaration
[JsonProperty(PropertyName = "commitId")]
public string CommitId { get; set; }
Property Value
Type Description
string

Commit SHA

ContextStatus

Declaration
[JsonProperty(PropertyName = "contextStatus")]
[JsonConverter(typeof(StringEnumConverter))]
public PullRequestComment.ContextStatusEnum? ContextStatus { get; set; }
Property Value
Type Description
PullRequestComment.ContextStatusEnum?

Shows the status of an inline comments context

CreatedBy

Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public PrincipalDetails CreatedBy { get; set; }
Property Value
Type Description
PrincipalDetails
Remarks

Required

Data

Declaration
[Required(ErrorMessage = "Data is required.")]
[JsonProperty(PropertyName = "data")]
public string Data { get; set; }
Property Value
Type Description
string

Content of the Comment.

Remarks

Required

FilePath

Declaration
[JsonProperty(PropertyName = "filePath")]
public string FilePath { get; set; }
Property Value
Type Description
string

File path in the commit

FileType

Declaration
[JsonProperty(PropertyName = "fileType")]
[JsonConverter(typeof(StringEnumConverter))]
public PullRequestComment.FileTypeEnum? FileType { get; set; }
Property Value
Type Description
PullRequestComment.FileTypeEnum?

File path in the target commit

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Unique identifier that is immutable on creation

Remarks

Required

Likes

Declaration
[JsonProperty(PropertyName = "likes")]
public PullRequestCommentLikeCollection Likes { get; set; }
Property Value
Type Description
PullRequestCommentLikeCollection

LineNumber

Declaration
[JsonProperty(PropertyName = "lineNumber")]
public int? LineNumber { get; set; }
Property Value
Type Description
int?

Line number in the file

ParentId

Declaration
[JsonProperty(PropertyName = "parentId")]
public string ParentId { get; set; }
Property Value
Type Description
string

ID of parent Comment

PullRequestId

Declaration
[Required(ErrorMessage = "PullRequestId is required.")]
[JsonProperty(PropertyName = "pullRequestId")]
public string PullRequestId { get; set; }
Property Value
Type Description
string

OCID of the pull request that this comment belongs to

Remarks

Required

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public PullRequestComment.StatusEnum? Status { get; set; }
Property Value
Type Description
PullRequestComment.StatusEnum?

Status of the Comment

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

Creation timestamp. Format defined by RFC3339.

Remarks

Required

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

Latest update timestamp. Format defined by RFC3339.

UpdatedBy

Declaration
[JsonProperty(PropertyName = "updatedBy")]
public PrincipalDetails UpdatedBy { get; set; }
Property Value
Type Description
PrincipalDetails
In this article
Back to top