-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ContainerRegistrySourceTriggerUpdateContent.cs
37 lines (31 loc) · 1.5 KB
/
ContainerRegistrySourceTriggerUpdateContent.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.ContainerRegistry.Models
{
/// <summary> The properties for updating a source based trigger. </summary>
public partial class ContainerRegistrySourceTriggerUpdateContent
{
/// <summary> Initializes a new instance of ContainerRegistrySourceTriggerUpdateContent. </summary>
/// <param name="name"> The name of the trigger. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
public ContainerRegistrySourceTriggerUpdateContent(string name)
{
Argument.AssertNotNull(name, nameof(name));
SourceTriggerEvents = new ChangeTrackingList<ContainerRegistrySourceTriggerEvent>();
Name = name;
}
/// <summary> The properties that describes the source(code) for the task. </summary>
public SourceCodeRepoUpdateContent SourceRepository { get; set; }
/// <summary> The source event corresponding to the trigger. </summary>
public IList<ContainerRegistrySourceTriggerEvent> SourceTriggerEvents { get; }
/// <summary> The current status of trigger. </summary>
public ContainerRegistryTriggerStatus? Status { get; set; }
/// <summary> The name of the trigger. </summary>
public string Name { get; }
}
}