-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ApiManagementEmailTemplateData.cs
61 lines (55 loc) · 2.89 KB
/
ApiManagementEmailTemplateData.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.ApiManagement.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement
{
/// <summary>
/// A class representing the ApiManagementEmailTemplate data model.
/// Email Template details.
/// </summary>
public partial class ApiManagementEmailTemplateData : ResourceData
{
/// <summary> Initializes a new instance of ApiManagementEmailTemplateData. </summary>
public ApiManagementEmailTemplateData()
{
Parameters = new ChangeTrackingList<EmailTemplateParametersContractProperties>();
}
/// <summary> Initializes a new instance of ApiManagementEmailTemplateData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="subject"> Subject of the Template. </param>
/// <param name="body"> Email Template Body. This should be a valid XDocument. </param>
/// <param name="title"> Title of the Template. </param>
/// <param name="description"> Description of the Email Template. </param>
/// <param name="isDefault"> Whether the template is the default template provided by API Management or has been edited. </param>
/// <param name="parameters"> Email Template Parameter values. </param>
internal ApiManagementEmailTemplateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string subject, string body, string title, string description, bool? isDefault, IList<EmailTemplateParametersContractProperties> parameters) : base(id, name, resourceType, systemData)
{
Subject = subject;
Body = body;
Title = title;
Description = description;
IsDefault = isDefault;
Parameters = parameters;
}
/// <summary> Subject of the Template. </summary>
public string Subject { get; set; }
/// <summary> Email Template Body. This should be a valid XDocument. </summary>
public string Body { get; set; }
/// <summary> Title of the Template. </summary>
public string Title { get; set; }
/// <summary> Description of the Email Template. </summary>
public string Description { get; set; }
/// <summary> Whether the template is the default template provided by API Management or has been edited. </summary>
public bool? IsDefault { get; }
/// <summary> Email Template Parameter values. </summary>
public IList<EmailTemplateParametersContractProperties> Parameters { get; }
}
}