[csharp-netcore] renamed async methods to end with async (#7062)

* renamed async methods to end with async

* update samples

* updated samples

* updated test to use new name

Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
devhl-labs 2020-08-06 06:49:53 -04:00 committed by GitHub
parent 227fb50b2b
commit 159936d85a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 828 additions and 903 deletions

View File

@ -76,7 +76,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param> {{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns> {{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
{{/operation}} {{/operation}}
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -383,9 +383,8 @@ namespace {{packageName}}.{{apiPackage}}
{{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns> {{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
{{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) {{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
{{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken); {{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);
return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}} return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}}
} }
/// <summary> /// <summary>
@ -395,7 +394,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param> {{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns> {{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
public async System.Threading.Tasks.Task<{{packageName}}.Client.ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<{{packageName}}.Client.ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
{{#allParams}} {{#allParams}}
{{#required}} {{#required}}

View File

@ -72,7 +72,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param> {{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
{{/allParams}}/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> {{/allParams}}/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns> /// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken));
{{/operation}} {{/operation}}
#endregion Asynchronous Operations #endregion Asynchronous Operations
{{/supportsAsync}} {{/supportsAsync}}
@ -340,8 +340,8 @@ namespace {{packageName}}.{{apiPackage}}
/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns> /// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
{{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken)) {{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken))
{ {
{{#returnType}}ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken); {{#returnType}}ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);
return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}} return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}}
} }
@ -352,7 +352,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param> {{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
{{/allParams}}/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> {{/allParams}}/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns> /// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
public async System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken))
{ {
{{#allParams}} {{#allParams}}
{{#required}} {{#required}}

View File

@ -200,13 +200,13 @@ namespace Org.OpenAPITools.Test
} }
/// <summary> /// <summary>
/// Test GetPetByIdAsyncWithHttpInfo /// Test GetPetByIdWithHttpInfoAsync
/// </summary> /// </summary>
[Fact] [Fact]
public void TestGetPetByIdAsyncWithHttpInfo() public void TestGetPetByIdWithHttpInfoAsync()
{ {
PetApi petApi = new PetApi(); PetApi petApi = new PetApi();
var task = petApi.GetPetByIdAsyncWithHttpInfo(petId); var task = petApi.GetPetByIdWithHttpInfoAsync(petId);
Assert.Equal(200, (int)task.Result.StatusCode); Assert.Equal(200, (int)task.Result.StatusCode);
Assert.True(task.Result.Headers.ContainsKey("Content-Type")); Assert.True(task.Result.Headers.ContainsKey("Content-Type"));

View File

@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -265,9 +265,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -277,7 +276,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -414,7 +414,7 @@ namespace Org.OpenAPITools.Api
/// <param name="xmlItem">XmlItem Body</param> /// <param name="xmlItem">XmlItem Body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -437,7 +437,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input boolean as post body (optional)</param> /// <param name="body">Input boolean as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (bool)</returns> /// <returns>Task of ApiResponse (bool)</returns>
System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -460,7 +460,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input composite as post body (optional)</param> /// <param name="body">Input composite as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (OuterComposite)</returns> /// <returns>Task of ApiResponse (OuterComposite)</returns>
System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -483,7 +483,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input number as post body (optional)</param> /// <param name="body">Input number as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (decimal)</returns> /// <returns>Task of ApiResponse (decimal)</returns>
System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -506,7 +506,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input string as post body (optional)</param> /// <param name="body">Input string as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -529,7 +529,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -556,7 +556,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test \&quot;client\&quot; model /// To test \&quot;client\&quot; model
/// </summary> /// </summary>
@ -579,7 +579,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
/// </summary> /// </summary>
@ -654,7 +654,7 @@ namespace Org.OpenAPITools.Api
/// <param name="callback">None (optional)</param> /// <param name="callback">None (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test enum parameters /// To test enum parameters
/// </summary> /// </summary>
@ -705,7 +705,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param> /// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersWithHttpInfoAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Fake endpoint to test group parameters (optional) /// Fake endpoint to test group parameters (optional)
/// </summary> /// </summary>
@ -748,7 +748,7 @@ namespace Org.OpenAPITools.Api
/// <param name="int64Group">Integer in group parameters (optional)</param> /// <param name="int64Group">Integer in group parameters (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// test inline additionalProperties /// test inline additionalProperties
/// </summary> /// </summary>
@ -771,7 +771,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param">request body</param> /// <param name="param">request body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// test json serialization of form data /// test json serialization of form data
/// </summary> /// </summary>
@ -798,7 +798,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataWithHttpInfoAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -837,7 +837,7 @@ namespace Org.OpenAPITools.Api
/// <param name="context"></param> /// <param name="context"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatWithHttpInfoAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -1026,8 +1026,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateXmlItemAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateXmlItemAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateXmlItemAsyncWithHttpInfo(xmlItem, cancellationToken); await CreateXmlItemWithHttpInfoAsync(xmlItem, cancellationToken);
} }
/// <summary> /// <summary>
@ -1037,7 +1036,7 @@ namespace Org.OpenAPITools.Api
/// <param name="xmlItem">XmlItem Body</param> /// <param name="xmlItem">XmlItem Body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'xmlItem' is set // verify the required parameter 'xmlItem' is set
if (xmlItem == null) if (xmlItem == null)
@ -1142,9 +1141,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of bool</returns> /// <returns>Task of bool</returns>
public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<bool> localVarResponse = await FakeOuterBooleanSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<bool> localVarResponse = await FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1154,7 +1152,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input boolean as post body (optional)</param> /// <param name="body">Input boolean as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (bool)</returns> /// <returns>Task of ApiResponse (bool)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<bool>> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1250,9 +1248,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of OuterComposite</returns> /// <returns>Task of OuterComposite</returns>
public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<OuterComposite> localVarResponse = await FakeOuterCompositeSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<OuterComposite> localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1262,7 +1259,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input composite as post body (optional)</param> /// <param name="body">Input composite as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (OuterComposite)</returns> /// <returns>Task of ApiResponse (OuterComposite)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<OuterComposite>> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1358,9 +1355,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of decimal</returns> /// <returns>Task of decimal</returns>
public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<decimal> localVarResponse = await FakeOuterNumberSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<decimal> localVarResponse = await FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1370,7 +1366,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input number as post body (optional)</param> /// <param name="body">Input number as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (decimal)</returns> /// <returns>Task of ApiResponse (decimal)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<decimal>> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1466,9 +1462,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of string</returns> /// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await FakeOuterStringSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1478,7 +1473,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input string as post body (optional)</param> /// <param name="body">Input string as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1577,8 +1572,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestBodyWithFileSchemaAsyncWithHttpInfo(body, cancellationToken); await TestBodyWithFileSchemaWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1588,7 +1582,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -1700,8 +1694,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestBodyWithQueryParamsAsyncWithHttpInfo(query, body, cancellationToken); await TestBodyWithQueryParamsWithHttpInfoAsync(query, body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1713,7 +1706,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
if (query == null) if (query == null)
@ -1823,9 +1816,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClientModelAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClientModelAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClientModelAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClientModelWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1835,7 +1827,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClientModelAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClientModelWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -2044,8 +2036,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestEndpointParametersAsyncWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken); await TestEndpointParametersWithHttpInfoAsync(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken);
} }
/// <summary> /// <summary>
@ -2081,7 +2072,7 @@ namespace Org.OpenAPITools.Api
/// <param name="callback">None (optional)</param> /// <param name="callback">None (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'patternWithoutDelimiter' is set // verify the required parameter 'patternWithoutDelimiter' is set
if (patternWithoutDelimiter == null) if (patternWithoutDelimiter == null)
@ -2292,8 +2283,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestEnumParametersAsyncWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken); await TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken);
} }
/// <summary> /// <summary>
@ -2317,7 +2307,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param> /// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEnumParametersWithHttpInfoAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -2476,8 +2466,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestGroupParametersAsyncWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken); await TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken);
} }
/// <summary> /// <summary>
@ -2497,7 +2486,7 @@ namespace Org.OpenAPITools.Api
/// <param name="int64Group">Integer in group parameters (optional)</param> /// <param name="int64Group">Integer in group parameters (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -2609,8 +2598,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestInlineAdditionalPropertiesAsyncWithHttpInfo(param, cancellationToken); await TestInlineAdditionalPropertiesWithHttpInfoAsync(param, cancellationToken);
} }
/// <summary> /// <summary>
@ -2620,7 +2608,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param">request body</param> /// <param name="param">request body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) if (param == null)
@ -2732,8 +2720,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestJsonFormDataAsyncWithHttpInfo(param, param2, cancellationToken); await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken);
} }
/// <summary> /// <summary>
@ -2745,7 +2732,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestJsonFormDataWithHttpInfoAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) if (param == null)
@ -2888,8 +2875,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestQueryParameterCollectionFormatAsyncWithHttpInfo(pipe, ioutil, http, url, context, cancellationToken); await TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken);
} }
/// <summary> /// <summary>
@ -2907,7 +2893,7 @@ namespace Org.OpenAPITools.Api
/// <param name="context"></param> /// <param name="context"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestQueryParameterCollectionFormatWithHttpInfoAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'pipe' is set // verify the required parameter 'pipe' is set
if (pipe == null) if (pipe == null)

View File

@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -270,9 +270,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -282,7 +281,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClassnameAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -261,7 +261,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> AddPetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
@ -288,7 +288,7 @@ namespace Org.OpenAPITools.Api
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
/// </summary> /// </summary>
@ -311,7 +311,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusWithHttpInfoAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
/// </summary> /// </summary>
@ -334,7 +334,7 @@ namespace Org.OpenAPITools.Api
/// <param name="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsWithHttpInfoAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
/// </summary> /// </summary>
@ -357,7 +357,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Pet)</returns> /// <returns>Task of ApiResponse (Pet)</returns>
System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdWithHttpInfoAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
/// </summary> /// </summary>
@ -380,7 +380,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
/// </summary> /// </summary>
@ -411,7 +411,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
/// </summary> /// </summary>
@ -442,7 +442,7 @@ namespace Org.OpenAPITools.Api
/// <param name="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
/// </summary> /// </summary>
@ -473,7 +473,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -664,8 +664,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task AddPetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task AddPetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await AddPetAsyncWithHttpInfo(body, cancellationToken); await AddPetWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -675,7 +674,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> AddPetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -794,8 +793,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await DeletePetAsyncWithHttpInfo(petId, apiKey, cancellationToken); await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken);
} }
/// <summary> /// <summary>
@ -807,7 +805,7 @@ namespace Org.OpenAPITools.Api
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -923,9 +921,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusAsyncWithHttpInfo(status, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -935,7 +932,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByStatusWithHttpInfoAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) if (status == null)
@ -1053,9 +1050,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsAsyncWithHttpInfo(tags, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1065,7 +1061,7 @@ namespace Org.OpenAPITools.Api
/// <param name="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByTagsWithHttpInfoAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) if (tags == null)
@ -1178,9 +1174,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Pet</returns> /// <returns>Task of Pet</returns>
public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = await GetPetByIdAsyncWithHttpInfo(petId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1190,7 +1185,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Pet)</returns> /// <returns>Task of ApiResponse (Pet)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Pet>> GetPetByIdWithHttpInfoAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1302,8 +1297,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdatePetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdatePetAsyncWithHttpInfo(body, cancellationToken); await UpdatePetWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1313,7 +1307,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -1441,8 +1435,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status, cancellationToken); await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken);
} }
/// <summary> /// <summary>
@ -1456,7 +1449,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1589,9 +1582,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileAsyncWithHttpInfo(petId, additionalMetadata, file, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1605,7 +1597,7 @@ namespace Org.OpenAPITools.Api
/// <param name="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1740,9 +1732,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileAsyncWithHttpInfo(petId, requiredFile, additionalMetadata, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1756,7 +1747,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'requiredFile' is set // verify the required parameter 'requiredFile' is set
if (requiredFile == null) if (requiredFile == null)

View File

@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderWithHttpInfoAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
/// </summary> /// </summary>
@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Api
/// </remarks> /// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns> /// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
/// </summary> /// </summary>
@ -182,7 +182,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdWithHttpInfoAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
/// </summary> /// </summary>
@ -205,7 +205,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">order placed for purchasing the pet</param> /// <param name="body">order placed for purchasing the pet</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderWithHttpInfoAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -388,8 +388,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await DeleteOrderAsyncWithHttpInfo(orderId, cancellationToken); await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken);
} }
/// <summary> /// <summary>
@ -399,7 +398,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteOrderWithHttpInfoAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) if (orderId == null)
@ -498,9 +497,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Dictionary&lt;string, int&gt;</returns> /// <returns>Task of Dictionary&lt;string, int&gt;</returns>
public async System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryAsyncWithHttpInfo(cancellationToken); Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -508,7 +506,7 @@ namespace Org.OpenAPITools.Api
/// </summary> /// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns> /// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>>> GetInventoryAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -609,9 +607,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await GetOrderByIdAsyncWithHttpInfo(orderId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -621,7 +618,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> GetOrderByIdWithHttpInfoAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -723,9 +720,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -735,7 +731,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">order placed for purchasing the pet</param> /// <param name="body">order placed for purchasing the pet</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> PlaceOrderWithHttpInfoAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -228,7 +228,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Created user object</param> /// <param name="body">Created user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserWithHttpInfoAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
@ -251,7 +251,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
@ -274,7 +274,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete user /// Delete user
/// </summary> /// </summary>
@ -297,7 +297,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
/// </summary> /// </summary>
@ -320,7 +320,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (User)</returns> /// <returns>Task of ApiResponse (User)</returns>
System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
/// </summary> /// </summary>
@ -347,7 +347,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<string>> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
/// </summary> /// </summary>
@ -366,7 +366,7 @@ namespace Org.OpenAPITools.Api
/// </remarks> /// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Updated user /// Updated user
/// </summary> /// </summary>
@ -393,7 +393,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Updated user object</param> /// <param name="body">Updated user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserWithHttpInfoAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -576,8 +576,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUserAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUserAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUserAsyncWithHttpInfo(body, cancellationToken); await CreateUserWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -587,7 +586,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Created user object</param> /// <param name="body">Created user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUserWithHttpInfoAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -688,8 +687,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithArrayInputAsyncWithHttpInfo(body, cancellationToken); await CreateUsersWithArrayInputWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -699,7 +697,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -800,8 +798,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithListInputAsyncWithHttpInfo(body, cancellationToken); await CreateUsersWithListInputWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -811,7 +808,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -912,8 +909,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await DeleteUserAsyncWithHttpInfo(username, cancellationToken); await DeleteUserWithHttpInfoAsync(username, cancellationToken);
} }
/// <summary> /// <summary>
@ -923,7 +919,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1027,9 +1023,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of User</returns> /// <returns>Task of User</returns>
public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = await GetUserByNameAsyncWithHttpInfo(username, cancellationToken); Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1039,7 +1034,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (User)</returns> /// <returns>Task of ApiResponse (User)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<User>> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1154,9 +1149,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of string</returns> /// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await LoginUserAsyncWithHttpInfo(username, password, cancellationToken); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1168,7 +1162,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1267,8 +1261,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await LogoutUserAsyncWithHttpInfo(cancellationToken); await LogoutUserWithHttpInfoAsync(cancellationToken);
} }
/// <summary> /// <summary>
@ -1276,7 +1269,7 @@ namespace Org.OpenAPITools.Api
/// </summary> /// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> LogoutUserAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1381,8 +1374,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdateUserAsyncWithHttpInfo(username, body, cancellationToken); await UpdateUserWithHttpInfoAsync(username, body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1394,7 +1386,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Updated user object</param> /// <param name="body">Updated user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateUserWithHttpInfoAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)

