FileDiffResponse¶
-
class
oci.devops.models.FileDiffResponse(**kwargs)¶ Bases:
objectResponse object for showing differences for a file between two commits.
Methods
__init__(**kwargs)Initializes a new FileDiffResponse object with values from keyword arguments. Attributes
are_conflicts_in_fileGets the are_conflicts_in_file of this FileDiffResponse. changes[Required] Gets the changes of this FileDiffResponse. is_binaryGets the is_binary of this FileDiffResponse. is_largeGets the is_large of this FileDiffResponse. new_idGets the new_id of this FileDiffResponse. new_pathGets the new_path of this FileDiffResponse. old_idGets the old_id of this FileDiffResponse. old_pathGets the old_path of this FileDiffResponse. -
__init__(**kwargs)¶ Initializes a new FileDiffResponse object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - old_path (str) – The value to assign to the old_path property of this FileDiffResponse.
- new_path (str) – The value to assign to the new_path property of this FileDiffResponse.
- old_id (str) – The value to assign to the old_id property of this FileDiffResponse.
- new_id (str) – The value to assign to the new_id property of this FileDiffResponse.
- are_conflicts_in_file (bool) – The value to assign to the are_conflicts_in_file property of this FileDiffResponse.
- is_large (bool) – The value to assign to the is_large property of this FileDiffResponse.
- is_binary (bool) – The value to assign to the is_binary property of this FileDiffResponse.
- changes (list[oci.devops.models.DiffChunk]) – The value to assign to the changes property of this FileDiffResponse.
-
are_conflicts_in_file¶ Gets the are_conflicts_in_file of this FileDiffResponse. Indicates whether the changed file contains conflicts.
Returns: The are_conflicts_in_file of this FileDiffResponse. Return type: bool
-
changes¶ [Required] Gets the changes of this FileDiffResponse. List of changed section in the file.
Returns: The changes of this FileDiffResponse. Return type: list[oci.devops.models.DiffChunk]
-
is_binary¶ Gets the is_binary of this FileDiffResponse. Indicates whether the file is binary.
Returns: The is_binary of this FileDiffResponse. Return type: bool
-
is_large¶ Gets the is_large of this FileDiffResponse. Indicates whether the file is large.
Returns: The is_large of this FileDiffResponse. Return type: bool
-
new_id¶ Gets the new_id of this FileDiffResponse. The ID of the changed object on the target version.
Returns: The new_id of this FileDiffResponse. Return type: str
-
new_path¶ Gets the new_path of this FileDiffResponse. The path on the target version to the changed object.
Returns: The new_path of this FileDiffResponse. Return type: str
-
old_id¶ Gets the old_id of this FileDiffResponse. The ID of the changed object on the base version.
Returns: The old_id of this FileDiffResponse. Return type: str
-
old_path¶ Gets the old_path of this FileDiffResponse. The path on the base version to the changed object.
Returns: The old_path of this FileDiffResponse. Return type: str
-