CreatePullRequestCommentDetails

class oci.devops.models.CreatePullRequestCommentDetails(**kwargs)

Bases: object

The information about new Comment.

Methods

__init__(**kwargs) Initializes a new CreatePullRequestCommentDetails object with values from keyword arguments.

Attributes

commit_id Gets the commit_id of this CreatePullRequestCommentDetails.
data [Required] Gets the data of this CreatePullRequestCommentDetails.
file_path Gets the file_path of this CreatePullRequestCommentDetails.
file_type Gets the file_type of this CreatePullRequestCommentDetails.
line_number Gets the line_number of this CreatePullRequestCommentDetails.
parent_id 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.
commit_id

Gets the commit_id of this CreatePullRequestCommentDetails. Commit SHA

Returns:The commit_id of this CreatePullRequestCommentDetails.
Return type:str
data

[Required] Gets the data of this CreatePullRequestCommentDetails. Content of the Comment.

Returns:The data of this CreatePullRequestCommentDetails.
Return type:str
file_path

Gets the file_path of this CreatePullRequestCommentDetails. File path in the commit

Returns:The file_path of this CreatePullRequestCommentDetails.
Return type:str
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
line_number

Gets the line_number of this CreatePullRequestCommentDetails. Line number in the file

Returns:The line_number of this CreatePullRequestCommentDetails.
Return type:int
parent_id

Gets the parent_id of this CreatePullRequestCommentDetails. ID of parent Comment

Returns:The parent_id of this CreatePullRequestCommentDetails.
Return type:str