Example #1
0
 /// <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> PutOtherCollateralAsync(this ICollateral operations, Models.Presentation.Requests.OtherCollateral.OtherCollateral collateral, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PutOtherCollateralWithHttpMessagesAsync(collateral, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Example #2
0
 /// <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> PostOtherCollateralToCreditagreementAsync(this ICollateral operations, string id, Models.Presentation.Requests.OtherCollateral.OtherCollateral collateral, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostOtherCollateralToCreditagreementWithHttpMessagesAsync(id, collateral, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Example #3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='collateral'>
 /// </param>
 public static object PutOtherCollateral(this ICollateral operations, Models.Presentation.Requests.OtherCollateral.OtherCollateral collateral)
 {
     return(operations.PutOtherCollateralAsync(collateral).GetAwaiter().GetResult());
 }
Example #4
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='collateral'>
 /// </param>
 public static string PostOtherCollateralToCreditagreement(this ICollateral operations, string id, Models.Presentation.Requests.OtherCollateral.OtherCollateral collateral)
 {
     return(operations.PostOtherCollateralToCreditagreementAsync(id, collateral).GetAwaiter().GetResult());
 }