public static class PullRequestNotificationPreference.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PullRequestNotificationPreference |
build() |
PullRequestNotificationPreference.Builder |
copy(PullRequestNotificationPreference model) |
PullRequestNotificationPreference.Builder |
notificationPreference(PullRequestNotificationPreference.NotificationPreference notificationPreference)
The override value of pull request notification preference.
|
PullRequestNotificationPreference.Builder |
pullRequestId(String pullRequestId)
The ocid of pull request resource
|
PullRequestNotificationPreference.Builder |
userId(String userId)
The ocid of user.
|
public PullRequestNotificationPreference.Builder pullRequestId(String pullRequestId)
The ocid of pull request resource
pullRequestId
- the value to setpublic PullRequestNotificationPreference.Builder userId(String userId)
The ocid of user.
userId
- the value to setpublic PullRequestNotificationPreference.Builder notificationPreference(PullRequestNotificationPreference.NotificationPreference notificationPreference)
The override value of pull request notification preference.
notificationPreference
- the value to setpublic PullRequestNotificationPreference build()
public PullRequestNotificationPreference.Builder copy(PullRequestNotificationPreference model)
Copyright © 2016–2024. All rights reserved.