| | 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.ContentModerator.Models |
| | 8 | | { |
| | 9 | | using Newtonsoft.Json; |
| | 10 | | using System.Collections; |
| | 11 | | using System.Collections.Generic; |
| | 12 | | using System.Linq; |
| | 13 | |
|
| | 14 | | /// <summary> |
| | 15 | | /// Refresh Index Response. |
| | 16 | | /// </summary> |
| | 17 | | public partial class RefreshIndex |
| | 18 | | { |
| | 19 | | /// <summary> |
| | 20 | | /// Initializes a new instance of the RefreshIndex class. |
| | 21 | | /// </summary> |
| 0 | 22 | | public RefreshIndex() |
| | 23 | | { |
| | 24 | | CustomInit(); |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Initializes a new instance of the RefreshIndex class. |
| | 29 | | /// </summary> |
| | 30 | | /// <param name="contentSourceId">Content source Id.</param> |
| | 31 | | /// <param name="isUpdateSuccess">Update success status.</param> |
| | 32 | | /// <param name="advancedInfo">Advanced info list.</param> |
| | 33 | | /// <param name="status">Refresh index status.</param> |
| | 34 | | /// <param name="trackingId">Tracking Id.</param> |
| 0 | 35 | | public RefreshIndex(string contentSourceId = default(string), bool? isUpdateSuccess = default(bool?), IList<IDic |
| | 36 | | { |
| 0 | 37 | | ContentSourceId = contentSourceId; |
| 0 | 38 | | IsUpdateSuccess = isUpdateSuccess; |
| 0 | 39 | | AdvancedInfo = advancedInfo; |
| 0 | 40 | | Status = status; |
| 0 | 41 | | TrackingId = trackingId; |
| | 42 | | CustomInit(); |
| 0 | 43 | | } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// An initialization method that performs custom operations like setting defaults |
| | 47 | | /// </summary> |
| | 48 | | partial void CustomInit(); |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// Gets or sets content source Id. |
| | 52 | | /// </summary> |
| | 53 | | [JsonProperty(PropertyName = "ContentSourceId")] |
| 0 | 54 | | public string ContentSourceId { get; set; } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets update success status. |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "IsUpdateSuccess")] |
| 0 | 60 | | public bool? IsUpdateSuccess { get; set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets advanced info list. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "AdvancedInfo")] |
| 0 | 66 | | public IList<IDictionary<string, string>> AdvancedInfo { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets refresh index status. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "Status")] |
| 0 | 72 | | public Status Status { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets tracking Id. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "TrackingId")] |
| 0 | 78 | | public string TrackingId { get; set; } |
| | 79 | |
|
| | 80 | | } |
| | 81 | | } |