CreatePullRequestCommentDetails¶
- class oci.devops.models.CreatePullRequestCommentDetails(**kwargs)¶
Bases:
objectThe information about new Comment.
Methods:
__init__(**kwargs)Initializes a new CreatePullRequestCommentDetails object with values from keyword arguments.
Attributes:
Gets the commit_id of this CreatePullRequestCommentDetails.
[Required] Gets the data of this CreatePullRequestCommentDetails.
Gets the file_path of this CreatePullRequestCommentDetails.
Gets the file_type of this CreatePullRequestCommentDetails.
Gets the line_number of this CreatePullRequestCommentDetails.
Gets the parent_id of this CreatePullRequestCommentDetails.
- __init__(**kwargs)¶
Initializes a new CreatePullRequestCommentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
data (str) – The value to assign to the data property of this CreatePullRequestCommentDetails.
parent_id (str) – The value to assign to the parent_id property of this CreatePullRequestCommentDetails.
file_path (str) – The value to assign to the file_path property of this CreatePullRequestCommentDetails.
commit_id (str) – The value to assign to the commit_id property of this CreatePullRequestCommentDetails.
file_type (str) – The value to assign to the file_type property of this CreatePullRequestCommentDetails.
line_number (int) – The value to assign to the line_number property of this CreatePullRequestCommentDetails.
- property commit_id¶
Gets the commit_id of this CreatePullRequestCommentDetails. Commit SHA
- Returns
The commit_id of this CreatePullRequestCommentDetails.
- Return type
str
- property data¶
[Required] Gets the data of this CreatePullRequestCommentDetails. Content of the Comment.
- Returns
The data of this CreatePullRequestCommentDetails.
- Return type
str
- property file_path¶
Gets the file_path of this CreatePullRequestCommentDetails. File path in the commit
- Returns
The file_path of this CreatePullRequestCommentDetails.
- Return type
str
- property file_type¶
Gets the file_type of this CreatePullRequestCommentDetails. File path in the target commit
- Returns
The file_type of this CreatePullRequestCommentDetails.
- Return type
str
- property line_number¶
Gets the line_number of this CreatePullRequestCommentDetails. Line number in the file
- Returns
The line_number of this CreatePullRequestCommentDetails.
- Return type
int
- property parent_id¶
Gets the parent_id of this CreatePullRequestCommentDetails. ID of parent Comment
- Returns
The parent_id of this CreatePullRequestCommentDetails.
- Return type
str