ReviewPullRequestDetails

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

Bases: object

Details to submit pull request review

Attributes

ACTION_APPROVE A constant which can be used with the action property of a ReviewPullRequestDetails.
ACTION_UNAPPROVE A constant which can be used with the action property of a ReviewPullRequestDetails.
action [Required] Gets the action of this ReviewPullRequestDetails.

Methods

__init__(**kwargs) Initializes a new ReviewPullRequestDetails object with values from keyword arguments.
ACTION_APPROVE = 'APPROVE'

A constant which can be used with the action property of a ReviewPullRequestDetails. This constant has a value of “APPROVE”

ACTION_UNAPPROVE = 'UNAPPROVE'

A constant which can be used with the action property of a ReviewPullRequestDetails. This constant has a value of “UNAPPROVE”

__init__(**kwargs)

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

Parameters:action (str) – The value to assign to the action property of this ReviewPullRequestDetails. Allowed values for this property are: “APPROVE”, “UNAPPROVE”
action

[Required] Gets the action of this ReviewPullRequestDetails. The review action taken

Allowed values for this property are: “APPROVE”, “UNAPPROVE”

Returns:The action of this ReviewPullRequestDetails.
Return type:str