-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DeviceTwinProperties.cs
32 lines (27 loc) · 1.21 KB
/
DeviceTwinProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> A portion of the properties that can be written only by the application back-end, and read by the device. </summary>
public partial class DeviceTwinProperties
{
/// <summary> Initializes a new instance of <see cref="DeviceTwinProperties"/>. </summary>
internal DeviceTwinProperties()
{
}
/// <summary> Initializes a new instance of <see cref="DeviceTwinProperties"/>. </summary>
/// <param name="metadata"> Metadata information for the properties JSON document. </param>
/// <param name="version"> Version of device twin properties. </param>
internal DeviceTwinProperties(DeviceTwinMetadata metadata, float? version)
{
Metadata = metadata;
Version = version;
}
/// <summary> Metadata information for the properties JSON document. </summary>
public DeviceTwinMetadata Metadata { get; }
/// <summary> Version of device twin properties. </summary>
public float? Version { get; }
}
}