View File

@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -265,9 +265,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -277,7 +276,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -414,7 +414,7 @@ namespace Org.OpenAPITools.Api
/// <param name="xmlItem">XmlItem Body</param> /// <param name="xmlItem">XmlItem Body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -437,7 +437,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input boolean as post body (optional)</param> /// <param name="body">Input boolean as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (bool)</returns> /// <returns>Task of ApiResponse (bool)</returns>
System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -460,7 +460,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input composite as post body (optional)</param> /// <param name="body">Input composite as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (OuterComposite)</returns> /// <returns>Task of ApiResponse (OuterComposite)</returns>
System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -483,7 +483,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input number as post body (optional)</param> /// <param name="body">Input number as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (decimal)</returns> /// <returns>Task of ApiResponse (decimal)</returns>
System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -506,7 +506,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input string as post body (optional)</param> /// <param name="body">Input string as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -529,7 +529,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -556,7 +556,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test \&quot;client\&quot; model /// To test \&quot;client\&quot; model
/// </summary> /// </summary>
@ -579,7 +579,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
/// </summary> /// </summary>
@ -654,7 +654,7 @@ namespace Org.OpenAPITools.Api
/// <param name="callback">None (optional)</param> /// <param name="callback">None (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test enum parameters /// To test enum parameters
/// </summary> /// </summary>
@ -705,7 +705,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param> /// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersWithHttpInfoAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Fake endpoint to test group parameters (optional) /// Fake endpoint to test group parameters (optional)
/// </summary> /// </summary>
@ -748,7 +748,7 @@ namespace Org.OpenAPITools.Api
/// <param name="int64Group">Integer in group parameters (optional)</param> /// <param name="int64Group">Integer in group parameters (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// test inline additionalProperties /// test inline additionalProperties
/// </summary> /// </summary>
@ -771,7 +771,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param">request body</param> /// <param name="param">request body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// test json serialization of form data /// test json serialization of form data
/// </summary> /// </summary>
@ -798,7 +798,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataWithHttpInfoAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -837,7 +837,7 @@ namespace Org.OpenAPITools.Api
/// <param name="context"></param> /// <param name="context"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatWithHttpInfoAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -1026,8 +1026,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateXmlItemAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateXmlItemAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateXmlItemAsyncWithHttpInfo(xmlItem, cancellationToken); await CreateXmlItemWithHttpInfoAsync(xmlItem, cancellationToken);
} }
/// <summary> /// <summary>
@ -1037,7 +1036,7 @@ namespace Org.OpenAPITools.Api
/// <param name="xmlItem">XmlItem Body</param> /// <param name="xmlItem">XmlItem Body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'xmlItem' is set // verify the required parameter 'xmlItem' is set
if (xmlItem == null) if (xmlItem == null)
@ -1142,9 +1141,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of bool</returns> /// <returns>Task of bool</returns>
public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<bool> localVarResponse = await FakeOuterBooleanSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<bool> localVarResponse = await FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1154,7 +1152,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input boolean as post body (optional)</param> /// <param name="body">Input boolean as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (bool)</returns> /// <returns>Task of ApiResponse (bool)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<bool>> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1250,9 +1248,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of OuterComposite</returns> /// <returns>Task of OuterComposite</returns>
public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<OuterComposite> localVarResponse = await FakeOuterCompositeSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<OuterComposite> localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1262,7 +1259,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input composite as post body (optional)</param> /// <param name="body">Input composite as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (OuterComposite)</returns> /// <returns>Task of ApiResponse (OuterComposite)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<OuterComposite>> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1358,9 +1355,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of decimal</returns> /// <returns>Task of decimal</returns>
public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<decimal> localVarResponse = await FakeOuterNumberSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<decimal> localVarResponse = await FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1370,7 +1366,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input number as post body (optional)</param> /// <param name="body">Input number as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (decimal)</returns> /// <returns>Task of ApiResponse (decimal)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<decimal>> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1466,9 +1462,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of string</returns> /// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await FakeOuterStringSerializeAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1478,7 +1473,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input string as post body (optional)</param> /// <param name="body">Input string as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1577,8 +1572,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestBodyWithFileSchemaAsyncWithHttpInfo(body, cancellationToken); await TestBodyWithFileSchemaWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1588,7 +1582,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -1700,8 +1694,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestBodyWithQueryParamsAsyncWithHttpInfo(query, body, cancellationToken); await TestBodyWithQueryParamsWithHttpInfoAsync(query, body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1713,7 +1706,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
if (query == null) if (query == null)
@ -1823,9 +1816,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClientModelAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClientModelAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClientModelAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClientModelWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1835,7 +1827,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClientModelAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClientModelWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -2044,8 +2036,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestEndpointParametersAsyncWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken); await TestEndpointParametersWithHttpInfoAsync(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken);
} }
/// <summary> /// <summary>
@ -2081,7 +2072,7 @@ namespace Org.OpenAPITools.Api
/// <param name="callback">None (optional)</param> /// <param name="callback">None (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'patternWithoutDelimiter' is set // verify the required parameter 'patternWithoutDelimiter' is set
if (patternWithoutDelimiter == null) if (patternWithoutDelimiter == null)
@ -2292,8 +2283,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestEnumParametersAsyncWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken); await TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken);
} }
/// <summary> /// <summary>
@ -2317,7 +2307,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param> /// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestEnumParametersWithHttpInfoAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -2476,8 +2466,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestGroupParametersAsyncWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken); await TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken);
} }
/// <summary> /// <summary>
@ -2497,7 +2486,7 @@ namespace Org.OpenAPITools.Api
/// <param name="int64Group">Integer in group parameters (optional)</param> /// <param name="int64Group">Integer in group parameters (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -2609,8 +2598,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestInlineAdditionalPropertiesAsyncWithHttpInfo(param, cancellationToken); await TestInlineAdditionalPropertiesWithHttpInfoAsync(param, cancellationToken);
} }
/// <summary> /// <summary>
@ -2620,7 +2608,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param">request body</param> /// <param name="param">request body</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary<string, string> param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) if (param == null)
@ -2732,8 +2720,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestJsonFormDataAsyncWithHttpInfo(param, param2, cancellationToken); await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken);
} }
/// <summary> /// <summary>
@ -2745,7 +2732,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestJsonFormDataWithHttpInfoAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) if (param == null)
@ -2888,8 +2875,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await TestQueryParameterCollectionFormatAsyncWithHttpInfo(pipe, ioutil, http, url, context, cancellationToken); await TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken);
} }
/// <summary> /// <summary>
@ -2907,7 +2893,7 @@ namespace Org.OpenAPITools.Api
/// <param name="context"></param> /// <param name="context"></param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> TestQueryParameterCollectionFormatWithHttpInfoAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'pipe' is set // verify the required parameter 'pipe' is set
if (pipe == null) if (pipe == null)

