/// <summary> /// Adds new pet stylesin the store. Duplicates are allowed /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='petStyle'> /// Pet style to add to the store /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <int?> > AddPetStylesAsync(this ISequenceRequestResponseTest operations, IList <int?> petStyle, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.AddPetStylesWithHttpMessagesAsync(petStyle, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Adds new pet stylesin the store. Duplicates are allowed /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='petStyle'> /// Pet style to add to the store /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task <System.Collections.Generic.IList <int?> > AddPetStylesAsync(this ISequenceRequestResponseTest operations, System.Collections.Generic.IList <int?> petStyle, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.AddPetStylesWithHttpMessagesAsync(petStyle, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }