| | 1 | | // <auto-generated> |
| | 2 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 3 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 4 | | // regenerated. |
| | 5 | | // </auto-generated> |
| | 6 | |
|
| | 7 | | namespace Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models |
| | 8 | | { |
| | 9 | | using Newtonsoft.Json; |
| | 10 | | using System.Linq; |
| | 11 | |
|
| | 12 | | /// <summary> |
| | 13 | | /// A JSON object containing information about the request, such as filters |
| | 14 | | /// for the resulting actions. |
| | 15 | | /// </summary> |
| | 16 | | public partial class KnowledgeRequest |
| | 17 | | { |
| | 18 | | /// <summary> |
| | 19 | | /// Initializes a new instance of the KnowledgeRequest class. |
| | 20 | | /// </summary> |
| 0 | 21 | | public KnowledgeRequest() |
| | 22 | | { |
| | 23 | | CustomInit(); |
| 0 | 24 | | } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Initializes a new instance of the KnowledgeRequest class. |
| | 28 | | /// </summary> |
| | 29 | | /// <param name="filters">A key-value object consisting of filters that |
| | 30 | | /// may be specified to limit the results returned by the API.</param> |
| 2 | 31 | | public KnowledgeRequest(Filters filters = default(Filters)) |
| | 32 | | { |
| 2 | 33 | | Filters = filters; |
| | 34 | | CustomInit(); |
| 2 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> |
| | 38 | | /// An initialization method that performs custom operations like setting defaults |
| | 39 | | /// </summary> |
| | 40 | | partial void CustomInit(); |
| | 41 | |
|
| | 42 | | /// <summary> |
| | 43 | | /// Gets or sets a key-value object consisting of filters that may be |
| | 44 | | /// specified to limit the results returned by the API. |
| | 45 | | /// </summary> |
| | 46 | | [JsonProperty(PropertyName = "filters")] |
| 4 | 47 | | public Filters Filters { get; set; } |
| | 48 | |
|
| | 49 | | } |
| | 50 | | } |