[C#][csharp-netcore] Improvement to standard code format (#7206)

* [csharp-netcore] Improvement to standard code format

* Generate sample clients
This commit is contained in:
Tatsuro Shibamura 2020-08-14 13:26:09 +09:00 committed by GitHub
parent dc90adb539
commit b6f1f0172e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
130 changed files with 1801 additions and 1807 deletions

View File

@ -4,8 +4,6 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.IO; using System.IO;
{{^netStandard}} {{^netStandard}}
{{^supportsUWP}} {{^supportsUWP}}
@ -17,6 +15,8 @@ using System.Net;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters; using System.Runtime.Serialization.Formatters;
using System.Text; using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Serialization; using Newtonsoft.Json.Serialization;
using RestSharp; using RestSharp;
@ -65,7 +65,7 @@ namespace {{packageName}}.Client
public T Deserialize<T>(IRestResponse response) public T Deserialize<T>(IRestResponse response)
{ {
var result = (T) Deserialize(response, typeof(T)); var result = (T)Deserialize(response, typeof(T));
return result; return result;
} }
@ -420,7 +420,7 @@ namespace {{packageName}}.Client
if (response.Cookies != null && response.Cookies.Count > 0) if (response.Cookies != null && response.Cookies.Count > 0)
{ {
if(result.Cookies == null) result.Cookies = new List<Cookie>(); if (result.Cookies == null) result.Cookies = new List<Cookie>();
foreach (var restResponseCookie in response.Cookies) foreach (var restResponseCookie in response.Cookies)
{ {
var cookie = new Cookie( var cookie = new Cookie(
@ -491,7 +491,7 @@ namespace {{packageName}}.Client
if (response.Cookies != null && response.Cookies.Count > 0) if (response.Cookies != null && response.Cookies.Count > 0)
{ {
if(result.Cookies == null) result.Cookies = new List<Cookie>(); if (result.Cookies == null) result.Cookies = new List<Cookie>();
foreach (var restResponseCookie in response.Cookies) foreach (var restResponseCookie in response.Cookies)
{ {
var cookie = new Cookie( var cookie = new Cookie(

View File

@ -30,7 +30,7 @@ namespace {{packageName}}.Client
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiException"/> class. /// Initializes a new instance of the <see cref="ApiException"/> class.
/// </summary> /// </summary>
public ApiException() {} public ApiException() { }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiException"/> class. /// Initializes a new instance of the <see cref="ApiException"/> class.

View File

@ -103,7 +103,7 @@ namespace {{packageName}}.Client
/// <summary> /// <summary>
/// The raw content /// The raw content
/// </summary> /// </summary>
public string RawContent { get;} public string RawContent { get; }
#endregion Properties #endregion Properties

View File

@ -1,13 +1,13 @@
{{>partial_header}} {{>partial_header}}
using System; using System;
using System.Reflection;
{{^net35}} {{^net35}}
using System.Collections.Concurrent; using System.Collections.Concurrent;
{{/net35}} {{/net35}}
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection;
using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.X509Certificates;
using System.Text; using System.Text;
@ -149,9 +149,7 @@ namespace {{packageName}}.Client
/// </summary> /// </summary>
public virtual string BasePath { public virtual string BasePath {
get { return _basePath; } get { return _basePath; }
set { set { _basePath = value; }
_basePath = value;
}
} }
/// <summary> /// <summary>
@ -206,7 +204,7 @@ namespace {{packageName}}.Client
public string GetApiKeyWithPrefix(string apiKeyIdentifier) public string GetApiKeyWithPrefix(string apiKeyIdentifier)
{ {
string apiKeyValue; string apiKeyValue;
ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue);
string apiKeyPrefix; string apiKeyPrefix;
if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix))
{ {

View File

@ -13,7 +13,7 @@ namespace {{packageName}}.Client
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
IReadableConfiguration Configuration {get; set;} IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Gets the base path of the API client. /// Gets the base path of the API client.

View File

@ -32,7 +32,7 @@ namespace {{packageName}}.{{apiPackage}}
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
{{#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}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns> {{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
/// <summary> /// <summary>
/// {{summary}} /// {{summary}}
@ -43,7 +43,7 @@ namespace {{packageName}}.{{apiPackage}}
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
{{#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}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns> {{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
{{/operation}} {{/operation}}
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -68,7 +68,7 @@ namespace {{packageName}}.{{apiPackage}}
{{/allParams}} {{/allParams}}
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns> /// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
{{#returnType}}System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}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}}System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}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));
/// <summary> /// <summary>
/// {{summary}} /// {{summary}}
@ -82,7 +82,7 @@ namespace {{packageName}}.{{apiPackage}}
{{/allParams}} {{/allParams}}
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</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}}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)); 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
} }
@ -107,7 +107,7 @@ namespace {{packageName}}.{{apiPackage}}
/// Initializes a new instance of the <see cref="{{classname}}"/> class. /// Initializes a new instance of the <see cref="{{classname}}"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public {{classname}}() : this((string) null) public {{classname}}() : this((string)null)
{ {
} }
@ -156,13 +156,13 @@ namespace {{packageName}}.{{apiPackage}}
/// <param name="client">The client interface for synchronous API access.</param>{{#supportsAsync}} /// <param name="client">The client interface for synchronous API access.</param>{{#supportsAsync}}
/// <param name="asyncClient">The client interface for asynchronous API access.</param>{{/supportsAsync}} /// <param name="asyncClient">The client interface for asynchronous API access.</param>{{/supportsAsync}}
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public {{classname}}({{packageName}}.Client.ISynchronousClient client,{{#supportsAsync}}{{packageName}}.Client.IAsynchronousClient asyncClient,{{/supportsAsync}} {{packageName}}.Client.IReadableConfiguration configuration) public {{classname}}({{packageName}}.Client.ISynchronousClient client, {{#supportsAsync}}{{packageName}}.Client.IAsynchronousClient asyncClient, {{/supportsAsync}}{{packageName}}.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
{{#supportsAsync}} {{#supportsAsync}}
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
{{/supportsAsync}} {{/supportsAsync}}
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
{{#supportsAsync}} {{#supportsAsync}}
@ -197,7 +197,7 @@ namespace {{packageName}}.{{apiPackage}}
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public {{packageName}}.Client.IReadableConfiguration Configuration {get; set;} public {{packageName}}.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -222,7 +222,7 @@ namespace {{packageName}}.{{apiPackage}}
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
{{#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}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns> {{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
{ {
{{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); {{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
return localVarResponse.Data;{{/returnType}}{{^returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{/returnType}} return localVarResponse.Data;{{/returnType}}{{^returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{/returnType}}
@ -234,7 +234,7 @@ namespace {{packageName}}.{{apiPackage}}
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
{{#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}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns> {{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
public {{packageName}}.Client.ApiResponse<{{#returnType}} {{{returnType}}} {{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) public {{packageName}}.Client.ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
{ {
{{#allParams}} {{#allParams}}
{{#required}} {{#required}}
@ -372,7 +372,7 @@ namespace {{packageName}}.{{apiPackage}}
{{/authMethods}} {{/authMethods}}
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.{{#lambda.titlecase}}{{#lambda.lowercase}}{{httpMethod}}{{/lambda.lowercase}}{{/lambda.titlecase}}<{{#returnType}} {{{returnType}}} {{/returnType}}{{^returnType}}Object{{/returnType}}>("{{{path}}}", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.{{#lambda.titlecase}}{{#lambda.lowercase}}{{httpMethod}}{{/lambda.lowercase}}{{/lambda.titlecase}}<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>("{{{path}}}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -393,7 +393,7 @@ namespace {{packageName}}.{{apiPackage}}
{{/allParams}} {{/allParams}}
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <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}}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}}WithHttpInfoAsync({{#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}}WithHttpInfoAsync({{#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}}
@ -408,7 +408,7 @@ namespace {{packageName}}.{{apiPackage}}
{{/allParams}} {{/allParams}}
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns> /// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
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)) 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

@ -1,14 +1,14 @@
{{>partial_header}} {{>partial_header}}
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
{{#models}} {{#models}}

View File

@ -11,7 +11,7 @@
[JsonSubtypes.KnownSubType(typeof({{{modelName}}}), "{{{mappingName}}}")] [JsonSubtypes.KnownSubType(typeof({{{modelName}}}), "{{{mappingName}}}")]
{{/mappedModels}} {{/mappedModels}}
{{/discriminator}} {{/discriminator}}
{{>visibility}} partial class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}>{{#validatable}}, IValidatableObject{{/validatable}} {{>visibility}} partial class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}}IEquatable<{{classname}}>{{#validatable}}, IValidatableObject{{/validatable}}
{ {
{{#vars}} {{#vars}}
{{#items.isEnum}} {{#items.isEnum}}
@ -33,7 +33,7 @@
{{#description}} {{#description}}
/// <value>{{description}}</value> /// <value>{{description}}</value>
{{/description}} {{/description}}
[DataMember(Name="{{baseName}}", EmitDefaultValue={{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})] [DataMember(Name = "{{baseName}}", EmitDefaultValue = {{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})]
public {{#complexType}}{{{complexType}}}{{/complexType}}{{^complexType}}{{{datatypeWithEnum}}}{{/complexType}}{{^isContainer}}{{^required}}?{{/required}}{{/isContainer}} {{name}} { get; set; } public {{#complexType}}{{{complexType}}}{{/complexType}}{{^complexType}}{{{datatypeWithEnum}}}{{/complexType}}{{^isContainer}}{{^required}}?{{/required}}{{/isContainer}} {{name}} { get; set; }
{{/isEnum}} {{/isEnum}}
{{/vars}} {{/vars}}
@ -101,7 +101,7 @@
/// {{^description}}Gets or Sets {{{name}}}{{/description}}{{#description}}{{description}}{{/description}} /// {{^description}}Gets or Sets {{{name}}}{{/description}}{{#description}}{{description}}{{/description}}
/// </summary>{{#description}} /// </summary>{{#description}}
/// <value>{{description}}</value>{{/description}} /// <value>{{description}}</value>{{/description}}
[DataMember(Name="{{baseName}}", EmitDefaultValue={{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})]{{#isDate}} [DataMember(Name = "{{baseName}}", EmitDefaultValue = {{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})]{{#isDate}}
[JsonConverter(typeof(OpenAPIDateConverter))]{{/isDate}} [JsonConverter(typeof(OpenAPIDateConverter))]{{/isDate}}
public {{{dataType}}} {{name}} { get; {{#isReadOnly}}private {{/isReadOnly}}set; } public {{{dataType}}} {{name}} { get; {{#isReadOnly}}private {{/isReadOnly}}set; }

View File

@ -35,7 +35,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
ModelClient Call123TestSpecialTags (ModelClient modelClient); ModelClient Call123TestSpecialTags(ModelClient modelClient);
/// <summary> /// <summary>
/// To test special tags /// To test special tags
@ -46,7 +46,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
ApiResponse<ModelClient> Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient); ApiResponse<ModelClient> Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test special tags /// To test special tags
@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="AnotherFakeApi"/> class. /// Initializes a new instance of the <see cref="AnotherFakeApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public AnotherFakeApi() : this((string) null) public AnotherFakeApi() : this((string)null)
{ {
} }
@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -205,7 +205,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
public ModelClient Call123TestSpecialTags (ModelClient modelClient) public ModelClient Call123TestSpecialTags(ModelClient modelClient)
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient);
return localVarResponse.Data; return localVarResponse.Data;
@ -217,7 +217,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
public Org.OpenAPITools.Client.ApiResponse< ModelClient > Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient) public Org.OpenAPITools.Client.ApiResponse<ModelClient> Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient)
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)
@ -244,7 +244,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Patch< ModelClient >("/another-fake/dummy", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Patch<ModelClient>("/another-fake/dummy", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -262,7 +262,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -275,7 +275,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)

View File

@ -31,7 +31,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>InlineResponseDefault</returns> /// <returns>InlineResponseDefault</returns>
InlineResponseDefault FooGet (); InlineResponseDefault FooGet();
/// <summary> /// <summary>
/// ///
@ -41,7 +41,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>ApiResponse of InlineResponseDefault</returns> /// <returns>ApiResponse of InlineResponseDefault</returns>
ApiResponse<InlineResponseDefault> FooGetWithHttpInfo (); ApiResponse<InlineResponseDefault> FooGetWithHttpInfo();
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -60,7 +60,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of InlineResponseDefault</returns> /// <returns>Task of InlineResponseDefault</returns>
System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
@ -71,7 +71,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (InlineResponseDefault)</returns> /// <returns>Task of ApiResponse (InlineResponseDefault)</returns>
System.Threading.Tasks.Task<ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="DefaultApi"/> class. /// Initializes a new instance of the <see cref="DefaultApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public DefaultApi() : this((string) null) public DefaultApi() : this((string)null)
{ {
} }
@ -139,11 +139,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -174,7 +174,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -197,7 +197,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>InlineResponseDefault</returns> /// <returns>InlineResponseDefault</returns>
public InlineResponseDefault FooGet () public InlineResponseDefault FooGet()
{ {
Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = FooGetWithHttpInfo(); Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = FooGetWithHttpInfo();
return localVarResponse.Data; return localVarResponse.Data;
@ -208,7 +208,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>ApiResponse of InlineResponseDefault</returns> /// <returns>ApiResponse of InlineResponseDefault</returns>
public Org.OpenAPITools.Client.ApiResponse< InlineResponseDefault > FooGetWithHttpInfo () public Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> FooGetWithHttpInfo()
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -229,7 +229,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< InlineResponseDefault >("/foo", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<InlineResponseDefault>("/foo", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -246,7 +246,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of InlineResponseDefault</returns> /// <returns>Task of InlineResponseDefault</returns>
public async System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken); Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -258,7 +258,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (InlineResponseDefault)</returns> /// <returns>Task of ApiResponse (InlineResponseDefault)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync(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();

View File

@ -35,7 +35,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
ModelClient TestClassname (ModelClient modelClient); ModelClient TestClassname(ModelClient modelClient);
/// <summary> /// <summary>
/// To test class name in snake case /// To test class name in snake case
@ -46,7 +46,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
ApiResponse<ModelClient> TestClassnameWithHttpInfo (ModelClient modelClient); ApiResponse<ModelClient> TestClassnameWithHttpInfo(ModelClient modelClient);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ModelClient> TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test class name in snake case /// To test class name in snake case
@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="FakeClassnameTags123Api"/> class. /// Initializes a new instance of the <see cref="FakeClassnameTags123Api"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public FakeClassnameTags123Api() : this((string) null) public FakeClassnameTags123Api() : this((string)null)
{ {
} }
@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -205,7 +205,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
public ModelClient TestClassname (ModelClient modelClient) public ModelClient TestClassname(ModelClient modelClient)
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = TestClassnameWithHttpInfo(modelClient); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = TestClassnameWithHttpInfo(modelClient);
return localVarResponse.Data; return localVarResponse.Data;
@ -217,7 +217,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
public Org.OpenAPITools.Client.ApiResponse< ModelClient > TestClassnameWithHttpInfo (ModelClient modelClient) public Org.OpenAPITools.Client.ApiResponse<ModelClient> TestClassnameWithHttpInfo(ModelClient modelClient)
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)
@ -249,7 +249,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Patch< ModelClient >("/fake_classname_test", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Patch<ModelClient>("/fake_classname_test", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -267,7 +267,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -280,7 +280,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)

View File

@ -32,7 +32,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
void AddPet (Pet pet); void AddPet(Pet pet);
/// <summary> /// <summary>
/// Add a new pet to the store /// Add a new pet to the store
@ -43,7 +43,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> AddPetWithHttpInfo (Pet pet); ApiResponse<Object> AddPetWithHttpInfo(Pet pet);
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
@ -51,7 +51,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns></returns> /// <returns></returns>
void DeletePet (long petId, string apiKey = default(string)); void DeletePet(long petId, string apiKey = default(string));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = default(string)); ApiResponse<Object> DeletePetWithHttpInfo(long petId, string apiKey = default(string));
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
/// </summary> /// </summary>
@ -73,7 +73,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
List<Pet> FindPetsByStatus (List<string> status); List<Pet> FindPetsByStatus(List<string> status);
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
@ -84,7 +84,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status); ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo(List<string> status);
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
/// </summary> /// </summary>
@ -94,7 +94,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
List<Pet> FindPetsByTags (List<string> tags); List<Pet> FindPetsByTags(List<string> tags);
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
@ -105,7 +105,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags); ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo(List<string> tags);
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
/// </summary> /// </summary>
@ -115,7 +115,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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>Pet</returns> /// <returns>Pet</returns>
Pet GetPetById (long petId); Pet GetPetById(long petId);
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
@ -126,14 +126,14 @@ 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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>ApiResponse of Pet</returns> /// <returns>ApiResponse of Pet</returns>
ApiResponse<Pet> GetPetByIdWithHttpInfo (long petId); ApiResponse<Pet> GetPetByIdWithHttpInfo(long petId);
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
/// </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>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
void UpdatePet (Pet pet); void UpdatePet(Pet pet);
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
@ -144,7 +144,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdatePetWithHttpInfo (Pet pet); ApiResponse<Object> UpdatePetWithHttpInfo(Pet pet);
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
/// </summary> /// </summary>
@ -153,7 +153,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns></returns> /// <returns></returns>
void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)); void UpdatePetWithForm(long petId, string name = default(string), string status = default(string));
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
@ -166,7 +166,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)); ApiResponse<Object> UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
/// </summary> /// </summary>
@ -175,7 +175,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
@ -188,7 +188,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
ApiResponse<ApiResponse> UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); ApiResponse<ApiResponse> UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
/// </summary> /// </summary>
@ -197,7 +197,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
@ -210,7 +210,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -230,7 +230,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Add a new pet to the store /// Add a new pet to the store
@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
@ -254,7 +254,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task DeletePetAsync(long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
@ -267,7 +267,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>> DeletePetWithHttpInfoAsync (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>
@ -278,7 +278,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 List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync(List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
@ -290,7 +290,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>>> FindPetsByStatusWithHttpInfoAsync (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>
@ -301,7 +301,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 List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync(List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
@ -313,7 +313,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>>> FindPetsByTagsWithHttpInfoAsync (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>
@ -324,7 +324,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 Pet</returns> /// <returns>Task of Pet</returns>
System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Pet> GetPetByIdAsync(long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
@ -336,7 +336,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>> GetPetByIdWithHttpInfoAsync (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>
@ -347,7 +347,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
@ -359,7 +359,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithHttpInfoAsync(Pet pet, 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>
@ -372,7 +372,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task UpdatePetWithFormAsync(long petId, string name = default(string), string status = default(string), 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
@ -386,7 +386,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>> UpdatePetWithFormWithHttpInfoAsync (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>
@ -399,7 +399,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</returns> /// <returns>Task of ApiResponse</returns>
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)); 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));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
@ -413,7 +413,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>> UploadFileWithHttpInfoAsync (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>
@ -426,7 +426,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</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
@ -440,7 +440,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>> UploadFileWithRequiredFileWithHttpInfoAsync (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
} }
@ -463,7 +463,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="PetApi"/> class. /// Initializes a new instance of the <see cref="PetApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public PetApi() : this((string) null) public PetApi() : this((string)null)
{ {
} }
@ -508,11 +508,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public PetApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public PetApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -543,7 +543,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -567,7 +567,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
public void AddPet (Pet pet) public void AddPet(Pet pet)
{ {
AddPetWithHttpInfo(pet); AddPetWithHttpInfo(pet);
} }
@ -578,7 +578,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> AddPetWithHttpInfo (Pet pet) public Org.OpenAPITools.Client.ApiResponse<Object> AddPetWithHttpInfo(Pet pet)
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -629,7 +629,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await AddPetWithHttpInfoAsync(pet, cancellationToken); await AddPetWithHttpInfoAsync(pet, cancellationToken);
} }
@ -641,7 +641,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -695,7 +695,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns></returns> /// <returns></returns>
public void DeletePet (long petId, string apiKey = default(string)) public void DeletePet(long petId, string apiKey = default(string))
{ {
DeletePetWithHttpInfo(petId, apiKey); DeletePetWithHttpInfo(petId, apiKey);
} }
@ -707,7 +707,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = default(string)) public Org.OpenAPITools.Client.ApiResponse<Object> DeletePetWithHttpInfo(long petId, string apiKey = default(string))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -757,7 +757,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 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 DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken); await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken);
} }
@ -770,7 +770,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>> DeletePetWithHttpInfoAsync (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();
@ -821,7 +821,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
public List<Pet> FindPetsByStatus (List<string> status) public List<Pet> FindPetsByStatus(List<string> status)
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByStatusWithHttpInfo(status); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByStatusWithHttpInfo(status);
return localVarResponse.Data; return localVarResponse.Data;
@ -833,7 +833,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public Org.OpenAPITools.Client.ApiResponse< List<Pet> > FindPetsByStatusWithHttpInfo (List<string> status) public Org.OpenAPITools.Client.ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo(List<string> status)
{ {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) if (status == null)
@ -866,7 +866,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< List<Pet> >("/pet/findByStatus", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<List<Pet>>("/pet/findByStatus", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -884,7 +884,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 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 FindPetsByStatusWithHttpInfoAsync(status, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -897,7 +897,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>>> FindPetsByStatusWithHttpInfoAsync (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)
@ -950,7 +950,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
public List<Pet> FindPetsByTags (List<string> tags) public List<Pet> FindPetsByTags(List<string> tags)
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByTagsWithHttpInfo(tags); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByTagsWithHttpInfo(tags);
return localVarResponse.Data; return localVarResponse.Data;
@ -962,7 +962,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public Org.OpenAPITools.Client.ApiResponse< List<Pet> > FindPetsByTagsWithHttpInfo (List<string> tags) public Org.OpenAPITools.Client.ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo(List<string> tags)
{ {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) if (tags == null)
@ -995,7 +995,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< List<Pet> >("/pet/findByTags", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<List<Pet>>("/pet/findByTags", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1013,7 +1013,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 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 FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1026,7 +1026,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>>> FindPetsByTagsWithHttpInfoAsync (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)
@ -1079,7 +1079,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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>Pet</returns> /// <returns>Pet</returns>
public Pet GetPetById (long petId) public Pet GetPetById(long petId)
{ {
Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = GetPetByIdWithHttpInfo(petId); Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = GetPetByIdWithHttpInfo(petId);
return localVarResponse.Data; return localVarResponse.Data;
@ -1091,7 +1091,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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>ApiResponse of Pet</returns> /// <returns>ApiResponse of Pet</returns>
public Org.OpenAPITools.Client.ApiResponse< Pet > GetPetByIdWithHttpInfo (long petId) public Org.OpenAPITools.Client.ApiResponse<Pet> GetPetByIdWithHttpInfo(long petId)
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1119,7 +1119,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< Pet >("/pet/{petId}", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<Pet>("/pet/{petId}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1137,7 +1137,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 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 GetPetByIdWithHttpInfoAsync(petId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1150,7 +1150,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>> GetPetByIdWithHttpInfoAsync (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();
@ -1198,7 +1198,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
public void UpdatePet (Pet pet) public void UpdatePet(Pet pet)
{ {
UpdatePetWithHttpInfo(pet); UpdatePetWithHttpInfo(pet);
} }
@ -1209,7 +1209,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithHttpInfo (Pet pet) public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithHttpInfo(Pet pet)
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -1260,7 +1260,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdatePetWithHttpInfoAsync(pet, cancellationToken); await UpdatePetWithHttpInfoAsync(pet, cancellationToken);
} }
@ -1272,7 +1272,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -1327,7 +1327,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns></returns> /// <returns></returns>
public void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)) public void UpdatePetWithForm(long petId, string name = default(string), string status = default(string))
{ {
UpdatePetWithFormWithHttpInfo(petId, name, status); UpdatePetWithFormWithHttpInfo(petId, name, status);
} }
@ -1340,7 +1340,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)) public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1396,7 +1396,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 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 UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken); await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken);
} }
@ -1410,7 +1410,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>> UpdatePetWithFormWithHttpInfoAsync (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();
@ -1468,7 +1468,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
public ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) public ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file);
return localVarResponse.Data; return localVarResponse.Data;
@ -1482,7 +1482,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) public Org.OpenAPITools.Client.ApiResponse<ApiResponse> UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1519,7 +1519,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Post< ApiResponse >("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Post<ApiResponse>("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1539,7 +1539,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</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 UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1554,7 +1554,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>> UploadFileWithHttpInfoAsync (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();
@ -1613,7 +1613,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
public ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) public ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata);
return localVarResponse.Data; return localVarResponse.Data;
@ -1627,7 +1627,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) public Org.OpenAPITools.Client.ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{ {
// verify the required parameter 'requiredFile' is set // verify the required parameter 'requiredFile' is set
if (requiredFile == null) if (requiredFile == null)
@ -1665,7 +1665,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Post< ApiResponse >("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Post<ApiResponse>("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1685,7 +1685,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</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 UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1700,7 +1700,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>> UploadFileWithRequiredFileWithHttpInfoAsync (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

@ -35,7 +35,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
void DeleteOrder (string orderId); void DeleteOrder(string orderId);
/// <summary> /// <summary>
/// Delete purchase order by ID /// Delete purchase order by ID
@ -46,7 +46,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeleteOrderWithHttpInfo (string orderId); ApiResponse<Object> DeleteOrderWithHttpInfo(string orderId);
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
/// </summary> /// </summary>
@ -55,7 +55,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>Dictionary&lt;string, int&gt;</returns> /// <returns>Dictionary&lt;string, int&gt;</returns>
Dictionary<string, int> GetInventory (); Dictionary<string, int> GetInventory();
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
@ -65,7 +65,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>ApiResponse of Dictionary&lt;string, int&gt;</returns> /// <returns>ApiResponse of Dictionary&lt;string, int&gt;</returns>
ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo (); ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo();
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
/// </summary> /// </summary>
@ -75,7 +75,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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns> /// <returns>Order</returns>
Order GetOrderById (long orderId); Order GetOrderById(long orderId);
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
@ -86,14 +86,14 @@ 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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
ApiResponse<Order> GetOrderByIdWithHttpInfo (long orderId); ApiResponse<Order> GetOrderByIdWithHttpInfo(long orderId);
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
/// </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>
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>Order</returns> /// <returns>Order</returns>
Order PlaceOrder (Order order); Order PlaceOrder(Order order);
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
@ -104,7 +104,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="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
ApiResponse<Order> PlaceOrderWithHttpInfo (Order order); ApiResponse<Order> PlaceOrderWithHttpInfo(Order order);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -124,7 +124,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task DeleteOrderAsync(string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete purchase order by ID /// Delete purchase order by ID
@ -136,7 +136,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>> DeleteOrderWithHttpInfoAsync (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>
@ -146,7 +146,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of Dictionary&lt;string, int&gt;</returns> /// <returns>Task of Dictionary&lt;string, int&gt;</returns>
System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
@ -157,7 +157,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</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>>> GetInventoryWithHttpInfoAsync (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>
@ -168,7 +168,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 Order</returns> /// <returns>Task of Order</returns>
System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Order> GetOrderByIdAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
@ -180,7 +180,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>> GetOrderByIdWithHttpInfoAsync (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>
@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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 Order</returns> /// <returns>Task of Order</returns>
System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Order> PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
@ -203,7 +203,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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>> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -226,7 +226,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="StoreApi"/> class. /// Initializes a new instance of the <see cref="StoreApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public StoreApi() : this((string) null) public StoreApi() : this((string)null)
{ {
} }
@ -271,11 +271,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -306,7 +306,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -330,7 +330,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
public void DeleteOrder (string orderId) public void DeleteOrder(string orderId)
{ {
DeleteOrderWithHttpInfo(orderId); DeleteOrderWithHttpInfo(orderId);
} }
@ -341,7 +341,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> DeleteOrderWithHttpInfo (string orderId) public Org.OpenAPITools.Client.ApiResponse<Object> DeleteOrderWithHttpInfo(string orderId)
{ {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) if (orderId == null)
@ -384,7 +384,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 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 DeleteOrderWithHttpInfoAsync(orderId, cancellationToken); await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken);
} }
@ -396,7 +396,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>> DeleteOrderWithHttpInfoAsync (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)
@ -440,7 +440,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>Dictionary&lt;string, int&gt;</returns> /// <returns>Dictionary&lt;string, int&gt;</returns>
public Dictionary<string, int> GetInventory () public Dictionary<string, int> GetInventory()
{ {
Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = GetInventoryWithHttpInfo(); Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = GetInventoryWithHttpInfo();
return localVarResponse.Data; return localVarResponse.Data;
@ -451,7 +451,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>ApiResponse of Dictionary&lt;string, int&gt;</returns> /// <returns>ApiResponse of Dictionary&lt;string, int&gt;</returns>
public Org.OpenAPITools.Client.ApiResponse< Dictionary<string, int> > GetInventoryWithHttpInfo () public Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo()
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -477,7 +477,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< Dictionary<string, int> >("/store/inventory", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<Dictionary<string, int>>("/store/inventory", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -494,7 +494,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <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 GetInventoryWithHttpInfoAsync(cancellationToken); Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -506,7 +506,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</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<Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (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();
@ -552,7 +552,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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns> /// <returns>Order</returns>
public Order GetOrderById (long orderId) public Order GetOrderById(long orderId)
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = GetOrderByIdWithHttpInfo(orderId); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = GetOrderByIdWithHttpInfo(orderId);
return localVarResponse.Data; return localVarResponse.Data;
@ -564,7 +564,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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
public Org.OpenAPITools.Client.ApiResponse< Order > GetOrderByIdWithHttpInfo (long orderId) public Org.OpenAPITools.Client.ApiResponse<Order> GetOrderByIdWithHttpInfo(long orderId)
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -587,7 +587,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< Order >("/store/order/{order_id}", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<Order>("/store/order/{order_id}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -605,7 +605,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 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 GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -618,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>> GetOrderByIdWithHttpInfoAsync (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();
@ -661,7 +661,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="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>Order</returns> /// <returns>Order</returns>
public Order PlaceOrder (Order order) public Order PlaceOrder(Order order)
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = PlaceOrderWithHttpInfo(order); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = PlaceOrderWithHttpInfo(order);
return localVarResponse.Data; return localVarResponse.Data;
@ -673,7 +673,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="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
public Org.OpenAPITools.Client.ApiResponse< Order > PlaceOrderWithHttpInfo (Order order) public Org.OpenAPITools.Client.ApiResponse<Order> PlaceOrderWithHttpInfo(Order order)
{ {
// verify the required parameter 'order' is set // verify the required parameter 'order' is set
if (order == null) if (order == null)
@ -701,7 +701,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Post< Order >("/store/order", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Post<Order>("/store/order", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -719,7 +719,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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 Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Order> PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -732,7 +732,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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>> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'order' is set // verify the required parameter 'order' is set
if (order == null) if (order == null)

View File

@ -35,7 +35,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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns></returns> /// <returns></returns>
void CreateUser (User user); void CreateUser(User user);
/// <summary> /// <summary>
/// Create user /// Create user
@ -46,14 +46,14 @@ 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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUserWithHttpInfo (User user); ApiResponse<Object> CreateUserWithHttpInfo(User user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </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>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
void CreateUsersWithArrayInput (List<User> user); void CreateUsersWithArrayInput(List<User> user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
@ -64,14 +64,14 @@ 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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> user); ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo(List<User> user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </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>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
void CreateUsersWithListInput (List<User> user); void CreateUsersWithListInput(List<User> user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
@ -82,7 +82,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> user); ApiResponse<Object> CreateUsersWithListInputWithHttpInfo(List<User> user);
/// <summary> /// <summary>
/// Delete user /// Delete user
/// </summary> /// </summary>
@ -92,7 +92,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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
void DeleteUser (string username); void DeleteUser(string username);
/// <summary> /// <summary>
/// Delete user /// Delete user
@ -103,14 +103,14 @@ 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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeleteUserWithHttpInfo (string username); ApiResponse<Object> DeleteUserWithHttpInfo(string username);
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
/// </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>
/// <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>
/// <returns>User</returns> /// <returns>User</returns>
User GetUserByName (string username); User GetUserByName(string username);
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
@ -121,7 +121,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="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>
/// <returns>ApiResponse of User</returns> /// <returns>ApiResponse of User</returns>
ApiResponse<User> GetUserByNameWithHttpInfo (string username); ApiResponse<User> GetUserByNameWithHttpInfo(string username);
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
/// </summary> /// </summary>
@ -129,7 +129,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>string</returns> /// <returns>string</returns>
string LoginUser (string username, string password); string LoginUser(string username, string password);
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
@ -141,13 +141,13 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>ApiResponse of string</returns> /// <returns>ApiResponse of string</returns>
ApiResponse<string> LoginUserWithHttpInfo (string username, string password); ApiResponse<string> LoginUserWithHttpInfo(string username, string password);
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
/// </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></returns> /// <returns></returns>
void LogoutUser (); void LogoutUser();
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
@ -157,7 +157,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>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> LogoutUserWithHttpInfo (); ApiResponse<Object> LogoutUserWithHttpInfo();
/// <summary> /// <summary>
/// Updated user /// Updated user
/// </summary> /// </summary>
@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns></returns> /// <returns></returns>
void UpdateUser (string username, User user); void UpdateUser(string username, User user);
/// <summary> /// <summary>
/// Updated user /// Updated user
@ -180,7 +180,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdateUserWithHttpInfo (string username, User user); ApiResponse<Object> UpdateUserWithHttpInfo(string username, User user);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Create user /// Create user
@ -212,7 +212,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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>> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserWithHttpInfoAsync(User user, 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>
@ -223,7 +223,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List<User> user, 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
@ -235,7 +235,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync(List<User> user, 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>
@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task CreateUsersWithListInputAsync(List<User> user, 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
@ -258,7 +258,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithListInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete user /// Delete user
/// </summary> /// </summary>
@ -269,7 +269,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task DeleteUserAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete user /// Delete user
@ -281,7 +281,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>> DeleteUserWithHttpInfoAsync (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>
@ -292,7 +292,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 User</returns> /// <returns>Task of User</returns>
System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<User> GetUserByNameAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
@ -304,7 +304,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>> GetUserByNameWithHttpInfoAsync (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>
@ -316,7 +316,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 string</returns> /// <returns>Task of string</returns>
System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<string> LoginUserAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
@ -329,7 +329,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>> LoginUserWithHttpInfoAsync (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>
@ -339,7 +339,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task LogoutUserAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
@ -350,7 +350,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 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>> LogoutUserWithHttpInfoAsync (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>
@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Updated user /// Updated user
@ -375,7 +375,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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>> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserWithHttpInfoAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -398,7 +398,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="UserApi"/> class. /// Initializes a new instance of the <see cref="UserApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public UserApi() : this((string) null) public UserApi() : this((string)null)
{ {
} }
@ -443,11 +443,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public UserApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public UserApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -478,7 +478,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -502,7 +502,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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns></returns> /// <returns></returns>
public void CreateUser (User user) public void CreateUser(User user)
{ {
CreateUserWithHttpInfo(user); CreateUserWithHttpInfo(user);
} }
@ -513,7 +513,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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> CreateUserWithHttpInfo (User user) public Org.OpenAPITools.Client.ApiResponse<Object> CreateUserWithHttpInfo(User user)
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -557,7 +557,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUserWithHttpInfoAsync(user, cancellationToken); await CreateUserWithHttpInfoAsync(user, cancellationToken);
} }
@ -569,7 +569,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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>> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUserWithHttpInfoAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -615,7 +615,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
public void CreateUsersWithArrayInput (List<User> user) public void CreateUsersWithArrayInput(List<User> user)
{ {
CreateUsersWithArrayInputWithHttpInfo(user); CreateUsersWithArrayInputWithHttpInfo(user);
} }
@ -626,7 +626,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> user) public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo(List<User> user)
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -670,7 +670,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken); await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken);
} }
@ -682,7 +682,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -728,7 +728,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
public void CreateUsersWithListInput (List<User> user) public void CreateUsersWithListInput(List<User> user)
{ {
CreateUsersWithListInputWithHttpInfo(user); CreateUsersWithListInputWithHttpInfo(user);
} }
@ -739,7 +739,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> user) public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithListInputWithHttpInfo(List<User> user)
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -783,7 +783,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithListInputAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken); await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken);
} }
@ -795,7 +795,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithListInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -841,7 +841,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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
public void DeleteUser (string username) public void DeleteUser(string username)
{ {
DeleteUserWithHttpInfo(username); DeleteUserWithHttpInfo(username);
} }
@ -852,7 +852,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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> DeleteUserWithHttpInfo (string username) public Org.OpenAPITools.Client.ApiResponse<Object> DeleteUserWithHttpInfo(string username)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -895,7 +895,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 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 DeleteUserWithHttpInfoAsync(username, cancellationToken); await DeleteUserWithHttpInfoAsync(username, cancellationToken);
} }
@ -907,7 +907,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>> DeleteUserWithHttpInfoAsync (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)
@ -952,7 +952,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="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>
/// <returns>User</returns> /// <returns>User</returns>
public User GetUserByName (string username) public User GetUserByName(string username)
{ {
Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = GetUserByNameWithHttpInfo(username); Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = GetUserByNameWithHttpInfo(username);
return localVarResponse.Data; return localVarResponse.Data;
@ -964,7 +964,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="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>
/// <returns>ApiResponse of User</returns> /// <returns>ApiResponse of User</returns>
public Org.OpenAPITools.Client.ApiResponse< User > GetUserByNameWithHttpInfo (string username) public Org.OpenAPITools.Client.ApiResponse<User> GetUserByNameWithHttpInfo(string username)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -991,7 +991,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< User >("/user/{username}", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<User>("/user/{username}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1009,7 +1009,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 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 GetUserByNameWithHttpInfoAsync(username, cancellationToken); Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1022,7 +1022,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>> GetUserByNameWithHttpInfoAsync (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)
@ -1070,7 +1070,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>string</returns> /// <returns>string</returns>
public string LoginUser (string username, string password) public string LoginUser(string username, string password)
{ {
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = LoginUserWithHttpInfo(username, password); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = LoginUserWithHttpInfo(username, password);
return localVarResponse.Data; return localVarResponse.Data;
@ -1083,7 +1083,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>ApiResponse of string</returns> /// <returns>ApiResponse of string</returns>
public Org.OpenAPITools.Client.ApiResponse< string > LoginUserWithHttpInfo (string username, string password) public Org.OpenAPITools.Client.ApiResponse<string> LoginUserWithHttpInfo(string username, string password)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1115,7 +1115,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< string >("/user/login", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<string>("/user/login", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1134,7 +1134,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 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 LoginUserWithHttpInfoAsync(username, password, cancellationToken); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1148,7 +1148,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>> LoginUserWithHttpInfoAsync (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)
@ -1199,7 +1199,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></returns> /// <returns></returns>
public void LogoutUser () public void LogoutUser()
{ {
LogoutUserWithHttpInfo(); LogoutUserWithHttpInfo();
} }
@ -1209,7 +1209,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>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> LogoutUserWithHttpInfo () public Org.OpenAPITools.Client.ApiResponse<Object> LogoutUserWithHttpInfo()
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1246,7 +1246,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <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 LogoutUserWithHttpInfoAsync(cancellationToken); await LogoutUserWithHttpInfoAsync(cancellationToken);
} }
@ -1257,7 +1257,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 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>> LogoutUserWithHttpInfoAsync (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();
@ -1298,7 +1298,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns></returns> /// <returns></returns>
public void UpdateUser (string username, User user) public void UpdateUser(string username, User user)
{ {
UpdateUserWithHttpInfo(username, user); UpdateUserWithHttpInfo(username, user);
} }
@ -1310,7 +1310,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> UpdateUserWithHttpInfo (string username, User user) public Org.OpenAPITools.Client.ApiResponse<Object> UpdateUserWithHttpInfo(string username, User user)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1360,7 +1360,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdateUserWithHttpInfoAsync(username, user, cancellationToken); await UpdateUserWithHttpInfoAsync(username, user, cancellationToken);
} }
@ -1373,7 +1373,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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>> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateUserWithHttpInfoAsync(string username, User user, 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

@ -12,14 +12,14 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Net; using System.Net;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters; using System.Runtime.Serialization.Formatters;
using System.Text; using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Serialization; using Newtonsoft.Json.Serialization;
using RestSharp; using RestSharp;
@ -68,7 +68,7 @@ namespace Org.OpenAPITools.Client
public T Deserialize<T>(IRestResponse response) public T Deserialize<T>(IRestResponse response)
{ {
var result = (T) Deserialize(response, typeof(T)); var result = (T)Deserialize(response, typeof(T));
return result; return result;
} }
@ -422,7 +422,7 @@ namespace Org.OpenAPITools.Client
if (response.Cookies != null && response.Cookies.Count > 0) if (response.Cookies != null && response.Cookies.Count > 0)
{ {
if(result.Cookies == null) result.Cookies = new List<Cookie>(); if (result.Cookies == null) result.Cookies = new List<Cookie>();
foreach (var restResponseCookie in response.Cookies) foreach (var restResponseCookie in response.Cookies)
{ {
var cookie = new Cookie( var cookie = new Cookie(
@ -492,7 +492,7 @@ namespace Org.OpenAPITools.Client
if (response.Cookies != null && response.Cookies.Count > 0) if (response.Cookies != null && response.Cookies.Count > 0)
{ {
if(result.Cookies == null) result.Cookies = new List<Cookie>(); if (result.Cookies == null) result.Cookies = new List<Cookie>();
foreach (var restResponseCookie in response.Cookies) foreach (var restResponseCookie in response.Cookies)
{ {
var cookie = new Cookie( var cookie = new Cookie(

View File

@ -38,7 +38,7 @@ namespace Org.OpenAPITools.Client
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiException"/> class. /// Initializes a new instance of the <see cref="ApiException"/> class.
/// </summary> /// </summary>
public ApiException() {} public ApiException() { }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiException"/> class. /// Initializes a new instance of the <see cref="ApiException"/> class.

View File

@ -111,7 +111,7 @@ namespace Org.OpenAPITools.Client
/// <summary> /// <summary>
/// The raw content /// The raw content
/// </summary> /// </summary>
public string RawContent { get;} public string RawContent { get; }
#endregion Properties #endregion Properties

View File

@ -9,11 +9,11 @@
using System; using System;
using System.Reflection;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection;
using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.X509Certificates;
using System.Text; using System.Text;
@ -151,9 +151,7 @@ namespace Org.OpenAPITools.Client
/// </summary> /// </summary>
public virtual string BasePath { public virtual string BasePath {
get { return _basePath; } get { return _basePath; }
set { set { _basePath = value; }
_basePath = value;
}
} }
/// <summary> /// <summary>
@ -208,7 +206,7 @@ namespace Org.OpenAPITools.Client
public string GetApiKeyWithPrefix(string apiKeyIdentifier) public string GetApiKeyWithPrefix(string apiKeyIdentifier)
{ {
string apiKeyValue; string apiKeyValue;
ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue);
string apiKeyPrefix; string apiKeyPrefix;
if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix))
{ {

View File

@ -21,7 +21,7 @@ namespace Org.OpenAPITools.Client
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
IReadableConfiguration Configuration {get; set;} IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Gets the base path of the API client. /// Gets the base path of the API client.

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets MapProperty /// Gets or Sets MapProperty
/// </summary> /// </summary>
[DataMember(Name="map_property", EmitDefaultValue=false)] [DataMember(Name = "map_property", EmitDefaultValue = false)]
public Dictionary<string, string> MapProperty { get; set; } public Dictionary<string, string> MapProperty { get; set; }
/// <summary> /// <summary>
/// Gets or Sets MapOfMapProperty /// Gets or Sets MapOfMapProperty
/// </summary> /// </summary>
[DataMember(Name="map_of_map_property", EmitDefaultValue=false)] [DataMember(Name = "map_of_map_property", EmitDefaultValue = false)]
public Dictionary<string, Dictionary<string, string>> MapOfMapProperty { get; set; } public Dictionary<string, Dictionary<string, string>> MapOfMapProperty { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using JsonSubTypes; using JsonSubTypes;
@ -58,13 +58,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ClassName /// Gets or Sets ClassName
/// </summary> /// </summary>
[DataMember(Name="className", EmitDefaultValue=false)] [DataMember(Name = "className", EmitDefaultValue = false)]
public string ClassName { get; set; } public string ClassName { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Color /// Gets or Sets Color
/// </summary> /// </summary>
[DataMember(Name="color", EmitDefaultValue=false)] [DataMember(Name = "color", EmitDefaultValue = false)]
public string Color { get; set; } public string Color { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Code /// Gets or Sets Code
/// </summary> /// </summary>
[DataMember(Name="code", EmitDefaultValue=false)] [DataMember(Name = "code", EmitDefaultValue = false)]
public int Code { get; set; } public int Code { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Type /// Gets or Sets Type
/// </summary> /// </summary>
[DataMember(Name="type", EmitDefaultValue=false)] [DataMember(Name = "type", EmitDefaultValue = false)]
public string Type { get; set; } public string Type { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Message /// Gets or Sets Message
/// </summary> /// </summary>
[DataMember(Name="message", EmitDefaultValue=false)] [DataMember(Name = "message", EmitDefaultValue = false)]
public string Message { get; set; } public string Message { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayArrayNumber /// Gets or Sets ArrayArrayNumber
/// </summary> /// </summary>
[DataMember(Name="ArrayArrayNumber", EmitDefaultValue=false)] [DataMember(Name = "ArrayArrayNumber", EmitDefaultValue = false)]
public List<List<decimal>> ArrayArrayNumber { get; set; } public List<List<decimal>> ArrayArrayNumber { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayNumber /// Gets or Sets ArrayNumber
/// </summary> /// </summary>
[DataMember(Name="ArrayNumber", EmitDefaultValue=false)] [DataMember(Name = "ArrayNumber", EmitDefaultValue = false)]
public List<decimal> ArrayNumber { get; set; } public List<decimal> ArrayNumber { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayOfString /// Gets or Sets ArrayOfString
/// </summary> /// </summary>
[DataMember(Name="array_of_string", EmitDefaultValue=false)] [DataMember(Name = "array_of_string", EmitDefaultValue = false)]
public List<string> ArrayOfString { get; set; } public List<string> ArrayOfString { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ArrayArrayOfInteger /// Gets or Sets ArrayArrayOfInteger
/// </summary> /// </summary>
[DataMember(Name="array_array_of_integer", EmitDefaultValue=false)] [DataMember(Name = "array_array_of_integer", EmitDefaultValue = false)]
public List<List<long>> ArrayArrayOfInteger { get; set; } public List<List<long>> ArrayArrayOfInteger { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ArrayArrayOfModel /// Gets or Sets ArrayArrayOfModel
/// </summary> /// </summary>
[DataMember(Name="array_array_of_model", EmitDefaultValue=false)] [DataMember(Name = "array_array_of_model", EmitDefaultValue = false)]
public List<List<ReadOnlyFirst>> ArrayArrayOfModel { get; set; } public List<List<ReadOnlyFirst>> ArrayArrayOfModel { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -53,38 +53,38 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets SmallCamel /// Gets or Sets SmallCamel
/// </summary> /// </summary>
[DataMember(Name="smallCamel", EmitDefaultValue=false)] [DataMember(Name = "smallCamel", EmitDefaultValue = false)]
public string SmallCamel { get; set; } public string SmallCamel { get; set; }
/// <summary> /// <summary>
/// Gets or Sets CapitalCamel /// Gets or Sets CapitalCamel
/// </summary> /// </summary>
[DataMember(Name="CapitalCamel", EmitDefaultValue=false)] [DataMember(Name = "CapitalCamel", EmitDefaultValue = false)]
public string CapitalCamel { get; set; } public string CapitalCamel { get; set; }
/// <summary> /// <summary>
/// Gets or Sets SmallSnake /// Gets or Sets SmallSnake
/// </summary> /// </summary>
[DataMember(Name="small_Snake", EmitDefaultValue=false)] [DataMember(Name = "small_Snake", EmitDefaultValue = false)]
public string SmallSnake { get; set; } public string SmallSnake { get; set; }
/// <summary> /// <summary>
/// Gets or Sets CapitalSnake /// Gets or Sets CapitalSnake
/// </summary> /// </summary>
[DataMember(Name="Capital_Snake", EmitDefaultValue=false)] [DataMember(Name = "Capital_Snake", EmitDefaultValue = false)]
public string CapitalSnake { get; set; } public string CapitalSnake { get; set; }
/// <summary> /// <summary>
/// Gets or Sets SCAETHFlowPoints /// Gets or Sets SCAETHFlowPoints
/// </summary> /// </summary>
[DataMember(Name="SCA_ETH_Flow_Points", EmitDefaultValue=false)] [DataMember(Name = "SCA_ETH_Flow_Points", EmitDefaultValue = false)]
public string SCAETHFlowPoints { get; set; } public string SCAETHFlowPoints { get; set; }
/// <summary> /// <summary>
/// Name of the pet /// Name of the pet
/// </summary> /// </summary>
/// <value>Name of the pet </value> /// <value>Name of the pet </value>
[DataMember(Name="ATT_NAME", EmitDefaultValue=false)] [DataMember(Name = "ATT_NAME", EmitDefaultValue = false)]
public string ATT_NAME { get; set; } public string ATT_NAME { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Declawed /// Gets or Sets Declawed
/// </summary> /// </summary>
[DataMember(Name="declawed", EmitDefaultValue=false)] [DataMember(Name = "declawed", EmitDefaultValue = false)]
public bool Declawed { get; set; } public bool Declawed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Declawed /// Gets or Sets Declawed
/// </summary> /// </summary>
[DataMember(Name="declawed", EmitDefaultValue=false)] [DataMember(Name = "declawed", EmitDefaultValue = false)]
public bool Declawed { get; set; } public bool Declawed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -51,13 +51,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
[DataMember(Name="id", EmitDefaultValue=false)] [DataMember(Name = "id", EmitDefaultValue = false)]
public long Id { get; set; } public long Id { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Name /// Gets or Sets Name
/// </summary> /// </summary>
[DataMember(Name="name", EmitDefaultValue=false)] [DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; } public string Name { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Class /// Gets or Sets Class
/// </summary> /// </summary>
[DataMember(Name="_class", EmitDefaultValue=false)] [DataMember(Name = "_class", EmitDefaultValue = false)]
public string Class { get; set; } public string Class { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Breed /// Gets or Sets Breed
/// </summary> /// </summary>
[DataMember(Name="breed", EmitDefaultValue=false)] [DataMember(Name = "breed", EmitDefaultValue = false)]
public string Breed { get; set; } public string Breed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Breed /// Gets or Sets Breed
/// </summary> /// </summary>
[DataMember(Name="breed", EmitDefaultValue=false)] [DataMember(Name = "breed", EmitDefaultValue = false)]
public string Breed { get; set; } public string Breed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -54,7 +54,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets JustSymbol /// Gets or Sets JustSymbol
/// </summary> /// </summary>
[DataMember(Name="just_symbol", EmitDefaultValue=false)] [DataMember(Name = "just_symbol", EmitDefaultValue = false)]
public JustSymbolEnum? JustSymbol { get; set; } public JustSymbolEnum? JustSymbol { get; set; }
/// <summary> /// <summary>
/// Defines ArrayEnum /// Defines ArrayEnum
@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayEnum /// Gets or Sets ArrayEnum
/// </summary> /// </summary>
[DataMember(Name="array_enum", EmitDefaultValue=false)] [DataMember(Name = "array_enum", EmitDefaultValue = false)]
public List<ArrayEnumEnum> ArrayEnum { get; set; } public List<ArrayEnumEnum> ArrayEnum { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="EnumArrays" /> class. /// Initializes a new instance of the <see cref="EnumArrays" /> class.

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumString /// Gets or Sets EnumString
/// </summary> /// </summary>
[DataMember(Name="enum_string", EmitDefaultValue=false)] [DataMember(Name = "enum_string", EmitDefaultValue = false)]
public EnumStringEnum? EnumString { get; set; } public EnumStringEnum? EnumString { get; set; }
/// <summary> /// <summary>
/// Defines EnumStringRequired /// Defines EnumStringRequired
@ -91,7 +91,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumStringRequired /// Gets or Sets EnumStringRequired
/// </summary> /// </summary>
[DataMember(Name="enum_string_required", EmitDefaultValue=false)] [DataMember(Name = "enum_string_required", EmitDefaultValue = false)]
public EnumStringRequiredEnum EnumStringRequired { get; set; } public EnumStringRequiredEnum EnumStringRequired { get; set; }
/// <summary> /// <summary>
/// Defines EnumInteger /// Defines EnumInteger
@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumInteger /// Gets or Sets EnumInteger
/// </summary> /// </summary>
[DataMember(Name="enum_integer", EmitDefaultValue=false)] [DataMember(Name = "enum_integer", EmitDefaultValue = false)]
public EnumIntegerEnum? EnumInteger { get; set; } public EnumIntegerEnum? EnumInteger { get; set; }
/// <summary> /// <summary>
/// Defines EnumNumber /// Defines EnumNumber
@ -138,27 +138,27 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumNumber /// Gets or Sets EnumNumber
/// </summary> /// </summary>
[DataMember(Name="enum_number", EmitDefaultValue=false)] [DataMember(Name = "enum_number", EmitDefaultValue = false)]
public EnumNumberEnum? EnumNumber { get; set; } public EnumNumberEnum? EnumNumber { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnum /// Gets or Sets OuterEnum
/// </summary> /// </summary>
[DataMember(Name="outerEnum", EmitDefaultValue=true)] [DataMember(Name = "outerEnum", EmitDefaultValue = true)]
public OuterEnum? OuterEnum { get; set; } public OuterEnum? OuterEnum { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnumInteger /// Gets or Sets OuterEnumInteger
/// </summary> /// </summary>
[DataMember(Name="outerEnumInteger", EmitDefaultValue=false)] [DataMember(Name = "outerEnumInteger", EmitDefaultValue = false)]
public OuterEnumInteger? OuterEnumInteger { get; set; } public OuterEnumInteger? OuterEnumInteger { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnumDefaultValue /// Gets or Sets OuterEnumDefaultValue
/// </summary> /// </summary>
[DataMember(Name="outerEnumDefaultValue", EmitDefaultValue=false)] [DataMember(Name = "outerEnumDefaultValue", EmitDefaultValue = false)]
public OuterEnumDefaultValue? OuterEnumDefaultValue { get; set; } public OuterEnumDefaultValue? OuterEnumDefaultValue { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnumIntegerDefaultValue /// Gets or Sets OuterEnumIntegerDefaultValue
/// </summary> /// </summary>
[DataMember(Name="outerEnumIntegerDefaultValue", EmitDefaultValue=false)] [DataMember(Name = "outerEnumIntegerDefaultValue", EmitDefaultValue = false)]
public OuterEnumIntegerDefaultValue? OuterEnumIntegerDefaultValue { get; set; } public OuterEnumIntegerDefaultValue? OuterEnumIntegerDefaultValue { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="EnumTest" /> class. /// Initializes a new instance of the <see cref="EnumTest" /> class.

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model
/// Test capitalization /// Test capitalization
/// </summary> /// </summary>
/// <value>Test capitalization</value> /// <value>Test capitalization</value>
[DataMember(Name="sourceURI", EmitDefaultValue=false)] [DataMember(Name = "sourceURI", EmitDefaultValue = false)]
public string SourceURI { get; set; } public string SourceURI { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets File /// Gets or Sets File
/// </summary> /// </summary>
[DataMember(Name="file", EmitDefaultValue=false)] [DataMember(Name = "file", EmitDefaultValue = false)]
public File File { get; set; } public File File { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Files /// Gets or Sets Files
/// </summary> /// </summary>
[DataMember(Name="files", EmitDefaultValue=false)] [DataMember(Name = "files", EmitDefaultValue = false)]
public List<File> Files { get; set; } public List<File> Files { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Bar /// Gets or Sets Bar
/// </summary> /// </summary>
[DataMember(Name="bar", EmitDefaultValue=false)] [DataMember(Name = "bar", EmitDefaultValue = false)]
public string Bar { get; set; } public string Bar { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -78,94 +78,94 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Integer /// Gets or Sets Integer
/// </summary> /// </summary>
[DataMember(Name="integer", EmitDefaultValue=false)] [DataMember(Name = "integer", EmitDefaultValue = false)]
public int Integer { get; set; } public int Integer { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Int32 /// Gets or Sets Int32
/// </summary> /// </summary>
[DataMember(Name="int32", EmitDefaultValue=false)] [DataMember(Name = "int32", EmitDefaultValue = false)]
public int Int32 { get; set; } public int Int32 { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Int64 /// Gets or Sets Int64
/// </summary> /// </summary>
[DataMember(Name="int64", EmitDefaultValue=false)] [DataMember(Name = "int64", EmitDefaultValue = false)]
public long Int64 { get; set; } public long Int64 { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Number /// Gets or Sets Number
/// </summary> /// </summary>
[DataMember(Name="number", EmitDefaultValue=false)] [DataMember(Name = "number", EmitDefaultValue = false)]
public decimal Number { get; set; } public decimal Number { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Float /// Gets or Sets Float
/// </summary> /// </summary>
[DataMember(Name="float", EmitDefaultValue=false)] [DataMember(Name = "float", EmitDefaultValue = false)]
public float Float { get; set; } public float Float { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Double /// Gets or Sets Double
/// </summary> /// </summary>
[DataMember(Name="double", EmitDefaultValue=false)] [DataMember(Name = "double", EmitDefaultValue = false)]
public double Double { get; set; } public double Double { get; set; }
/// <summary> /// <summary>
/// Gets or Sets String /// Gets or Sets String
/// </summary> /// </summary>
[DataMember(Name="string", EmitDefaultValue=false)] [DataMember(Name = "string", EmitDefaultValue = false)]
public string String { get; set; } public string String { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Byte /// Gets or Sets Byte
/// </summary> /// </summary>
[DataMember(Name="byte", EmitDefaultValue=false)] [DataMember(Name = "byte", EmitDefaultValue = false)]
public byte[] Byte { get; set; } public byte[] Byte { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Binary /// Gets or Sets Binary
/// </summary> /// </summary>
[DataMember(Name="binary", EmitDefaultValue=false)] [DataMember(Name = "binary", EmitDefaultValue = false)]
public System.IO.Stream Binary { get; set; } public System.IO.Stream Binary { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Date /// Gets or Sets Date
/// </summary> /// </summary>
[DataMember(Name="date", EmitDefaultValue=false)] [DataMember(Name = "date", EmitDefaultValue = false)]
[JsonConverter(typeof(OpenAPIDateConverter))] [JsonConverter(typeof(OpenAPIDateConverter))]
public DateTime Date { get; set; } public DateTime Date { get; set; }
/// <summary> /// <summary>
/// Gets or Sets DateTime /// Gets or Sets DateTime
/// </summary> /// </summary>
[DataMember(Name="dateTime", EmitDefaultValue=false)] [DataMember(Name = "dateTime", EmitDefaultValue = false)]
public DateTime DateTime { get; set; } public DateTime DateTime { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Uuid /// Gets or Sets Uuid
/// </summary> /// </summary>
[DataMember(Name="uuid", EmitDefaultValue=false)] [DataMember(Name = "uuid", EmitDefaultValue = false)]
public Guid Uuid { get; set; } public Guid Uuid { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Password /// Gets or Sets Password
/// </summary> /// </summary>
[DataMember(Name="password", EmitDefaultValue=false)] [DataMember(Name = "password", EmitDefaultValue = false)]
public string Password { get; set; } public string Password { get; set; }
/// <summary> /// <summary>
/// A string that is a 10 digit number. Can have leading zeros. /// A string that is a 10 digit number. Can have leading zeros.
/// </summary> /// </summary>
/// <value>A string that is a 10 digit number. Can have leading zeros.</value> /// <value>A string that is a 10 digit number. Can have leading zeros.</value>
[DataMember(Name="pattern_with_digits", EmitDefaultValue=false)] [DataMember(Name = "pattern_with_digits", EmitDefaultValue = false)]
public string PatternWithDigits { get; set; } public string PatternWithDigits { get; set; }
/// <summary> /// <summary>
/// A string starting with &#39;image_&#39; (case insensitive) and one to three digits following i.e. Image_01. /// A string starting with &#39;image_&#39; (case insensitive) and one to three digits following i.e. Image_01.
/// </summary> /// </summary>
/// <value>A string starting with &#39;image_&#39; (case insensitive) and one to three digits following i.e. Image_01.</value> /// <value>A string starting with &#39;image_&#39; (case insensitive) and one to three digits following i.e. Image_01.</value>
[DataMember(Name="pattern_with_digits_and_delimiter", EmitDefaultValue=false)] [DataMember(Name = "pattern_with_digits_and_delimiter", EmitDefaultValue = false)]
public string PatternWithDigitsAndDelimiter { get; set; } public string PatternWithDigitsAndDelimiter { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -42,13 +42,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Bar /// Gets or Sets Bar
/// </summary> /// </summary>
[DataMember(Name="bar", EmitDefaultValue=false)] [DataMember(Name = "bar", EmitDefaultValue = false)]
public string Bar { get; private set; } public string Bar { get; private set; }
/// <summary> /// <summary>
/// Gets or Sets Foo /// Gets or Sets Foo
/// </summary> /// </summary>
[DataMember(Name="foo", EmitDefaultValue=false)] [DataMember(Name = "foo", EmitDefaultValue = false)]
public string Foo { get; private set; } public string Foo { get; private set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets NullableMessage /// Gets or Sets NullableMessage
/// </summary> /// </summary>
[DataMember(Name="NullableMessage", EmitDefaultValue=true)] [DataMember(Name = "NullableMessage", EmitDefaultValue = true)]
public string NullableMessage { get; set; } public string NullableMessage { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Model
/// Updated name of the pet /// Updated name of the pet
/// </summary> /// </summary>
/// <value>Updated name of the pet</value> /// <value>Updated name of the pet</value>
[DataMember(Name="name", EmitDefaultValue=false)] [DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; } public string Name { get; set; }
/// <summary> /// <summary>
/// Updated status of the pet /// Updated status of the pet
/// </summary> /// </summary>
/// <value>Updated status of the pet</value> /// <value>Updated status of the pet</value>
[DataMember(Name="status", EmitDefaultValue=false)] [DataMember(Name = "status", EmitDefaultValue = false)]
public string Status { get; set; } public string Status { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Model
/// Additional data to pass to server /// Additional data to pass to server
/// </summary> /// </summary>
/// <value>Additional data to pass to server</value> /// <value>Additional data to pass to server</value>
[DataMember(Name="additionalMetadata", EmitDefaultValue=false)] [DataMember(Name = "additionalMetadata", EmitDefaultValue = false)]
public string AdditionalMetadata { get; set; } public string AdditionalMetadata { get; set; }
/// <summary> /// <summary>
/// file to upload /// file to upload
/// </summary> /// </summary>
/// <value>file to upload</value> /// <value>file to upload</value>
[DataMember(Name="file", EmitDefaultValue=false)] [DataMember(Name = "file", EmitDefaultValue = false)]
public System.IO.Stream File { get; set; } public System.IO.Stream File { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -56,7 +56,7 @@ namespace Org.OpenAPITools.Model
/// Form parameter enum test (string array) /// Form parameter enum test (string array)
/// </summary> /// </summary>
/// <value>Form parameter enum test (string array)</value> /// <value>Form parameter enum test (string array)</value>
[DataMember(Name="enum_form_string_array", EmitDefaultValue=false)] [DataMember(Name = "enum_form_string_array", EmitDefaultValue = false)]
public List<EnumFormStringArrayEnum> EnumFormStringArray { get; set; } public List<EnumFormStringArrayEnum> EnumFormStringArray { get; set; }
/// <summary> /// <summary>
/// Form parameter enum test (string) /// Form parameter enum test (string)
@ -89,7 +89,7 @@ namespace Org.OpenAPITools.Model
/// Form parameter enum test (string) /// Form parameter enum test (string)
/// </summary> /// </summary>
/// <value>Form parameter enum test (string)</value> /// <value>Form parameter enum test (string)</value>
[DataMember(Name="enum_form_string", EmitDefaultValue=false)] [DataMember(Name = "enum_form_string", EmitDefaultValue = false)]
public EnumFormStringEnum? EnumFormString { get; set; } public EnumFormStringEnum? EnumFormString { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="InlineObject2" /> class. /// Initializes a new instance of the <see cref="InlineObject2" /> class.

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -77,77 +77,77 @@ namespace Org.OpenAPITools.Model
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="integer", EmitDefaultValue=false)] [DataMember(Name = "integer", EmitDefaultValue = false)]
public int Integer { get; set; } public int Integer { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="int32", EmitDefaultValue=false)] [DataMember(Name = "int32", EmitDefaultValue = false)]
public int Int32 { get; set; } public int Int32 { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="int64", EmitDefaultValue=false)] [DataMember(Name = "int64", EmitDefaultValue = false)]
public long Int64 { get; set; } public long Int64 { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="number", EmitDefaultValue=false)] [DataMember(Name = "number", EmitDefaultValue = false)]
public decimal Number { get; set; } public decimal Number { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="float", EmitDefaultValue=false)] [DataMember(Name = "float", EmitDefaultValue = false)]
public float Float { get; set; } public float Float { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="double", EmitDefaultValue=false)] [DataMember(Name = "double", EmitDefaultValue = false)]
public double Double { get; set; } public double Double { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="string", EmitDefaultValue=false)] [DataMember(Name = "string", EmitDefaultValue = false)]
public string String { get; set; } public string String { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="pattern_without_delimiter", EmitDefaultValue=false)] [DataMember(Name = "pattern_without_delimiter", EmitDefaultValue = false)]
public string PatternWithoutDelimiter { get; set; } public string PatternWithoutDelimiter { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="byte", EmitDefaultValue=false)] [DataMember(Name = "byte", EmitDefaultValue = false)]
public byte[] Byte { get; set; } public byte[] Byte { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="binary", EmitDefaultValue=false)] [DataMember(Name = "binary", EmitDefaultValue = false)]
public System.IO.Stream Binary { get; set; } public System.IO.Stream Binary { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="date", EmitDefaultValue=false)] [DataMember(Name = "date", EmitDefaultValue = false)]
[JsonConverter(typeof(OpenAPIDateConverter))] [JsonConverter(typeof(OpenAPIDateConverter))]
public DateTime Date { get; set; } public DateTime Date { get; set; }
@ -155,21 +155,21 @@ namespace Org.OpenAPITools.Model
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="dateTime", EmitDefaultValue=false)] [DataMember(Name = "dateTime", EmitDefaultValue = false)]
public DateTime DateTime { get; set; } public DateTime DateTime { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="password", EmitDefaultValue=false)] [DataMember(Name = "password", EmitDefaultValue = false)]
public string Password { get; set; } public string Password { get; set; }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
/// <value>None</value> /// <value>None</value>
[DataMember(Name="callback", EmitDefaultValue=false)] [DataMember(Name = "callback", EmitDefaultValue = false)]
public string Callback { get; set; } public string Callback { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -53,14 +53,14 @@ namespace Org.OpenAPITools.Model
/// field1 /// field1
/// </summary> /// </summary>
/// <value>field1</value> /// <value>field1</value>
[DataMember(Name="param", EmitDefaultValue=false)] [DataMember(Name = "param", EmitDefaultValue = false)]
public string Param { get; set; } public string Param { get; set; }
/// <summary> /// <summary>
/// field2 /// field2
/// </summary> /// </summary>
/// <value>field2</value> /// <value>field2</value>
[DataMember(Name="param2", EmitDefaultValue=false)] [DataMember(Name = "param2", EmitDefaultValue = false)]
public string Param2 { get; set; } public string Param2 { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -52,14 +52,14 @@ namespace Org.OpenAPITools.Model
/// Additional data to pass to server /// Additional data to pass to server
/// </summary> /// </summary>
/// <value>Additional data to pass to server</value> /// <value>Additional data to pass to server</value>
[DataMember(Name="additionalMetadata", EmitDefaultValue=false)] [DataMember(Name = "additionalMetadata", EmitDefaultValue = false)]
public string AdditionalMetadata { get; set; } public string AdditionalMetadata { get; set; }
/// <summary> /// <summary>
/// file to upload /// file to upload
/// </summary> /// </summary>
/// <value>file to upload</value> /// <value>file to upload</value>
[DataMember(Name="requiredFile", EmitDefaultValue=false)] [DataMember(Name = "requiredFile", EmitDefaultValue = false)]
public System.IO.Stream RequiredFile { get; set; } public System.IO.Stream RequiredFile { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets String /// Gets or Sets String
/// </summary> /// </summary>
[DataMember(Name="string", EmitDefaultValue=false)] [DataMember(Name = "string", EmitDefaultValue = false)]
public Foo String { get; set; } public Foo String { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets _123List /// Gets or Sets _123List
/// </summary> /// </summary>
[DataMember(Name="123-list", EmitDefaultValue=false)] [DataMember(Name = "123-list", EmitDefaultValue = false)]
public string _123List { get; set; } public string _123List { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets MapOfEnumString /// Gets or Sets MapOfEnumString
/// </summary> /// </summary>
[DataMember(Name="map_of_enum_string", EmitDefaultValue=false)] [DataMember(Name = "map_of_enum_string", EmitDefaultValue = false)]
public Dictionary<string, InnerEnum> MapOfEnumString { get; set; } public Dictionary<string, InnerEnum> MapOfEnumString { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="MapTest" /> class. /// Initializes a new instance of the <see cref="MapTest" /> class.
@ -75,19 +75,19 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets MapMapOfString /// Gets or Sets MapMapOfString
/// </summary> /// </summary>
[DataMember(Name="map_map_of_string", EmitDefaultValue=false)] [DataMember(Name = "map_map_of_string", EmitDefaultValue = false)]
public Dictionary<string, Dictionary<string, string>> MapMapOfString { get; set; } public Dictionary<string, Dictionary<string, string>> MapMapOfString { get; set; }
/// <summary> /// <summary>
/// Gets or Sets DirectMap /// Gets or Sets DirectMap
/// </summary> /// </summary>
[DataMember(Name="direct_map", EmitDefaultValue=false)] [DataMember(Name = "direct_map", EmitDefaultValue = false)]
public Dictionary<string, bool> DirectMap { get; set; } public Dictionary<string, bool> DirectMap { get; set; }
/// <summary> /// <summary>
/// Gets or Sets IndirectMap /// Gets or Sets IndirectMap
/// </summary> /// </summary>
[DataMember(Name="indirect_map", EmitDefaultValue=false)] [DataMember(Name = "indirect_map", EmitDefaultValue = false)]
public Dictionary<string, bool> IndirectMap { get; set; } public Dictionary<string, bool> IndirectMap { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Uuid /// Gets or Sets Uuid
/// </summary> /// </summary>
[DataMember(Name="uuid", EmitDefaultValue=false)] [DataMember(Name = "uuid", EmitDefaultValue = false)]
public Guid Uuid { get; set; } public Guid Uuid { get; set; }
/// <summary> /// <summary>
/// Gets or Sets DateTime /// Gets or Sets DateTime
/// </summary> /// </summary>
[DataMember(Name="dateTime", EmitDefaultValue=false)] [DataMember(Name = "dateTime", EmitDefaultValue = false)]
public DateTime DateTime { get; set; } public DateTime DateTime { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Map /// Gets or Sets Map
/// </summary> /// </summary>
[DataMember(Name="map", EmitDefaultValue=false)] [DataMember(Name = "map", EmitDefaultValue = false)]
public Dictionary<string, Animal> Map { get; set; } public Dictionary<string, Animal> Map { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Name /// Gets or Sets Name
/// </summary> /// </summary>
[DataMember(Name="name", EmitDefaultValue=false)] [DataMember(Name = "name", EmitDefaultValue = false)]
public int Name { get; set; } public int Name { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Class /// Gets or Sets Class
/// </summary> /// </summary>
[DataMember(Name="class", EmitDefaultValue=false)] [DataMember(Name = "class", EmitDefaultValue = false)]
public string Class { get; set; } public string Class { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets __Client /// Gets or Sets __Client
/// </summary> /// </summary>
[DataMember(Name="client", EmitDefaultValue=false)] [DataMember(Name = "client", EmitDefaultValue = false)]
public string __Client { get; set; } public string __Client { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -50,25 +50,25 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets _Name /// Gets or Sets _Name
/// </summary> /// </summary>
[DataMember(Name="name", EmitDefaultValue=false)] [DataMember(Name = "name", EmitDefaultValue = false)]
public int _Name { get; set; } public int _Name { get; set; }
/// <summary> /// <summary>
/// Gets or Sets SnakeCase /// Gets or Sets SnakeCase
/// </summary> /// </summary>
[DataMember(Name="snake_case", EmitDefaultValue=false)] [DataMember(Name = "snake_case", EmitDefaultValue = false)]
public int SnakeCase { get; private set; } public int SnakeCase { get; private set; }
/// <summary> /// <summary>
/// Gets or Sets Property /// Gets or Sets Property
/// </summary> /// </summary>
[DataMember(Name="property", EmitDefaultValue=false)] [DataMember(Name = "property", EmitDefaultValue = false)]
public string Property { get; set; } public string Property { get; set; }
/// <summary> /// <summary>
/// Gets or Sets _123Number /// Gets or Sets _123Number
/// </summary> /// </summary>
[DataMember(Name="123Number", EmitDefaultValue=false)] [DataMember(Name = "123Number", EmitDefaultValue = false)]
public int _123Number { get; private set; } public int _123Number { get; private set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -65,74 +65,74 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets IntegerProp /// Gets or Sets IntegerProp
/// </summary> /// </summary>
[DataMember(Name="integer_prop", EmitDefaultValue=true)] [DataMember(Name = "integer_prop", EmitDefaultValue = true)]
public int? IntegerProp { get; set; } public int? IntegerProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets NumberProp /// Gets or Sets NumberProp
/// </summary> /// </summary>
[DataMember(Name="number_prop", EmitDefaultValue=true)] [DataMember(Name = "number_prop", EmitDefaultValue = true)]
public decimal? NumberProp { get; set; } public decimal? NumberProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets BooleanProp /// Gets or Sets BooleanProp
/// </summary> /// </summary>
[DataMember(Name="boolean_prop", EmitDefaultValue=true)] [DataMember(Name = "boolean_prop", EmitDefaultValue = true)]
public bool? BooleanProp { get; set; } public bool? BooleanProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets StringProp /// Gets or Sets StringProp
/// </summary> /// </summary>
[DataMember(Name="string_prop", EmitDefaultValue=true)] [DataMember(Name = "string_prop", EmitDefaultValue = true)]
public string StringProp { get; set; } public string StringProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets DateProp /// Gets or Sets DateProp
/// </summary> /// </summary>
[DataMember(Name="date_prop", EmitDefaultValue=true)] [DataMember(Name = "date_prop", EmitDefaultValue = true)]
[JsonConverter(typeof(OpenAPIDateConverter))] [JsonConverter(typeof(OpenAPIDateConverter))]
public DateTime? DateProp { get; set; } public DateTime? DateProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets DatetimeProp /// Gets or Sets DatetimeProp
/// </summary> /// </summary>
[DataMember(Name="datetime_prop", EmitDefaultValue=true)] [DataMember(Name = "datetime_prop", EmitDefaultValue = true)]
public DateTime? DatetimeProp { get; set; } public DateTime? DatetimeProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ArrayNullableProp /// Gets or Sets ArrayNullableProp
/// </summary> /// </summary>
[DataMember(Name="array_nullable_prop", EmitDefaultValue=true)] [DataMember(Name = "array_nullable_prop", EmitDefaultValue = true)]
public List<Object> ArrayNullableProp { get; set; } public List<Object> ArrayNullableProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ArrayAndItemsNullableProp /// Gets or Sets ArrayAndItemsNullableProp
/// </summary> /// </summary>
[DataMember(Name="array_and_items_nullable_prop", EmitDefaultValue=true)] [DataMember(Name = "array_and_items_nullable_prop", EmitDefaultValue = true)]
public List<Object> ArrayAndItemsNullableProp { get; set; } public List<Object> ArrayAndItemsNullableProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ArrayItemsNullable /// Gets or Sets ArrayItemsNullable
/// </summary> /// </summary>
[DataMember(Name="array_items_nullable", EmitDefaultValue=false)] [DataMember(Name = "array_items_nullable", EmitDefaultValue = false)]
public List<Object> ArrayItemsNullable { get; set; } public List<Object> ArrayItemsNullable { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ObjectNullableProp /// Gets or Sets ObjectNullableProp
/// </summary> /// </summary>
[DataMember(Name="object_nullable_prop", EmitDefaultValue=true)] [DataMember(Name = "object_nullable_prop", EmitDefaultValue = true)]
public Dictionary<string, Object> ObjectNullableProp { get; set; } public Dictionary<string, Object> ObjectNullableProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ObjectAndItemsNullableProp /// Gets or Sets ObjectAndItemsNullableProp
/// </summary> /// </summary>
[DataMember(Name="object_and_items_nullable_prop", EmitDefaultValue=true)] [DataMember(Name = "object_and_items_nullable_prop", EmitDefaultValue = true)]
public Dictionary<string, Object> ObjectAndItemsNullableProp { get; set; } public Dictionary<string, Object> ObjectAndItemsNullableProp { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ObjectItemsNullable /// Gets or Sets ObjectItemsNullable
/// </summary> /// </summary>
[DataMember(Name="object_items_nullable", EmitDefaultValue=false)] [DataMember(Name = "object_items_nullable", EmitDefaultValue = false)]
public Dictionary<string, Object> ObjectItemsNullable { get; set; } public Dictionary<string, Object> ObjectItemsNullable { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets JustNumber /// Gets or Sets JustNumber
/// </summary> /// </summary>
[DataMember(Name="JustNumber", EmitDefaultValue=false)] [DataMember(Name = "JustNumber", EmitDefaultValue = false)]
public decimal JustNumber { get; set; } public decimal JustNumber { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
/// Order Status /// Order Status
/// </summary> /// </summary>
/// <value>Order Status</value> /// <value>Order Status</value>
[DataMember(Name="status", EmitDefaultValue=false)] [DataMember(Name = "status", EmitDefaultValue = false)]
public StatusEnum? Status { get; set; } public StatusEnum? Status { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Order" /> class. /// Initializes a new instance of the <see cref="Order" /> class.
@ -86,31 +86,31 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
[DataMember(Name="id", EmitDefaultValue=false)] [DataMember(Name = "id", EmitDefaultValue = false)]
public long Id { get; set; } public long Id { get; set; }
/// <summary> /// <summary>
/// Gets or Sets PetId /// Gets or Sets PetId
/// </summary> /// </summary>
[DataMember(Name="petId", EmitDefaultValue=false)] [DataMember(Name = "petId", EmitDefaultValue = false)]
public long PetId { get; set; } public long PetId { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Quantity /// Gets or Sets Quantity
/// </summary> /// </summary>
[DataMember(Name="quantity", EmitDefaultValue=false)] [DataMember(Name = "quantity", EmitDefaultValue = false)]
public int Quantity { get; set; } public int Quantity { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ShipDate /// Gets or Sets ShipDate
/// </summary> /// </summary>
[DataMember(Name="shipDate", EmitDefaultValue=false)] [DataMember(Name = "shipDate", EmitDefaultValue = false)]
public DateTime ShipDate { get; set; } public DateTime ShipDate { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Complete /// Gets or Sets Complete
/// </summary> /// </summary>
[DataMember(Name="complete", EmitDefaultValue=false)] [DataMember(Name = "complete", EmitDefaultValue = false)]
public bool Complete { get; set; } public bool Complete { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets MyNumber /// Gets or Sets MyNumber
/// </summary> /// </summary>
[DataMember(Name="my_number", EmitDefaultValue=false)] [DataMember(Name = "my_number", EmitDefaultValue = false)]
public decimal MyNumber { get; set; } public decimal MyNumber { get; set; }
/// <summary> /// <summary>
/// Gets or Sets MyString /// Gets or Sets MyString
/// </summary> /// </summary>
[DataMember(Name="my_string", EmitDefaultValue=false)] [DataMember(Name = "my_string", EmitDefaultValue = false)]
public string MyString { get; set; } public string MyString { get; set; }
/// <summary> /// <summary>
/// Gets or Sets MyBoolean /// Gets or Sets MyBoolean
/// </summary> /// </summary>
[DataMember(Name="my_boolean", EmitDefaultValue=false)] [DataMember(Name = "my_boolean", EmitDefaultValue = false)]
public bool MyBoolean { get; set; } public bool MyBoolean { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
/// pet status in the store /// pet status in the store
/// </summary> /// </summary>
/// <value>pet status in the store</value> /// <value>pet status in the store</value>
[DataMember(Name="status", EmitDefaultValue=false)] [DataMember(Name = "status", EmitDefaultValue = false)]
public StatusEnum? Status { get; set; } public StatusEnum? Status { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Pet" /> class. /// Initializes a new instance of the <see cref="Pet" /> class.
@ -93,31 +93,31 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
[DataMember(Name="id", EmitDefaultValue=false)] [DataMember(Name = "id", EmitDefaultValue = false)]
public long Id { get; set; } public long Id { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Category /// Gets or Sets Category
/// </summary> /// </summary>
[DataMember(Name="category", EmitDefaultValue=false)] [DataMember(Name = "category", EmitDefaultValue = false)]
public Category Category { get; set; } public Category Category { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Name /// Gets or Sets Name
/// </summary> /// </summary>
[DataMember(Name="name", EmitDefaultValue=false)] [DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; } public string Name { get; set; }
/// <summary> /// <summary>
/// Gets or Sets PhotoUrls /// Gets or Sets PhotoUrls
/// </summary> /// </summary>
[DataMember(Name="photoUrls", EmitDefaultValue=false)] [DataMember(Name = "photoUrls", EmitDefaultValue = false)]
public List<string> PhotoUrls { get; set; } public List<string> PhotoUrls { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Tags /// Gets or Sets Tags
/// </summary> /// </summary>
[DataMember(Name="tags", EmitDefaultValue=false)] [DataMember(Name = "tags", EmitDefaultValue = false)]
public List<Tag> Tags { get; set; } public List<Tag> Tags { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,13 +43,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Bar /// Gets or Sets Bar
/// </summary> /// </summary>
[DataMember(Name="bar", EmitDefaultValue=false)] [DataMember(Name = "bar", EmitDefaultValue = false)]
public string Bar { get; private set; } public string Bar { get; private set; }
/// <summary> /// <summary>
/// Gets or Sets Baz /// Gets or Sets Baz
/// </summary> /// </summary>
[DataMember(Name="baz", EmitDefaultValue=false)] [DataMember(Name = "baz", EmitDefaultValue = false)]
public string Baz { get; set; } public string Baz { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets _Return /// Gets or Sets _Return
/// </summary> /// </summary>
[DataMember(Name="return", EmitDefaultValue=false)] [DataMember(Name = "return", EmitDefaultValue = false)]
public int _Return { get; set; } public int _Return { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets SpecialPropertyName /// Gets or Sets SpecialPropertyName
/// </summary> /// </summary>
[DataMember(Name="$special[property.name]", EmitDefaultValue=false)] [DataMember(Name = "$special[property.name]", EmitDefaultValue = false)]
public long SpecialPropertyName { get; set; } public long SpecialPropertyName { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
[DataMember(Name="id", EmitDefaultValue=false)] [DataMember(Name = "id", EmitDefaultValue = false)]
public long Id { get; set; } public long Id { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Name /// Gets or Sets Name
/// </summary> /// </summary>
[DataMember(Name="name", EmitDefaultValue=false)] [DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; } public string Name { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -57,50 +57,50 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
[DataMember(Name="id", EmitDefaultValue=false)] [DataMember(Name = "id", EmitDefaultValue = false)]
public long Id { get; set; } public long Id { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Username /// Gets or Sets Username
/// </summary> /// </summary>
[DataMember(Name="username", EmitDefaultValue=false)] [DataMember(Name = "username", EmitDefaultValue = false)]
public string Username { get; set; } public string Username { get; set; }
/// <summary> /// <summary>
/// Gets or Sets FirstName /// Gets or Sets FirstName
/// </summary> /// </summary>
[DataMember(Name="firstName", EmitDefaultValue=false)] [DataMember(Name = "firstName", EmitDefaultValue = false)]
public string FirstName { get; set; } public string FirstName { get; set; }
/// <summary> /// <summary>
/// Gets or Sets LastName /// Gets or Sets LastName
/// </summary> /// </summary>
[DataMember(Name="lastName", EmitDefaultValue=false)] [DataMember(Name = "lastName", EmitDefaultValue = false)]
public string LastName { get; set; } public string LastName { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Email /// Gets or Sets Email
/// </summary> /// </summary>
[DataMember(Name="email", EmitDefaultValue=false)] [DataMember(Name = "email", EmitDefaultValue = false)]
public string Email { get; set; } public string Email { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Password /// Gets or Sets Password
/// </summary> /// </summary>
[DataMember(Name="password", EmitDefaultValue=false)] [DataMember(Name = "password", EmitDefaultValue = false)]
public string Password { get; set; } public string Password { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Phone /// Gets or Sets Phone
/// </summary> /// </summary>
[DataMember(Name="phone", EmitDefaultValue=false)] [DataMember(Name = "phone", EmitDefaultValue = false)]
public string Phone { get; set; } public string Phone { get; set; }
/// <summary> /// <summary>
/// User Status /// User Status
/// </summary> /// </summary>
/// <value>User Status</value> /// <value>User Status</value>
[DataMember(Name="userStatus", EmitDefaultValue=false)] [DataMember(Name = "userStatus", EmitDefaultValue = false)]
public int UserStatus { get; set; } public int UserStatus { get; set; }
/// <summary> /// <summary>

View File

@ -35,7 +35,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
ModelClient Call123TestSpecialTags (ModelClient modelClient); ModelClient Call123TestSpecialTags(ModelClient modelClient);
/// <summary> /// <summary>
/// To test special tags /// To test special tags
@ -46,7 +46,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
ApiResponse<ModelClient> Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient); ApiResponse<ModelClient> Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test special tags /// To test special tags
@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="AnotherFakeApi"/> class. /// Initializes a new instance of the <see cref="AnotherFakeApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public AnotherFakeApi() : this((string) null) public AnotherFakeApi() : this((string)null)
{ {
} }
@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -205,7 +205,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
public ModelClient Call123TestSpecialTags (ModelClient modelClient) public ModelClient Call123TestSpecialTags(ModelClient modelClient)
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient);
return localVarResponse.Data; return localVarResponse.Data;
@ -217,7 +217,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
public Org.OpenAPITools.Client.ApiResponse< ModelClient > Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient) public Org.OpenAPITools.Client.ApiResponse<ModelClient> Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient)
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)
@ -244,7 +244,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Patch< ModelClient >("/another-fake/dummy", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Patch<ModelClient>("/another-fake/dummy", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -262,7 +262,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -275,7 +275,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)

View File

@ -31,7 +31,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>InlineResponseDefault</returns> /// <returns>InlineResponseDefault</returns>
InlineResponseDefault FooGet (); InlineResponseDefault FooGet();
/// <summary> /// <summary>
/// ///
@ -41,7 +41,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>ApiResponse of InlineResponseDefault</returns> /// <returns>ApiResponse of InlineResponseDefault</returns>
ApiResponse<InlineResponseDefault> FooGetWithHttpInfo (); ApiResponse<InlineResponseDefault> FooGetWithHttpInfo();
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -60,7 +60,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of InlineResponseDefault</returns> /// <returns>Task of InlineResponseDefault</returns>
System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// ///
@ -71,7 +71,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (InlineResponseDefault)</returns> /// <returns>Task of ApiResponse (InlineResponseDefault)</returns>
System.Threading.Tasks.Task<ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="DefaultApi"/> class. /// Initializes a new instance of the <see cref="DefaultApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public DefaultApi() : this((string) null) public DefaultApi() : this((string)null)
{ {
} }
@ -139,11 +139,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -174,7 +174,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -197,7 +197,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>InlineResponseDefault</returns> /// <returns>InlineResponseDefault</returns>
public InlineResponseDefault FooGet () public InlineResponseDefault FooGet()
{ {
Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = FooGetWithHttpInfo(); Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = FooGetWithHttpInfo();
return localVarResponse.Data; return localVarResponse.Data;
@ -208,7 +208,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>ApiResponse of InlineResponseDefault</returns> /// <returns>ApiResponse of InlineResponseDefault</returns>
public Org.OpenAPITools.Client.ApiResponse< InlineResponseDefault > FooGetWithHttpInfo () public Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> FooGetWithHttpInfo()
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -229,7 +229,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< InlineResponseDefault >("/foo", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<InlineResponseDefault>("/foo", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -246,7 +246,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of InlineResponseDefault</returns> /// <returns>Task of InlineResponseDefault</returns>
public async System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<InlineResponseDefault> FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken); Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -258,7 +258,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (InlineResponseDefault)</returns> /// <returns>Task of ApiResponse (InlineResponseDefault)</returns>
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault>> FooGetWithHttpInfoAsync(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();

View File

@ -35,7 +35,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
ModelClient TestClassname (ModelClient modelClient); ModelClient TestClassname(ModelClient modelClient);
/// <summary> /// <summary>
/// To test class name in snake case /// To test class name in snake case
@ -46,7 +46,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
ApiResponse<ModelClient> TestClassnameWithHttpInfo (ModelClient modelClient); ApiResponse<ModelClient> TestClassnameWithHttpInfo(ModelClient modelClient);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ModelClient> TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// To test class name in snake case /// To test class name in snake case
@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="FakeClassnameTags123Api"/> class. /// Initializes a new instance of the <see cref="FakeClassnameTags123Api"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public FakeClassnameTags123Api() : this((string) null) public FakeClassnameTags123Api() : this((string)null)
{ {
} }
@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -205,7 +205,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ModelClient</returns> /// <returns>ModelClient</returns>
public ModelClient TestClassname (ModelClient modelClient) public ModelClient TestClassname(ModelClient modelClient)
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = TestClassnameWithHttpInfo(modelClient); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = TestClassnameWithHttpInfo(modelClient);
return localVarResponse.Data; return localVarResponse.Data;
@ -217,7 +217,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="modelClient">client model</param> /// <param name="modelClient">client model</param>
/// <returns>ApiResponse of ModelClient</returns> /// <returns>ApiResponse of ModelClient</returns>
public Org.OpenAPITools.Client.ApiResponse< ModelClient > TestClassnameWithHttpInfo (ModelClient modelClient) public Org.OpenAPITools.Client.ApiResponse<ModelClient> TestClassnameWithHttpInfo(ModelClient modelClient)
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)
@ -249,7 +249,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Patch< ModelClient >("/fake_classname_test", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Patch<ModelClient>("/fake_classname_test", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -267,7 +267,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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 ModelClient</returns> /// <returns>Task of ModelClient</returns>
public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<ModelClient> TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ModelClient> localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -280,7 +280,7 @@ namespace Org.OpenAPITools.Api
/// <param name="modelClient">client model</param> /// <param name="modelClient">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>> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ModelClient>> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'modelClient' is set // verify the required parameter 'modelClient' is set
if (modelClient == null) if (modelClient == null)

View File

@ -32,7 +32,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
void AddPet (Pet pet); void AddPet(Pet pet);
/// <summary> /// <summary>
/// Add a new pet to the store /// Add a new pet to the store
@ -43,7 +43,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> AddPetWithHttpInfo (Pet pet); ApiResponse<Object> AddPetWithHttpInfo(Pet pet);
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
@ -51,7 +51,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns></returns> /// <returns></returns>
void DeletePet (long petId, string apiKey = default(string)); void DeletePet(long petId, string apiKey = default(string));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = default(string)); ApiResponse<Object> DeletePetWithHttpInfo(long petId, string apiKey = default(string));
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
/// </summary> /// </summary>
@ -73,7 +73,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
List<Pet> FindPetsByStatus (List<string> status); List<Pet> FindPetsByStatus(List<string> status);
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
@ -84,7 +84,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status); ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo(List<string> status);
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
/// </summary> /// </summary>
@ -94,7 +94,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
List<Pet> FindPetsByTags (List<string> tags); List<Pet> FindPetsByTags(List<string> tags);
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
@ -105,7 +105,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags); ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo(List<string> tags);
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
/// </summary> /// </summary>
@ -115,7 +115,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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>Pet</returns> /// <returns>Pet</returns>
Pet GetPetById (long petId); Pet GetPetById(long petId);
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
@ -126,14 +126,14 @@ 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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>ApiResponse of Pet</returns> /// <returns>ApiResponse of Pet</returns>
ApiResponse<Pet> GetPetByIdWithHttpInfo (long petId); ApiResponse<Pet> GetPetByIdWithHttpInfo(long petId);
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
/// </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>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
void UpdatePet (Pet pet); void UpdatePet(Pet pet);
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
@ -144,7 +144,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdatePetWithHttpInfo (Pet pet); ApiResponse<Object> UpdatePetWithHttpInfo(Pet pet);
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
/// </summary> /// </summary>
@ -153,7 +153,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns></returns> /// <returns></returns>
void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)); void UpdatePetWithForm(long petId, string name = default(string), string status = default(string));
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
@ -166,7 +166,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)); ApiResponse<Object> UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
/// </summary> /// </summary>
@ -175,7 +175,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
@ -188,7 +188,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
ApiResponse<ApiResponse> UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); ApiResponse<ApiResponse> UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
/// </summary> /// </summary>
@ -197,7 +197,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
@ -210,7 +210,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -230,7 +230,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Add a new pet to the store /// Add a new pet to the store
@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
@ -254,7 +254,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task DeletePetAsync(long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
@ -267,7 +267,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>> DeletePetWithHttpInfoAsync (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>
@ -278,7 +278,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 List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync(List<string> status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by status /// Finds Pets by status
@ -290,7 +290,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>>> FindPetsByStatusWithHttpInfoAsync (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>
@ -301,7 +301,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 List&lt;Pet&gt;</returns> /// <returns>Task of List&lt;Pet&gt;</returns>
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync(List<string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Finds Pets by tags /// Finds Pets by tags
@ -313,7 +313,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>>> FindPetsByTagsWithHttpInfoAsync (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>
@ -324,7 +324,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 Pet</returns> /// <returns>Task of Pet</returns>
System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Pet> GetPetByIdAsync(long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find pet by ID /// Find pet by ID
@ -336,7 +336,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>> GetPetByIdWithHttpInfoAsync (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>
@ -347,7 +347,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
@ -359,7 +359,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithHttpInfoAsync(Pet pet, 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>
@ -372,7 +372,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task UpdatePetWithFormAsync(long petId, string name = default(string), string status = default(string), 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
@ -386,7 +386,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>> UpdatePetWithFormWithHttpInfoAsync (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>
@ -399,7 +399,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</returns> /// <returns>Task of ApiResponse</returns>
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)); 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));
/// <summary> /// <summary>
/// uploads an image /// uploads an image
@ -413,7 +413,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>> UploadFileWithHttpInfoAsync (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>
@ -426,7 +426,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</returns> /// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
@ -440,7 +440,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>> UploadFileWithRequiredFileWithHttpInfoAsync (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
} }
@ -463,7 +463,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="PetApi"/> class. /// Initializes a new instance of the <see cref="PetApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public PetApi() : this((string) null) public PetApi() : this((string)null)
{ {
} }
@ -508,11 +508,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public PetApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public PetApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -543,7 +543,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -567,7 +567,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
public void AddPet (Pet pet) public void AddPet(Pet pet)
{ {
AddPetWithHttpInfo(pet); AddPetWithHttpInfo(pet);
} }
@ -578,7 +578,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> AddPetWithHttpInfo (Pet pet) public Org.OpenAPITools.Client.ApiResponse<Object> AddPetWithHttpInfo(Pet pet)
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -629,7 +629,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await AddPetWithHttpInfoAsync(pet, cancellationToken); await AddPetWithHttpInfoAsync(pet, cancellationToken);
} }
@ -641,7 +641,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -695,7 +695,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns></returns> /// <returns></returns>
public void DeletePet (long petId, string apiKey = default(string)) public void DeletePet(long petId, string apiKey = default(string))
{ {
DeletePetWithHttpInfo(petId, apiKey); DeletePetWithHttpInfo(petId, apiKey);
} }
@ -707,7 +707,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = default(string)) public Org.OpenAPITools.Client.ApiResponse<Object> DeletePetWithHttpInfo(long petId, string apiKey = default(string))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -757,7 +757,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 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 DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken); await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken);
} }
@ -770,7 +770,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>> DeletePetWithHttpInfoAsync (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();
@ -821,7 +821,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
public List<Pet> FindPetsByStatus (List<string> status) public List<Pet> FindPetsByStatus(List<string> status)
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByStatusWithHttpInfo(status); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByStatusWithHttpInfo(status);
return localVarResponse.Data; return localVarResponse.Data;
@ -833,7 +833,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="status">Status values that need to be considered for filter</param> /// <param name="status">Status values that need to be considered for filter</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public Org.OpenAPITools.Client.ApiResponse< List<Pet> > FindPetsByStatusWithHttpInfo (List<string> status) public Org.OpenAPITools.Client.ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo(List<string> status)
{ {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) if (status == null)
@ -866,7 +866,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< List<Pet> >("/pet/findByStatus", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<List<Pet>>("/pet/findByStatus", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -884,7 +884,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 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 FindPetsByStatusWithHttpInfoAsync(status, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -897,7 +897,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>>> FindPetsByStatusWithHttpInfoAsync (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)
@ -950,7 +950,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>List&lt;Pet&gt;</returns> /// <returns>List&lt;Pet&gt;</returns>
public List<Pet> FindPetsByTags (List<string> tags) public List<Pet> FindPetsByTags(List<string> tags)
{ {
Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByTagsWithHttpInfo(tags); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = FindPetsByTagsWithHttpInfo(tags);
return localVarResponse.Data; return localVarResponse.Data;
@ -962,7 +962,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="tags">Tags to filter by</param> /// <param name="tags">Tags to filter by</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns> /// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public Org.OpenAPITools.Client.ApiResponse< List<Pet> > FindPetsByTagsWithHttpInfo (List<string> tags) public Org.OpenAPITools.Client.ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo(List<string> tags)
{ {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) if (tags == null)
@ -995,7 +995,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< List<Pet> >("/pet/findByTags", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<List<Pet>>("/pet/findByTags", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1013,7 +1013,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 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 FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken); Org.OpenAPITools.Client.ApiResponse<List<Pet>> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1026,7 +1026,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>>> FindPetsByTagsWithHttpInfoAsync (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)
@ -1079,7 +1079,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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>Pet</returns> /// <returns>Pet</returns>
public Pet GetPetById (long petId) public Pet GetPetById(long petId)
{ {
Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = GetPetByIdWithHttpInfo(petId); Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = GetPetByIdWithHttpInfo(petId);
return localVarResponse.Data; return localVarResponse.Data;
@ -1091,7 +1091,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="petId">ID of pet to return</param> /// <param name="petId">ID of pet to return</param>
/// <returns>ApiResponse of Pet</returns> /// <returns>ApiResponse of Pet</returns>
public Org.OpenAPITools.Client.ApiResponse< Pet > GetPetByIdWithHttpInfo (long petId) public Org.OpenAPITools.Client.ApiResponse<Pet> GetPetByIdWithHttpInfo(long petId)
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1119,7 +1119,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< Pet >("/pet/{petId}", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<Pet>("/pet/{petId}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1137,7 +1137,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 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 GetPetByIdWithHttpInfoAsync(petId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Pet> localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1150,7 +1150,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>> GetPetByIdWithHttpInfoAsync (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();
@ -1198,7 +1198,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
public void UpdatePet (Pet pet) public void UpdatePet(Pet pet)
{ {
UpdatePetWithHttpInfo(pet); UpdatePetWithHttpInfo(pet);
} }
@ -1209,7 +1209,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="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithHttpInfo (Pet pet) public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithHttpInfo(Pet pet)
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -1260,7 +1260,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdatePetWithHttpInfoAsync(pet, cancellationToken); await UpdatePetWithHttpInfoAsync(pet, cancellationToken);
} }
@ -1272,7 +1272,7 @@ namespace Org.OpenAPITools.Api
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">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>> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdatePetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) if (pet == null)
@ -1327,7 +1327,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns></returns> /// <returns></returns>
public void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)) public void UpdatePetWithForm(long petId, string name = default(string), string status = default(string))
{ {
UpdatePetWithFormWithHttpInfo(petId, name, status); UpdatePetWithFormWithHttpInfo(petId, name, status);
} }
@ -1340,7 +1340,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param> /// <param name="status">Updated status of the pet (optional)</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)) public Org.OpenAPITools.Client.ApiResponse<Object> UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1396,7 +1396,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 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 UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken); await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken);
} }
@ -1410,7 +1410,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>> UpdatePetWithFormWithHttpInfoAsync (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();
@ -1468,7 +1468,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
public ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) public ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file);
return localVarResponse.Data; return localVarResponse.Data;
@ -1482,7 +1482,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="file">file to upload (optional)</param> /// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) public Org.OpenAPITools.Client.ApiResponse<ApiResponse> UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1519,7 +1519,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Post< ApiResponse >("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Post<ApiResponse>("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1539,7 +1539,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</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 UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1554,7 +1554,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>> UploadFileWithHttpInfoAsync (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();
@ -1613,7 +1613,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse</returns> /// <returns>ApiResponse</returns>
public ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) public ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{ {
Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata);
return localVarResponse.Data; return localVarResponse.Data;
@ -1627,7 +1627,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns> /// <returns>ApiResponse of ApiResponse</returns>
public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) public Org.OpenAPITools.Client.ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{ {
// verify the required parameter 'requiredFile' is set // verify the required parameter 'requiredFile' is set
if (requiredFile == null) if (requiredFile == null)
@ -1665,7 +1665,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Post< ApiResponse >("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Post<ApiResponse>("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1685,7 +1685,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</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 UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken); Org.OpenAPITools.Client.ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1700,7 +1700,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>> UploadFileWithRequiredFileWithHttpInfoAsync (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

@ -35,7 +35,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
void DeleteOrder (string orderId); void DeleteOrder(string orderId);
/// <summary> /// <summary>
/// Delete purchase order by ID /// Delete purchase order by ID
@ -46,7 +46,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeleteOrderWithHttpInfo (string orderId); ApiResponse<Object> DeleteOrderWithHttpInfo(string orderId);
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
/// </summary> /// </summary>
@ -55,7 +55,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>Dictionary&lt;string, int&gt;</returns> /// <returns>Dictionary&lt;string, int&gt;</returns>
Dictionary<string, int> GetInventory (); Dictionary<string, int> GetInventory();
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
@ -65,7 +65,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>ApiResponse of Dictionary&lt;string, int&gt;</returns> /// <returns>ApiResponse of Dictionary&lt;string, int&gt;</returns>
ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo (); ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo();
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
/// </summary> /// </summary>
@ -75,7 +75,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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns> /// <returns>Order</returns>
Order GetOrderById (long orderId); Order GetOrderById(long orderId);
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
@ -86,14 +86,14 @@ 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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
ApiResponse<Order> GetOrderByIdWithHttpInfo (long orderId); ApiResponse<Order> GetOrderByIdWithHttpInfo(long orderId);
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
/// </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>
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>Order</returns> /// <returns>Order</returns>
Order PlaceOrder (Order order); Order PlaceOrder(Order order);
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
@ -104,7 +104,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="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
ApiResponse<Order> PlaceOrderWithHttpInfo (Order order); ApiResponse<Order> PlaceOrderWithHttpInfo(Order order);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -124,7 +124,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task DeleteOrderAsync(string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete purchase order by ID /// Delete purchase order by ID
@ -136,7 +136,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>> DeleteOrderWithHttpInfoAsync (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>
@ -146,7 +146,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of Dictionary&lt;string, int&gt;</returns> /// <returns>Task of Dictionary&lt;string, int&gt;</returns>
System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Dictionary<string, int>> GetInventoryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Returns pet inventories by status /// Returns pet inventories by status
@ -157,7 +157,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</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>>> GetInventoryWithHttpInfoAsync (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>
@ -168,7 +168,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 Order</returns> /// <returns>Task of Order</returns>
System.Threading.Tasks.Task<Order> GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Order> GetOrderByIdAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Find purchase order by ID /// Find purchase order by ID
@ -180,7 +180,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>> GetOrderByIdWithHttpInfoAsync (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>
@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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 Order</returns> /// <returns>Task of Order</returns>
System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<Order> PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
@ -203,7 +203,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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>> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -226,7 +226,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="StoreApi"/> class. /// Initializes a new instance of the <see cref="StoreApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public StoreApi() : this((string) null) public StoreApi() : this((string)null)
{ {
} }
@ -271,11 +271,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -306,7 +306,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -330,7 +330,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
public void DeleteOrder (string orderId) public void DeleteOrder(string orderId)
{ {
DeleteOrderWithHttpInfo(orderId); DeleteOrderWithHttpInfo(orderId);
} }
@ -341,7 +341,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="orderId">ID of the order that needs to be deleted</param> /// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> DeleteOrderWithHttpInfo (string orderId) public Org.OpenAPITools.Client.ApiResponse<Object> DeleteOrderWithHttpInfo(string orderId)
{ {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) if (orderId == null)
@ -384,7 +384,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 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 DeleteOrderWithHttpInfoAsync(orderId, cancellationToken); await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken);
} }
@ -396,7 +396,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>> DeleteOrderWithHttpInfoAsync (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)
@ -440,7 +440,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>Dictionary&lt;string, int&gt;</returns> /// <returns>Dictionary&lt;string, int&gt;</returns>
public Dictionary<string, int> GetInventory () public Dictionary<string, int> GetInventory()
{ {
Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = GetInventoryWithHttpInfo(); Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = GetInventoryWithHttpInfo();
return localVarResponse.Data; return localVarResponse.Data;
@ -451,7 +451,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>ApiResponse of Dictionary&lt;string, int&gt;</returns> /// <returns>ApiResponse of Dictionary&lt;string, int&gt;</returns>
public Org.OpenAPITools.Client.ApiResponse< Dictionary<string, int> > GetInventoryWithHttpInfo () public Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo()
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -477,7 +477,7 @@ namespace Org.OpenAPITools.Api
} }
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< Dictionary<string, int> >("/store/inventory", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<Dictionary<string, int>>("/store/inventory", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -494,7 +494,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <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 GetInventoryWithHttpInfoAsync(cancellationToken); Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -506,7 +506,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</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<Org.OpenAPITools.Client.ApiResponse<Dictionary<string, int>>> GetInventoryWithHttpInfoAsync (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();
@ -552,7 +552,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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns> /// <returns>Order</returns>
public Order GetOrderById (long orderId) public Order GetOrderById(long orderId)
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = GetOrderByIdWithHttpInfo(orderId); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = GetOrderByIdWithHttpInfo(orderId);
return localVarResponse.Data; return localVarResponse.Data;
@ -564,7 +564,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="orderId">ID of pet that needs to be fetched</param> /// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
public Org.OpenAPITools.Client.ApiResponse< Order > GetOrderByIdWithHttpInfo (long orderId) public Org.OpenAPITools.Client.ApiResponse<Order> GetOrderByIdWithHttpInfo(long orderId)
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -587,7 +587,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< Order >("/store/order/{order_id}", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<Order>("/store/order/{order_id}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -605,7 +605,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 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 GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -618,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>> GetOrderByIdWithHttpInfoAsync (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();
@ -661,7 +661,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="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>Order</returns> /// <returns>Order</returns>
public Order PlaceOrder (Order order) public Order PlaceOrder(Order order)
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = PlaceOrderWithHttpInfo(order); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = PlaceOrderWithHttpInfo(order);
return localVarResponse.Data; return localVarResponse.Data;
@ -673,7 +673,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="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>ApiResponse of Order</returns> /// <returns>ApiResponse of Order</returns>
public Org.OpenAPITools.Client.ApiResponse< Order > PlaceOrderWithHttpInfo (Order order) public Org.OpenAPITools.Client.ApiResponse<Order> PlaceOrderWithHttpInfo(Order order)
{ {
// verify the required parameter 'order' is set // verify the required parameter 'order' is set
if (order == null) if (order == null)
@ -701,7 +701,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Post< Order >("/store/order", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Post<Order>("/store/order", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -719,7 +719,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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 Order</returns> /// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Order> PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken); Org.OpenAPITools.Client.ApiResponse<Order> localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -732,7 +732,7 @@ namespace Org.OpenAPITools.Api
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">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>> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Order>> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'order' is set // verify the required parameter 'order' is set
if (order == null) if (order == null)

View File

@ -35,7 +35,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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns></returns> /// <returns></returns>
void CreateUser (User user); void CreateUser(User user);
/// <summary> /// <summary>
/// Create user /// Create user
@ -46,14 +46,14 @@ 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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUserWithHttpInfo (User user); ApiResponse<Object> CreateUserWithHttpInfo(User user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </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>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
void CreateUsersWithArrayInput (List<User> user); void CreateUsersWithArrayInput(List<User> user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
@ -64,14 +64,14 @@ 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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> user); ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo(List<User> user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </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>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
void CreateUsersWithListInput (List<User> user); void CreateUsersWithListInput(List<User> user);
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
@ -82,7 +82,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> user); ApiResponse<Object> CreateUsersWithListInputWithHttpInfo(List<User> user);
/// <summary> /// <summary>
/// Delete user /// Delete user
/// </summary> /// </summary>
@ -92,7 +92,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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
void DeleteUser (string username); void DeleteUser(string username);
/// <summary> /// <summary>
/// Delete user /// Delete user
@ -103,14 +103,14 @@ 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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeleteUserWithHttpInfo (string username); ApiResponse<Object> DeleteUserWithHttpInfo(string username);
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
/// </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>
/// <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>
/// <returns>User</returns> /// <returns>User</returns>
User GetUserByName (string username); User GetUserByName(string username);
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
@ -121,7 +121,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="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>
/// <returns>ApiResponse of User</returns> /// <returns>ApiResponse of User</returns>
ApiResponse<User> GetUserByNameWithHttpInfo (string username); ApiResponse<User> GetUserByNameWithHttpInfo(string username);
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
/// </summary> /// </summary>
@ -129,7 +129,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>string</returns> /// <returns>string</returns>
string LoginUser (string username, string password); string LoginUser(string username, string password);
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
@ -141,13 +141,13 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>ApiResponse of string</returns> /// <returns>ApiResponse of string</returns>
ApiResponse<string> LoginUserWithHttpInfo (string username, string password); ApiResponse<string> LoginUserWithHttpInfo(string username, string password);
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
/// </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></returns> /// <returns></returns>
void LogoutUser (); void LogoutUser();
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
@ -157,7 +157,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>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> LogoutUserWithHttpInfo (); ApiResponse<Object> LogoutUserWithHttpInfo();
/// <summary> /// <summary>
/// Updated user /// Updated user
/// </summary> /// </summary>
@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns></returns> /// <returns></returns>
void UpdateUser (string username, User user); void UpdateUser(string username, User user);
/// <summary> /// <summary>
/// Updated user /// Updated user
@ -180,7 +180,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdateUserWithHttpInfo (string username, User user); ApiResponse<Object> UpdateUserWithHttpInfo(string username, User user);
#endregion Synchronous Operations #endregion Synchronous Operations
} }
@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Create user /// Create user
@ -212,7 +212,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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>> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserWithHttpInfoAsync(User user, 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>
@ -223,7 +223,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List<User> user, 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
@ -235,7 +235,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync(List<User> user, 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>
@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task CreateUsersWithListInputAsync(List<User> user, 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
@ -258,7 +258,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithListInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete user /// Delete user
/// </summary> /// </summary>
@ -269,7 +269,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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task DeleteUserAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Delete user /// Delete user
@ -281,7 +281,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>> DeleteUserWithHttpInfoAsync (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>
@ -292,7 +292,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 User</returns> /// <returns>Task of User</returns>
System.Threading.Tasks.Task<User> GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<User> GetUserByNameAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
@ -304,7 +304,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>> GetUserByNameWithHttpInfoAsync (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>
@ -316,7 +316,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 string</returns> /// <returns>Task of string</returns>
System.Threading.Tasks.Task<string> LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<string> LoginUserAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
@ -329,7 +329,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>> LoginUserWithHttpInfoAsync (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>
@ -339,7 +339,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task LogoutUserAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
@ -350,7 +350,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 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>> LogoutUserWithHttpInfoAsync (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>
@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Updated user /// Updated user
@ -375,7 +375,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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>> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserWithHttpInfoAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations #endregion Asynchronous Operations
} }
@ -398,7 +398,7 @@ namespace Org.OpenAPITools.Api
/// Initializes a new instance of the <see cref="UserApi"/> class. /// Initializes a new instance of the <see cref="UserApi"/> class.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public UserApi() : this((string) null) public UserApi() : this((string)null)
{ {
} }
@ -443,11 +443,11 @@ namespace Org.OpenAPITools.Api
/// <param name="client">The client interface for synchronous API access.</param> /// <param name="client">The client interface for synchronous API access.</param>
/// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param>
/// <param name="configuration">The configuration object.</param> /// <param name="configuration">The configuration object.</param>
public UserApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) public UserApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration)
{ {
if(client == null) throw new ArgumentNullException("client"); if (client == null) throw new ArgumentNullException("client");
if(asyncClient == null) throw new ArgumentNullException("asyncClient"); if (asyncClient == null) throw new ArgumentNullException("asyncClient");
if(configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
this.Client = client; this.Client = client;
this.AsynchronousClient = asyncClient; this.AsynchronousClient = asyncClient;
@ -478,7 +478,7 @@ namespace Org.OpenAPITools.Api
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
@ -502,7 +502,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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns></returns> /// <returns></returns>
public void CreateUser (User user) public void CreateUser(User user)
{ {
CreateUserWithHttpInfo(user); CreateUserWithHttpInfo(user);
} }
@ -513,7 +513,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="user">Created user object</param> /// <param name="user">Created user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> CreateUserWithHttpInfo (User user) public Org.OpenAPITools.Client.ApiResponse<Object> CreateUserWithHttpInfo(User user)
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -557,7 +557,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUserWithHttpInfoAsync(user, cancellationToken); await CreateUserWithHttpInfoAsync(user, cancellationToken);
} }
@ -569,7 +569,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Created user object</param> /// <param name="user">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>> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUserWithHttpInfoAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -615,7 +615,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
public void CreateUsersWithArrayInput (List<User> user) public void CreateUsersWithArrayInput(List<User> user)
{ {
CreateUsersWithArrayInputWithHttpInfo(user); CreateUsersWithArrayInputWithHttpInfo(user);
} }
@ -626,7 +626,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> user) public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo(List<User> user)
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -670,7 +670,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken); await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken);
} }
@ -682,7 +682,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithArrayInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithArrayInputWithHttpInfoAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -728,7 +728,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
public void CreateUsersWithListInput (List<User> user) public void CreateUsersWithListInput(List<User> user)
{ {
CreateUsersWithListInputWithHttpInfo(user); CreateUsersWithListInputWithHttpInfo(user);
} }
@ -739,7 +739,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="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> user) public Org.OpenAPITools.Client.ApiResponse<Object> CreateUsersWithListInputWithHttpInfo(List<User> user)
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -783,7 +783,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task CreateUsersWithListInputAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken); await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken);
} }
@ -795,7 +795,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">List of user object</param> /// <param name="user">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>> CreateUsersWithListInputWithHttpInfoAsync (List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateUsersWithListInputWithHttpInfoAsync(List<User> user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) if (user == null)
@ -841,7 +841,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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns></returns> /// <returns></returns>
public void DeleteUser (string username) public void DeleteUser(string username)
{ {
DeleteUserWithHttpInfo(username); DeleteUserWithHttpInfo(username);
} }
@ -852,7 +852,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="username">The name that needs to be deleted</param> /// <param name="username">The name that needs to be deleted</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> DeleteUserWithHttpInfo (string username) public Org.OpenAPITools.Client.ApiResponse<Object> DeleteUserWithHttpInfo(string username)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -895,7 +895,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 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 DeleteUserWithHttpInfoAsync(username, cancellationToken); await DeleteUserWithHttpInfoAsync(username, cancellationToken);
} }
@ -907,7 +907,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>> DeleteUserWithHttpInfoAsync (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)
@ -952,7 +952,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="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>
/// <returns>User</returns> /// <returns>User</returns>
public User GetUserByName (string username) public User GetUserByName(string username)
{ {
Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = GetUserByNameWithHttpInfo(username); Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = GetUserByNameWithHttpInfo(username);
return localVarResponse.Data; return localVarResponse.Data;
@ -964,7 +964,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="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>
/// <returns>ApiResponse of User</returns> /// <returns>ApiResponse of User</returns>
public Org.OpenAPITools.Client.ApiResponse< User > GetUserByNameWithHttpInfo (string username) public Org.OpenAPITools.Client.ApiResponse<User> GetUserByNameWithHttpInfo(string username)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -991,7 +991,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< User >("/user/{username}", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<User>("/user/{username}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1009,7 +1009,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 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 GetUserByNameWithHttpInfoAsync(username, cancellationToken); Org.OpenAPITools.Client.ApiResponse<User> localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1022,7 +1022,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>> GetUserByNameWithHttpInfoAsync (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)
@ -1070,7 +1070,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>string</returns> /// <returns>string</returns>
public string LoginUser (string username, string password) public string LoginUser(string username, string password)
{ {
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = LoginUserWithHttpInfo(username, password); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = LoginUserWithHttpInfo(username, password);
return localVarResponse.Data; return localVarResponse.Data;
@ -1083,7 +1083,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
/// <returns>ApiResponse of string</returns> /// <returns>ApiResponse of string</returns>
public Org.OpenAPITools.Client.ApiResponse< string > LoginUserWithHttpInfo (string username, string password) public Org.OpenAPITools.Client.ApiResponse<string> LoginUserWithHttpInfo(string username, string password)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1115,7 +1115,7 @@ namespace Org.OpenAPITools.Api
// make the HTTP request // make the HTTP request
var localVarResponse = this.Client.Get< string >("/user/login", localVarRequestOptions, this.Configuration); var localVarResponse = this.Client.Get<string>("/user/login", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null) if (this.ExceptionFactory != null)
{ {
@ -1134,7 +1134,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 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 LoginUserWithHttpInfoAsync(username, password, cancellationToken); Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken);
return localVarResponse.Data; return localVarResponse.Data;
@ -1148,7 +1148,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>> LoginUserWithHttpInfoAsync (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)
@ -1199,7 +1199,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></returns> /// <returns></returns>
public void LogoutUser () public void LogoutUser()
{ {
LogoutUserWithHttpInfo(); LogoutUserWithHttpInfo();
} }
@ -1209,7 +1209,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>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> LogoutUserWithHttpInfo () public Org.OpenAPITools.Client.ApiResponse<Object> LogoutUserWithHttpInfo()
{ {
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@ -1246,7 +1246,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 the request.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <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 LogoutUserWithHttpInfoAsync(cancellationToken); await LogoutUserWithHttpInfoAsync(cancellationToken);
} }
@ -1257,7 +1257,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 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>> LogoutUserWithHttpInfoAsync (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();
@ -1298,7 +1298,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns></returns> /// <returns></returns>
public void UpdateUser (string username, User user) public void UpdateUser(string username, User user)
{ {
UpdateUserWithHttpInfo(username, user); UpdateUserWithHttpInfo(username, user);
} }
@ -1310,7 +1310,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">name that need to be deleted</param> /// <param name="username">name that need to be deleted</param>
/// <param name="user">Updated user object</param> /// <param name="user">Updated user object</param>
/// <returns>ApiResponse of Object(void)</returns> /// <returns>ApiResponse of Object(void)</returns>
public Org.OpenAPITools.Client.ApiResponse<Object> UpdateUserWithHttpInfo (string username, User user) public Org.OpenAPITools.Client.ApiResponse<Object> UpdateUserWithHttpInfo(string username, User user)
{ {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) if (username == null)
@ -1360,7 +1360,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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 void</returns> /// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{ {
await UpdateUserWithHttpInfoAsync(username, user, cancellationToken); await UpdateUserWithHttpInfoAsync(username, user, cancellationToken);
} }
@ -1373,7 +1373,7 @@ namespace Org.OpenAPITools.Api
/// <param name="user">Updated user object</param> /// <param name="user">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>> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateUserWithHttpInfoAsync(string username, User user, 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

@ -12,8 +12,6 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.IO; using System.IO;
using System.Web; using System.Web;
using System.Linq; using System.Linq;
@ -21,6 +19,8 @@ using System.Net;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters; using System.Runtime.Serialization.Formatters;
using System.Text; using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Serialization; using Newtonsoft.Json.Serialization;
using RestSharp; using RestSharp;
@ -69,7 +69,7 @@ namespace Org.OpenAPITools.Client
public T Deserialize<T>(IRestResponse response) public T Deserialize<T>(IRestResponse response)
{ {
var result = (T) Deserialize(response, typeof(T)); var result = (T)Deserialize(response, typeof(T));
return result; return result;
} }
@ -423,7 +423,7 @@ namespace Org.OpenAPITools.Client
if (response.Cookies != null && response.Cookies.Count > 0) if (response.Cookies != null && response.Cookies.Count > 0)
{ {
if(result.Cookies == null) result.Cookies = new List<Cookie>(); if (result.Cookies == null) result.Cookies = new List<Cookie>();
foreach (var restResponseCookie in response.Cookies) foreach (var restResponseCookie in response.Cookies)
{ {
var cookie = new Cookie( var cookie = new Cookie(
@ -493,7 +493,7 @@ namespace Org.OpenAPITools.Client
if (response.Cookies != null && response.Cookies.Count > 0) if (response.Cookies != null && response.Cookies.Count > 0)
{ {
if(result.Cookies == null) result.Cookies = new List<Cookie>(); if (result.Cookies == null) result.Cookies = new List<Cookie>();
foreach (var restResponseCookie in response.Cookies) foreach (var restResponseCookie in response.Cookies)
{ {
var cookie = new Cookie( var cookie = new Cookie(

View File

@ -38,7 +38,7 @@ namespace Org.OpenAPITools.Client
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiException"/> class. /// Initializes a new instance of the <see cref="ApiException"/> class.
/// </summary> /// </summary>
public ApiException() {} public ApiException() { }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiException"/> class. /// Initializes a new instance of the <see cref="ApiException"/> class.

View File

@ -111,7 +111,7 @@ namespace Org.OpenAPITools.Client
/// <summary> /// <summary>
/// The raw content /// The raw content
/// </summary> /// </summary>
public string RawContent { get;} public string RawContent { get; }
#endregion Properties #endregion Properties

View File

@ -9,11 +9,11 @@
using System; using System;
using System.Reflection;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection;
using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.X509Certificates;
using System.Text; using System.Text;
@ -155,9 +155,7 @@ namespace Org.OpenAPITools.Client
/// </summary> /// </summary>
public virtual string BasePath { public virtual string BasePath {
get { return _basePath; } get { return _basePath; }
set { set { _basePath = value; }
_basePath = value;
}
} }
/// <summary> /// <summary>
@ -212,7 +210,7 @@ namespace Org.OpenAPITools.Client
public string GetApiKeyWithPrefix(string apiKeyIdentifier) public string GetApiKeyWithPrefix(string apiKeyIdentifier)
{ {
string apiKeyValue; string apiKeyValue;
ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue);
string apiKeyPrefix; string apiKeyPrefix;
if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix))
{ {

View File

@ -21,7 +21,7 @@ namespace Org.OpenAPITools.Client
/// Gets or sets the configuration object /// Gets or sets the configuration object
/// </summary> /// </summary>
/// <value>An instance of the Configuration</value> /// <value>An instance of the Configuration</value>
IReadableConfiguration Configuration {get; set;} IReadableConfiguration Configuration { get; set; }
/// <summary> /// <summary>
/// Gets the base path of the API client. /// Gets the base path of the API client.

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets MapProperty /// Gets or Sets MapProperty
/// </summary> /// </summary>
[DataMember(Name="map_property", EmitDefaultValue=false)] [DataMember(Name = "map_property", EmitDefaultValue = false)]
public Dictionary<string, string> MapProperty { get; set; } public Dictionary<string, string> MapProperty { get; set; }
/// <summary> /// <summary>
/// Gets or Sets MapOfMapProperty /// Gets or Sets MapOfMapProperty
/// </summary> /// </summary>
[DataMember(Name="map_of_map_property", EmitDefaultValue=false)] [DataMember(Name = "map_of_map_property", EmitDefaultValue = false)]
public Dictionary<string, Dictionary<string, string>> MapOfMapProperty { get; set; } public Dictionary<string, Dictionary<string, string>> MapOfMapProperty { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using JsonSubTypes; using JsonSubTypes;
@ -58,13 +58,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ClassName /// Gets or Sets ClassName
/// </summary> /// </summary>
[DataMember(Name="className", EmitDefaultValue=false)] [DataMember(Name = "className", EmitDefaultValue = false)]
public string ClassName { get; set; } public string ClassName { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Color /// Gets or Sets Color
/// </summary> /// </summary>
[DataMember(Name="color", EmitDefaultValue=false)] [DataMember(Name = "color", EmitDefaultValue = false)]
public string Color { get; set; } public string Color { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Code /// Gets or Sets Code
/// </summary> /// </summary>
[DataMember(Name="code", EmitDefaultValue=false)] [DataMember(Name = "code", EmitDefaultValue = false)]
public int Code { get; set; } public int Code { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Type /// Gets or Sets Type
/// </summary> /// </summary>
[DataMember(Name="type", EmitDefaultValue=false)] [DataMember(Name = "type", EmitDefaultValue = false)]
public string Type { get; set; } public string Type { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Message /// Gets or Sets Message
/// </summary> /// </summary>
[DataMember(Name="message", EmitDefaultValue=false)] [DataMember(Name = "message", EmitDefaultValue = false)]
public string Message { get; set; } public string Message { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayArrayNumber /// Gets or Sets ArrayArrayNumber
/// </summary> /// </summary>
[DataMember(Name="ArrayArrayNumber", EmitDefaultValue=false)] [DataMember(Name = "ArrayArrayNumber", EmitDefaultValue = false)]
public List<List<decimal>> ArrayArrayNumber { get; set; } public List<List<decimal>> ArrayArrayNumber { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayNumber /// Gets or Sets ArrayNumber
/// </summary> /// </summary>
[DataMember(Name="ArrayNumber", EmitDefaultValue=false)] [DataMember(Name = "ArrayNumber", EmitDefaultValue = false)]
public List<decimal> ArrayNumber { get; set; } public List<decimal> ArrayNumber { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayOfString /// Gets or Sets ArrayOfString
/// </summary> /// </summary>
[DataMember(Name="array_of_string", EmitDefaultValue=false)] [DataMember(Name = "array_of_string", EmitDefaultValue = false)]
public List<string> ArrayOfString { get; set; } public List<string> ArrayOfString { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ArrayArrayOfInteger /// Gets or Sets ArrayArrayOfInteger
/// </summary> /// </summary>
[DataMember(Name="array_array_of_integer", EmitDefaultValue=false)] [DataMember(Name = "array_array_of_integer", EmitDefaultValue = false)]
public List<List<long>> ArrayArrayOfInteger { get; set; } public List<List<long>> ArrayArrayOfInteger { get; set; }
/// <summary> /// <summary>
/// Gets or Sets ArrayArrayOfModel /// Gets or Sets ArrayArrayOfModel
/// </summary> /// </summary>
[DataMember(Name="array_array_of_model", EmitDefaultValue=false)] [DataMember(Name = "array_array_of_model", EmitDefaultValue = false)]
public List<List<ReadOnlyFirst>> ArrayArrayOfModel { get; set; } public List<List<ReadOnlyFirst>> ArrayArrayOfModel { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -53,38 +53,38 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets SmallCamel /// Gets or Sets SmallCamel
/// </summary> /// </summary>
[DataMember(Name="smallCamel", EmitDefaultValue=false)] [DataMember(Name = "smallCamel", EmitDefaultValue = false)]
public string SmallCamel { get; set; } public string SmallCamel { get; set; }
/// <summary> /// <summary>
/// Gets or Sets CapitalCamel /// Gets or Sets CapitalCamel
/// </summary> /// </summary>
[DataMember(Name="CapitalCamel", EmitDefaultValue=false)] [DataMember(Name = "CapitalCamel", EmitDefaultValue = false)]
public string CapitalCamel { get; set; } public string CapitalCamel { get; set; }
/// <summary> /// <summary>
/// Gets or Sets SmallSnake /// Gets or Sets SmallSnake
/// </summary> /// </summary>
[DataMember(Name="small_Snake", EmitDefaultValue=false)] [DataMember(Name = "small_Snake", EmitDefaultValue = false)]
public string SmallSnake { get; set; } public string SmallSnake { get; set; }
/// <summary> /// <summary>
/// Gets or Sets CapitalSnake /// Gets or Sets CapitalSnake
/// </summary> /// </summary>
[DataMember(Name="Capital_Snake", EmitDefaultValue=false)] [DataMember(Name = "Capital_Snake", EmitDefaultValue = false)]
public string CapitalSnake { get; set; } public string CapitalSnake { get; set; }
/// <summary> /// <summary>
/// Gets or Sets SCAETHFlowPoints /// Gets or Sets SCAETHFlowPoints
/// </summary> /// </summary>
[DataMember(Name="SCA_ETH_Flow_Points", EmitDefaultValue=false)] [DataMember(Name = "SCA_ETH_Flow_Points", EmitDefaultValue = false)]
public string SCAETHFlowPoints { get; set; } public string SCAETHFlowPoints { get; set; }
/// <summary> /// <summary>
/// Name of the pet /// Name of the pet
/// </summary> /// </summary>
/// <value>Name of the pet </value> /// <value>Name of the pet </value>
[DataMember(Name="ATT_NAME", EmitDefaultValue=false)] [DataMember(Name = "ATT_NAME", EmitDefaultValue = false)]
public string ATT_NAME { get; set; } public string ATT_NAME { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Declawed /// Gets or Sets Declawed
/// </summary> /// </summary>
[DataMember(Name="declawed", EmitDefaultValue=false)] [DataMember(Name = "declawed", EmitDefaultValue = false)]
public bool Declawed { get; set; } public bool Declawed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Declawed /// Gets or Sets Declawed
/// </summary> /// </summary>
[DataMember(Name="declawed", EmitDefaultValue=false)] [DataMember(Name = "declawed", EmitDefaultValue = false)]
public bool Declawed { get; set; } public bool Declawed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -51,13 +51,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
[DataMember(Name="id", EmitDefaultValue=false)] [DataMember(Name = "id", EmitDefaultValue = false)]
public long Id { get; set; } public long Id { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Name /// Gets or Sets Name
/// </summary> /// </summary>
[DataMember(Name="name", EmitDefaultValue=false)] [DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; } public string Name { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Class /// Gets or Sets Class
/// </summary> /// </summary>
[DataMember(Name="_class", EmitDefaultValue=false)] [DataMember(Name = "_class", EmitDefaultValue = false)]
public string Class { get; set; } public string Class { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Breed /// Gets or Sets Breed
/// </summary> /// </summary>
[DataMember(Name="breed", EmitDefaultValue=false)] [DataMember(Name = "breed", EmitDefaultValue = false)]
public string Breed { get; set; } public string Breed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Breed /// Gets or Sets Breed
/// </summary> /// </summary>
[DataMember(Name="breed", EmitDefaultValue=false)] [DataMember(Name = "breed", EmitDefaultValue = false)]
public string Breed { get; set; } public string Breed { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -54,7 +54,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets JustSymbol /// Gets or Sets JustSymbol
/// </summary> /// </summary>
[DataMember(Name="just_symbol", EmitDefaultValue=false)] [DataMember(Name = "just_symbol", EmitDefaultValue = false)]
public JustSymbolEnum? JustSymbol { get; set; } public JustSymbolEnum? JustSymbol { get; set; }
/// <summary> /// <summary>
/// Defines ArrayEnum /// Defines ArrayEnum
@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets ArrayEnum /// Gets or Sets ArrayEnum
/// </summary> /// </summary>
[DataMember(Name="array_enum", EmitDefaultValue=false)] [DataMember(Name = "array_enum", EmitDefaultValue = false)]
public List<ArrayEnumEnum> ArrayEnum { get; set; } public List<ArrayEnumEnum> ArrayEnum { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="EnumArrays" /> class. /// Initializes a new instance of the <see cref="EnumArrays" /> class.

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumString /// Gets or Sets EnumString
/// </summary> /// </summary>
[DataMember(Name="enum_string", EmitDefaultValue=false)] [DataMember(Name = "enum_string", EmitDefaultValue = false)]
public EnumStringEnum? EnumString { get; set; } public EnumStringEnum? EnumString { get; set; }
/// <summary> /// <summary>
/// Defines EnumStringRequired /// Defines EnumStringRequired
@ -91,7 +91,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumStringRequired /// Gets or Sets EnumStringRequired
/// </summary> /// </summary>
[DataMember(Name="enum_string_required", EmitDefaultValue=false)] [DataMember(Name = "enum_string_required", EmitDefaultValue = false)]
public EnumStringRequiredEnum EnumStringRequired { get; set; } public EnumStringRequiredEnum EnumStringRequired { get; set; }
/// <summary> /// <summary>
/// Defines EnumInteger /// Defines EnumInteger
@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumInteger /// Gets or Sets EnumInteger
/// </summary> /// </summary>
[DataMember(Name="enum_integer", EmitDefaultValue=false)] [DataMember(Name = "enum_integer", EmitDefaultValue = false)]
public EnumIntegerEnum? EnumInteger { get; set; } public EnumIntegerEnum? EnumInteger { get; set; }
/// <summary> /// <summary>
/// Defines EnumNumber /// Defines EnumNumber
@ -138,27 +138,27 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets EnumNumber /// Gets or Sets EnumNumber
/// </summary> /// </summary>
[DataMember(Name="enum_number", EmitDefaultValue=false)] [DataMember(Name = "enum_number", EmitDefaultValue = false)]
public EnumNumberEnum? EnumNumber { get; set; } public EnumNumberEnum? EnumNumber { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnum /// Gets or Sets OuterEnum
/// </summary> /// </summary>
[DataMember(Name="outerEnum", EmitDefaultValue=true)] [DataMember(Name = "outerEnum", EmitDefaultValue = true)]
public OuterEnum? OuterEnum { get; set; } public OuterEnum? OuterEnum { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnumInteger /// Gets or Sets OuterEnumInteger
/// </summary> /// </summary>
[DataMember(Name="outerEnumInteger", EmitDefaultValue=false)] [DataMember(Name = "outerEnumInteger", EmitDefaultValue = false)]
public OuterEnumInteger? OuterEnumInteger { get; set; } public OuterEnumInteger? OuterEnumInteger { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnumDefaultValue /// Gets or Sets OuterEnumDefaultValue
/// </summary> /// </summary>
[DataMember(Name="outerEnumDefaultValue", EmitDefaultValue=false)] [DataMember(Name = "outerEnumDefaultValue", EmitDefaultValue = false)]
public OuterEnumDefaultValue? OuterEnumDefaultValue { get; set; } public OuterEnumDefaultValue? OuterEnumDefaultValue { get; set; }
/// <summary> /// <summary>
/// Gets or Sets OuterEnumIntegerDefaultValue /// Gets or Sets OuterEnumIntegerDefaultValue
/// </summary> /// </summary>
[DataMember(Name="outerEnumIntegerDefaultValue", EmitDefaultValue=false)] [DataMember(Name = "outerEnumIntegerDefaultValue", EmitDefaultValue = false)]
public OuterEnumIntegerDefaultValue? OuterEnumIntegerDefaultValue { get; set; } public OuterEnumIntegerDefaultValue? OuterEnumIntegerDefaultValue { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="EnumTest" /> class. /// Initializes a new instance of the <see cref="EnumTest" /> class.

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model
/// Test capitalization /// Test capitalization
/// </summary> /// </summary>
/// <value>Test capitalization</value> /// <value>Test capitalization</value>
[DataMember(Name="sourceURI", EmitDefaultValue=false)] [DataMember(Name = "sourceURI", EmitDefaultValue = false)]
public string SourceURI { get; set; } public string SourceURI { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets File /// Gets or Sets File
/// </summary> /// </summary>
[DataMember(Name="file", EmitDefaultValue=false)] [DataMember(Name = "file", EmitDefaultValue = false)]
public File File { get; set; } public File File { get; set; }
/// <summary> /// <summary>
/// Gets or Sets Files /// Gets or Sets Files
/// </summary> /// </summary>
[DataMember(Name="files", EmitDefaultValue=false)] [DataMember(Name = "files", EmitDefaultValue = false)]
public List<File> Files { get; set; } public List<File> Files { get; set; }
/// <summary> /// <summary>

View File

@ -9,14 +9,14 @@
using System; using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model
/// <summary> /// <summary>
/// Gets or Sets Bar /// Gets or Sets Bar
/// </summary> /// </summary>
[DataMember(Name="bar", EmitDefaultValue=false)] [DataMember(Name = "bar", EmitDefaultValue = false)]
public string Bar { get; set; } public string Bar { get; set; }
/// <summary> /// <summary>

Some files were not shown because too many files have changed in this diff Show More