Skip to content

Commit 11bb062

Browse files
authored
Merge pull request #287 from watson-developer-cloud/5341-regenerate-sdk
Regenerate SDK
2 parents 8afb955 + 2700590 commit 11bb062

40 files changed

+441
-995
lines changed

src/IBM.WatsonDeveloperCloud.Assistant.v1/AssistantService.cs

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,7 @@ public WorkspaceExport GetWorkspace(string workspaceId, bool? export = null, boo
314314
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
315315
/// default to false)</param>
316316
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
317-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
318-
/// (optional)</param>
317+
/// the value with a minus sign (`-`). (optional)</param>
319318
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
320319
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
321320
/// the response. (optional, default to false)</param>
@@ -616,8 +615,7 @@ public IntentExport GetIntent(string workspaceId, string intent, bool? export =
616615
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
617616
/// default to false)</param>
618617
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
619-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
620-
/// (optional)</param>
618+
/// the value with a minus sign (`-`). (optional)</param>
621619
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
622620
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
623621
/// the response. (optional, default to false)</param>
@@ -919,8 +917,7 @@ public Example GetExample(string workspaceId, string intent, string text, bool?
919917
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
920918
/// default to false)</param>
921919
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
922-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
923-
/// (optional)</param>
920+
/// the value with a minus sign (`-`). (optional)</param>
924921
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
925922
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
926923
/// the response. (optional, default to false)</param>
@@ -1213,8 +1210,7 @@ public Counterexample GetCounterexample(string workspaceId, string text, bool? i
12131210
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
12141211
/// default to false)</param>
12151212
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
1216-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
1217-
/// (optional)</param>
1213+
/// the value with a minus sign (`-`). (optional)</param>
12181214
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
12191215
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
12201216
/// the response. (optional, default to false)</param>
@@ -1509,8 +1505,7 @@ public EntityExport GetEntity(string workspaceId, string entity, bool? export =
15091505
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
15101506
/// default to false)</param>
15111507
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
1512-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
1513-
/// (optional)</param>
1508+
/// the value with a minus sign (`-`). (optional)</param>
15141509
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
15151510
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
15161511
/// the response. (optional, default to false)</param>
@@ -1880,8 +1875,7 @@ public ValueExport GetValue(string workspaceId, string entity, string value, boo
18801875
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
18811876
/// default to false)</param>
18821877
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
1883-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
1884-
/// (optional)</param>
1878+
/// the value with a minus sign (`-`). (optional)</param>
18851879
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
18861880
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
18871881
/// the response. (optional, default to false)</param>
@@ -2198,8 +2192,7 @@ public Synonym GetSynonym(string workspaceId, string entity, string value, strin
21982192
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
21992193
/// default to false)</param>
22002194
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
2201-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
2202-
/// (optional)</param>
2195+
/// the value with a minus sign (`-`). (optional)</param>
22032196
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
22042197
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
22052198
/// the response. (optional, default to false)</param>
@@ -2493,8 +2486,7 @@ public DialogNode GetDialogNode(string workspaceId, string dialogNode, bool? inc
24932486
/// <param name="includeCount">Whether to include information about the number of records returned. (optional,
24942487
/// default to false)</param>
24952488
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
2496-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
2497-
/// (optional)</param>
2489+
/// the value with a minus sign (`-`). (optional)</param>
24982490
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
24992491
/// <param name="includeAudit">Whether to include the audit properties (`created` and `updated` timestamps) in
25002492
/// the response. (optional, default to false)</param>
@@ -2621,9 +2613,9 @@ public DialogNode UpdateDialogNode(string workspaceId, string dialogNode, Update
26212613
/// You must specify a filter query that includes a value for `language`, as well as a value for `workspace_id`
26222614
/// or `request.context.metadata.deployment`. For more information, see the
26232615
/// [documentation](https://console.bluemix.net/docs/services/conversation/filter-reference.html#filter-query-syntax).</param>
2624-
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
2625-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
2626-
/// (optional)</param>
2616+
/// <param name="sort">How to sort the returned log events. You can sort by **request_timestamp**. To reverse
2617+
/// the sort order, prefix the parameter value with a minus sign (`-`). (optional, default to
2618+
/// request_timestamp)</param>
26272619
/// <param name="pageLimit">The number of records to return in each page of results. (optional, default to
26282620
/// 100)</param>
26292621
/// <param name="cursor">A token identifying the page of results to retrieve. (optional)</param>
@@ -2685,9 +2677,9 @@ public LogCollection ListAllLogs(string filter, string sort = null, long? pageLi
26852677
/// specified, the limit is 120 requests per minute. For more information, see **Rate limiting**.
26862678
/// </summary>
26872679
/// <param name="workspaceId">Unique identifier of the workspace.</param>
2688-
/// <param name="sort">The attribute by which returned results will be sorted. To reverse the sort order, prefix
2689-
/// the value with a minus sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
2690-
/// (optional)</param>
2680+
/// <param name="sort">How to sort the returned log events. You can sort by **request_timestamp**. To reverse
2681+
/// the sort order, prefix the parameter value with a minus sign (`-`). (optional, default to
2682+
/// request_timestamp)</param>
26912683
/// <param name="filter">A cacheable parameter that limits the results to those matching the specified filter.
26922684
/// For more information, see the
26932685
/// [documentation](https://console.bluemix.net/docs/services/conversation/filter-reference.html#filter-query-syntax).

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/CreateDialogNode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ public enum DigressOutSlotsEnum
319319
[JsonProperty("variable", NullValueHandling = NullValueHandling.Ignore)]
320320
public string Variable { get; set; }
321321
/// <summary>
322-
/// A label that can be displayed externally to describe the purpose of the node to users.
322+
/// A label that can be displayed externally to describe the purpose of the node to users. This string must be
323+
/// no longer than 512 characters.
323324
/// </summary>
324325
[JsonProperty("user_label", NullValueHandling = NullValueHandling.Ignore)]
325326
public string UserLabel { get; set; }

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/DialogNode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ public enum DigressOutSlotsEnum
325325
[JsonProperty("variable", NullValueHandling = NullValueHandling.Ignore)]
326326
public string Variable { get; set; }
327327
/// <summary>
328-
/// A label that can be displayed externally to describe the purpose of the node to users.
328+
/// A label that can be displayed externally to describe the purpose of the node to users. This string must be
329+
/// no longer than 512 characters.
329330
/// </summary>
330331
[JsonProperty("user_label", NullValueHandling = NullValueHandling.Ignore)]
331332
public string UserLabel { get; set; }

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/DialogNodeOutputGeneric.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,24 +172,26 @@ public enum PreferenceEnum
172172
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
173173
public string Source { get; set; }
174174
/// <summary>
175-
/// An optional title to show before the response. Valid only when **response_type**=`image` or `option`.
175+
/// An optional title to show before the response. Valid only when **response_type**=`image` or `option`. This
176+
/// string must be no longer than 512 characters.
176177
/// </summary>
177178
[JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
178179
public string Title { get; set; }
179180
/// <summary>
180181
/// An optional description to show with the response. Valid only when **response_type**=`image` or `option`.
182+
/// This string must be no longer than 256 characters.
181183
/// </summary>
182184
[JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
183185
public string Description { get; set; }
184186
/// <summary>
185-
/// An array of objects describing the options from which the user can choose. Required when
186-
/// **response_type**=`option`.
187+
/// An array of objects describing the options from which the user can choose. You can include up to 20 options.
188+
/// Required when **response_type**=`option`.
187189
/// </summary>
188190
[JsonProperty("options", NullValueHandling = NullValueHandling.Ignore)]
189191
public List<DialogNodeOutputOptionsElement> Options { get; set; }
190192
/// <summary>
191193
/// An optional message to be sent to the human agent who will be taking over the conversation. Valid only when
192-
/// **reponse_type**=`connect_to_agent`.
194+
/// **reponse_type**=`connect_to_agent`. This string must be no longer than 256 characters.
193195
/// </summary>
194196
[JsonProperty("message_to_human_agent", NullValueHandling = NullValueHandling.Ignore)]
195197
public string MessageToHumanAgent { get; set; }

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/DialogNodeOutputTextValuesElement.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ namespace IBM.WatsonDeveloperCloud.Assistant.v1.Model
2525
public class DialogNodeOutputTextValuesElement : BaseModel
2626
{
2727
/// <summary>
28-
/// The text of a response. This can include newline characters (`
29-
/// `), Markdown tagging, or other special characters, if supported by the channel.
28+
/// The text of a response. This string can include newline characters (`
29+
/// `), Markdown tagging, or other special characters, if supported by the channel. It must be no longer than
30+
/// 4096 characters.
3031
/// </summary>
3132
[JsonProperty("text", NullValueHandling = NullValueHandling.Ignore)]
3233
public string Text { get; set; }

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/DialogRuntimeResponseGeneric.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public enum PreferenceEnum
140140
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
141141
public string Source { get; set; }
142142
/// <summary>
143-
/// The title to show before the response.
143+
/// The title or introductory text to show before the response.
144144
/// </summary>
145145
[JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
146146
public string Title { get; set; }

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/MessageResponse.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ public class MessageResponse : BaseModel
5555
/// </summary>
5656
[JsonProperty("output", NullValueHandling = NullValueHandling.Ignore)]
5757
public dynamic Output { get; set; }
58+
/// <summary>
59+
/// An array of objects describing any actions requested by the dialog node.
60+
/// </summary>
61+
[JsonProperty("actions", NullValueHandling = NullValueHandling.Ignore)]
62+
public dynamic Actions { get; set; }
5863
}
5964

6065
}

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/OutputData.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ public class OutputData : BaseModel
5555
/// </summary>
5656
[JsonProperty("nodes_visited_details", NullValueHandling = NullValueHandling.Ignore)]
5757
public dynamic NodesVisitedDetails { get; set; }
58+
/// <summary>
59+
/// An array of objects describing any actions requested by the dialog node.
60+
/// </summary>
61+
[JsonProperty("actions", NullValueHandling = NullValueHandling.Ignore)]
62+
public dynamic Actions { get; set; }
5863
}
5964

6065
}

src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/UpdateDialogNode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ public enum DigressOutSlotsEnum
319319
[JsonProperty("actions", NullValueHandling = NullValueHandling.Ignore)]
320320
public List<DialogNodeAction> Actions { get; set; }
321321
/// <summary>
322-
/// A label that can be displayed externally to describe the purpose of the node to users.
322+
/// A label that can be displayed externally to describe the purpose of the node to users. This string must be
323+
/// no longer than 512 characters.
323324
/// </summary>
324325
[JsonProperty("user_label", NullValueHandling = NullValueHandling.Ignore)]
325326
public string UserLabel { get; set; }

0 commit comments

Comments
 (0)