Class CreatePullRequestCommentDetails
The information about new Comment.
Inherited Members
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 |