| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 9 | | { |
| | 10 | | /// <summary> Information about the device twin, which is the cloud representation of application device metadata. < |
| | 11 | | public partial class DeviceTwinInfo |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of DeviceTwinInfo. </summary> |
| 0 | 14 | | internal DeviceTwinInfo() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of DeviceTwinInfo. </summary> |
| | 19 | | /// <param name="authenticationType"> Authentication type used for this device: either SAS, SelfSigned, or Certi |
| | 20 | | /// <param name="cloudToDeviceMessageCount"> Count of cloud to device messages sent to this device. </param> |
| | 21 | | /// <param name="connectionState"> Whether the device is connected or disconnected. </param> |
| | 22 | | /// <param name="deviceId"> The unique identifier of the device twin. </param> |
| | 23 | | /// <param name="etag"> A piece of information that describes the content of the device twin. Each etag is guara |
| | 24 | | /// <param name="lastActivityTime"> The ISO8601 timestamp of the last activity. </param> |
| | 25 | | /// <param name="properties"> Properties JSON element. </param> |
| | 26 | | /// <param name="status"> Whether the device twin is enabled or disabled. </param> |
| | 27 | | /// <param name="statusUpdateTime"> The ISO8601 timestamp of the last device twin status update. </param> |
| | 28 | | /// <param name="version"> An integer that is incremented by one each time the device twin is updated. </param> |
| | 29 | | /// <param name="x509Thumbprint"> The thumbprint is a unique value for the x509 certificate, commonly used to fi |
| 4 | 30 | | internal DeviceTwinInfo(string authenticationType, float? cloudToDeviceMessageCount, string connectionState, str |
| | 31 | | { |
| 4 | 32 | | AuthenticationType = authenticationType; |
| 4 | 33 | | CloudToDeviceMessageCount = cloudToDeviceMessageCount; |
| 4 | 34 | | ConnectionState = connectionState; |
| 4 | 35 | | DeviceId = deviceId; |
| 4 | 36 | | Etag = etag; |
| 4 | 37 | | LastActivityTime = lastActivityTime; |
| 4 | 38 | | Properties = properties; |
| 4 | 39 | | Status = status; |
| 4 | 40 | | StatusUpdateTime = statusUpdateTime; |
| 4 | 41 | | Version = version; |
| 4 | 42 | | X509Thumbprint = x509Thumbprint; |
| 4 | 43 | | } |
| | 44 | |
|
| | 45 | | /// <summary> Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority. </summa |
| 0 | 46 | | public string AuthenticationType { get; } |
| | 47 | | /// <summary> Count of cloud to device messages sent to this device. </summary> |
| 0 | 48 | | public float? CloudToDeviceMessageCount { get; } |
| | 49 | | /// <summary> Whether the device is connected or disconnected. </summary> |
| 0 | 50 | | public string ConnectionState { get; } |
| | 51 | | /// <summary> The unique identifier of the device twin. </summary> |
| 0 | 52 | | public string DeviceId { get; } |
| | 53 | | /// <summary> A piece of information that describes the content of the device twin. Each etag is guaranteed to b |
| 2 | 54 | | public string Etag { get; } |
| | 55 | | /// <summary> The ISO8601 timestamp of the last activity. </summary> |
| 0 | 56 | | public string LastActivityTime { get; } |
| | 57 | | /// <summary> Properties JSON element. </summary> |
| 0 | 58 | | public DeviceTwinInfoProperties Properties { get; } |
| | 59 | | /// <summary> Whether the device twin is enabled or disabled. </summary> |
| 2 | 60 | | public string Status { get; } |
| | 61 | | /// <summary> The ISO8601 timestamp of the last device twin status update. </summary> |
| 0 | 62 | | public string StatusUpdateTime { get; } |
| | 63 | | /// <summary> An integer that is incremented by one each time the device twin is updated. </summary> |
| 0 | 64 | | public float? Version { get; } |
| | 65 | | /// <summary> The thumbprint is a unique value for the x509 certificate, commonly used to find a particular cert |
| 0 | 66 | | public DeviceTwinInfoX509Thumbprint X509Thumbprint { get; } |
| | 67 | | } |
| | 68 | | } |