| | 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 query result. </summary> |
| | 14 | | public partial class QueryResult |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of QueryResult. </summary> |
| 0 | 17 | | internal QueryResult() |
| | 18 | | { |
| 0 | 19 | | Items = new ChangeTrackingList<object>(); |
| 0 | 20 | | } |
| | 21 | |
|
| | 22 | | /// <summary> Initializes a new instance of QueryResult. </summary> |
| | 23 | | /// <param name="type"> The query result type. </param> |
| | 24 | | /// <param name="items"> The query result items, as a collection. </param> |
| | 25 | | /// <param name="continuationToken"> The continuation token. </param> |
| 0 | 26 | | internal QueryResult(QueryResultType? type, IReadOnlyList<object> items, string continuationToken) |
| | 27 | | { |
| 0 | 28 | | Type = type; |
| 0 | 29 | | Items = items; |
| 0 | 30 | | ContinuationToken = continuationToken; |
| 0 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> The query result type. </summary> |
| 0 | 34 | | public QueryResultType? Type { get; } |
| | 35 | | /// <summary> The query result items, as a collection. </summary> |
| 0 | 36 | | public IReadOnlyList<object> Items { get; } |
| | 37 | | /// <summary> The continuation token. </summary> |
| 0 | 38 | | public string ContinuationToken { get; } |
| | 39 | | } |
| | 40 | | } |