PullRequestChangeSummaryMetrics

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

Bases: object

Response object for obtaining summary metric of Pull Request changed files.

Methods

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

Attributes

added_lines_count [Required] Gets the added_lines_count of this PullRequestChangeSummaryMetrics.
changed_files_count [Required] Gets the changed_files_count of this PullRequestChangeSummaryMetrics.
deleted_lines_count [Required] Gets the deleted_lines_count of this PullRequestChangeSummaryMetrics.
__init__(**kwargs)

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

Parameters:
  • changed_files_count (int) – The value to assign to the changed_files_count property of this PullRequestChangeSummaryMetrics.
  • added_lines_count (int) – The value to assign to the added_lines_count property of this PullRequestChangeSummaryMetrics.
  • deleted_lines_count (int) – The value to assign to the deleted_lines_count property of this PullRequestChangeSummaryMetrics.
added_lines_count

[Required] Gets the added_lines_count of this PullRequestChangeSummaryMetrics. The number of lines added in whole difference.

Returns:The added_lines_count of this PullRequestChangeSummaryMetrics.
Return type:int
changed_files_count

[Required] Gets the changed_files_count of this PullRequestChangeSummaryMetrics. The number of lines added in whole difference.

Returns:The changed_files_count of this PullRequestChangeSummaryMetrics.
Return type:int
deleted_lines_count

[Required] Gets the deleted_lines_count of this PullRequestChangeSummaryMetrics. The number of lines deleted in whole difference.

Returns:The deleted_lines_count of this PullRequestChangeSummaryMetrics.
Return type:int