DiffSection

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

Bases: object

Details about a section of changes within a difference chunk.

Methods:

__init__(**kwargs)

Initializes a new DiffSection object with values from keyword arguments.

Attributes:

lines

Gets the lines of this DiffSection.

type

Gets the type of this DiffSection.

__init__(**kwargs)

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

Parameters
  • type (str) – The value to assign to the type property of this DiffSection.

  • lines (list[oci.devops.models.DiffLineDetails]) – The value to assign to the lines property of this DiffSection.

property lines

Gets the lines of this DiffSection. The lines within changed section.

Returns

The lines of this DiffSection.

Return type

list[oci.devops.models.DiffLineDetails]

property type

Gets the type of this DiffSection. Type of change.

Returns

The type of this DiffSection.

Return type

str