| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.EventGrid.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Properties JSON element. |
| | 18 | | /// </summary> |
| | 19 | | public partial class DeviceTwinInfoProperties |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the DeviceTwinInfoProperties class. |
| | 23 | | /// </summary> |
| 2 | 24 | | public DeviceTwinInfoProperties() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 2 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the DeviceTwinInfoProperties class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="desired">A portion of the properties that can be |
| | 33 | | /// written only by the application back-end, and read by the |
| | 34 | | /// device.</param> |
| | 35 | | /// <param name="reported">A portion of the properties that can be |
| | 36 | | /// written only by the device, and read by the application |
| | 37 | | /// back-end.</param> |
| 0 | 38 | | public DeviceTwinInfoProperties(DeviceTwinProperties desired = default(DeviceTwinProperties), DeviceTwinProperti |
| | 39 | | { |
| 0 | 40 | | Desired = desired; |
| 0 | 41 | | Reported = reported; |
| | 42 | | CustomInit(); |
| 0 | 43 | | } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// An initialization method that performs custom operations like setting defaults |
| | 47 | | /// </summary> |
| | 48 | | partial void CustomInit(); |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// Gets or sets a portion of the properties that can be written only |
| | 52 | | /// by the application back-end, and read by the device. |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "desired")] |
| 4 | 55 | | public DeviceTwinProperties Desired { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets or sets a portion of the properties that can be written only |
| | 59 | | /// by the device, and read by the application back-end. |
| | 60 | | /// </summary> |
| | 61 | | [JsonProperty(PropertyName = "reported")] |
| 4 | 62 | | public DeviceTwinProperties Reported { get; set; } |
| | 63 | |
|
| | 64 | | } |
| | 65 | | } |