| | | 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.ImageSearch.Models |
| | | 8 | | { |
| | | 9 | | using Newtonsoft.Json; |
| | | 10 | | using System.Linq; |
| | | 11 | | |
| | | 12 | | /// <summary> |
| | | 13 | | /// Defines a person. |
| | | 14 | | /// </summary> |
| | | 15 | | public partial class Person : Thing |
| | | 16 | | { |
| | | 17 | | /// <summary> |
| | | 18 | | /// Initializes a new instance of the Person class. |
| | | 19 | | /// </summary> |
| | 0 | 20 | | public Person() |
| | | 21 | | { |
| | | 22 | | CustomInit(); |
| | 0 | 23 | | } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Initializes a new instance of the Person class. |
| | | 27 | | /// </summary> |
| | | 28 | | /// <param name="id">A String identifier.</param> |
| | | 29 | | /// <param name="readLink">The URL that returns this resource.</param> |
| | | 30 | | /// <param name="webSearchUrl">The URL To Bing's search result for this |
| | | 31 | | /// item.</param> |
| | | 32 | | /// <param name="name">The name of the thing represented by this |
| | | 33 | | /// object.</param> |
| | | 34 | | /// <param name="url">The URL to get more information about the thing |
| | | 35 | | /// represented by this object.</param> |
| | | 36 | | /// <param name="image">An image of the item.</param> |
| | | 37 | | /// <param name="description">A short description of the item.</param> |
| | | 38 | | /// <param name="alternateName">An alias for the item</param> |
| | | 39 | | /// <param name="bingId">An ID that uniquely identifies this |
| | | 40 | | /// item.</param> |
| | | 41 | | /// <param name="jobTitle">The person's job title.</param> |
| | | 42 | | /// <param name="twitterProfile">The URL of the person's twitter |
| | | 43 | | /// profile.</param> |
| | | 44 | | public Person(string id = default(string), string readLink = default(string), string webSearchUrl = default(stri |
| | 0 | 45 | | : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId) |
| | | 46 | | { |
| | 0 | 47 | | JobTitle = jobTitle; |
| | 0 | 48 | | TwitterProfile = twitterProfile; |
| | | 49 | | CustomInit(); |
| | 0 | 50 | | } |
| | | 51 | | |
| | | 52 | | /// <summary> |
| | | 53 | | /// An initialization method that performs custom operations like setting defaults |
| | | 54 | | /// </summary> |
| | | 55 | | partial void CustomInit(); |
| | | 56 | | |
| | | 57 | | /// <summary> |
| | | 58 | | /// Gets the person's job title. |
| | | 59 | | /// </summary> |
| | | 60 | | [JsonProperty(PropertyName = "jobTitle")] |
| | 0 | 61 | | public string JobTitle { get; private set; } |
| | | 62 | | |
| | | 63 | | /// <summary> |
| | | 64 | | /// Gets the URL of the person's twitter profile. |
| | | 65 | | /// </summary> |
| | | 66 | | [JsonProperty(PropertyName = "twitterProfile")] |
| | 0 | 67 | | public string TwitterProfile { get; private set; } |
| | | 68 | | |
| | | 69 | | } |
| | | 70 | | } |