| | | 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 |
| | | 8 | | { |
| | | 9 | | using Models; |
| | | 10 | | using System.Collections; |
| | | 11 | | using System.Collections.Generic; |
| | | 12 | | using System.IO; |
| | | 13 | | using System.Threading; |
| | | 14 | | using System.Threading.Tasks; |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// Extension methods for Reviews. |
| | | 18 | | /// </summary> |
| | | 19 | | public static partial class ReviewsExtensions |
| | | 20 | | { |
| | | 21 | | /// <summary> |
| | | 22 | | /// Returns review details for the review Id passed. |
| | | 23 | | /// </summary> |
| | | 24 | | /// <param name='operations'> |
| | | 25 | | /// The operations group for this extension method. |
| | | 26 | | /// </param> |
| | | 27 | | /// <param name='teamName'> |
| | | 28 | | /// Your Team Name. |
| | | 29 | | /// </param> |
| | | 30 | | /// <param name='reviewId'> |
| | | 31 | | /// Id of the review. |
| | | 32 | | /// </param> |
| | | 33 | | public static Review GetReview(this IReviews operations, string teamName, string reviewId) |
| | | 34 | | { |
| | 0 | 35 | | return operations.GetReviewAsync(teamName, reviewId).GetAwaiter().GetResult(); |
| | | 36 | | } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// Returns review details for the review Id passed. |
| | | 40 | | /// </summary> |
| | | 41 | | /// <param name='operations'> |
| | | 42 | | /// The operations group for this extension method. |
| | | 43 | | /// </param> |
| | | 44 | | /// <param name='teamName'> |
| | | 45 | | /// Your Team Name. |
| | | 46 | | /// </param> |
| | | 47 | | /// <param name='reviewId'> |
| | | 48 | | /// Id of the review. |
| | | 49 | | /// </param> |
| | | 50 | | /// <param name='cancellationToken'> |
| | | 51 | | /// The cancellation token. |
| | | 52 | | /// </param> |
| | | 53 | | public static async Task<Review> GetReviewAsync(this IReviews operations, string teamName, string reviewId, |
| | | 54 | | { |
| | 0 | 55 | | using (var _result = await operations.GetReviewWithHttpMessagesAsync(teamName, reviewId, null, cancellat |
| | | 56 | | { |
| | 0 | 57 | | return _result.Body; |
| | | 58 | | } |
| | 0 | 59 | | } |
| | | 60 | | |
| | | 61 | | /// <summary> |
| | | 62 | | /// Get the Job Details for a Job Id. |
| | | 63 | | /// </summary> |
| | | 64 | | /// <param name='operations'> |
| | | 65 | | /// The operations group for this extension method. |
| | | 66 | | /// </param> |
| | | 67 | | /// <param name='teamName'> |
| | | 68 | | /// Your Team Name. |
| | | 69 | | /// </param> |
| | | 70 | | /// <param name='jobId'> |
| | | 71 | | /// Id of the job. |
| | | 72 | | /// </param> |
| | | 73 | | public static Job GetJobDetails(this IReviews operations, string teamName, string jobId) |
| | | 74 | | { |
| | 0 | 75 | | return operations.GetJobDetailsAsync(teamName, jobId).GetAwaiter().GetResult(); |
| | | 76 | | } |
| | | 77 | | |
| | | 78 | | /// <summary> |
| | | 79 | | /// Get the Job Details for a Job Id. |
| | | 80 | | /// </summary> |
| | | 81 | | /// <param name='operations'> |
| | | 82 | | /// The operations group for this extension method. |
| | | 83 | | /// </param> |
| | | 84 | | /// <param name='teamName'> |
| | | 85 | | /// Your Team Name. |
| | | 86 | | /// </param> |
| | | 87 | | /// <param name='jobId'> |
| | | 88 | | /// Id of the job. |
| | | 89 | | /// </param> |
| | | 90 | | /// <param name='cancellationToken'> |
| | | 91 | | /// The cancellation token. |
| | | 92 | | /// </param> |
| | | 93 | | public static async Task<Job> GetJobDetailsAsync(this IReviews operations, string teamName, string jobId, Ca |
| | | 94 | | { |
| | 0 | 95 | | using (var _result = await operations.GetJobDetailsWithHttpMessagesAsync(teamName, jobId, null, cancella |
| | | 96 | | { |
| | 0 | 97 | | return _result.Body; |
| | | 98 | | } |
| | 0 | 99 | | } |
| | | 100 | | |
| | | 101 | | /// <summary> |
| | | 102 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 103 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 104 | | /// on the specified CallBackEndpoint. |
| | | 105 | | /// |
| | | 106 | | /// <h3>CallBack Schemas </h3> |
| | | 107 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 108 | | /// <p> |
| | | 109 | | /// {<br/> |
| | | 110 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 111 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 112 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 113 | | /// "CallBackType": "Review",<br/> |
| | | 114 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 115 | | /// "Metadata": {<br/> |
| | | 116 | | /// "adultscore": "0.xxx",<br/> |
| | | 117 | | /// "a": "False",<br/> |
| | | 118 | | /// "racyscore": "0.xxx",<br/> |
| | | 119 | | /// "r": "True"<br/> |
| | | 120 | | /// },<br/> |
| | | 121 | | /// "ReviewerResultTags": {<br/> |
| | | 122 | | /// "a": "False",<br/> |
| | | 123 | | /// "r": "True"<br/> |
| | | 124 | | /// }<br/> |
| | | 125 | | /// }<br/> |
| | | 126 | | /// |
| | | 127 | | /// </p>. |
| | | 128 | | /// </summary> |
| | | 129 | | /// <param name='operations'> |
| | | 130 | | /// The operations group for this extension method. |
| | | 131 | | /// </param> |
| | | 132 | | /// <param name='urlContentType'> |
| | | 133 | | /// The content type. |
| | | 134 | | /// </param> |
| | | 135 | | /// <param name='teamName'> |
| | | 136 | | /// Your team name. |
| | | 137 | | /// </param> |
| | | 138 | | /// <param name='createReviewBody'> |
| | | 139 | | /// Body for create reviews API |
| | | 140 | | /// </param> |
| | | 141 | | /// <param name='subTeam'> |
| | | 142 | | /// SubTeam of your team, you want to assign the created review to. |
| | | 143 | | /// </param> |
| | | 144 | | public static IList<string> CreateReviews(this IReviews operations, string urlContentType, string teamName, |
| | | 145 | | { |
| | 0 | 146 | | return operations.CreateReviewsAsync(urlContentType, teamName, createReviewBody, subTeam).GetAwaiter().G |
| | | 147 | | } |
| | | 148 | | |
| | | 149 | | /// <summary> |
| | | 150 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 151 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 152 | | /// on the specified CallBackEndpoint. |
| | | 153 | | /// |
| | | 154 | | /// <h3>CallBack Schemas </h3> |
| | | 155 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 156 | | /// <p> |
| | | 157 | | /// {<br/> |
| | | 158 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 159 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 160 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 161 | | /// "CallBackType": "Review",<br/> |
| | | 162 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 163 | | /// "Metadata": {<br/> |
| | | 164 | | /// "adultscore": "0.xxx",<br/> |
| | | 165 | | /// "a": "False",<br/> |
| | | 166 | | /// "racyscore": "0.xxx",<br/> |
| | | 167 | | /// "r": "True"<br/> |
| | | 168 | | /// },<br/> |
| | | 169 | | /// "ReviewerResultTags": {<br/> |
| | | 170 | | /// "a": "False",<br/> |
| | | 171 | | /// "r": "True"<br/> |
| | | 172 | | /// }<br/> |
| | | 173 | | /// }<br/> |
| | | 174 | | /// |
| | | 175 | | /// </p>. |
| | | 176 | | /// </summary> |
| | | 177 | | /// <param name='operations'> |
| | | 178 | | /// The operations group for this extension method. |
| | | 179 | | /// </param> |
| | | 180 | | /// <param name='urlContentType'> |
| | | 181 | | /// The content type. |
| | | 182 | | /// </param> |
| | | 183 | | /// <param name='teamName'> |
| | | 184 | | /// Your team name. |
| | | 185 | | /// </param> |
| | | 186 | | /// <param name='createReviewBody'> |
| | | 187 | | /// Body for create reviews API |
| | | 188 | | /// </param> |
| | | 189 | | /// <param name='subTeam'> |
| | | 190 | | /// SubTeam of your team, you want to assign the created review to. |
| | | 191 | | /// </param> |
| | | 192 | | /// <param name='cancellationToken'> |
| | | 193 | | /// The cancellation token. |
| | | 194 | | /// </param> |
| | | 195 | | public static async Task<IList<string>> CreateReviewsAsync(this IReviews operations, string urlContentType, |
| | | 196 | | { |
| | 0 | 197 | | using (var _result = await operations.CreateReviewsWithHttpMessagesAsync(urlContentType, teamName, creat |
| | | 198 | | { |
| | 0 | 199 | | return _result.Body; |
| | | 200 | | } |
| | 0 | 201 | | } |
| | | 202 | | |
| | | 203 | | /// <summary> |
| | | 204 | | /// A job Id will be returned for the content posted on this endpoint. |
| | | 205 | | /// |
| | | 206 | | /// Once the content is evaluated against the Workflow provided the review will |
| | | 207 | | /// be created or ignored based on the workflow expression. |
| | | 208 | | /// |
| | | 209 | | /// <h3>CallBack Schemas </h3> |
| | | 210 | | /// |
| | | 211 | | /// <p> |
| | | 212 | | /// <h4>Job Completion CallBack Sample</h4><br/> |
| | | 213 | | /// |
| | | 214 | | /// {<br/> |
| | | 215 | | /// "JobId": "<Job Id>,<br/> |
| | | 216 | | /// "ReviewId": "<Review Id, if the Job resulted in a Review to be |
| | | 217 | | /// created>",<br/> |
| | | 218 | | /// "WorkFlowId": "default",<br/> |
| | | 219 | | /// "Status": "<This will be one of Complete, InProgress, |
| | | 220 | | /// Error>",<br/> |
| | | 221 | | /// "ContentType": "Image",<br/> |
| | | 222 | | /// "ContentId": "<This is the ContentId that was specified on |
| | | 223 | | /// input>",<br/> |
| | | 224 | | /// "CallBackType": "Job",<br/> |
| | | 225 | | /// "Metadata": {<br/> |
| | | 226 | | /// "adultscore": "0.xxx",<br/> |
| | | 227 | | /// "a": "False",<br/> |
| | | 228 | | /// "racyscore": "0.xxx",<br/> |
| | | 229 | | /// "r": "True"<br/> |
| | | 230 | | /// }<br/> |
| | | 231 | | /// }<br/> |
| | | 232 | | /// |
| | | 233 | | /// </p> |
| | | 234 | | /// <p> |
| | | 235 | | /// <h4>Review Completion CallBack Sample</h4><br/> |
| | | 236 | | /// |
| | | 237 | | /// { |
| | | 238 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 239 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 240 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 241 | | /// "CallBackType": "Review",<br/> |
| | | 242 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 243 | | /// "Metadata": {<br/> |
| | | 244 | | /// "adultscore": "0.xxx", |
| | | 245 | | /// "a": "False",<br/> |
| | | 246 | | /// "racyscore": "0.xxx",<br/> |
| | | 247 | | /// "r": "True"<br/> |
| | | 248 | | /// },<br/> |
| | | 249 | | /// "ReviewerResultTags": {<br/> |
| | | 250 | | /// "a": "False",<br/> |
| | | 251 | | /// "r": "True"<br/> |
| | | 252 | | /// }<br/> |
| | | 253 | | /// }<br/> |
| | | 254 | | /// |
| | | 255 | | /// </p>. |
| | | 256 | | /// </summary> |
| | | 257 | | /// <param name='operations'> |
| | | 258 | | /// The operations group for this extension method. |
| | | 259 | | /// </param> |
| | | 260 | | /// <param name='teamName'> |
| | | 261 | | /// Your team name. |
| | | 262 | | /// </param> |
| | | 263 | | /// <param name='contentType'> |
| | | 264 | | /// Image, Text or Video. Possible values include: 'Image', 'Text', 'Video' |
| | | 265 | | /// </param> |
| | | 266 | | /// <param name='contentId'> |
| | | 267 | | /// Id/Name to identify the content submitted. |
| | | 268 | | /// </param> |
| | | 269 | | /// <param name='workflowName'> |
| | | 270 | | /// Workflow Name that you want to invoke. |
| | | 271 | | /// </param> |
| | | 272 | | /// <param name='jobContentType'> |
| | | 273 | | /// The content type. Possible values include: 'application/json', 'image/jpeg' |
| | | 274 | | /// </param> |
| | | 275 | | /// <param name='content'> |
| | | 276 | | /// Content to evaluate. |
| | | 277 | | /// </param> |
| | | 278 | | /// <param name='callBackEndpoint'> |
| | | 279 | | /// Callback endpoint for posting the create job result. |
| | | 280 | | /// </param> |
| | | 281 | | public static JobId CreateJob(this IReviews operations, string teamName, string contentType, string contentI |
| | | 282 | | { |
| | 0 | 283 | | return operations.CreateJobAsync(teamName, contentType, contentId, workflowName, jobContentType, content |
| | | 284 | | } |
| | | 285 | | |
| | | 286 | | /// <summary> |
| | | 287 | | /// A job Id will be returned for the content posted on this endpoint. |
| | | 288 | | /// |
| | | 289 | | /// Once the content is evaluated against the Workflow provided the review will |
| | | 290 | | /// be created or ignored based on the workflow expression. |
| | | 291 | | /// |
| | | 292 | | /// <h3>CallBack Schemas </h3> |
| | | 293 | | /// |
| | | 294 | | /// <p> |
| | | 295 | | /// <h4>Job Completion CallBack Sample</h4><br/> |
| | | 296 | | /// |
| | | 297 | | /// {<br/> |
| | | 298 | | /// "JobId": "<Job Id>,<br/> |
| | | 299 | | /// "ReviewId": "<Review Id, if the Job resulted in a Review to be |
| | | 300 | | /// created>",<br/> |
| | | 301 | | /// "WorkFlowId": "default",<br/> |
| | | 302 | | /// "Status": "<This will be one of Complete, InProgress, |
| | | 303 | | /// Error>",<br/> |
| | | 304 | | /// "ContentType": "Image",<br/> |
| | | 305 | | /// "ContentId": "<This is the ContentId that was specified on |
| | | 306 | | /// input>",<br/> |
| | | 307 | | /// "CallBackType": "Job",<br/> |
| | | 308 | | /// "Metadata": {<br/> |
| | | 309 | | /// "adultscore": "0.xxx",<br/> |
| | | 310 | | /// "a": "False",<br/> |
| | | 311 | | /// "racyscore": "0.xxx",<br/> |
| | | 312 | | /// "r": "True"<br/> |
| | | 313 | | /// }<br/> |
| | | 314 | | /// }<br/> |
| | | 315 | | /// |
| | | 316 | | /// </p> |
| | | 317 | | /// <p> |
| | | 318 | | /// <h4>Review Completion CallBack Sample</h4><br/> |
| | | 319 | | /// |
| | | 320 | | /// { |
| | | 321 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 322 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 323 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 324 | | /// "CallBackType": "Review",<br/> |
| | | 325 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 326 | | /// "Metadata": {<br/> |
| | | 327 | | /// "adultscore": "0.xxx", |
| | | 328 | | /// "a": "False",<br/> |
| | | 329 | | /// "racyscore": "0.xxx",<br/> |
| | | 330 | | /// "r": "True"<br/> |
| | | 331 | | /// },<br/> |
| | | 332 | | /// "ReviewerResultTags": {<br/> |
| | | 333 | | /// "a": "False",<br/> |
| | | 334 | | /// "r": "True"<br/> |
| | | 335 | | /// }<br/> |
| | | 336 | | /// }<br/> |
| | | 337 | | /// |
| | | 338 | | /// </p>. |
| | | 339 | | /// </summary> |
| | | 340 | | /// <param name='operations'> |
| | | 341 | | /// The operations group for this extension method. |
| | | 342 | | /// </param> |
| | | 343 | | /// <param name='teamName'> |
| | | 344 | | /// Your team name. |
| | | 345 | | /// </param> |
| | | 346 | | /// <param name='contentType'> |
| | | 347 | | /// Image, Text or Video. Possible values include: 'Image', 'Text', 'Video' |
| | | 348 | | /// </param> |
| | | 349 | | /// <param name='contentId'> |
| | | 350 | | /// Id/Name to identify the content submitted. |
| | | 351 | | /// </param> |
| | | 352 | | /// <param name='workflowName'> |
| | | 353 | | /// Workflow Name that you want to invoke. |
| | | 354 | | /// </param> |
| | | 355 | | /// <param name='jobContentType'> |
| | | 356 | | /// The content type. Possible values include: 'application/json', 'image/jpeg' |
| | | 357 | | /// </param> |
| | | 358 | | /// <param name='content'> |
| | | 359 | | /// Content to evaluate. |
| | | 360 | | /// </param> |
| | | 361 | | /// <param name='callBackEndpoint'> |
| | | 362 | | /// Callback endpoint for posting the create job result. |
| | | 363 | | /// </param> |
| | | 364 | | /// <param name='cancellationToken'> |
| | | 365 | | /// The cancellation token. |
| | | 366 | | /// </param> |
| | | 367 | | public static async Task<JobId> CreateJobAsync(this IReviews operations, string teamName, string contentType |
| | | 368 | | { |
| | 0 | 369 | | using (var _result = await operations.CreateJobWithHttpMessagesAsync(teamName, contentType, contentId, w |
| | | 370 | | { |
| | 0 | 371 | | return _result.Body; |
| | | 372 | | } |
| | 0 | 373 | | } |
| | | 374 | | |
| | | 375 | | /// <summary> |
| | | 376 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 377 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 378 | | /// on the specified CallBackEndpoint. |
| | | 379 | | /// |
| | | 380 | | /// <h3>CallBack Schemas </h3> |
| | | 381 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 382 | | /// <p> |
| | | 383 | | /// {<br/> |
| | | 384 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 385 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 386 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 387 | | /// "CallBackType": "Review",<br/> |
| | | 388 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 389 | | /// "Metadata": {<br/> |
| | | 390 | | /// "adultscore": "0.xxx",<br/> |
| | | 391 | | /// "a": "False",<br/> |
| | | 392 | | /// "racyscore": "0.xxx",<br/> |
| | | 393 | | /// "r": "True"<br/> |
| | | 394 | | /// },<br/> |
| | | 395 | | /// "ReviewerResultTags": {<br/> |
| | | 396 | | /// "a": "False",<br/> |
| | | 397 | | /// "r": "True"<br/> |
| | | 398 | | /// }<br/> |
| | | 399 | | /// }<br/> |
| | | 400 | | /// |
| | | 401 | | /// </p>. |
| | | 402 | | /// </summary> |
| | | 403 | | /// <param name='operations'> |
| | | 404 | | /// The operations group for this extension method. |
| | | 405 | | /// </param> |
| | | 406 | | /// <param name='teamName'> |
| | | 407 | | /// Your team name. |
| | | 408 | | /// </param> |
| | | 409 | | /// <param name='reviewId'> |
| | | 410 | | /// Id of the review. |
| | | 411 | | /// </param> |
| | | 412 | | /// <param name='timescale'> |
| | | 413 | | /// Timescale of the video you are adding frames to. |
| | | 414 | | /// </param> |
| | | 415 | | public static void AddVideoFrame(this IReviews operations, string teamName, string reviewId, int? timescale |
| | | 416 | | { |
| | 0 | 417 | | operations.AddVideoFrameAsync(teamName, reviewId, timescale).GetAwaiter().GetResult(); |
| | 0 | 418 | | } |
| | | 419 | | |
| | | 420 | | /// <summary> |
| | | 421 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 422 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 423 | | /// on the specified CallBackEndpoint. |
| | | 424 | | /// |
| | | 425 | | /// <h3>CallBack Schemas </h3> |
| | | 426 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 427 | | /// <p> |
| | | 428 | | /// {<br/> |
| | | 429 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 430 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 431 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 432 | | /// "CallBackType": "Review",<br/> |
| | | 433 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 434 | | /// "Metadata": {<br/> |
| | | 435 | | /// "adultscore": "0.xxx",<br/> |
| | | 436 | | /// "a": "False",<br/> |
| | | 437 | | /// "racyscore": "0.xxx",<br/> |
| | | 438 | | /// "r": "True"<br/> |
| | | 439 | | /// },<br/> |
| | | 440 | | /// "ReviewerResultTags": {<br/> |
| | | 441 | | /// "a": "False",<br/> |
| | | 442 | | /// "r": "True"<br/> |
| | | 443 | | /// }<br/> |
| | | 444 | | /// }<br/> |
| | | 445 | | /// |
| | | 446 | | /// </p>. |
| | | 447 | | /// </summary> |
| | | 448 | | /// <param name='operations'> |
| | | 449 | | /// The operations group for this extension method. |
| | | 450 | | /// </param> |
| | | 451 | | /// <param name='teamName'> |
| | | 452 | | /// Your team name. |
| | | 453 | | /// </param> |
| | | 454 | | /// <param name='reviewId'> |
| | | 455 | | /// Id of the review. |
| | | 456 | | /// </param> |
| | | 457 | | /// <param name='timescale'> |
| | | 458 | | /// Timescale of the video you are adding frames to. |
| | | 459 | | /// </param> |
| | | 460 | | /// <param name='cancellationToken'> |
| | | 461 | | /// The cancellation token. |
| | | 462 | | /// </param> |
| | | 463 | | public static async Task AddVideoFrameAsync(this IReviews operations, string teamName, string reviewId, int? |
| | | 464 | | { |
| | 0 | 465 | | (await operations.AddVideoFrameWithHttpMessagesAsync(teamName, reviewId, timescale, null, cancellationTo |
| | 0 | 466 | | } |
| | | 467 | | |
| | | 468 | | /// <summary> |
| | | 469 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 470 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 471 | | /// on the specified CallBackEndpoint. |
| | | 472 | | /// |
| | | 473 | | /// <h3>CallBack Schemas </h3> |
| | | 474 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 475 | | /// <p> |
| | | 476 | | /// {<br/> |
| | | 477 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 478 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 479 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 480 | | /// "CallBackType": "Review",<br/> |
| | | 481 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 482 | | /// "Metadata": {<br/> |
| | | 483 | | /// "adultscore": "0.xxx",<br/> |
| | | 484 | | /// "a": "False",<br/> |
| | | 485 | | /// "racyscore": "0.xxx",<br/> |
| | | 486 | | /// "r": "True"<br/> |
| | | 487 | | /// },<br/> |
| | | 488 | | /// "ReviewerResultTags": {<br/> |
| | | 489 | | /// "a": "False",<br/> |
| | | 490 | | /// "r": "True"<br/> |
| | | 491 | | /// }<br/> |
| | | 492 | | /// }<br/> |
| | | 493 | | /// |
| | | 494 | | /// </p>. |
| | | 495 | | /// </summary> |
| | | 496 | | /// <param name='operations'> |
| | | 497 | | /// The operations group for this extension method. |
| | | 498 | | /// </param> |
| | | 499 | | /// <param name='teamName'> |
| | | 500 | | /// Your team name. |
| | | 501 | | /// </param> |
| | | 502 | | /// <param name='reviewId'> |
| | | 503 | | /// Id of the review. |
| | | 504 | | /// </param> |
| | | 505 | | /// <param name='startSeed'> |
| | | 506 | | /// Time stamp of the frame from where you want to start fetching the frames. |
| | | 507 | | /// </param> |
| | | 508 | | /// <param name='noOfRecords'> |
| | | 509 | | /// Number of frames to fetch. |
| | | 510 | | /// </param> |
| | | 511 | | /// <param name='filter'> |
| | | 512 | | /// Get frames filtered by tags. |
| | | 513 | | /// </param> |
| | | 514 | | public static Frames GetVideoFrames(this IReviews operations, string teamName, string reviewId, int? startSe |
| | | 515 | | { |
| | 0 | 516 | | return operations.GetVideoFramesAsync(teamName, reviewId, startSeed, noOfRecords, filter).GetAwaiter().G |
| | | 517 | | } |
| | | 518 | | |
| | | 519 | | /// <summary> |
| | | 520 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 521 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 522 | | /// on the specified CallBackEndpoint. |
| | | 523 | | /// |
| | | 524 | | /// <h3>CallBack Schemas </h3> |
| | | 525 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 526 | | /// <p> |
| | | 527 | | /// {<br/> |
| | | 528 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 529 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 530 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 531 | | /// "CallBackType": "Review",<br/> |
| | | 532 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 533 | | /// "Metadata": {<br/> |
| | | 534 | | /// "adultscore": "0.xxx",<br/> |
| | | 535 | | /// "a": "False",<br/> |
| | | 536 | | /// "racyscore": "0.xxx",<br/> |
| | | 537 | | /// "r": "True"<br/> |
| | | 538 | | /// },<br/> |
| | | 539 | | /// "ReviewerResultTags": {<br/> |
| | | 540 | | /// "a": "False",<br/> |
| | | 541 | | /// "r": "True"<br/> |
| | | 542 | | /// }<br/> |
| | | 543 | | /// }<br/> |
| | | 544 | | /// |
| | | 545 | | /// </p>. |
| | | 546 | | /// </summary> |
| | | 547 | | /// <param name='operations'> |
| | | 548 | | /// The operations group for this extension method. |
| | | 549 | | /// </param> |
| | | 550 | | /// <param name='teamName'> |
| | | 551 | | /// Your team name. |
| | | 552 | | /// </param> |
| | | 553 | | /// <param name='reviewId'> |
| | | 554 | | /// Id of the review. |
| | | 555 | | /// </param> |
| | | 556 | | /// <param name='startSeed'> |
| | | 557 | | /// Time stamp of the frame from where you want to start fetching the frames. |
| | | 558 | | /// </param> |
| | | 559 | | /// <param name='noOfRecords'> |
| | | 560 | | /// Number of frames to fetch. |
| | | 561 | | /// </param> |
| | | 562 | | /// <param name='filter'> |
| | | 563 | | /// Get frames filtered by tags. |
| | | 564 | | /// </param> |
| | | 565 | | /// <param name='cancellationToken'> |
| | | 566 | | /// The cancellation token. |
| | | 567 | | /// </param> |
| | | 568 | | public static async Task<Frames> GetVideoFramesAsync(this IReviews operations, string teamName, string revie |
| | | 569 | | { |
| | 0 | 570 | | using (var _result = await operations.GetVideoFramesWithHttpMessagesAsync(teamName, reviewId, startSeed, |
| | | 571 | | { |
| | 0 | 572 | | return _result.Body; |
| | | 573 | | } |
| | 0 | 574 | | } |
| | | 575 | | |
| | | 576 | | /// <summary> |
| | | 577 | | /// Publish video review to make it available for review. |
| | | 578 | | /// </summary> |
| | | 579 | | /// <param name='operations'> |
| | | 580 | | /// The operations group for this extension method. |
| | | 581 | | /// </param> |
| | | 582 | | /// <param name='teamName'> |
| | | 583 | | /// Your team name. |
| | | 584 | | /// </param> |
| | | 585 | | /// <param name='reviewId'> |
| | | 586 | | /// Id of the review. |
| | | 587 | | /// </param> |
| | | 588 | | public static void PublishVideoReview(this IReviews operations, string teamName, string reviewId) |
| | | 589 | | { |
| | 0 | 590 | | operations.PublishVideoReviewAsync(teamName, reviewId).GetAwaiter().GetResult(); |
| | 0 | 591 | | } |
| | | 592 | | |
| | | 593 | | /// <summary> |
| | | 594 | | /// Publish video review to make it available for review. |
| | | 595 | | /// </summary> |
| | | 596 | | /// <param name='operations'> |
| | | 597 | | /// The operations group for this extension method. |
| | | 598 | | /// </param> |
| | | 599 | | /// <param name='teamName'> |
| | | 600 | | /// Your team name. |
| | | 601 | | /// </param> |
| | | 602 | | /// <param name='reviewId'> |
| | | 603 | | /// Id of the review. |
| | | 604 | | /// </param> |
| | | 605 | | /// <param name='cancellationToken'> |
| | | 606 | | /// The cancellation token. |
| | | 607 | | /// </param> |
| | | 608 | | public static async Task PublishVideoReviewAsync(this IReviews operations, string teamName, string reviewId, |
| | | 609 | | { |
| | 0 | 610 | | (await operations.PublishVideoReviewWithHttpMessagesAsync(teamName, reviewId, null, cancellationToken).C |
| | 0 | 611 | | } |
| | | 612 | | |
| | | 613 | | /// <summary> |
| | | 614 | | /// This API adds a transcript screen text result file for a video review. |
| | | 615 | | /// Transcript screen text result file is a result of Screen Text API . In |
| | | 616 | | /// order to generate transcript screen text result file , a transcript file |
| | | 617 | | /// has to be screened for profanity using Screen Text API. |
| | | 618 | | /// </summary> |
| | | 619 | | /// <param name='operations'> |
| | | 620 | | /// The operations group for this extension method. |
| | | 621 | | /// </param> |
| | | 622 | | /// <param name='contentType'> |
| | | 623 | | /// The content type. |
| | | 624 | | /// </param> |
| | | 625 | | /// <param name='teamName'> |
| | | 626 | | /// Your team name. |
| | | 627 | | /// </param> |
| | | 628 | | /// <param name='reviewId'> |
| | | 629 | | /// Id of the review. |
| | | 630 | | /// </param> |
| | | 631 | | /// <param name='transcriptModerationBody'> |
| | | 632 | | /// Body for add video transcript moderation result API |
| | | 633 | | /// </param> |
| | | 634 | | public static void AddVideoTranscriptModerationResult(this IReviews operations, string contentType, string t |
| | | 635 | | { |
| | 0 | 636 | | operations.AddVideoTranscriptModerationResultAsync(contentType, teamName, reviewId, transcriptModeration |
| | 0 | 637 | | } |
| | | 638 | | |
| | | 639 | | /// <summary> |
| | | 640 | | /// This API adds a transcript screen text result file for a video review. |
| | | 641 | | /// Transcript screen text result file is a result of Screen Text API . In |
| | | 642 | | /// order to generate transcript screen text result file , a transcript file |
| | | 643 | | /// has to be screened for profanity using Screen Text API. |
| | | 644 | | /// </summary> |
| | | 645 | | /// <param name='operations'> |
| | | 646 | | /// The operations group for this extension method. |
| | | 647 | | /// </param> |
| | | 648 | | /// <param name='contentType'> |
| | | 649 | | /// The content type. |
| | | 650 | | /// </param> |
| | | 651 | | /// <param name='teamName'> |
| | | 652 | | /// Your team name. |
| | | 653 | | /// </param> |
| | | 654 | | /// <param name='reviewId'> |
| | | 655 | | /// Id of the review. |
| | | 656 | | /// </param> |
| | | 657 | | /// <param name='transcriptModerationBody'> |
| | | 658 | | /// Body for add video transcript moderation result API |
| | | 659 | | /// </param> |
| | | 660 | | /// <param name='cancellationToken'> |
| | | 661 | | /// The cancellation token. |
| | | 662 | | /// </param> |
| | | 663 | | public static async Task AddVideoTranscriptModerationResultAsync(this IReviews operations, string contentTyp |
| | | 664 | | { |
| | 0 | 665 | | (await operations.AddVideoTranscriptModerationResultWithHttpMessagesAsync(contentType, teamName, reviewI |
| | 0 | 666 | | } |
| | | 667 | | |
| | | 668 | | /// <summary> |
| | | 669 | | /// This API adds a transcript file (text version of all the words spoken in a |
| | | 670 | | /// video) to a video review. The file should be a valid WebVTT format. |
| | | 671 | | /// </summary> |
| | | 672 | | /// <param name='operations'> |
| | | 673 | | /// The operations group for this extension method. |
| | | 674 | | /// </param> |
| | | 675 | | /// <param name='teamName'> |
| | | 676 | | /// Your team name. |
| | | 677 | | /// </param> |
| | | 678 | | /// <param name='reviewId'> |
| | | 679 | | /// Id of the review. |
| | | 680 | | /// </param> |
| | | 681 | | /// <param name='vTTfile'> |
| | | 682 | | /// Transcript file of the video. |
| | | 683 | | /// </param> |
| | | 684 | | public static void AddVideoTranscript(this IReviews operations, string teamName, string reviewId, Stream vTT |
| | | 685 | | { |
| | 0 | 686 | | operations.AddVideoTranscriptAsync(teamName, reviewId, vTTfile).GetAwaiter().GetResult(); |
| | 0 | 687 | | } |
| | | 688 | | |
| | | 689 | | /// <summary> |
| | | 690 | | /// This API adds a transcript file (text version of all the words spoken in a |
| | | 691 | | /// video) to a video review. The file should be a valid WebVTT format. |
| | | 692 | | /// </summary> |
| | | 693 | | /// <param name='operations'> |
| | | 694 | | /// The operations group for this extension method. |
| | | 695 | | /// </param> |
| | | 696 | | /// <param name='teamName'> |
| | | 697 | | /// Your team name. |
| | | 698 | | /// </param> |
| | | 699 | | /// <param name='reviewId'> |
| | | 700 | | /// Id of the review. |
| | | 701 | | /// </param> |
| | | 702 | | /// <param name='vTTfile'> |
| | | 703 | | /// Transcript file of the video. |
| | | 704 | | /// </param> |
| | | 705 | | /// <param name='cancellationToken'> |
| | | 706 | | /// The cancellation token. |
| | | 707 | | /// </param> |
| | | 708 | | public static async Task AddVideoTranscriptAsync(this IReviews operations, string teamName, string reviewId, |
| | | 709 | | { |
| | 0 | 710 | | (await operations.AddVideoTranscriptWithHttpMessagesAsync(teamName, reviewId, vTTfile, null, cancellatio |
| | 0 | 711 | | } |
| | | 712 | | |
| | | 713 | | /// <summary> |
| | | 714 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 715 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 716 | | /// on the specified CallBackEndpoint. |
| | | 717 | | /// |
| | | 718 | | /// <h3>CallBack Schemas </h3> |
| | | 719 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 720 | | /// <p> |
| | | 721 | | /// {<br/> |
| | | 722 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 723 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 724 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 725 | | /// "CallBackType": "Review",<br/> |
| | | 726 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 727 | | /// "Metadata": {<br/> |
| | | 728 | | /// "adultscore": "0.xxx",<br/> |
| | | 729 | | /// "a": "False",<br/> |
| | | 730 | | /// "racyscore": "0.xxx",<br/> |
| | | 731 | | /// "r": "True"<br/> |
| | | 732 | | /// },<br/> |
| | | 733 | | /// "ReviewerResultTags": {<br/> |
| | | 734 | | /// "a": "False",<br/> |
| | | 735 | | /// "r": "True"<br/> |
| | | 736 | | /// }<br/> |
| | | 737 | | /// }<br/> |
| | | 738 | | /// |
| | | 739 | | /// </p>. |
| | | 740 | | /// </summary> |
| | | 741 | | /// <param name='operations'> |
| | | 742 | | /// The operations group for this extension method. |
| | | 743 | | /// </param> |
| | | 744 | | /// <param name='contentType'> |
| | | 745 | | /// The content type. |
| | | 746 | | /// </param> |
| | | 747 | | /// <param name='teamName'> |
| | | 748 | | /// Your team name. |
| | | 749 | | /// </param> |
| | | 750 | | /// <param name='createVideoReviewsBody'> |
| | | 751 | | /// Body for create reviews API |
| | | 752 | | /// </param> |
| | | 753 | | /// <param name='subTeam'> |
| | | 754 | | /// SubTeam of your team, you want to assign the created review to. |
| | | 755 | | /// </param> |
| | | 756 | | public static IList<string> CreateVideoReviews(this IReviews operations, string contentType, string teamName |
| | | 757 | | { |
| | 0 | 758 | | return operations.CreateVideoReviewsAsync(contentType, teamName, createVideoReviewsBody, subTeam).GetAwa |
| | | 759 | | } |
| | | 760 | | |
| | | 761 | | /// <summary> |
| | | 762 | | /// The reviews created would show up for Reviewers on your team. As Reviewers |
| | | 763 | | /// complete reviewing, results of the Review would be POSTED (i.e. HTTP POST) |
| | | 764 | | /// on the specified CallBackEndpoint. |
| | | 765 | | /// |
| | | 766 | | /// <h3>CallBack Schemas </h3> |
| | | 767 | | /// <h4>Review Completion CallBack Sample</h4> |
| | | 768 | | /// <p> |
| | | 769 | | /// {<br/> |
| | | 770 | | /// "ReviewId": "<Review Id>",<br/> |
| | | 771 | | /// "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br/> |
| | | 772 | | /// "ModifiedBy": "<Name of the Reviewer>",<br/> |
| | | 773 | | /// "CallBackType": "Review",<br/> |
| | | 774 | | /// "ContentId": "<The ContentId that was specified input>",<br/> |
| | | 775 | | /// "Metadata": {<br/> |
| | | 776 | | /// "adultscore": "0.xxx",<br/> |
| | | 777 | | /// "a": "False",<br/> |
| | | 778 | | /// "racyscore": "0.xxx",<br/> |
| | | 779 | | /// "r": "True"<br/> |
| | | 780 | | /// },<br/> |
| | | 781 | | /// "ReviewerResultTags": {<br/> |
| | | 782 | | /// "a": "False",<br/> |
| | | 783 | | /// "r": "True"<br/> |
| | | 784 | | /// }<br/> |
| | | 785 | | /// }<br/> |
| | | 786 | | /// |
| | | 787 | | /// </p>. |
| | | 788 | | /// </summary> |
| | | 789 | | /// <param name='operations'> |
| | | 790 | | /// The operations group for this extension method. |
| | | 791 | | /// </param> |
| | | 792 | | /// <param name='contentType'> |
| | | 793 | | /// The content type. |
| | | 794 | | /// </param> |
| | | 795 | | /// <param name='teamName'> |
| | | 796 | | /// Your team name. |
| | | 797 | | /// </param> |
| | | 798 | | /// <param name='createVideoReviewsBody'> |
| | | 799 | | /// Body for create reviews API |
| | | 800 | | /// </param> |
| | | 801 | | /// <param name='subTeam'> |
| | | 802 | | /// SubTeam of your team, you want to assign the created review to. |
| | | 803 | | /// </param> |
| | | 804 | | /// <param name='cancellationToken'> |
| | | 805 | | /// The cancellation token. |
| | | 806 | | /// </param> |
| | | 807 | | public static async Task<IList<string>> CreateVideoReviewsAsync(this IReviews operations, string contentType |
| | | 808 | | { |
| | 0 | 809 | | using (var _result = await operations.CreateVideoReviewsWithHttpMessagesAsync(contentType, teamName, cre |
| | | 810 | | { |
| | 0 | 811 | | return _result.Body; |
| | | 812 | | } |
| | 0 | 813 | | } |
| | | 814 | | |
| | | 815 | | /// <summary> |
| | | 816 | | /// Use this method to add frames for a video review.Timescale: This parameter |
| | | 817 | | /// is a factor which is used to convert the timestamp on a frame into |
| | | 818 | | /// milliseconds. Timescale is provided in the output of the Content Moderator |
| | | 819 | | /// video media processor on the Azure Media Services platform.Timescale in the |
| | | 820 | | /// Video Moderation output is Ticks/Second. |
| | | 821 | | /// </summary> |
| | | 822 | | /// <param name='operations'> |
| | | 823 | | /// The operations group for this extension method. |
| | | 824 | | /// </param> |
| | | 825 | | /// <param name='contentType'> |
| | | 826 | | /// The content type. |
| | | 827 | | /// </param> |
| | | 828 | | /// <param name='teamName'> |
| | | 829 | | /// Your team name. |
| | | 830 | | /// </param> |
| | | 831 | | /// <param name='reviewId'> |
| | | 832 | | /// Id of the review. |
| | | 833 | | /// </param> |
| | | 834 | | /// <param name='videoFrameBody'> |
| | | 835 | | /// Body for add video frames API |
| | | 836 | | /// </param> |
| | | 837 | | /// <param name='timescale'> |
| | | 838 | | /// Timescale of the video. |
| | | 839 | | /// </param> |
| | | 840 | | public static void AddVideoFrameUrl(this IReviews operations, string contentType, string teamName, string re |
| | | 841 | | { |
| | 0 | 842 | | operations.AddVideoFrameUrlAsync(contentType, teamName, reviewId, videoFrameBody, timescale).GetAwaiter( |
| | 0 | 843 | | } |
| | | 844 | | |
| | | 845 | | /// <summary> |
| | | 846 | | /// Use this method to add frames for a video review.Timescale: This parameter |
| | | 847 | | /// is a factor which is used to convert the timestamp on a frame into |
| | | 848 | | /// milliseconds. Timescale is provided in the output of the Content Moderator |
| | | 849 | | /// video media processor on the Azure Media Services platform.Timescale in the |
| | | 850 | | /// Video Moderation output is Ticks/Second. |
| | | 851 | | /// </summary> |
| | | 852 | | /// <param name='operations'> |
| | | 853 | | /// The operations group for this extension method. |
| | | 854 | | /// </param> |
| | | 855 | | /// <param name='contentType'> |
| | | 856 | | /// The content type. |
| | | 857 | | /// </param> |
| | | 858 | | /// <param name='teamName'> |
| | | 859 | | /// Your team name. |
| | | 860 | | /// </param> |
| | | 861 | | /// <param name='reviewId'> |
| | | 862 | | /// Id of the review. |
| | | 863 | | /// </param> |
| | | 864 | | /// <param name='videoFrameBody'> |
| | | 865 | | /// Body for add video frames API |
| | | 866 | | /// </param> |
| | | 867 | | /// <param name='timescale'> |
| | | 868 | | /// Timescale of the video. |
| | | 869 | | /// </param> |
| | | 870 | | /// <param name='cancellationToken'> |
| | | 871 | | /// The cancellation token. |
| | | 872 | | /// </param> |
| | | 873 | | public static async Task AddVideoFrameUrlAsync(this IReviews operations, string contentType, string teamName |
| | | 874 | | { |
| | 0 | 875 | | (await operations.AddVideoFrameUrlWithHttpMessagesAsync(contentType, teamName, reviewId, videoFrameBody, |
| | 0 | 876 | | } |
| | | 877 | | |
| | | 878 | | /// <summary> |
| | | 879 | | /// Use this method to add frames for a video review.Timescale: This parameter |
| | | 880 | | /// is a factor which is used to convert the timestamp on a frame into |
| | | 881 | | /// milliseconds. Timescale is provided in the output of the Content Moderator |
| | | 882 | | /// video media processor on the Azure Media Services platform.Timescale in the |
| | | 883 | | /// Video Moderation output is Ticks/Second. |
| | | 884 | | /// </summary> |
| | | 885 | | /// <param name='operations'> |
| | | 886 | | /// The operations group for this extension method. |
| | | 887 | | /// </param> |
| | | 888 | | /// <param name='contentType'> |
| | | 889 | | /// The content type. |
| | | 890 | | /// </param> |
| | | 891 | | /// <param name='teamName'> |
| | | 892 | | /// Your team name. |
| | | 893 | | /// </param> |
| | | 894 | | /// <param name='reviewId'> |
| | | 895 | | /// Id of the review. |
| | | 896 | | /// </param> |
| | | 897 | | /// <param name='frameImageZip'> |
| | | 898 | | /// Zip file containing frame images. |
| | | 899 | | /// </param> |
| | | 900 | | /// <param name='frameMetadata'> |
| | | 901 | | /// Metadata of the frame. |
| | | 902 | | /// </param> |
| | | 903 | | /// <param name='timescale'> |
| | | 904 | | /// Timescale of the video . |
| | | 905 | | /// </param> |
| | | 906 | | public static void AddVideoFrameStream(this IReviews operations, string contentType, string teamName, string |
| | | 907 | | { |
| | 0 | 908 | | operations.AddVideoFrameStreamAsync(contentType, teamName, reviewId, frameImageZip, frameMetadata, times |
| | 0 | 909 | | } |
| | | 910 | | |
| | | 911 | | /// <summary> |
| | | 912 | | /// Use this method to add frames for a video review.Timescale: This parameter |
| | | 913 | | /// is a factor which is used to convert the timestamp on a frame into |
| | | 914 | | /// milliseconds. Timescale is provided in the output of the Content Moderator |
| | | 915 | | /// video media processor on the Azure Media Services platform.Timescale in the |
| | | 916 | | /// Video Moderation output is Ticks/Second. |
| | | 917 | | /// </summary> |
| | | 918 | | /// <param name='operations'> |
| | | 919 | | /// The operations group for this extension method. |
| | | 920 | | /// </param> |
| | | 921 | | /// <param name='contentType'> |
| | | 922 | | /// The content type. |
| | | 923 | | /// </param> |
| | | 924 | | /// <param name='teamName'> |
| | | 925 | | /// Your team name. |
| | | 926 | | /// </param> |
| | | 927 | | /// <param name='reviewId'> |
| | | 928 | | /// Id of the review. |
| | | 929 | | /// </param> |
| | | 930 | | /// <param name='frameImageZip'> |
| | | 931 | | /// Zip file containing frame images. |
| | | 932 | | /// </param> |
| | | 933 | | /// <param name='frameMetadata'> |
| | | 934 | | /// Metadata of the frame. |
| | | 935 | | /// </param> |
| | | 936 | | /// <param name='timescale'> |
| | | 937 | | /// Timescale of the video . |
| | | 938 | | /// </param> |
| | | 939 | | /// <param name='cancellationToken'> |
| | | 940 | | /// The cancellation token. |
| | | 941 | | /// </param> |
| | | 942 | | public static async Task AddVideoFrameStreamAsync(this IReviews operations, string contentType, string teamN |
| | | 943 | | { |
| | 0 | 944 | | (await operations.AddVideoFrameStreamWithHttpMessagesAsync(contentType, teamName, reviewId, frameImageZi |
| | 0 | 945 | | } |
| | | 946 | | |
| | | 947 | | } |
| | | 948 | | } |