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