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.

property 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]

property commit_id

Gets the commit_id of this PullRequestCommentSummary. Commit SHA

Returns

The commit_id of this PullRequestCommentSummary.

Return type

str

property 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

property created_by

[Required] Gets the created_by of this PullRequestCommentSummary.

Returns

The created_by of this PullRequestCommentSummary.

Return type

oci.devops.models.PrincipalDetails

property data

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

Returns

The data of this PullRequestCommentSummary.

Return type

str

property file_path

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

Returns

The file_path of this PullRequestCommentSummary.

Return type

str

property 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

property id

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

Returns

The id of this PullRequestCommentSummary.

Return type

str

property likes

Gets the likes of this PullRequestCommentSummary.

Returns

The likes of this PullRequestCommentSummary.

Return type

oci.devops.models.PullRequestCommentLikeCollection

property line_number

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

Returns

The line_number of this PullRequestCommentSummary.

Return type

int

property parent_id

Gets the parent_id of this PullRequestCommentSummary. ID of parent Comment

Returns

The parent_id of this PullRequestCommentSummary.

Return type

str

property 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

property status

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

Returns

The status of this PullRequestCommentSummary.

Return type

str

property 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

property 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

property updated_by

Gets the updated_by of this PullRequestCommentSummary.

Returns

The updated_by of this PullRequestCommentSummary.

Return type

oci.devops.models.PrincipalDetails