ApprovalRuleCollection

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

Bases: object

List of approval rules which must be statisfied before pull requests which match the rules can be merged

Methods:

__init__(**kwargs)

Initializes a new ApprovalRuleCollection object with values from keyword arguments.

Attributes:

items

[Required] Gets the items of this ApprovalRuleCollection.

__init__(**kwargs)

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

Parameters

items (list[oci.devops.models.ApprovalRule]) – The value to assign to the items property of this ApprovalRuleCollection.

property items

[Required] Gets the items of this ApprovalRuleCollection. List of approval rules.

Returns

The items of this ApprovalRuleCollection.

Return type

list[oci.devops.models.ApprovalRule]