-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SiteExtensionInfoData.cs
177 lines (170 loc) · 8.57 KB
/
SiteExtensionInfoData.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
// 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;
using Azure.ResourceManager.AppService.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.AppService
{
/// <summary>
/// A class representing the SiteExtensionInfo data model.
/// Site Extension Information.
/// </summary>
public partial class SiteExtensionInfoData : ResourceData
{
/// <summary>
/// Keeps track of any properties unknown to the library.
/// <para>
/// To assign an object to the value of this property use <see cref="BinaryData.FromObjectAsJson{T}(T, System.Text.Json.JsonSerializerOptions?)"/>.
/// </para>
/// <para>
/// To assign an already formatted json string to this property use <see cref="BinaryData.FromString(string)"/>.
/// </para>
/// <para>
/// Examples:
/// <list type="bullet">
/// <item>
/// <term>BinaryData.FromObjectAsJson("foo")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("\"foo\"")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromObjectAsJson(new { key = "value" })</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("{\"key\": \"value\"}")</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// </list>
/// </para>
/// </summary>
private IDictionary<string, BinaryData> _serializedAdditionalRawData;
/// <summary> Initializes a new instance of <see cref="SiteExtensionInfoData"/>. </summary>
public SiteExtensionInfoData()
{
Authors = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of <see cref="SiteExtensionInfoData"/>. </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="extensionId"> Site extension ID. </param>
/// <param name="title"></param>
/// <param name="extensionType"> Site extension type. </param>
/// <param name="summary"> Summary description. </param>
/// <param name="description"> Detailed description. </param>
/// <param name="version"> Version information. </param>
/// <param name="extensionUri"> Extension URL. </param>
/// <param name="projectUri"> Project URL. </param>
/// <param name="iconUri"> Icon URL. </param>
/// <param name="licenseUri"> License URL. </param>
/// <param name="feedUri"> Feed URL. </param>
/// <param name="authors"> List of authors. </param>
/// <param name="installerCommandLineParams"> Installer command line parameters. </param>
/// <param name="publishedOn"> Published timestamp. </param>
/// <param name="downloadCount"> Count of downloads. </param>
/// <param name="localIsLatestVersion"> <code>true</code> if the local version is the latest version; <code>false</code> otherwise. </param>
/// <param name="localPath"> Local path. </param>
/// <param name="installedOn"> Installed timestamp. </param>
/// <param name="provisioningState"> Provisioning state. </param>
/// <param name="comment"> Site Extension comment. </param>
/// <param name="kind"> Kind of resource. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
internal SiteExtensionInfoData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string extensionId, string title, SiteExtensionType? extensionType, string summary, string description, string version, Uri extensionUri, Uri projectUri, Uri iconUri, Uri licenseUri, Uri feedUri, IList<string> authors, string installerCommandLineParams, DateTimeOffset? publishedOn, int? downloadCount, bool? localIsLatestVersion, string localPath, DateTimeOffset? installedOn, string provisioningState, string comment, string kind, IDictionary<string, BinaryData> serializedAdditionalRawData) : base(id, name, resourceType, systemData)
{
ExtensionId = extensionId;
Title = title;
ExtensionType = extensionType;
Summary = summary;
Description = description;
Version = version;
ExtensionUri = extensionUri;
ProjectUri = projectUri;
IconUri = iconUri;
LicenseUri = licenseUri;
FeedUri = feedUri;
Authors = authors;
InstallerCommandLineParams = installerCommandLineParams;
PublishedOn = publishedOn;
DownloadCount = downloadCount;
LocalIsLatestVersion = localIsLatestVersion;
LocalPath = localPath;
InstalledOn = installedOn;
ProvisioningState = provisioningState;
Comment = comment;
Kind = kind;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
/// <summary> Site extension ID. </summary>
[WirePath("properties.extension_id")]
public string ExtensionId { get; set; }
/// <summary> Gets or sets the title. </summary>
[WirePath("properties.title")]
public string Title { get; set; }
/// <summary> Site extension type. </summary>
[WirePath("properties.extension_type")]
public SiteExtensionType? ExtensionType { get; set; }
/// <summary> Summary description. </summary>
[WirePath("properties.summary")]
public string Summary { get; set; }
/// <summary> Detailed description. </summary>
[WirePath("properties.description")]
public string Description { get; set; }
/// <summary> Version information. </summary>
[WirePath("properties.version")]
public string Version { get; set; }
/// <summary> Extension URL. </summary>
[WirePath("properties.extension_url")]
public Uri ExtensionUri { get; set; }
/// <summary> Project URL. </summary>
[WirePath("properties.project_url")]
public Uri ProjectUri { get; set; }
/// <summary> Icon URL. </summary>
[WirePath("properties.icon_url")]
public Uri IconUri { get; set; }
/// <summary> License URL. </summary>
[WirePath("properties.license_url")]
public Uri LicenseUri { get; set; }
/// <summary> Feed URL. </summary>
[WirePath("properties.feed_url")]
public Uri FeedUri { get; set; }
/// <summary> List of authors. </summary>
[WirePath("properties.authors")]
public IList<string> Authors { get; }
/// <summary> Installer command line parameters. </summary>
[WirePath("properties.installer_command_line_params")]
public string InstallerCommandLineParams { get; set; }
/// <summary> Published timestamp. </summary>
[WirePath("properties.published_date_time")]
public DateTimeOffset? PublishedOn { get; set; }
/// <summary> Count of downloads. </summary>
[WirePath("properties.download_count")]
public int? DownloadCount { get; set; }
/// <summary> <code>true</code> if the local version is the latest version; <code>false</code> otherwise. </summary>
[WirePath("properties.local_is_latest_version")]
public bool? LocalIsLatestVersion { get; set; }
/// <summary> Local path. </summary>
[WirePath("properties.local_path")]
public string LocalPath { get; set; }
/// <summary> Installed timestamp. </summary>
[WirePath("properties.installed_date_time")]
public DateTimeOffset? InstalledOn { get; set; }
/// <summary> Provisioning state. </summary>
[WirePath("properties.provisioningState")]
public string ProvisioningState { get; set; }
/// <summary> Site Extension comment. </summary>
[WirePath("properties.comment")]
public string Comment { get; set; }
/// <summary> Kind of resource. </summary>
[WirePath("kind")]
public string Kind { get; set; }
}
}