| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 11 | | { |
| | 12 | | /// <summary> Schema of the Data property of an EventGridEvent for an Microsoft.EventHub.CaptureFileCreated event. < |
| | 13 | | public partial class EventHubCaptureFileCreatedEventData |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of EventHubCaptureFileCreatedEventData. </summary> |
| 0 | 16 | | internal EventHubCaptureFileCreatedEventData() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of EventHubCaptureFileCreatedEventData. </summary> |
| | 21 | | /// <param name="fileurl"> The path to the capture file. </param> |
| | 22 | | /// <param name="fileType"> The file type of the capture file. </param> |
| | 23 | | /// <param name="partitionId"> The shard ID. </param> |
| | 24 | | /// <param name="sizeInBytes"> The file size. </param> |
| | 25 | | /// <param name="eventCount"> The number of events in the file. </param> |
| | 26 | | /// <param name="firstSequenceNumber"> The smallest sequence number from the queue. </param> |
| | 27 | | /// <param name="lastSequenceNumber"> The last sequence number from the queue. </param> |
| | 28 | | /// <param name="firstEnqueueTime"> The first time from the queue. </param> |
| | 29 | | /// <param name="lastEnqueueTime"> The last time from the queue. </param> |
| 2 | 30 | | internal EventHubCaptureFileCreatedEventData(string fileurl, string fileType, string partitionId, int? sizeInByt |
| | 31 | | { |
| 2 | 32 | | Fileurl = fileurl; |
| 2 | 33 | | FileType = fileType; |
| 2 | 34 | | PartitionId = partitionId; |
| 2 | 35 | | SizeInBytes = sizeInBytes; |
| 2 | 36 | | EventCount = eventCount; |
| 2 | 37 | | FirstSequenceNumber = firstSequenceNumber; |
| 2 | 38 | | LastSequenceNumber = lastSequenceNumber; |
| 2 | 39 | | FirstEnqueueTime = firstEnqueueTime; |
| 2 | 40 | | LastEnqueueTime = lastEnqueueTime; |
| 2 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> The path to the capture file. </summary> |
| 0 | 44 | | public string Fileurl { get; } |
| | 45 | | /// <summary> The file type of the capture file. </summary> |
| 2 | 46 | | public string FileType { get; } |
| | 47 | | /// <summary> The shard ID. </summary> |
| 0 | 48 | | public string PartitionId { get; } |
| | 49 | | /// <summary> The file size. </summary> |
| 0 | 50 | | public int? SizeInBytes { get; } |
| | 51 | | /// <summary> The number of events in the file. </summary> |
| 0 | 52 | | public int? EventCount { get; } |
| | 53 | | /// <summary> The smallest sequence number from the queue. </summary> |
| 0 | 54 | | public int? FirstSequenceNumber { get; } |
| | 55 | | /// <summary> The last sequence number from the queue. </summary> |
| 0 | 56 | | public int? LastSequenceNumber { get; } |
| | 57 | | /// <summary> The first time from the queue. </summary> |
| 0 | 58 | | public DateTimeOffset? FirstEnqueueTime { get; } |
| | 59 | | /// <summary> The last time from the queue. </summary> |
| 0 | 60 | | public DateTimeOffset? LastEnqueueTime { get; } |
| | 61 | | } |
| | 62 | | } |