/// <summary>
 /// Gets the published endpoint predictions for the given query. The current
 /// maximum query size is 500 characters.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='appId'>
 /// The identifier of the LUIS app used to extract the intents and entities. A
 /// LUIS app is identified by a GUID and is obtained from the LUIS portal.
 /// </param>
 /// <param name='q'>
 /// The query to extract intents and entities from.
 /// </param>
 /// <param name='staging'>
 /// A boolean value indicating whether to use the staging endpoint instead of
 /// the default production endpoint.
 /// </param>
 /// <param name='timezoneOffset'>
 /// The timezone offset for the location of the request in minutes.
 /// </param>
 /// <param name='verbose'>
 /// A boolean value indicating whether to return all intents instead of just
 /// the top-scoring intent.
 /// </param>
 /// <param name='log'>
 /// A boolean value indicating whether to log the query.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <AppResponseV2> LuisV20AppsByAppIdGetAsync(this ILuisCognitiveServiceAPI operations, System.Guid appId, string q, bool?staging = false, double?timezoneOffset = 0, bool?verbose = false, bool?log = true, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.LuisV20AppsByAppIdGetWithHttpMessagesAsync(appId, q, staging, timezoneOffset, verbose, log, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ContainerStatus> StatusGetAsync(this ILuisCognitiveServiceAPI operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.StatusGetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Gets the published endpoint predictions for the given query. The current
 /// maximum query size is 500 characters.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='appId'>
 /// The identifier of the LUIS app used to extract the intents and entities. A
 /// LUIS app is identified by a GUID and is obtained from the LUIS portal.
 /// </param>
 /// <param name='q'>
 /// The query to extract intents and entities from.
 /// </param>
 /// <param name='staging'>
 /// A boolean value indicating whether to use the staging endpoint instead of
 /// the default production endpoint.
 /// </param>
 /// <param name='timezoneOffset'>
 /// The timezone offset for the location of the request in minutes.
 /// </param>
 /// <param name='verbose'>
 /// A boolean value indicating whether to return all intents instead of just
 /// the top-scoring intent.
 /// </param>
 /// <param name='log'>
 /// A boolean value indicating whether to log the query.
 /// </param>
 public static AppResponseV2 LuisV20AppsByAppIdGet(this ILuisCognitiveServiceAPI operations, System.Guid appId, string q, bool?staging = false, double?timezoneOffset = 0, bool?verbose = false, bool?log = true)
 {
     return(operations.LuisV20AppsByAppIdGetAsync(appId, q, staging, timezoneOffset, verbose, log).GetAwaiter().GetResult());
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static ContainerStatus StatusGet(this ILuisCognitiveServiceAPI operations)
 {
     return(operations.StatusGetAsync().GetAwaiter().GetResult());
 }