CompareLineResult

class oci.log_analytics.models.CompareLineResult(**kwargs)

Bases: object

The result of a comparison of two lines in the two content input strings.

Methods

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

Attributes

diff_type Gets the diff_type of this CompareLineResult.
left_content Gets the left_content of this CompareLineResult.
left_indices Gets the left_indices of this CompareLineResult.
right_content Gets the right_content of this CompareLineResult.
right_indices Gets the right_indices of this CompareLineResult.
__init__(**kwargs)

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

Parameters:
  • left_content (str) – The value to assign to the left_content property of this CompareLineResult.
  • right_content (str) – The value to assign to the right_content property of this CompareLineResult.
  • diff_type (str) – The value to assign to the diff_type property of this CompareLineResult.
  • left_indices (str) – The value to assign to the left_indices property of this CompareLineResult.
  • right_indices (str) – The value to assign to the right_indices property of this CompareLineResult.
diff_type

Gets the diff_type of this CompareLineResult. The result of the line comparison. An empty string means the lines being compared are the same. A pipe, |, means the lines are different, and a caret, > or <, means the line is only found either on the right or the left.

Returns:The diff_type of this CompareLineResult.
Return type:str
left_content

Gets the left_content of this CompareLineResult. A line from the content on the left. This may be empty if there is no matching line on the left for a line in the right content.

Returns:The left_content of this CompareLineResult.
Return type:str
left_indices

Gets the left_indices of this CompareLineResult. A comma delimited set of indices that identify which characters are different from those in the right string.

Returns:The left_indices of this CompareLineResult.
Return type:str
right_content

Gets the right_content of this CompareLineResult. A line from the content on the right. This may be empty if there is no matching line on the right for a line in the left content.

Returns:The right_content of this CompareLineResult.
Return type:str
right_indices

Gets the right_indices of this CompareLineResult. A comma delimited set of indices that identify which characters are different from those in the left string.

Returns:The right_indices of this CompareLineResult.
Return type:str