| | | 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 key-value object consisting of filters that may be specified to limit |
| | | 14 | | /// the results returned by the API. Current available filters: site. |
| | | 15 | | /// </summary> |
| | | 16 | | public partial class Filters |
| | | 17 | | { |
| | | 18 | | /// <summary> |
| | | 19 | | /// Initializes a new instance of the Filters class. |
| | | 20 | | /// </summary> |
| | 0 | 21 | | public Filters() |
| | | 22 | | { |
| | | 23 | | CustomInit(); |
| | 0 | 24 | | } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// Initializes a new instance of the Filters class. |
| | | 28 | | /// </summary> |
| | | 29 | | /// <param name="site">The URL of the site to return similar images and |
| | | 30 | | /// similar products from. (e.g., "www.bing.com", "bing.com").</param> |
| | 2 | 31 | | public Filters(string site = default(string)) |
| | | 32 | | { |
| | 2 | 33 | | Site = site; |
| | | 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 the URL of the site to return similar images and |
| | | 44 | | /// similar products from. (e.g., "www.bing.com", "bing.com"). |
| | | 45 | | /// </summary> |
| | | 46 | | [JsonProperty(PropertyName = "site")] |
| | 4 | 47 | | public string Site { get; set; } |
| | | 48 | | |
| | | 49 | | } |
| | | 50 | | } |