/// <summary>
 /// Query for translations
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='projectName'>
 /// The name of the project
 /// </param>
 /// <param name='correlationId'>
 /// The prefix of the correlation id
 /// </param>
 /// <param name='query'>
 /// Search query
 /// </param>
 /// <param name='category'>
 /// Translation category
 /// </param>
 /// <param name='paginationToken'>
 /// A pagination token that was returned from the previous query with the same
 /// set of parameters
 /// </param>
 /// <param name='limit'>
 /// How many translations should be returned? Values above 250 are treated as
 /// if 250 was passed.
 /// </param>
 /// <param name='translatedOnly'>
 /// Return only the sentences which have corresponding translations
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <QueryTranslationsResult> QueryAsync(this IDidacticalEnigmaMem operations, string projectName = default(string), string correlationId = default(string), string query = default(string), string category = default(string), string paginationToken = default(string), int?limit = 50, bool?translatedOnly = false, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.QueryWithHttpMessagesAsync(projectName, correlationId, query, category, paginationToken, limit, translatedOnly, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }