Show / Hide Table of Contents

Class PullRequestNotificationPreference

The notification preference of the pull request.

Inheritance
object
PullRequestNotificationPreference
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class PullRequestNotificationPreference

Properties

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

In this article
Back to top