Class RepositoryNotificationPreference
The notification preference of the repository.
Inherited Members
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