Skip to content

Commit 8c47761

Browse files
SDK version 20.9.0 generated
1 parent 5d4284a commit 8c47761

File tree

74 files changed

+702
-702
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+702
-702
lines changed

Api/AiBcrApi.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ public ContactList Parse(AiBcrParseRequest request)
7676
.Replace("&", "&")
7777
.Replace("/?", "?");
7878
var formParams = new Dictionary<string, object>();
79-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "countries", request.countries);
80-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "languages", request.languages);
81-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "isSingle", request.isSingle);
79+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "countries", request.Countries);
80+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "languages", request.Languages);
81+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "isSingle", request.IsSingle);
8282
if (request.File != null)
8383
{
8484
formParams.Add("file",

Api/AiNameApi.cs

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ internal AiNameApi(ApiInvoker apiInvoker, Configuration configuration)
6363
public AiNameWeightedVariants Complete(AiNameCompleteRequest request)
6464
{
6565
// verify the required parameter 'name' is set
66-
if (request.name == null)
66+
if (request.Name == null)
6767
{
6868
throw new ApiException(400,
6969
"Missing required parameter 'name' when calling Complete");
@@ -75,12 +75,12 @@ public AiNameWeightedVariants Complete(AiNameCompleteRequest request)
7575
.Replace(resourcePath, "\\*", string.Empty)
7676
.Replace("&amp;", "&")
7777
.Replace("/?", "?");
78-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.name);
79-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.language);
80-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.location);
81-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.encoding);
82-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.script);
83-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.style);
78+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.Name);
79+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.Language);
80+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.Location);
81+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.Encoding);
82+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.Script);
83+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.Style);
8484
var response = apiInvoker.InvokeApi(
8585
resourcePath,
8686
"GET");
@@ -106,7 +106,7 @@ public async Task<AiNameWeightedVariants> CompleteAsync(AiNameCompleteRequest re
106106
public AiNameWeightedVariants Expand(AiNameExpandRequest request)
107107
{
108108
// verify the required parameter 'name' is set
109-
if (request.name == null)
109+
if (request.Name == null)
110110
{
111111
throw new ApiException(400,
112112
"Missing required parameter 'name' when calling Expand");
@@ -118,12 +118,12 @@ public AiNameWeightedVariants Expand(AiNameExpandRequest request)
118118
.Replace(resourcePath, "\\*", string.Empty)
119119
.Replace("&amp;", "&")
120120
.Replace("/?", "?");
121-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.name);
122-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.language);
123-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.location);
124-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.encoding);
125-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.script);
126-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.style);
121+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.Name);
122+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.Language);
123+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.Location);
124+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.Encoding);
125+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.Script);
126+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.Style);
127127
var response = apiInvoker.InvokeApi(
128128
resourcePath,
129129
"GET");
@@ -188,7 +188,7 @@ await Task.Run(() => ExpandParsed(request
188188
public AiNameFormatted Format(AiNameFormatRequest request)
189189
{
190190
// verify the required parameter 'name' is set
191-
if (request.name == null)
191+
if (request.Name == null)
192192
{
193193
throw new ApiException(400,
194194
"Missing required parameter 'name' when calling Format");
@@ -200,13 +200,13 @@ public AiNameFormatted Format(AiNameFormatRequest request)
200200
.Replace(resourcePath, "\\*", string.Empty)
201201
.Replace("&amp;", "&")
202202
.Replace("/?", "?");
203-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.name);
204-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.language);
205-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.location);
206-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.encoding);
207-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.script);
208-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "format", request.format);
209-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.style);
203+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.Name);
204+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.Language);
205+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.Location);
206+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.Encoding);
207+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.Script);
208+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "format", request.Format);
209+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.Style);
210210
var response = apiInvoker.InvokeApi(
211211
resourcePath,
212212
"GET");
@@ -271,7 +271,7 @@ await Task.Run(() => FormatParsed(request
271271
public AiNameGenderHypothesisList Genderize(AiNameGenderizeRequest request)
272272
{
273273
// verify the required parameter 'name' is set
274-
if (request.name == null)
274+
if (request.Name == null)
275275
{
276276
throw new ApiException(400,
277277
"Missing required parameter 'name' when calling Genderize");
@@ -283,12 +283,12 @@ public AiNameGenderHypothesisList Genderize(AiNameGenderizeRequest request)
283283
.Replace(resourcePath, "\\*", string.Empty)
284284
.Replace("&amp;", "&")
285285
.Replace("/?", "?");
286-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.name);
287-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.language);
288-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.location);
289-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.encoding);
290-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.script);
291-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.style);
286+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.Name);
287+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.Language);
288+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.Location);
289+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.Encoding);
290+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.Script);
291+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.Style);
292292
var response = apiInvoker.InvokeApi(
293293
resourcePath,
294294
"GET");
@@ -353,14 +353,14 @@ await Task.Run(() => GenderizeParsed(request
353353
public AiNameMatchResult Match(AiNameMatchRequest request)
354354
{
355355
// verify the required parameter 'name' is set
356-
if (request.name == null)
356+
if (request.Name == null)
357357
{
358358
throw new ApiException(400,
359359
"Missing required parameter 'name' when calling Match");
360360
}
361361

362362
// verify the required parameter 'otherName' is set
363-
if (request.otherName == null)
363+
if (request.OtherName == null)
364364
{
365365
throw new ApiException(400,
366366
"Missing required parameter 'otherName' when calling Match");
@@ -372,13 +372,13 @@ public AiNameMatchResult Match(AiNameMatchRequest request)
372372
.Replace(resourcePath, "\\*", string.Empty)
373373
.Replace("&amp;", "&")
374374
.Replace("/?", "?");
375-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.name);
376-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "otherName", request.otherName);
377-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.language);
378-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.location);
379-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.encoding);
380-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.script);
381-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.style);
375+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.Name);
376+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "otherName", request.OtherName);
377+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.Language);
378+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.Location);
379+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.Encoding);
380+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.Script);
381+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.Style);
382382
var response = apiInvoker.InvokeApi(
383383
resourcePath,
384384
"GET");
@@ -443,7 +443,7 @@ await Task.Run(() => MatchParsed(request
443443
public AiNameComponentList Parse(AiNameParseRequest request)
444444
{
445445
// verify the required parameter 'name' is set
446-
if (request.name == null)
446+
if (request.Name == null)
447447
{
448448
throw new ApiException(400,
449449
"Missing required parameter 'name' when calling Parse");
@@ -455,12 +455,12 @@ public AiNameComponentList Parse(AiNameParseRequest request)
455455
.Replace(resourcePath, "\\*", string.Empty)
456456
.Replace("&amp;", "&")
457457
.Replace("/?", "?");
458-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.name);
459-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.language);
460-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.location);
461-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.encoding);
462-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.script);
463-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.style);
458+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "name", request.Name);
459+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.Language);
460+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.Location);
461+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.Encoding);
462+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.Script);
463+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.Style);
464464
var response = apiInvoker.InvokeApi(
465465
resourcePath,
466466
"GET");
@@ -486,7 +486,7 @@ public async Task<AiNameComponentList> ParseAsync(AiNameParseRequest request) =>
486486
public AiNameExtractedList ParseEmailAddress(AiNameParseEmailAddressRequest request)
487487
{
488488
// verify the required parameter 'emailAddress' is set
489-
if (request.emailAddress == null)
489+
if (request.EmailAddress == null)
490490
{
491491
throw new ApiException(400,
492492
"Missing required parameter 'emailAddress' when calling ParseEmailAddress");
@@ -498,12 +498,12 @@ public AiNameExtractedList ParseEmailAddress(AiNameParseEmailAddressRequest requ
498498
.Replace(resourcePath, "\\*", string.Empty)
499499
.Replace("&amp;", "&")
500500
.Replace("/?", "?");
501-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "emailAddress", request.emailAddress);
502-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.language);
503-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.location);
504-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.encoding);
505-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.script);
506-
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.style);
501+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "emailAddress", request.EmailAddress);
502+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "language", request.Language);
503+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "location", request.Location);
504+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "encoding", request.Encoding);
505+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "script", request.Script);
506+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "style", request.Style);
507507
var response = apiInvoker.InvokeApi(
508508
resourcePath,
509509
"GET");

0 commit comments

Comments
 (0)