UpdatePullRequestDetails

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

Bases: object

The information to be updated.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdatePullRequestDetails.
description Gets the description of this UpdatePullRequestDetails.
destination_branch Gets the destination_branch of this UpdatePullRequestDetails.
display_name Gets the display_name of this UpdatePullRequestDetails.
freeform_tags Gets the freeform_tags of this UpdatePullRequestDetails.
reviewers Gets the reviewers of this UpdatePullRequestDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdatePullRequestDetails.
  • description (str) – The value to assign to the description property of this UpdatePullRequestDetails.
  • destination_branch (str) – The value to assign to the destination_branch property of this UpdatePullRequestDetails.
  • reviewers (list[oci.devops.models.UpdateReviewerDetails]) – The value to assign to the reviewers property of this UpdatePullRequestDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdatePullRequestDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdatePullRequestDetails.
defined_tags

Gets the defined_tags of this UpdatePullRequestDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdatePullRequestDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdatePullRequestDetails. Details of the pull request. Avoid entering confidential information.

Returns:The description of this UpdatePullRequestDetails.
Return type:str
destination_branch

Gets the destination_branch of this UpdatePullRequestDetails. The destination branch against which the changes are to be reviewed. Example: “main”

Returns:The destination_branch of this UpdatePullRequestDetails.
Return type:str
display_name

Gets the display_name of this UpdatePullRequestDetails. Pull Request title

Returns:The display_name of this UpdatePullRequestDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdatePullRequestDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdatePullRequestDetails.
Return type:dict(str, str)
reviewers

Gets the reviewers of this UpdatePullRequestDetails. Reviewers for this Review.

Returns:The reviewers of this UpdatePullRequestDetails.
Return type:list[oci.devops.models.UpdateReviewerDetails]