View File

@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -270,9 +270,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -282,7 +281,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClassnameAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -261,7 +261,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> AddPetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
@ -288,7 +288,7 @@ namespace Org.OpenAPITools.Api
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
/// </summary> /// </summary>
@ -311,7 +311,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusWithHttpInfoAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
/// </summary> /// </summary>
@ -334,7 +334,7 @@ namespace Org.OpenAPITools.Api
/// <param name="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsWithHttpInfoAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
/// </summary> /// </summary>
@ -357,7 +357,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Pet)</returns> /// <returns>Task of ApiResponse (Pet)</returns>
System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdWithHttpInfoAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
/// </summary> /// </summary>
@ -380,7 +380,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
/// </summary> /// </summary>
@ -411,7 +411,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
/// </summary> /// </summary>
@ -442,7 +442,7 @@ namespace Org.OpenAPITools.Api
/// <param name="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
/// </summary> /// </summary>
@ -473,7 +473,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -664,8 +664,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task AddPetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task AddPetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await AddPetAsyncWithHttpInfo(body, cancellationToken); await AddPetWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -675,7 +674,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> AddPetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -794,8 +793,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await DeletePetAsyncWithHttpInfo(petId, apiKey, cancellationToken); await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken);
} }
/// <summary> /// <summary>
@ -807,7 +805,7 @@ namespace Org.OpenAPITools.Api
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -923,9 +921,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusAsyncWithHttpInfo(status, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -935,7 +932,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByStatusWithHttpInfoAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) if (status == null)
@ -1053,9 +1050,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsAsyncWithHttpInfo(tags, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1065,7 +1061,7 @@ namespace Org.OpenAPITools.Api
/// <param name="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<List<Pet>>> FindPetsByTagsWithHttpInfoAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) if (tags == null)
@ -1178,9 +1174,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Pet</returns> /// <returns>Task of Pet</returns>
public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = await GetPetByIdAsyncWithHttpInfo(petId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1190,7 +1185,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Pet)</returns> /// <returns>Task of ApiResponse (Pet)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Pet>> GetPetByIdWithHttpInfoAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1302,8 +1297,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdatePetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdatePetAsyncWithHttpInfo(body, cancellationToken); await UpdatePetWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1313,7 +1307,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -1441,8 +1435,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status, cancellationToken); await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken);
} }
/// <summary> /// <summary>
@ -1456,7 +1449,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1589,9 +1582,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileAsyncWithHttpInfo(petId, additionalMetadata, file, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1605,7 +1597,7 @@ namespace Org.OpenAPITools.Api
/// <param name="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1740,9 +1732,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileAsyncWithHttpInfo(petId, requiredFile, additionalMetadata, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1756,7 +1747,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiResponse>> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'requiredFile' is set // verify the required parameter 'requiredFile' is set
if (requiredFile == null) if (requiredFile == null)

View File

@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderWithHttpInfoAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
/// </summary> /// </summary>
@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Api
/// </remarks> /// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns> /// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
/// </summary> /// </summary>
@ -182,7 +182,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdWithHttpInfoAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
/// </summary> /// </summary>
@ -205,7 +205,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">order placed for purchasing the pet</param> /// <param name="body">order placed for purchasing the pet</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderWithHttpInfoAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -388,8 +388,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await DeleteOrderAsyncWithHttpInfo(orderId, cancellationToken); await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken);
} }
/// <summary> /// <summary>
@ -399,7 +398,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteOrderWithHttpInfoAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) if (orderId == null)
@ -498,9 +497,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Dictionary&lt;string, int&gt;</returns> /// <returns>Task of Dictionary&lt;string, int&gt;</returns>
public async System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryAsyncWithHttpInfo(cancellationToken); Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -508,7 +506,7 @@ namespace Org.OpenAPITools.Api
/// </summary> /// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns> /// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>>> GetInventoryAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -609,9 +607,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await GetOrderByIdAsyncWithHttpInfo(orderId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -621,7 +618,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> GetOrderByIdWithHttpInfoAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -723,9 +720,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderAsyncWithHttpInfo(body, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -735,7 +731,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">order placed for purchasing the pet</param> /// <param name="body">order placed for purchasing the pet</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> PlaceOrderWithHttpInfoAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -228,7 +228,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Created user object</param> /// <param name="body">Created user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserWithHttpInfoAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
@ -251,7 +251,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
@ -274,7 +274,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete user /// Delete user
/// </summary> /// </summary>
@ -297,7 +297,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
/// </summary> /// </summary>
@ -320,7 +320,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (User)</returns> /// <returns>Task of ApiResponse (User)</returns>
System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
/// </summary> /// </summary>
@ -347,7 +347,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<string>> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
/// </summary> /// </summary>
@ -366,7 +366,7 @@ namespace Org.OpenAPITools.Api
/// </remarks> /// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Updated user /// Updated user
/// </summary> /// </summary>
@ -393,7 +393,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Updated user object</param> /// <param name="body">Updated user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserWithHttpInfoAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -576,8 +576,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUserAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUserAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUserAsyncWithHttpInfo(body, cancellationToken); await CreateUserWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -587,7 +586,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Created user object</param> /// <param name="body">Created user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUserWithHttpInfoAsync (User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -688,8 +687,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithArrayInputAsyncWithHttpInfo(body, cancellationToken); await CreateUsersWithArrayInputWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -699,7 +697,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -800,8 +798,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithListInputAsyncWithHttpInfo(body, cancellationToken); await CreateUsersWithListInputWithHttpInfoAsync(body, cancellationToken);
} }
/// <summary> /// <summary>
@ -811,7 +808,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync (List<User> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -912,8 +909,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await DeleteUserAsyncWithHttpInfo(username, cancellationToken); await DeleteUserWithHttpInfoAsync(username, cancellationToken);
} }
/// <summary> /// <summary>
@ -923,7 +919,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1027,9 +1023,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of User</returns> /// <returns>Task of User</returns>
public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = await GetUserByNameAsyncWithHttpInfo(username, cancellationToken); Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1039,7 +1034,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (User)</returns> /// <returns>Task of ApiResponse (User)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<User>> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1154,9 +1149,8 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of string</returns> /// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await LoginUserAsyncWithHttpInfo(username, password, cancellationToken); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
/// <summary> /// <summary>
@ -1168,7 +1162,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1267,8 +1261,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await LogoutUserAsyncWithHttpInfo(cancellationToken); await LogoutUserWithHttpInfoAsync(cancellationToken);
} }
/// <summary> /// <summary>
@ -1276,7 +1269,7 @@ namespace Org.OpenAPITools.Api
/// </summary> /// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> LogoutUserAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1381,8 +1374,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdateUserAsyncWithHttpInfo(username, body, cancellationToken); await UpdateUserWithHttpInfoAsync(username, body, cancellationToken);
} }
/// <summary> /// <summary>
@ -1394,7 +1386,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Updated user object</param> /// <param name="body">Updated user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateUserWithHttpInfoAsync (string username, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)

