/// <summary> /// Logs a user comment on a Case Service. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='model'> /// Model identifying the case service and containing the comment detail. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ResQYttriumWebApiModelsResultModel> AddCommentAsync(this IService operations, ResQYttriumWebApiModelsCreateServiceCommentModel model, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.AddCommentWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }