PullRequestCommentSummary

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

Bases: object

summary of a pullRequest comment

Methods

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

Attributes

comment_context Gets the comment_context of this PullRequestCommentSummary.
commit_id Gets the commit_id of this PullRequestCommentSummary.
context_status Gets the context_status of this PullRequestCommentSummary.
created_by [Required] Gets the created_by of this PullRequestCommentSummary.
data [Required] Gets the data of this PullRequestCommentSummary.
file_path Gets the file_path of this PullRequestCommentSummary.
file_type Gets the file_type of this PullRequestCommentSummary.
id [Required] Gets the id of this PullRequestCommentSummary.
likes Gets the likes of this PullRequestCommentSummary.
line_number Gets the line_number of this PullRequestCommentSummary.
parent_id Gets the parent_id of this PullRequestCommentSummary.
pull_request_id [Required] Gets the pull_request_id of this PullRequestCommentSummary.
status [Required] Gets the status of this PullRequestCommentSummary.
time_created [Required] Gets the time_created of this PullRequestCommentSummary.
time_updated Gets the time_updated of this PullRequestCommentSummary.
updated_by Gets the updated_by of this PullRequestCommentSummary.
__init__(**kwargs)

Initializes a new PullRequestCommentSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this PullRequestCommentSummary.
  • pull_request_id (str) – The value to assign to the pull_request_id property of this PullRequestCommentSummary.
  • data (str) – The value to assign to the data property of this PullRequestCommentSummary.
  • parent_id (str) – The value to assign to the parent_id property of this PullRequestCommentSummary.
  • file_path (str) – The value to assign to the file_path property of this PullRequestCommentSummary.
  • commit_id (str) – The value to assign to the commit_id property of this PullRequestCommentSummary.
  • file_type (str) – The value to assign to the file_type property of this PullRequestCommentSummary.
  • line_number (int) – The value to assign to the line_number property of this PullRequestCommentSummary.
  • likes (oci.devops.models.PullRequestCommentLikeCollection) – The value to assign to the likes property of this PullRequestCommentSummary.
  • status (str) – The value to assign to the status property of this PullRequestCommentSummary.
  • time_created (datetime) – The value to assign to the time_created property of this PullRequestCommentSummary.
  • created_by (oci.devops.models.PrincipalDetails) – The value to assign to the created_by property of this PullRequestCommentSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this PullRequestCommentSummary.
  • updated_by (oci.devops.models.PrincipalDetails) – The value to assign to the updated_by property of this PullRequestCommentSummary.
  • context_status (str) – The value to assign to the context_status property of this PullRequestCommentSummary.
  • comment_context (list[oci.devops.models.DiffLineDetails]) – The value to assign to the comment_context property of this PullRequestCommentSummary.
comment_context

Gets the comment_context of this PullRequestCommentSummary. 4 line snippet to be displayed as context for inline comments

Returns:The comment_context of this PullRequestCommentSummary.
Return type:list[oci.devops.models.DiffLineDetails]
commit_id

Gets the commit_id of this PullRequestCommentSummary. Commit SHA

Returns:The commit_id of this PullRequestCommentSummary.
Return type:str
context_status

Gets the context_status of this PullRequestCommentSummary. Shows the status of an inline comments context

Returns:The context_status of this PullRequestCommentSummary.
Return type:str
created_by

[Required] Gets the created_by of this PullRequestCommentSummary.

Returns:The created_by of this PullRequestCommentSummary.
Return type:oci.devops.models.PrincipalDetails
data

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

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

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

Returns:The file_path of this PullRequestCommentSummary.
Return type:str
file_type

Gets the file_type of this PullRequestCommentSummary. File path in the target commit

Returns:The file_type of this PullRequestCommentSummary.
Return type:str
id

[Required] Gets the id of this PullRequestCommentSummary. Unique identifier that is immutable on creation

Returns:The id of this PullRequestCommentSummary.
Return type:str
likes

Gets the likes of this PullRequestCommentSummary.

Returns:The likes of this PullRequestCommentSummary.
Return type:oci.devops.models.PullRequestCommentLikeCollection
line_number

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

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

Gets the parent_id of this PullRequestCommentSummary. ID of parent Comment

Returns:The parent_id of this PullRequestCommentSummary.
Return type:str
pull_request_id

[Required] Gets the pull_request_id of this PullRequestCommentSummary. OCID of the pull request that this comment belongs to

Returns:The pull_request_id of this PullRequestCommentSummary.
Return type:str
status

[Required] Gets the status of this PullRequestCommentSummary. Status of the Comment

Returns:The status of this PullRequestCommentSummary.
Return type:str
time_created

[Required] Gets the time_created of this PullRequestCommentSummary. Creation timestamp. Format defined by RFC3339.

Returns:The time_created of this PullRequestCommentSummary.
Return type:datetime
time_updated

Gets the time_updated of this PullRequestCommentSummary. Latest update timestamp. Format defined by RFC3339.

Returns:The time_updated of this PullRequestCommentSummary.
Return type:datetime
updated_by

Gets the updated_by of this PullRequestCommentSummary.

Returns:The updated_by of this PullRequestCommentSummary.
Return type:oci.devops.models.PrincipalDetails