View File

@ -70,7 +70,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -265,7 +265,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsAsyncWithHttpInfo(body, cancellationToken); ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -277,7 +277,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -405,7 +405,7 @@ namespace Org.OpenAPITools.Api
/// <param name="xmlItem">XmlItem Body</param> /// <param name="xmlItem">XmlItem Body</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -428,7 +428,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input boolean as post body (optional)</param> /// <param name="body">Input boolean as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (bool)</returns> /// <returns>Task of ApiResponse (bool)</returns>
System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -451,7 +451,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input composite as post body (optional)</param> /// <param name="body">Input composite as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (OuterComposite)</returns> /// <returns>Task of ApiResponse (OuterComposite)</returns>
System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -474,7 +474,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input number as post body (optional)</param> /// <param name="body">Input number as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (decimal)</returns> /// <returns>Task of ApiResponse (decimal)</returns>
System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -497,7 +497,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input string as post body (optional)</param> /// <param name="body">Input string as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -520,7 +520,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -545,7 +545,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// To test \&quot;client\&quot; model /// To test \&quot;client\&quot; model
/// </summary> /// </summary>
@ -568,7 +568,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelAsyncWithHttpInfo (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelWithHttpInfoAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
/// </summary> /// </summary>
@ -617,7 +617,7 @@ namespace Org.OpenAPITools.Api
/// <param name="callback">None (optional)</param> /// <param name="callback">None (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// To test enum parameters /// To test enum parameters
/// </summary> /// </summary>
@ -654,7 +654,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param> /// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersWithHttpInfoAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Fake endpoint to test group parameters (optional) /// Fake endpoint to test group parameters (optional)
/// </summary> /// </summary>
@ -687,7 +687,7 @@ namespace Org.OpenAPITools.Api
/// <param name="int64Group">Integer in group parameters (optional)</param> /// <param name="int64Group">Integer in group parameters (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// test inline additionalProperties /// test inline additionalProperties
/// </summary> /// </summary>
@ -710,7 +710,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param">request body</param> /// <param name="param">request body</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary<string, string> param, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary<string, string> param, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// test json serialization of form data /// test json serialization of form data
/// </summary> /// </summary>
@ -735,7 +735,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataWithHttpInfoAsync (string param, string param2, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -766,7 +766,7 @@ namespace Org.OpenAPITools.Api
/// <param name="context"></param> /// <param name="context"></param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatWithHttpInfoAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, CancellationToken cancellationToken = default(CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -964,7 +964,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateXmlItemAsync (XmlItem xmlItem, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task CreateXmlItemAsync (XmlItem xmlItem, CancellationToken cancellationToken = default(CancellationToken))
{ {
await CreateXmlItemAsyncWithHttpInfo(xmlItem, cancellationToken); await CreateXmlItemWithHttpInfoAsync(xmlItem, cancellationToken);
} }
@ -975,7 +975,7 @@ namespace Org.OpenAPITools.Api
/// <param name="xmlItem">XmlItem Body</param> /// <param name="xmlItem">XmlItem Body</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'xmlItem' is set // verify the required parameter 'xmlItem' is set
if (xmlItem == null) if (xmlItem == null)
@ -1114,7 +1114,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of bool</returns> /// <returns>Task of bool</returns>
public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool? body = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool? body = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<bool> localVarResponse = await FakeOuterBooleanSerializeAsyncWithHttpInfo(body, cancellationToken); ApiResponse<bool> localVarResponse = await FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1126,7 +1126,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input boolean as post body (optional)</param> /// <param name="body">Input boolean as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (bool)</returns> /// <returns>Task of ApiResponse (bool)</returns>
public async System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
{ {
var localVarPath = "/fake/outer/boolean"; var localVarPath = "/fake/outer/boolean";
@ -1257,7 +1257,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of OuterComposite</returns> /// <returns>Task of OuterComposite</returns>
public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite), CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<OuterComposite> localVarResponse = await FakeOuterCompositeSerializeAsyncWithHttpInfo(body, cancellationToken); ApiResponse<OuterComposite> localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1269,7 +1269,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input composite as post body (optional)</param> /// <param name="body">Input composite as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (OuterComposite)</returns> /// <returns>Task of ApiResponse (OuterComposite)</returns>
public async System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), CancellationToken cancellationToken = default(CancellationToken))
{ {
var localVarPath = "/fake/outer/composite"; var localVarPath = "/fake/outer/composite";
@ -1400,7 +1400,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of decimal</returns> /// <returns>Task of decimal</returns>
public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<decimal> localVarResponse = await FakeOuterNumberSerializeAsyncWithHttpInfo(body, cancellationToken); ApiResponse<decimal> localVarResponse = await FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1412,7 +1412,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input number as post body (optional)</param> /// <param name="body">Input number as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (decimal)</returns> /// <returns>Task of ApiResponse (decimal)</returns>
public async System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), CancellationToken cancellationToken = default(CancellationToken))
{ {
var localVarPath = "/fake/outer/number"; var localVarPath = "/fake/outer/number";
@ -1543,7 +1543,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of string</returns> /// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<string> localVarResponse = await FakeOuterStringSerializeAsyncWithHttpInfo(body, cancellationToken); ApiResponse<string> localVarResponse = await FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1555,7 +1555,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Input string as post body (optional)</param> /// <param name="body">Input string as post body (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
var localVarPath = "/fake/outer/string"; var localVarPath = "/fake/outer/string";
@ -1688,7 +1688,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestBodyWithFileSchemaAsyncWithHttpInfo(body, cancellationToken); await TestBodyWithFileSchemaWithHttpInfoAsync(body, cancellationToken);
} }
@ -1699,7 +1699,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -1842,7 +1842,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestBodyWithQueryParamsAsyncWithHttpInfo(query, body, cancellationToken); await TestBodyWithQueryParamsWithHttpInfoAsync(query, body, cancellationToken);
} }
@ -1854,7 +1854,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body"></param> /// <param name="body"></param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
if (query == null) if (query == null)
@ -1996,7 +1996,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClientModelAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClientModelAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<ModelClient> localVarResponse = await TestClientModelAsyncWithHttpInfo(body, cancellationToken); ApiResponse<ModelClient> localVarResponse = await TestClientModelWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -2008,7 +2008,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelAsyncWithHttpInfo (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClientModelWithHttpInfoAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -2205,7 +2205,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestEndpointParametersAsyncWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken); await TestEndpointParametersWithHttpInfoAsync(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken);
} }
@ -2229,7 +2229,7 @@ namespace Org.OpenAPITools.Api
/// <param name="callback">None (optional)</param> /// <param name="callback">None (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'number' is set // verify the required parameter 'number' is set
if (number == null) if (number == null)
@ -2404,7 +2404,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestEnumParametersAsyncWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken); await TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken);
} }
@ -2422,7 +2422,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param> /// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersWithHttpInfoAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
var localVarPath = "/fake"; var localVarPath = "/fake";
@ -2573,7 +2573,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestGroupParametersAsyncWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken); await TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken);
} }
@ -2589,7 +2589,7 @@ namespace Org.OpenAPITools.Api
/// <param name="int64Group">Integer in group parameters (optional)</param> /// <param name="int64Group">Integer in group parameters (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'requiredStringGroup' is set // verify the required parameter 'requiredStringGroup' is set
if (requiredStringGroup == null) if (requiredStringGroup == null)
@ -2728,7 +2728,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary<string, string> param, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary<string, string> param, CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestInlineAdditionalPropertiesAsyncWithHttpInfo(param, cancellationToken); await TestInlineAdditionalPropertiesWithHttpInfoAsync(param, cancellationToken);
} }
@ -2739,7 +2739,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param">request body</param> /// <param name="param">request body</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary<string, string> param, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary<string, string> param, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) if (param == null)
@ -2875,7 +2875,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestJsonFormDataAsyncWithHttpInfo(param, param2, cancellationToken); await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken);
} }
@ -2887,7 +2887,7 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataWithHttpInfoAsync (string param, string param2, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) if (param == null)
@ -3040,7 +3040,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, CancellationToken cancellationToken = default(CancellationToken))
{ {
await TestQueryParameterCollectionFormatAsyncWithHttpInfo(pipe, ioutil, http, url, context, cancellationToken); await TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken);
} }
@ -3055,7 +3055,7 @@ namespace Org.OpenAPITools.Api
/// <param name="context"></param> /// <param name="context"></param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatWithHttpInfoAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'pipe' is set // verify the required parameter 'pipe' is set
if (pipe == null) if (pipe == null)

View File

@ -70,7 +70,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameAsyncWithHttpInfo (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -270,7 +270,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<ModelClient> localVarResponse = await TestClassnameAsyncWithHttpInfo(body, cancellationToken); ApiResponse<ModelClient> localVarResponse = await TestClassnameWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -282,7 +282,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">client model</param> /// <param name="body">client model</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ModelClient)</returns> /// <returns>Task of ApiResponse (ModelClient)</returns>
public async System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameAsyncWithHttpInfo (ModelClient body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync (ModelClient body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -252,7 +252,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> AddPetWithHttpInfoAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
@ -277,7 +277,7 @@ namespace Org.OpenAPITools.Api
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
/// </summary> /// </summary>
@ -300,7 +300,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusWithHttpInfoAsync (List<string> status, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
/// </summary> /// </summary>
@ -323,7 +323,7 @@ namespace Org.OpenAPITools.Api
/// <param name="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsWithHttpInfoAsync (List<string> tags, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
/// </summary> /// </summary>
@ -346,7 +346,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Pet)</returns> /// <returns>Task of ApiResponse (Pet)</returns>
System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long petId, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdWithHttpInfoAsync (long petId, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
/// </summary> /// </summary>
@ -369,7 +369,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithHttpInfoAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
/// </summary> /// </summary>
@ -396,7 +396,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
/// </summary> /// </summary>
@ -423,7 +423,7 @@ namespace Org.OpenAPITools.Api
/// <param name="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
/// </summary> /// </summary>
@ -450,7 +450,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), CancellationToken cancellationToken = default(CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -650,7 +650,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task AddPetAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task AddPetAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await AddPetAsyncWithHttpInfo(body, cancellationToken); await AddPetWithHttpInfoAsync(body, cancellationToken);
} }
@ -661,7 +661,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetWithHttpInfoAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -806,7 +806,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
await DeletePetAsyncWithHttpInfo(petId, apiKey, cancellationToken); await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken);
} }
@ -818,7 +818,7 @@ namespace Org.OpenAPITools.Api
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) if (petId == null)
@ -954,7 +954,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusAsyncWithHttpInfo(status, cancellationToken); ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -966,7 +966,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusWithHttpInfoAsync (List<string> status, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) if (status == null)
@ -1103,7 +1103,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsAsyncWithHttpInfo(tags, cancellationToken); ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1115,7 +1115,7 @@ namespace Org.OpenAPITools.Api
/// <param name="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns> /// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsWithHttpInfoAsync (List<string> tags, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) if (tags == null)
@ -1251,7 +1251,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Pet</returns> /// <returns>Task of Pet</returns>
public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<Pet> localVarResponse = await GetPetByIdAsyncWithHttpInfo(petId, cancellationToken); ApiResponse<Pet> localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1263,7 +1263,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Pet)</returns> /// <returns>Task of ApiResponse (Pet)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long petId, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdWithHttpInfoAsync (long petId, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) if (petId == null)
@ -1405,7 +1405,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task UpdatePetAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await UpdatePetAsyncWithHttpInfo(body, cancellationToken); await UpdatePetWithHttpInfoAsync(body, cancellationToken);
} }
@ -1416,7 +1416,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Pet object that needs to be added to the store</param> /// <param name="body">Pet object that needs to be added to the store</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithHttpInfoAsync (Pet body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -1566,7 +1566,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status, cancellationToken); await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken);
} }
@ -1579,7 +1579,7 @@ namespace Org.OpenAPITools.Api
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) if (petId == null)
@ -1725,7 +1725,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<ApiResponse> localVarResponse = await UploadFileAsyncWithHttpInfo(petId, additionalMetadata, file, cancellationToken); ApiResponse<ApiResponse> localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1739,7 +1739,7 @@ namespace Org.OpenAPITools.Api
/// <param name="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) if (petId == null)
@ -1889,7 +1889,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileAsyncWithHttpInfo(petId, requiredFile, additionalMetadata, cancellationToken); ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1903,7 +1903,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (ApiResponse)</returns> /// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) if (petId == null)

