FileLineDetails

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

Bases: object

Object containing the details of a line in a file.

Methods:

__init__(**kwargs)

Initializes a new FileLineDetails object with values from keyword arguments.

Attributes:

line_content

[Required] Gets the line_content of this FileLineDetails.

line_number

[Required] Gets the line_number of this FileLineDetails.

__init__(**kwargs)

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

Parameters
  • line_number (int) – The value to assign to the line_number property of this FileLineDetails.

  • line_content (str) – The value to assign to the line_content property of this FileLineDetails.

property line_content

[Required] Gets the line_content of this FileLineDetails. The content of the line.

Returns

The line_content of this FileLineDetails.

Return type

str

property line_number

[Required] Gets the line_number of this FileLineDetails. The line number.

Returns

The line_number of this FileLineDetails.

Return type

int