/// <summary>
 /// Returns pet inventories by status
 /// </summary>
 /// <remarks>
 /// Returns a map of status codes to quantities
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IDictionary <string, int?> GetInventory(this ISwaggerPetstoreV2 operations)
 {
     return(operations.GetInventoryAsync().GetAwaiter().GetResult());
 }