/// <summary> /// Sets a model as the default model /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='modelId'> /// The model id to set as default /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task SetDefaultModelAsync(this IModels operations, System.Guid modelId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { await operations.SetDefaultModelWithHttpMessagesAsync(modelId, null, cancellationToken).ConfigureAwait(false); }
/// <summary> /// Sets a model as the default model /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='modelId'> /// The model id to set as default /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task SetDefaultModelAsync(this IModels operations, Guid modelId, CancellationToken cancellationToken = default(CancellationToken)) { await operations.SetDefaultModelWithHttpMessagesAsync(modelId, null, cancellationToken).ConfigureAwait(false); }