/// <summary>
 /// Finds Pets by status
 /// </summary>
 /// Multiple status values can be provided with comma seperated strings
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='status'>
 /// Status values that need to be considered for filter
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <Pet> > FindPetsByStatusAsync(this ISwaggerPetstoreV2 operations, IList <string> status, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.FindPetsByStatusWithHttpMessagesAsync(status, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Finds Pets by status
 /// </summary>
 /// <remarks>
 /// Multiple status values can be provided with comma seperated strings
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='status'>
 /// Status values that need to be considered for filter
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <System.Collections.Generic.IList <Pet> > FindPetsByStatusAsync(this ISwaggerPetstoreV2 operations, System.Collections.Generic.IList <string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.FindPetsByStatusWithHttpMessagesAsync(status, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Finds Pets by status
 /// </summary>
 /// Multiple status values can be provided with comma seperated strings
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='status'>
 /// Status values that need to be considered for filter
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse <IList <Pet> > FindPetsByStatusWithHttpMessages(this ISwaggerPetstoreV2 operations, IList <string> status, Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.FindPetsByStatusWithHttpMessagesAsync(status, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }