Skip to content

Commit

Permalink
.NET SDK Resource Provider:'IotCentral'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5495'
REST Spec PR Author 'kawayiboy'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed Apr 3, 2019
1 parent 7b6fea9 commit e26a643
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
namespace Microsoft.Azure.Management.IotCentral.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
Expand All @@ -33,9 +31,8 @@ public AppTemplate()
/// </summary>
/// <param name="id">The application template identifier.</param>
/// <param name="name">The application template name.</param>
/// <param name="properties">The extra template properties.</param>
/// <param name="type">the resource type.</param>
public AppTemplate(string id = default(string), string name = default(string), IDictionary<string, string> properties = default(IDictionary<string, string>), string type = default(string))
public AppTemplate(string id = default(string), string name = default(string), AppTemplateProperties properties = default(AppTemplateProperties), string type = default(string))
{
Id = id;
Name = name;
Expand All @@ -62,10 +59,9 @@ public AppTemplate()
public string Name { get; private set; }

/// <summary>
/// Gets or sets the extra template properties.
/// </summary>
[JsonProperty(PropertyName = "properties")]
public IDictionary<string, string> Properties { get; set; }
public AppTemplateProperties Properties { get; set; }

/// <summary>
/// Gets the resource type.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.IotCentral.Models
{
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// IoT Central Application Template extra properties.
/// </summary>
public partial class AppTemplateProperties
{
/// <summary>
/// Initializes a new instance of the AppTemplateProperties class.
/// </summary>
public AppTemplateProperties()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the AppTemplateProperties class.
/// </summary>
/// <param name="manifestId">The ID of the template.</param>
/// <param name="manifestVersion">The version of the template.</param>
/// <param name="appTemplateName">The name of the template.</param>
/// <param name="title">The title of the template.</param>
/// <param name="order">The order of the template in the templates
/// list.</param>
/// <param name="description">The description of the template.</param>
public AppTemplateProperties(string manifestId = default(string), string manifestVersion = default(string), string appTemplateName = default(string), string title = default(string), double? order = default(double?), string description = default(string))
{
ManifestId = manifestId;
ManifestVersion = manifestVersion;
AppTemplateName = appTemplateName;
Title = title;
Order = order;
Description = description;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets the ID of the template.
/// </summary>
[JsonProperty(PropertyName = "manifestId")]
public string ManifestId { get; private set; }

/// <summary>
/// Gets the version of the template.
/// </summary>
[JsonProperty(PropertyName = "manifestVersion")]
public string ManifestVersion { get; private set; }

/// <summary>
/// Gets the name of the template.
/// </summary>
[JsonProperty(PropertyName = "appTemplateName")]
public string AppTemplateName { get; private set; }

/// <summary>
/// Gets the title of the template.
/// </summary>
[JsonProperty(PropertyName = "title")]
public string Title { get; private set; }

/// <summary>
/// Gets the order of the template in the templates list.
/// </summary>
[JsonProperty(PropertyName = "order")]
public double? Order { get; private set; }

/// <summary>
/// Gets the description of the template.
/// </summary>
[JsonProperty(PropertyName = "description")]
public string Description { get; private set; }

}
}

0 comments on commit e26a643

Please sign in to comment.