View File

@ -131,7 +131,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderWithHttpInfoAsync (string orderId, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
/// </summary> /// </summary>
@ -152,7 +152,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns> /// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryAsyncWithHttpInfo (CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
/// </summary> /// </summary>
@ -175,7 +175,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (long orderId, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdWithHttpInfoAsync (long orderId, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
/// </summary> /// </summary>
@ -198,7 +198,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">order placed for purchasing the pet</param> /// <param name="body">order placed for purchasing the pet</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderWithHttpInfoAsync (Order body, CancellationToken cancellationToken = default(CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -383,7 +383,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, CancellationToken cancellationToken = default(CancellationToken))
{ {
await DeleteOrderAsyncWithHttpInfo(orderId, cancellationToken); await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken);
} }
@ -394,7 +394,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderWithHttpInfoAsync (string orderId, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) if (orderId == null)
@ -514,7 +514,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Dictionary&lt;string, int&gt;</returns> /// <returns>Task of Dictionary&lt;string, int&gt;</returns>
public async System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryAsyncWithHttpInfo(cancellationToken); ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -525,7 +525,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns> /// <returns>Task of ApiResponse (Dictionary&lt;string, int&gt;)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryAsyncWithHttpInfo (CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (CancellationToken cancellationToken = default(CancellationToken))
{ {
var localVarPath = "/store/inventory"; var localVarPath = "/store/inventory";
@ -650,7 +650,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<Order> localVarResponse = await GetOrderByIdAsyncWithHttpInfo(orderId, cancellationToken); ApiResponse<Order> localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -662,7 +662,7 @@ namespace Org.OpenAPITools.Api
/// <param name="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (long orderId, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdWithHttpInfoAsync (long orderId, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) if (orderId == null)
@ -794,7 +794,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<Order> localVarResponse = await PlaceOrderAsyncWithHttpInfo(body, cancellationToken); ApiResponse<Order> localVarResponse = await PlaceOrderWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -806,7 +806,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">order placed for purchasing the pet</param> /// <param name="body">order placed for purchasing the pet</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (Order)</returns> /// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderWithHttpInfoAsync (Order body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)

View File

@ -219,7 +219,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Created user object</param> /// <param name="body">Created user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserWithHttpInfoAsync (User body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
@ -265,7 +265,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Delete user /// Delete user
/// </summary> /// </summary>
@ -288,7 +288,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserWithHttpInfoAsync (string username, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
/// </summary> /// </summary>
@ -311,7 +311,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (User)</returns> /// <returns>Task of ApiResponse (User)</returns>
System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameWithHttpInfoAsync (string username, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
/// </summary> /// </summary>
@ -336,7 +336,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username, string password, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<string>> LoginUserWithHttpInfoAsync (string username, string password, CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
/// </summary> /// </summary>
@ -357,7 +357,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo (CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserWithHttpInfoAsync (CancellationToken cancellationToken = default(CancellationToken));
/// <summary> /// <summary>
/// Updated user /// Updated user
/// </summary> /// </summary>
@ -382,7 +382,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Updated user object</param> /// <param name="body">Updated user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body, CancellationToken cancellationToken = default(CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserWithHttpInfoAsync (string username, User body, CancellationToken cancellationToken = default(CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -574,7 +574,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUserAsync (User body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task CreateUserAsync (User body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await CreateUserAsyncWithHttpInfo(body, cancellationToken); await CreateUserWithHttpInfoAsync(body, cancellationToken);
} }
@ -585,7 +585,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Created user object</param> /// <param name="body">Created user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserWithHttpInfoAsync (User body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -719,7 +719,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await CreateUsersWithArrayInputAsyncWithHttpInfo(body, cancellationToken); await CreateUsersWithArrayInputWithHttpInfoAsync(body, cancellationToken);
} }
@ -730,7 +730,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await CreateUsersWithListInputAsyncWithHttpInfo(body, cancellationToken); await CreateUsersWithListInputWithHttpInfoAsync(body, cancellationToken);
} }
@ -875,7 +875,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">List of user object</param> /// <param name="body">List of user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync (List<User> body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) if (body == null)
@ -1002,7 +1002,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteUserAsync (string username, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task DeleteUserAsync (string username, CancellationToken cancellationToken = default(CancellationToken))
{ {
await DeleteUserAsyncWithHttpInfo(username, cancellationToken); await DeleteUserWithHttpInfoAsync(username, cancellationToken);
} }
@ -1013,7 +1013,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserWithHttpInfoAsync (string username, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1136,7 +1136,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of User</returns> /// <returns>Task of User</returns>
public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<User> localVarResponse = await GetUserByNameAsyncWithHttpInfo(username, cancellationToken); ApiResponse<User> localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1148,7 +1148,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (User)</returns> /// <returns>Task of ApiResponse (User)</returns>
public async System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameWithHttpInfoAsync (string username, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1280,7 +1280,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of string</returns> /// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, CancellationToken cancellationToken = default(CancellationToken))
{ {
ApiResponse<string> localVarResponse = await LoginUserAsyncWithHttpInfo(username, password, cancellationToken); ApiResponse<string> localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
} }
@ -1293,7 +1293,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse (string)</returns> /// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username, string password, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<string>> LoginUserWithHttpInfoAsync (string username, string password, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1412,7 +1412,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task LogoutUserAsync (CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task LogoutUserAsync (CancellationToken cancellationToken = default(CancellationToken))
{ {
await LogoutUserAsyncWithHttpInfo(cancellationToken); await LogoutUserWithHttpInfoAsync(cancellationToken);
} }
@ -1422,7 +1422,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo (CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserWithHttpInfoAsync (CancellationToken cancellationToken = default(CancellationToken))
{ {
var localVarPath = "/user/logout"; var localVarPath = "/user/logout";
@ -1552,7 +1552,7 @@ namespace Org.OpenAPITools.Api
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body, CancellationToken cancellationToken = default(CancellationToken))
{ {
await UpdateUserAsyncWithHttpInfo(username, body, cancellationToken); await UpdateUserWithHttpInfoAsync(username, body, cancellationToken);
} }
@ -1564,7 +1564,7 @@ namespace Org.OpenAPITools.Api
/// <param name="body">Updated user object</param> /// <param name="body">Updated user object</param>
/// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param> /// <param name="cancellationToken">Cancellation Token to cancel request (optional) </param>
/// <returns>Task of ApiResponse</returns> /// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body, CancellationToken cancellationToken = default(CancellationToken)) public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserWithHttpInfoAsync (string username, User body, CancellationToken cancellationToken = default(CancellationToken))
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)

View File

@ -9,11 +9,11 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
variables.ts variables.ts

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,11 +9,11 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
variables.ts variables.ts

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,11 +9,11 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
variables.ts variables.ts

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,11 +9,11 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
variables.ts variables.ts

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,11 +9,11 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
variables.ts variables.ts

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -9,11 +9,11 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
variables.ts variables.ts

View File

@ -9,12 +9,12 @@ configuration.ts
encoder.ts encoder.ts
git_push.sh git_push.sh
index.ts index.ts
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
ng-package.json ng-package.json
package.json package.json

View File

@ -5,10 +5,10 @@ api/petApi.ts
api/storeApi.ts api/storeApi.ts
api/userApi.ts api/userApi.ts
git_push.sh git_push.sh
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts

View File

@ -5,12 +5,12 @@ api/petApi.ts
api/storeApi.ts api/storeApi.ts
api/userApi.ts api/userApi.ts
git_push.sh git_push.sh
model/./apiResponse.ts model/apiResponse.ts
model/./category.ts model/category.ts
model/./order.ts model/order.ts
model/./pet.ts model/pet.ts
model/./tag.ts model/tag.ts
model/./user.ts model/user.ts
model/models.ts model/models.ts
package.json package.json
tsconfig.json tsconfig.json

View File

@ -1,80 +1,80 @@
/** /**
* OpenAPI Petstore * OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* Do not edit the class manually. * Do not edit the class manually.
*/ */
package org.openapitools.server.apis package org.openapitools.server.apis
import com.google.gson.Gson import com.google.gson.Gson
import io.ktor.application.call import io.ktor.application.call
import io.ktor.auth.UserIdPrincipal import io.ktor.auth.UserIdPrincipal
import io.ktor.auth.authentication import io.ktor.auth.authentication
import io.ktor.auth.authenticate import io.ktor.auth.authenticate
import io.ktor.auth.OAuthAccessTokenResponse import io.ktor.auth.OAuthAccessTokenResponse
import io.ktor.auth.OAuthServerSettings import io.ktor.auth.OAuthServerSettings
import io.ktor.http.ContentType import io.ktor.http.ContentType
import io.ktor.http.HttpStatusCode import io.ktor.http.HttpStatusCode
import io.ktor.locations.KtorExperimentalLocationsAPI import io.ktor.locations.KtorExperimentalLocationsAPI
import io.ktor.locations.delete import io.ktor.locations.delete
import io.ktor.locations.get import io.ktor.locations.get
import io.ktor.response.respond import io.ktor.response.respond
import io.ktor.response.respondText import io.ktor.response.respondText
import io.ktor.routing.Route import io.ktor.routing.Route
import io.ktor.routing.post import io.ktor.routing.post
import io.ktor.routing.put import io.ktor.routing.put
import io.ktor.routing.route import io.ktor.routing.route
import org.openapitools.server.Paths import org.openapitools.server.Paths
import org.openapitools.server.infrastructure.ApiPrincipal import org.openapitools.server.infrastructure.ApiPrincipal
import org.openapitools.server.models.ApiResponse import org.openapitools.server.models.ApiResponse
import org.openapitools.server.models.Pet import org.openapitools.server.models.Pet
@KtorExperimentalLocationsAPI @KtorExperimentalLocationsAPI
fun Route.PetApi() { fun Route.PetApi() {
val gson = Gson() val gson = Gson()
val empty = mutableMapOf<String, Any?>() val empty = mutableMapOf<String, Any?>()
route("/pet") { route("/pet") {
authenticate("petstore_auth") { authenticate("petstore_auth") {
post { post {
val principal = call.authentication.principal<OAuthAccessTokenResponse>() val principal = call.authentication.principal<OAuthAccessTokenResponse>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
} }
} }
delete<Paths.deletePet> { _: Paths.deletePet -> delete<Paths.deletePet> { _: Paths.deletePet ->
val principal = call.authentication.principal<OAuthAccessTokenResponse>() val principal = call.authentication.principal<OAuthAccessTokenResponse>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
get<Paths.findPetsByStatus> { _: Paths.findPetsByStatus -> get<Paths.findPetsByStatus> { _: Paths.findPetsByStatus ->
val principal = call.authentication.principal<OAuthAccessTokenResponse>() val principal = call.authentication.principal<OAuthAccessTokenResponse>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
val exampleContentType = "application/json" val exampleContentType = "application/json"
val exampleContentString = """{ val exampleContentString = """{
"photoUrls" : [ "photoUrls", "photoUrls" ], "photoUrls" : [ "photoUrls", "photoUrls" ],
"name" : "doggie", "name" : "doggie",
@ -91,24 +91,24 @@ fun Route.PetApi() {
"id" : 1 "id" : 1
} ], } ],
"status" : "available" "status" : "available"
}""" }"""
when(exampleContentType) { when(exampleContentType) {
"application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java)) "application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java))
"application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml) "application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml)
else -> call.respondText(exampleContentString) else -> call.respondText(exampleContentString)
} }
} }
} }
get<Paths.findPetsByTags> { _: Paths.findPetsByTags -> get<Paths.findPetsByTags> { _: Paths.findPetsByTags ->
val principal = call.authentication.principal<OAuthAccessTokenResponse>() val principal = call.authentication.principal<OAuthAccessTokenResponse>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
val exampleContentType = "application/json" val exampleContentType = "application/json"
val exampleContentString = """{ val exampleContentString = """{
"photoUrls" : [ "photoUrls", "photoUrls" ], "photoUrls" : [ "photoUrls", "photoUrls" ],
"name" : "doggie", "name" : "doggie",
@ -125,24 +125,24 @@ fun Route.PetApi() {
"id" : 1 "id" : 1
} ], } ],
"status" : "available" "status" : "available"
}""" }"""
when(exampleContentType) { when(exampleContentType) {
"application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java)) "application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java))
"application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml) "application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml)
else -> call.respondText(exampleContentString) else -> call.respondText(exampleContentString)
} }
} }
} }
get<Paths.getPetById> { _: Paths.getPetById -> get<Paths.getPetById> { _: Paths.getPetById ->
val principal = call.authentication.principal<ApiPrincipal>() val principal = call.authentication.principal<ApiPrincipal>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
val exampleContentType = "application/json" val exampleContentType = "application/json"
val exampleContentString = """{ val exampleContentString = """{
"photoUrls" : [ "photoUrls", "photoUrls" ], "photoUrls" : [ "photoUrls", "photoUrls" ],
"name" : "doggie", "name" : "doggie",
@ -159,70 +159,70 @@ fun Route.PetApi() {
"id" : 1 "id" : 1
} ], } ],
"status" : "available" "status" : "available"
}""" }"""
when(exampleContentType) { when(exampleContentType) {
"application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java)) "application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java))
"application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml) "application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml)
else -> call.respondText(exampleContentString) else -> call.respondText(exampleContentString)
} }
} }
} }
route("/pet") { route("/pet") {
authenticate("petstore_auth") { authenticate("petstore_auth") {
put { put {
val principal = call.authentication.principal<OAuthAccessTokenResponse>() val principal = call.authentication.principal<OAuthAccessTokenResponse>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
} }
} }
route("/pet/{petId}") { route("/pet/{petId}") {
authenticate("petstore_auth") { authenticate("petstore_auth") {
post { post {
val principal = call.authentication.principal<OAuthAccessTokenResponse>() val principal = call.authentication.principal<OAuthAccessTokenResponse>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
} }
} }
route("/pet/{petId}/uploadImage") { route("/pet/{petId}/uploadImage") {
authenticate("petstore_auth") { authenticate("petstore_auth") {
post { post {
val principal = call.authentication.principal<OAuthAccessTokenResponse>() val principal = call.authentication.principal<OAuthAccessTokenResponse>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
val exampleContentType = "application/json" val exampleContentType = "application/json"
val exampleContentString = """{ val exampleContentString = """{
"code" : 0, "code" : 0,
"type" : "type", "type" : "type",
"message" : "message" "message" : "message"
}""" }"""
when(exampleContentType) { when(exampleContentType) {
"application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java)) "application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java))
"application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml) "application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml)
else -> call.respondText(exampleContentString) else -> call.respondText(exampleContentString)
} }
} }
} }
} }
} }
} }

