PullRequestFileChangeSummary¶
-
class
oci.devops.models.PullRequestFileChangeSummary(**kwargs)¶ Bases:
objectEntry for description of change on a file.
Methods
__init__(**kwargs)Initializes a new PullRequestFileChangeSummary object with values from keyword arguments. Attributes
added_lines_countGets the added_lines_count of this PullRequestFileChangeSummary. change_type[Required] Gets the change_type of this PullRequestFileChangeSummary. commit_idGets the commit_id of this PullRequestFileChangeSummary. defined_tagsGets the defined_tags of this PullRequestFileChangeSummary. deleted_lines_countGets the deleted_lines_count of this PullRequestFileChangeSummary. freeform_tagsGets the freeform_tags of this PullRequestFileChangeSummary. has_conflictsGets the has_conflicts of this PullRequestFileChangeSummary. new_idGets the new_id of this PullRequestFileChangeSummary. new_pathGets the new_path of this PullRequestFileChangeSummary. object_typeGets the object_type of this PullRequestFileChangeSummary. old_idGets the old_id of this PullRequestFileChangeSummary. old_pathGets the old_path of this PullRequestFileChangeSummary. system_tagsGets the system_tags of this PullRequestFileChangeSummary. -
__init__(**kwargs)¶ Initializes a new PullRequestFileChangeSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - change_type (str) – The value to assign to the change_type property of this PullRequestFileChangeSummary.
- object_type (str) – The value to assign to the object_type property of this PullRequestFileChangeSummary.
- commit_id (str) – The value to assign to the commit_id property of this PullRequestFileChangeSummary.
- old_path (str) – The value to assign to the old_path property of this PullRequestFileChangeSummary.
- new_path (str) – The value to assign to the new_path property of this PullRequestFileChangeSummary.
- old_id (str) – The value to assign to the old_id property of this PullRequestFileChangeSummary.
- new_id (str) – The value to assign to the new_id property of this PullRequestFileChangeSummary.
- added_lines_count (int) – The value to assign to the added_lines_count property of this PullRequestFileChangeSummary.
- deleted_lines_count (int) – The value to assign to the deleted_lines_count property of this PullRequestFileChangeSummary.
- has_conflicts (bool) – The value to assign to the has_conflicts property of this PullRequestFileChangeSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PullRequestFileChangeSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PullRequestFileChangeSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PullRequestFileChangeSummary.
-
added_lines_count¶ Gets the added_lines_count of this PullRequestFileChangeSummary. The number of lines added in whole difference.
Returns: The added_lines_count of this PullRequestFileChangeSummary. Return type: int
-
change_type¶ [Required] Gets the change_type of this PullRequestFileChangeSummary. Type of change made to file.
Returns: The change_type of this PullRequestFileChangeSummary. Return type: str
-
commit_id¶ Gets the commit_id of this PullRequestFileChangeSummary. The ID of the commit where the change is coming from.
Returns: The commit_id of this PullRequestFileChangeSummary. Return type: str
Gets the defined_tags of this PullRequestFileChangeSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this PullRequestFileChangeSummary. Return type: dict(str, dict(str, object))
-
deleted_lines_count¶ Gets the deleted_lines_count of this PullRequestFileChangeSummary. The number of lines deleted in whole difference.
Returns: The deleted_lines_count of this PullRequestFileChangeSummary. Return type: int
Gets the freeform_tags of this PullRequestFileChangeSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this PullRequestFileChangeSummary. Return type: dict(str, str)
-
has_conflicts¶ Gets the has_conflicts of this PullRequestFileChangeSummary. Indicates whether the changed file contains conflicts.
Returns: The has_conflicts of this PullRequestFileChangeSummary. Return type: bool
-
new_id¶ Gets the new_id of this PullRequestFileChangeSummary. The ID of the changed object on the source.
Returns: The new_id of this PullRequestFileChangeSummary. Return type: str
-
new_path¶ Gets the new_path of this PullRequestFileChangeSummary. The path on the source to the changed object.
Returns: The new_path of this PullRequestFileChangeSummary. Return type: str
-
object_type¶ Gets the object_type of this PullRequestFileChangeSummary. The type of the changed object.
Returns: The object_type of this PullRequestFileChangeSummary. Return type: str
-
old_id¶ Gets the old_id of this PullRequestFileChangeSummary. The ID of the changed object on the target.
Returns: The old_id of this PullRequestFileChangeSummary. Return type: str
-
old_path¶ Gets the old_path of this PullRequestFileChangeSummary. The path on the target to the changed object.
Returns: The old_path of this PullRequestFileChangeSummary. Return type: str
Gets the system_tags of this PullRequestFileChangeSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this PullRequestFileChangeSummary. Return type: dict(str, dict(str, object))
-