-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
BillingBenefitsSavingsPlanPatchProperties.cs
40 lines (36 loc) · 1.68 KB
/
BillingBenefitsSavingsPlanPatchProperties.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
39
40
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.BillingBenefits.Models
{
/// <summary> Savings plan patch request. </summary>
public partial class BillingBenefitsSavingsPlanPatchProperties
{
/// <summary> Initializes a new instance of BillingBenefitsSavingsPlanPatchProperties. </summary>
public BillingBenefitsSavingsPlanPatchProperties()
{
}
/// <summary> Display name. </summary>
public string DisplayName { get; set; }
/// <summary> Type of the Applied Scope. </summary>
public BillingBenefitsAppliedScopeType? AppliedScopeType { get; set; }
/// <summary> Properties specific to applied scope type. Not required if not applicable. </summary>
public BillingBenefitsAppliedScopeProperties AppliedScopeProperties { get; set; }
/// <summary> Setting this to true will automatically purchase a new benefit on the expiration date time. </summary>
public bool? IsRenewed { get; set; }
/// <summary> Gets or sets the renew properties. </summary>
internal RenewProperties RenewProperties { get; set; }
/// <summary> Gets or sets the renew purchase properties. </summary>
public BillingBenefitsPurchaseContent RenewPurchaseProperties
{
get => RenewProperties is null ? default : RenewProperties.PurchaseProperties;
set
{
if (RenewProperties is null)
RenewProperties = new RenewProperties();
RenewProperties.PurchaseProperties = value;
}
}
}
}