UpdatePullRequestDetails¶
- class oci.devops.models.UpdatePullRequestDetails(**kwargs)¶
Bases:
objectThe information to be updated.
Methods:
__init__(**kwargs)Initializes a new UpdatePullRequestDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdatePullRequestDetails.
Gets the description of this UpdatePullRequestDetails.
Gets the destination_branch of this UpdatePullRequestDetails.
Gets the display_name of this UpdatePullRequestDetails.
Gets the freeform_tags of this UpdatePullRequestDetails.
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.
- property 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))
- property 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
- property 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
- property display_name¶
Gets the display_name of this UpdatePullRequestDetails. Pull Request title
- Returns
The display_name of this UpdatePullRequestDetails.
- Return type
str
- property 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)
- property reviewers¶
Gets the reviewers of this UpdatePullRequestDetails. Reviewers for this Review.
- Returns
The reviewers of this UpdatePullRequestDetails.
- Return type