Show / Hide Table of Contents

Class CreatePullRequestCommentDetails

The information about new Comment.

Inheritance
object
CreatePullRequestCommentDetails
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 CreatePullRequestCommentDetails

Properties

CommitId

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

Commit SHA

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

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

In this article
Back to top