| | | 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.EntitySearch.Models |
| | | 8 | | { |
| | | 9 | | using System.Collections; |
| | | 10 | | using System.Collections.Generic; |
| | | 11 | | using System.Linq; |
| | | 12 | | |
| | | 13 | | public partial class Intangible : Thing |
| | | 14 | | { |
| | | 15 | | /// <summary> |
| | | 16 | | /// Initializes a new instance of the Intangible class. |
| | | 17 | | /// </summary> |
| | 0 | 18 | | public Intangible() |
| | | 19 | | { |
| | | 20 | | CustomInit(); |
| | 0 | 21 | | } |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// Initializes a new instance of the Intangible class. |
| | | 25 | | /// </summary> |
| | | 26 | | /// <param name="id">A String identifier.</param> |
| | | 27 | | /// <param name="contractualRules">A list of rules that you must adhere |
| | | 28 | | /// to if you display the item.</param> |
| | | 29 | | /// <param name="webSearchUrl">The URL To Bing's search result for this |
| | | 30 | | /// item.</param> |
| | | 31 | | /// <param name="name">The name of the thing represented by this |
| | | 32 | | /// object.</param> |
| | | 33 | | /// <param name="url">The URL to get more information about the thing |
| | | 34 | | /// represented by this object.</param> |
| | | 35 | | /// <param name="description">A short description of the item.</param> |
| | | 36 | | /// <param name="entityPresentationInfo">Additional information about |
| | | 37 | | /// the entity such as hints that you can use to determine the entity's |
| | | 38 | | /// type. To determine the entity's type, use the entityScenario and |
| | | 39 | | /// entityTypeHint fields.</param> |
| | | 40 | | /// <param name="bingId">An ID that uniquely identifies this |
| | | 41 | | /// item.</param> |
| | | 42 | | public Intangible(string id = default(string), IList<ContractualRulesContractualRule> contractualRules = default |
| | 0 | 43 | | : base(id, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId) |
| | | 44 | | { |
| | | 45 | | CustomInit(); |
| | 0 | 46 | | } |
| | | 47 | | |
| | | 48 | | /// <summary> |
| | | 49 | | /// An initialization method that performs custom operations like setting defaults |
| | | 50 | | /// </summary> |
| | | 51 | | partial void CustomInit(); |
| | | 52 | | |
| | | 53 | | /// <summary> |
| | | 54 | | /// Validate the object. |
| | | 55 | | /// </summary> |
| | | 56 | | /// <exception cref="Rest.ValidationException"> |
| | | 57 | | /// Thrown if validation fails |
| | | 58 | | /// </exception> |
| | | 59 | | public override void Validate() |
| | | 60 | | { |
| | 0 | 61 | | base.Validate(); |
| | 0 | 62 | | } |
| | | 63 | | } |
| | | 64 | | } |