| | | 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 | | /// The response for a Get Frames request. |
| | | 16 | | /// </summary> |
| | | 17 | | public partial class Frames |
| | | 18 | | { |
| | | 19 | | /// <summary> |
| | | 20 | | /// Initializes a new instance of the Frames class. |
| | | 21 | | /// </summary> |
| | 0 | 22 | | public Frames() |
| | | 23 | | { |
| | | 24 | | CustomInit(); |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// Initializes a new instance of the Frames class. |
| | | 29 | | /// </summary> |
| | | 30 | | /// <param name="reviewId">Id of the review.</param> |
| | 0 | 31 | | public Frames(string reviewId = default(string), IList<Frame> videoFrames = default(IList<Frame>)) |
| | | 32 | | { |
| | 0 | 33 | | ReviewId = reviewId; |
| | 0 | 34 | | VideoFrames = videoFrames; |
| | | 35 | | CustomInit(); |
| | 0 | 36 | | } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// An initialization method that performs custom operations like setting defaults |
| | | 40 | | /// </summary> |
| | | 41 | | partial void CustomInit(); |
| | | 42 | | |
| | | 43 | | /// <summary> |
| | | 44 | | /// Gets or sets id of the review. |
| | | 45 | | /// </summary> |
| | | 46 | | [JsonProperty(PropertyName = "ReviewId")] |
| | 0 | 47 | | public string ReviewId { get; set; } |
| | | 48 | | |
| | | 49 | | /// <summary> |
| | | 50 | | /// </summary> |
| | | 51 | | [JsonProperty(PropertyName = "VideoFrames")] |
| | 0 | 52 | | public IList<Frame> VideoFrames { get; set; } |
| | | 53 | | |
| | | 54 | | } |
| | | 55 | | } |