| | 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.Collections.Generic; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Iot.Hub.Service.Models |
| | 12 | | { |
| | 13 | | /// <summary> The result of the bulk registry operation. </summary> |
| | 14 | | public partial class BulkRegistryOperationResponse |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of BulkRegistryOperationResponse. </summary> |
| 0 | 17 | | internal BulkRegistryOperationResponse() |
| | 18 | | { |
| 0 | 19 | | Errors = new ChangeTrackingList<DeviceRegistryOperationError>(); |
| 0 | 20 | | Warnings = new ChangeTrackingList<DeviceRegistryOperationWarning>(); |
| 0 | 21 | | } |
| | 22 | |
|
| | 23 | | /// <summary> Initializes a new instance of BulkRegistryOperationResponse. </summary> |
| | 24 | | /// <param name="isSuccessful"> The operation result. </param> |
| | 25 | | /// <param name="errors"> The device registry operation errors. </param> |
| | 26 | | /// <param name="warnings"> The device registry operation warnings. </param> |
| 60 | 27 | | internal BulkRegistryOperationResponse(bool? isSuccessful, IReadOnlyList<DeviceRegistryOperationError> errors, I |
| | 28 | | { |
| 60 | 29 | | IsSuccessful = isSuccessful; |
| 60 | 30 | | Errors = errors; |
| 60 | 31 | | Warnings = warnings; |
| 60 | 32 | | } |
| | 33 | |
|
| | 34 | | /// <summary> The operation result. </summary> |
| 36 | 35 | | public bool? IsSuccessful { get; } |
| | 36 | | /// <summary> The device registry operation errors. </summary> |
| 0 | 37 | | public IReadOnlyList<DeviceRegistryOperationError> Errors { get; } |
| | 38 | | /// <summary> The device registry operation warnings. </summary> |
| 0 | 39 | | public IReadOnlyList<DeviceRegistryOperationWarning> Warnings { get; } |
| | 40 | | } |
| | 41 | | } |