| | 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 | | /// Information about the device connection state event. |
| | 18 | | /// </summary> |
| | 19 | | public partial class DeviceConnectionStateEventInfo |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the DeviceConnectionStateEventInfo |
| | 23 | | /// class. |
| | 24 | | /// </summary> |
| 2 | 25 | | public DeviceConnectionStateEventInfo() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 2 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the DeviceConnectionStateEventInfo |
| | 32 | | /// class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="sequenceNumber">Sequence number is string |
| | 35 | | /// representation of a hexadecimal number. string compare can be used |
| | 36 | | /// to identify the larger number because both in ASCII and HEX numbers |
| | 37 | | /// come after alphabets. If you are converting the string to hex, then |
| | 38 | | /// the number is a 256 bit number.</param> |
| 0 | 39 | | public DeviceConnectionStateEventInfo(string sequenceNumber = default(string)) |
| | 40 | | { |
| 0 | 41 | | SequenceNumber = sequenceNumber; |
| | 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 sequence number is string representation of a |
| | 52 | | /// hexadecimal number. string compare can be used to identify the |
| | 53 | | /// larger number because both in ASCII and HEX numbers come after |
| | 54 | | /// alphabets. If you are converting the string to hex, then the number |
| | 55 | | /// is a 256 bit number. |
| | 56 | | /// </summary> |
| | 57 | | [JsonProperty(PropertyName = "sequenceNumber")] |
| 3 | 58 | | public string SequenceNumber { get; set; } |
| | 59 | |
|
| | 60 | | } |
| | 61 | | } |