| | | 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.Search.Documents.Indexes.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be |
| | | 13 | | public partial class SearchIndexerDataContainer |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of SearchIndexerDataContainer. </summary> |
| | | 16 | | /// <param name="name"> The name of the table or view (for Azure SQL data source) or collection (for CosmosDB da |
| | | 17 | | /// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception> |
| | 5 | 18 | | public SearchIndexerDataContainer(string name) |
| | | 19 | | { |
| | 5 | 20 | | if (name == null) |
| | | 21 | | { |
| | 0 | 22 | | throw new ArgumentNullException(nameof(name)); |
| | | 23 | | } |
| | | 24 | | |
| | 5 | 25 | | Name = name; |
| | 5 | 26 | | } |
| | | 27 | | |
| | | 28 | | /// <summary> Initializes a new instance of SearchIndexerDataContainer. </summary> |
| | | 29 | | /// <param name="name"> The name of the table or view (for Azure SQL data source) or collection (for CosmosDB da |
| | | 30 | | /// <param name="query"> A query that is applied to this data container. The syntax and meaning of this paramete |
| | 9 | 31 | | internal SearchIndexerDataContainer(string name, string query) |
| | | 32 | | { |
| | 9 | 33 | | Name = name; |
| | 9 | 34 | | Query = query; |
| | 9 | 35 | | } |
| | | 36 | | |
| | | 37 | | /// <summary> The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) |
| | 33 | 38 | | public string Name { get; set; } |
| | | 39 | | /// <summary> A query that is applied to this data container. The syntax and meaning of this parameter is dataso |
| | 28 | 40 | | public string Query { get; set; } |
| | | 41 | | } |
| | | 42 | | } |