/// <summary> /// Put complex types that extend others /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='complexBody'> /// Please put a siamese with id=2, name="Siameee", color=green, breed=persion, /// which hates 2 dogs, the 1st one named "Potato" with id=1 and food="tomato", /// and the 2nd one named "Tomato" with id=-1 and food="french fries". /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task PutValidAsync(this IInheritanceOperations operations, Siamese complexBody, CancellationToken cancellationToken = default(CancellationToken)) { await operations.PutValidWithHttpMessagesAsync(complexBody, null, cancellationToken).ConfigureAwait(false); }
/// <summary> /// Put complex types that extend others /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='complexBody'> /// Please put a siamese with id=2, name="Siameee", color=green, /// breed=persion, which hates 2 dogs, the 1st one named "Potato" with id=1 /// and food="tomato", and the 2nd one named "Tomato" with id=-1 and /// food="french fries". /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task PutValidAsync(this IInheritanceOperations operations, SiameseInner complexBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { await operations.PutValidWithHttpMessagesAsync(complexBody, null, cancellationToken).ConfigureAwait(false); }