forked from loafle/openapi-generator-original
update C# samples
This commit is contained in:
@@ -199,7 +199,7 @@ namespace Org.OpenAPITools.Api
|
||||
///
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -210,7 +210,7 @@ namespace Org.OpenAPITools.Api
|
||||
///
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -240,10 +240,10 @@ namespace Org.OpenAPITools.Api
|
||||
/// <returns>ApiResponse of Object(void)</returns>
|
||||
ApiResponse<Object> TestBodyWithQueryParamsWithHttpInfo (string query, User user);
|
||||
/// <summary>
|
||||
/// To test \"client\" model
|
||||
/// To test \"client\" model
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// To test \"client\" model
|
||||
/// To test \"client\" model
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
@@ -251,10 +251,10 @@ namespace Org.OpenAPITools.Api
|
||||
ModelClient TestClientModel (ModelClient modelClient);
|
||||
|
||||
/// <summary>
|
||||
/// To test \"client\" model
|
||||
/// To test \"client\" model
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// To test \"client\" model
|
||||
/// To test \"client\" model
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
@@ -642,7 +642,7 @@ namespace Org.OpenAPITools.Api
|
||||
///
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -654,7 +654,7 @@ namespace Org.OpenAPITools.Api
|
||||
///
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -687,10 +687,10 @@ namespace Org.OpenAPITools.Api
|
||||
/// <returns>Task of ApiResponse</returns>
|
||||
System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User user, CancellationToken cancellationToken = default(CancellationToken));
|
||||
/// <summary>
|
||||
/// To test \"client\" model
|
||||
/// To test \"client\" model
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// To test \"client\" model
|
||||
/// To test \"client\" model
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
@@ -702,7 +702,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// To test \"client\" model
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// To test \"client\" model
|
||||
/// To test \"client\" model
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
@@ -2187,7 +2187,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -2198,7 +2198,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -2259,7 +2259,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -2272,7 +2272,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// For this test, the body for this request must reference a schema named `File`.
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="fileSchemaTestClass"></param>
|
||||
@@ -2493,7 +2493,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
@@ -2505,7 +2505,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
@@ -2567,7 +2567,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
@@ -2581,7 +2581,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// To test \"client\" model To test \"client\" model
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="modelClient">client model</param>
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="status">Status values that need to be considered for filter (deprecated)</param>
|
||||
/// <returns>List<Pet></returns>
|
||||
/// <returns>List<Pet></returns>
|
||||
List<Pet> FindPetsByStatus (List<string> status);
|
||||
|
||||
/// <summary>
|
||||
@@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="status">Status values that need to be considered for filter (deprecated)</param>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status);
|
||||
/// <summary>
|
||||
/// Finds Pets by tags
|
||||
@@ -98,7 +98,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="tags">Tags to filter by</param>
|
||||
/// <returns>List<Pet></returns>
|
||||
/// <returns>List<Pet></returns>
|
||||
[Obsolete]
|
||||
List<Pet> FindPetsByTags (List<string> tags);
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="tags">Tags to filter by</param>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
[Obsolete]
|
||||
ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags);
|
||||
/// <summary>
|
||||
@@ -289,7 +289,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="status">Status values that need to be considered for filter (deprecated)</param>
|
||||
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, CancellationToken cancellationToken = default(CancellationToken));
|
||||
|
||||
/// <summary>
|
||||
@@ -312,7 +312,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="tags">Tags to filter by</param>
|
||||
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
[Obsolete]
|
||||
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, CancellationToken cancellationToken = default(CancellationToken));
|
||||
|
||||
@@ -881,7 +881,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="status">Status values that need to be considered for filter (deprecated)</param>
|
||||
/// <returns>List<Pet></returns>
|
||||
/// <returns>List<Pet></returns>
|
||||
public List<Pet> FindPetsByStatus (List<string> status)
|
||||
{
|
||||
ApiResponse<List<Pet>> localVarResponse = FindPetsByStatusWithHttpInfo(status);
|
||||
@@ -893,7 +893,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="status">Status values that need to be considered for filter (deprecated)</param>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
public ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status)
|
||||
{
|
||||
// verify the required parameter 'status' is set
|
||||
@@ -955,7 +955,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="status">Status values that need to be considered for filter (deprecated)</param>
|
||||
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, CancellationToken cancellationToken = default(CancellationToken))
|
||||
{
|
||||
ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken);
|
||||
@@ -1030,7 +1030,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="tags">Tags to filter by</param>
|
||||
/// <returns>List<Pet></returns>
|
||||
/// <returns>List<Pet></returns>
|
||||
[Obsolete]
|
||||
public List<Pet> FindPetsByTags (List<string> tags)
|
||||
{
|
||||
@@ -1043,7 +1043,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="tags">Tags to filter by</param>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
/// <returns>ApiResponse of List<Pet></returns>
|
||||
[Obsolete]
|
||||
public ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags)
|
||||
{
|
||||
@@ -1106,7 +1106,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="tags">Tags to filter by</param>
|
||||
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
/// <returns>Task of List<Pet></returns>
|
||||
[Obsolete]
|
||||
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, CancellationToken cancellationToken = default(CancellationToken))
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Delete purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -40,7 +40,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Delete purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -53,7 +53,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Returns a map of status codes to quantities
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <returns>Dictionary<string, int></returns>
|
||||
/// <returns>Dictionary<string, int></returns>
|
||||
Dictionary<string, int> GetInventory ();
|
||||
|
||||
/// <summary>
|
||||
@@ -63,13 +63,13 @@ namespace Org.OpenAPITools.Api
|
||||
/// Returns a map of status codes to quantities
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <returns>ApiResponse of Dictionary<string, int></returns>
|
||||
/// <returns>ApiResponse of Dictionary<string, int></returns>
|
||||
ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo ();
|
||||
/// <summary>
|
||||
/// Find purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
@@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Find purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
@@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Delete purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -125,7 +125,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Delete purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
|
||||
/// <returns>Task of Dictionary<string, int></returns>
|
||||
/// <returns>Task of Dictionary<string, int></returns>
|
||||
System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (CancellationToken cancellationToken = default(CancellationToken));
|
||||
|
||||
/// <summary>
|
||||
@@ -157,7 +157,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Find purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
@@ -169,7 +169,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Find purchase order by ID
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </remarks>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
@@ -311,7 +311,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -322,7 +322,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -375,7 +375,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -388,7 +388,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||
@@ -445,7 +445,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Returns pet inventories by status Returns a map of status codes to quantities
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <returns>Dictionary<string, int></returns>
|
||||
/// <returns>Dictionary<string, int></returns>
|
||||
public Dictionary<string, int> GetInventory ()
|
||||
{
|
||||
ApiResponse<Dictionary<string, int>> localVarResponse = GetInventoryWithHttpInfo();
|
||||
@@ -456,7 +456,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// Returns pet inventories by status Returns a map of status codes to quantities
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <returns>ApiResponse of Dictionary<string, int></returns>
|
||||
/// <returns>ApiResponse of Dictionary<string, int></returns>
|
||||
public ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo ()
|
||||
{
|
||||
|
||||
@@ -511,7 +511,7 @@ namespace Org.OpenAPITools.Api
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
|
||||
/// <returns>Task of Dictionary<string, int></returns>
|
||||
/// <returns>Task of Dictionary<string, int></returns>
|
||||
public async System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (CancellationToken cancellationToken = default(CancellationToken))
|
||||
{
|
||||
ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken);
|
||||
@@ -575,7 +575,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
@@ -587,7 +587,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
@@ -642,7 +642,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
@@ -656,7 +656,7 @@ namespace Org.OpenAPITools.Api
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
/// </summary>
|
||||
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
|
||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||
|
||||
Reference in New Issue
Block a user