Skip to content

Commit 5eeffe3

Browse files
committed
feat: Regenerate using 2.2.5 and 1de49c12418c0baece9d6e81cad91142fdd201c9
1 parent a94f971 commit 5eeffe3

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

src/IBM.Watson.Discovery.v2/Model/QueryHistogramAggregation.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2018, 2019.
2+
* (C) Copyright IBM Corp. 2018, 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,6 +37,11 @@ public class QueryHistogramAggregation : QueryAggregation
3737
[JsonProperty("interval", NullValueHandling = NullValueHandling.Ignore)]
3838
public long? Interval { get; set; }
3939
/// <summary>
40+
/// Identifier specified in the query request of this aggregation.
41+
/// </summary>
42+
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
43+
public string Name { get; set; }
44+
/// <summary>
4045
/// Array of numeric intervals.
4146
/// </summary>
4247
[JsonProperty("results", NullValueHandling = NullValueHandling.Ignore)]

src/IBM.Watson.Discovery.v2/Model/QueryTermAggregation.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2018, 2019.
2+
* (C) Copyright IBM Corp. 2018, 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,6 +36,11 @@ public class QueryTermAggregation : QueryAggregation
3636
[JsonProperty("count", NullValueHandling = NullValueHandling.Ignore)]
3737
public long? Count { get; set; }
3838
/// <summary>
39+
/// Identifier specified in the query request of this aggregation.
40+
/// </summary>
41+
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
42+
public string Name { get; set; }
43+
/// <summary>
3944
/// Array of top values for the field.
4045
/// </summary>
4146
[JsonProperty("results", NullValueHandling = NullValueHandling.Ignore)]

src/IBM.Watson.Discovery.v2/Model/QueryTimesliceAggregation.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2018, 2019.
2+
* (C) Copyright IBM Corp. 2018, 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,6 +36,11 @@ public class QueryTimesliceAggregation : QueryAggregation
3636
[JsonProperty("interval", NullValueHandling = NullValueHandling.Ignore)]
3737
public string Interval { get; set; }
3838
/// <summary>
39+
/// Identifier specified in the query request of this aggregation.
40+
/// </summary>
41+
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
42+
public string Name { get; set; }
43+
/// <summary>
3944
/// Array of aggregation results.
4045
/// </summary>
4146
[JsonProperty("results", NullValueHandling = NullValueHandling.Ignore)]

src/IBM.Watson.Discovery.v2/Model/QueryTopHitsAggregation.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2018, 2019.
2+
* (C) Copyright IBM Corp. 2018, 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,6 +30,11 @@ public class QueryTopHitsAggregation : QueryAggregation
3030
[JsonProperty("size", NullValueHandling = NullValueHandling.Ignore)]
3131
public long? Size { get; set; }
3232
/// <summary>
33+
/// Identifier specified in the query request of this aggregation.
34+
/// </summary>
35+
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
36+
public string Name { get; set; }
37+
/// <summary>
3338
/// Gets or Sets Hits
3439
/// </summary>
3540
[JsonProperty("hits", NullValueHandling = NullValueHandling.Ignore)]

src/IBM.Watson.LanguageTranslator.v3/LanguageTranslatorService.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@ public LanguageTranslatorService(string versionDate, IAuthenticator authenticato
5757
/// <summary>
5858
/// Translate.
5959
///
60-
/// The translate request containing the text, and either using a model ID or the source/target fields to select
61-
/// a language pair for translation. If present, the model ID takes precedence over source/target fields. If no
62-
/// explicit model is selected via model ID and the source language is omitted, the service will try to
63-
/// automatically detect the source language.
60+
/// Translates the input text from the source language to the target language. A target language or translation
61+
/// model ID is required. The service attempts to detect the language of the source text if it is not specified.
6462
/// </summary>
6563
/// <param name="request">The translate request containing the text, and either a model ID or source and target
6664
/// language pair.</param>

0 commit comments

Comments
 (0)