/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='collateral'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> PutCarAsync(this ICollateral operations, Models.Presentation.Requests.Car.Car collateral, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PutCarWithHttpMessagesAsync(collateral, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='collateral'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <string> PostCarToCreditAgreementAsync(this ICollateral operations, string id, Models.Presentation.Requests.Car.Car collateral, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PostCarToCreditAgreementWithHttpMessagesAsync(id, collateral, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='collateral'> /// </param> public static object PutCar(this ICollateral operations, Models.Presentation.Requests.Car.Car collateral) { return(operations.PutCarAsync(collateral).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='collateral'> /// </param> public static string PostCarToCreditAgreement(this ICollateral operations, string id, Models.Presentation.Requests.Car.Car collateral) { return(operations.PostCarToCreditAgreementAsync(id, collateral).GetAwaiter().GetResult()); }