Show / Hide Table of Contents

Class RepositoryNotificationPreference

The notification preference of the repository.

Inheritance
object
RepositoryNotificationPreference
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 RepositoryNotificationPreference

Properties

NotificationPreference

Declaration
[Required(ErrorMessage = "NotificationPreference is required.")]
[JsonProperty(PropertyName = "notificationPreference")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RepositoryNotificationPreference.NotificationPreferenceEnum? NotificationPreference { get; set; }
Property Value
Type Description
RepositoryNotificationPreference.NotificationPreferenceEnum?

The override value of repository notification preference.

Remarks

Required

RepositoryId

Declaration
[Required(ErrorMessage = "RepositoryId is required.")]
[JsonProperty(PropertyName = "repositoryId")]
public string RepositoryId { get; set; }
Property Value
Type Description
string

The ocid of repository 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