/// <summary> /// Product Types /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='responseCode'> /// The desired returned status code /// </param> /// <param name='product'> /// The only parameter /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Product> PutProductAsync(this ISwaggerDataTypesClient operations, string responseCode = default(string), Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PutProductWithHttpMessagesAsync(responseCode, product, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }