Class PullRequestNotificationPreference
The notification preference of the pull request.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class PullRequestNotificationPreferenceProperties
NotificationPreference
Declaration
[Required(ErrorMessage = "NotificationPreference is required.")]
[JsonProperty(PropertyName = "notificationPreference")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PullRequestNotificationPreference.NotificationPreferenceEnum? NotificationPreference { get; set; }Property Value
| Type | Description | 
|---|---|
| PullRequestNotificationPreference.NotificationPreferenceEnum? | The override value of pull request notification preference. | 
Remarks
Required
PullRequestId
Declaration
[Required(ErrorMessage = "PullRequestId is required.")]
[JsonProperty(PropertyName = "pullRequestId")]
public string PullRequestId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The ocid of pull request resource | 
Remarks
Required
UserId
Declaration
[Required(ErrorMessage = "UserId is required.")]
[JsonProperty(PropertyName = "userId")]
public string UserId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The ocid of user. | 
Remarks
Required