DiffChunk¶
- class oci.devops.models.DiffChunk(**kwargs)¶
Bases:
objectDetails about a group of changes.
Methods:
__init__(**kwargs)Initializes a new DiffChunk object with values from keyword arguments.
Attributes:
Gets the base_line of this DiffChunk.
Gets the base_span of this DiffChunk.
Gets the diff_sections of this DiffChunk.
Gets the target_line of this DiffChunk.
Gets the target_span of this DiffChunk.
- __init__(**kwargs)¶
Initializes a new DiffChunk object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
base_line (int) – The value to assign to the base_line property of this DiffChunk.
base_span (int) – The value to assign to the base_span property of this DiffChunk.
target_line (int) – The value to assign to the target_line property of this DiffChunk.
target_span (int) – The value to assign to the target_span property of this DiffChunk.
diff_sections (list[oci.devops.models.DiffSection]) – The value to assign to the diff_sections property of this DiffChunk.
- property base_line¶
Gets the base_line of this DiffChunk. Line number in base version where changes begin.
- Returns
The base_line of this DiffChunk.
- Return type
int
- property base_span¶
Gets the base_span of this DiffChunk. Number of lines chunk spans in base version.
- Returns
The base_span of this DiffChunk.
- Return type
int
- property diff_sections¶
Gets the diff_sections of this DiffChunk. List of difference section.
- Returns
The diff_sections of this DiffChunk.
- Return type
- property target_line¶
Gets the target_line of this DiffChunk. Line number in target version where changes begin.
- Returns
The target_line of this DiffChunk.
- Return type
int
- property target_span¶
Gets the target_span of this DiffChunk. Number of lines chunk spans in target version.
- Returns
The target_span of this DiffChunk.
- Return type
int