-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
RetentionDuration.cs
38 lines (33 loc) · 1.51 KB
/
RetentionDuration.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
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.RecoveryServicesBackup.Models
{
/// <summary> Retention duration. </summary>
public partial class RetentionDuration
{
/// <summary> Initializes a new instance of <see cref="RetentionDuration"/>. </summary>
public RetentionDuration()
{
}
/// <summary> Initializes a new instance of <see cref="RetentionDuration"/>. </summary>
/// <param name="count">
/// Count of duration types. Retention duration is obtained by the counting the duration type Count times.
/// For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
/// </param>
/// <param name="durationType"> Retention duration type of retention policy. </param>
internal RetentionDuration(int? count, RetentionDurationType? durationType)
{
Count = count;
DurationType = durationType;
}
/// <summary>
/// Count of duration types. Retention duration is obtained by the counting the duration type Count times.
/// For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
/// </summary>
public int? Count { get; set; }
/// <summary> Retention duration type of retention policy. </summary>
public RetentionDurationType? DurationType { get; set; }
}
}