View File

@ -1,64 +1,64 @@
/** /**
* OpenAPI Petstore * OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* Do not edit the class manually. * Do not edit the class manually.
*/ */
package org.openapitools.server.apis package org.openapitools.server.apis
import com.google.gson.Gson import com.google.gson.Gson
import io.ktor.application.call import io.ktor.application.call
import io.ktor.auth.UserIdPrincipal import io.ktor.auth.UserIdPrincipal
import io.ktor.auth.authentication import io.ktor.auth.authentication
import io.ktor.auth.authenticate import io.ktor.auth.authenticate
import io.ktor.auth.OAuthAccessTokenResponse import io.ktor.auth.OAuthAccessTokenResponse
import io.ktor.auth.OAuthServerSettings import io.ktor.auth.OAuthServerSettings
import io.ktor.http.ContentType import io.ktor.http.ContentType
import io.ktor.http.HttpStatusCode import io.ktor.http.HttpStatusCode
import io.ktor.locations.KtorExperimentalLocationsAPI import io.ktor.locations.KtorExperimentalLocationsAPI
import io.ktor.locations.delete import io.ktor.locations.delete
import io.ktor.locations.get import io.ktor.locations.get
import io.ktor.response.respond import io.ktor.response.respond
import io.ktor.response.respondText import io.ktor.response.respondText
import io.ktor.routing.Route import io.ktor.routing.Route
import io.ktor.routing.post import io.ktor.routing.post
import io.ktor.routing.put import io.ktor.routing.put
import io.ktor.routing.route import io.ktor.routing.route
import org.openapitools.server.Paths import org.openapitools.server.Paths
import org.openapitools.server.infrastructure.ApiPrincipal import org.openapitools.server.infrastructure.ApiPrincipal
import org.openapitools.server.models.Order import org.openapitools.server.models.Order
@KtorExperimentalLocationsAPI @KtorExperimentalLocationsAPI
fun Route.StoreApi() { fun Route.StoreApi() {
val gson = Gson() val gson = Gson()
val empty = mutableMapOf<String, Any?>() val empty = mutableMapOf<String, Any?>()
delete<Paths.deleteOrder> { _: Paths.deleteOrder -> delete<Paths.deleteOrder> { _: Paths.deleteOrder ->
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
get<Paths.getInventory> { _: Paths.getInventory -> get<Paths.getInventory> { _: Paths.getInventory ->
val principal = call.authentication.principal<ApiPrincipal>() val principal = call.authentication.principal<ApiPrincipal>()
if (principal == null) { if (principal == null) {
call.respond(HttpStatusCode.Unauthorized) call.respond(HttpStatusCode.Unauthorized)
} else { } else {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
get<Paths.getOrderById> { _: Paths.getOrderById -> get<Paths.getOrderById> { _: Paths.getOrderById ->
val exampleContentType = "application/json" val exampleContentType = "application/json"
val exampleContentString = """{ val exampleContentString = """{
"petId" : 6, "petId" : 6,
"quantity" : 1, "quantity" : 1,
@ -66,19 +66,19 @@ fun Route.StoreApi() {
"shipDate" : "2000-01-23T04:56:07.000+00:00", "shipDate" : "2000-01-23T04:56:07.000+00:00",
"complete" : false, "complete" : false,
"status" : "placed" "status" : "placed"
}""" }"""
when(exampleContentType) { when(exampleContentType) {
"application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java)) "application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java))
"application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml) "application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml)
else -> call.respondText(exampleContentString) else -> call.respondText(exampleContentString)
} }
} }
route("/store/order") { route("/store/order") {
post { post {
val exampleContentType = "application/json" val exampleContentType = "application/json"
val exampleContentString = """{ val exampleContentString = """{
"petId" : 6, "petId" : 6,
"quantity" : 1, "quantity" : 1,
@ -86,14 +86,14 @@ fun Route.StoreApi() {
"shipDate" : "2000-01-23T04:56:07.000+00:00", "shipDate" : "2000-01-23T04:56:07.000+00:00",
"complete" : false, "complete" : false,
"status" : "placed" "status" : "placed"
}""" }"""
when(exampleContentType) { when(exampleContentType) {
"application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java)) "application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java))
"application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml) "application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml)
else -> call.respondText(exampleContentString) else -> call.respondText(exampleContentString)
} }
} }
} }
} }

View File

@ -1,74 +1,74 @@
/** /**
* OpenAPI Petstore * OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* Do not edit the class manually. * Do not edit the class manually.
*/ */
package org.openapitools.server.apis package org.openapitools.server.apis
import com.google.gson.Gson import com.google.gson.Gson
import io.ktor.application.call import io.ktor.application.call
import io.ktor.auth.UserIdPrincipal import io.ktor.auth.UserIdPrincipal
import io.ktor.auth.authentication import io.ktor.auth.authentication
import io.ktor.auth.authenticate import io.ktor.auth.authenticate
import io.ktor.auth.OAuthAccessTokenResponse import io.ktor.auth.OAuthAccessTokenResponse
import io.ktor.auth.OAuthServerSettings import io.ktor.auth.OAuthServerSettings
import io.ktor.http.ContentType import io.ktor.http.ContentType
import io.ktor.http.HttpStatusCode import io.ktor.http.HttpStatusCode
import io.ktor.locations.KtorExperimentalLocationsAPI import io.ktor.locations.KtorExperimentalLocationsAPI
import io.ktor.locations.delete import io.ktor.locations.delete
import io.ktor.locations.get import io.ktor.locations.get
import io.ktor.response.respond import io.ktor.response.respond
import io.ktor.response.respondText import io.ktor.response.respondText
import io.ktor.routing.Route import io.ktor.routing.Route
import io.ktor.routing.post import io.ktor.routing.post
import io.ktor.routing.put import io.ktor.routing.put
import io.ktor.routing.route import io.ktor.routing.route
import org.openapitools.server.Paths import org.openapitools.server.Paths
import org.openapitools.server.infrastructure.ApiPrincipal import org.openapitools.server.infrastructure.ApiPrincipal
import org.openapitools.server.models.User import org.openapitools.server.models.User
@KtorExperimentalLocationsAPI @KtorExperimentalLocationsAPI
fun Route.UserApi() { fun Route.UserApi() {
val gson = Gson() val gson = Gson()
val empty = mutableMapOf<String, Any?>() val empty = mutableMapOf<String, Any?>()
route("/user") { route("/user") {
post { post {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
route("/user/createWithArray") { route("/user/createWithArray") {
post { post {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
route("/user/createWithList") { route("/user/createWithList") {
post { post {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
delete<Paths.deleteUser> { _: Paths.deleteUser -> delete<Paths.deleteUser> { _: Paths.deleteUser ->
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
get<Paths.getUserByName> { _: Paths.getUserByName -> get<Paths.getUserByName> { _: Paths.getUserByName ->
val exampleContentType = "application/json" val exampleContentType = "application/json"
val exampleContentString = """{ val exampleContentString = """{
"firstName" : "firstName", "firstName" : "firstName",
"lastName" : "lastName", "lastName" : "lastName",
@ -78,30 +78,30 @@ fun Route.UserApi() {
"id" : 0, "id" : 0,
"email" : "email", "email" : "email",
"username" : "username" "username" : "username"
}""" }"""
when(exampleContentType) { when(exampleContentType) {
"application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java)) "application/json" -> call.respond(gson.fromJson(exampleContentString, empty::class.java))
"application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml) "application/xml" -> call.respondText(exampleContentString, ContentType.Text.Xml)
else -> call.respondText(exampleContentString) else -> call.respondText(exampleContentString)
} }
} }
get<Paths.loginUser> { _: Paths.loginUser -> get<Paths.loginUser> { _: Paths.loginUser ->
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
get<Paths.logoutUser> { _: Paths.logoutUser -> get<Paths.logoutUser> { _: Paths.logoutUser ->
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
route("/user/{username}") { route("/user/{username}") {
put { put {
call.respond(HttpStatusCode.NotImplemented) call.respond(HttpStatusCode.NotImplemented)
} }
} }
} }

View File

@ -1,26 +1,26 @@
./Api/ApiServer.php Api/ApiServer.php
./Api/PetApiInterface.php Api/PetApiInterface.php
./Api/StoreApiInterface.php Api/StoreApiInterface.php
./Api/UserApiInterface.php Api/UserApiInterface.php
./Controller/Controller.php Controller/Controller.php
./Controller/PetController.php Controller/PetController.php
./Controller/StoreController.php Controller/StoreController.php
./Controller/UserController.php Controller/UserController.php
./Model/ApiResponse.php Model/ApiResponse.php
./Model/Category.php Model/Category.php
./Model/Order.php Model/Order.php
./Model/Pet.php Model/Pet.php
./Model/Tag.php Model/Tag.php
./Model/User.php Model/User.php
./Service/JmsSerializer.php Service/JmsSerializer.php
./Service/SerializerInterface.php Service/SerializerInterface.php
./Service/StrictJsonDeserializationVisitor.php Service/StrictJsonDeserializationVisitor.php
./Service/SymfonyValidator.php Service/SymfonyValidator.php
./Service/TypeMismatchException.php Service/TypeMismatchException.php
./Service/ValidatorInterface.php Service/ValidatorInterface.php
./Tests/AppKernel.php Tests/AppKernel.php
./Tests/Controller/ControllerTest.php Tests/Controller/ControllerTest.php
./Tests/test_config.yml Tests/test_config.yml
.coveralls.yml .coveralls.yml
.gitignore .gitignore
.php_cs.dist .php_cs.dist