Skip to content

Commit adb54c2

Browse files
committed
feat: Regenerated SDK based on the latest API definitions
1 parent 2dc7022 commit adb54c2

File tree

105 files changed

+2166
-782
lines changed

Some content is hidden

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

105 files changed

+2166
-782
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@ public DialogNode UpdateDialogNode(string workspaceId, string dialogNode, Update
26172617
/// <param name="filter">A cacheable parameter that limits the results to those matching the specified filter.
26182618
/// You must specify a filter query that includes a value for `language`, as well as a value for `workspace_id`
26192619
/// or `request.context.metadata.deployment`. For more information, see the
2620-
/// [documentation](https://console.bluemix.net/docs/services/conversation/filter-reference.html#filter-query-syntax).</param>
2620+
/// [documentation](https://cloud.ibm.com/docs/services/assistant/filter-reference.html#filter-query-syntax).</param>
26212621
/// <param name="sort">How to sort the returned log events. You can sort by **request_timestamp**. To reverse
26222622
/// the sort order, prefix the parameter value with a minus sign (`-`). (optional, default to
26232623
/// request_timestamp)</param>
@@ -2687,7 +2687,7 @@ public LogCollection ListAllLogs(string filter, string sort = null, long? pageLi
26872687
/// request_timestamp)</param>
26882688
/// <param name="filter">A cacheable parameter that limits the results to those matching the specified filter.
26892689
/// For more information, see the
2690-
/// [documentation](https://console.bluemix.net/docs/services/conversation/filter-reference.html#filter-query-syntax).
2690+
/// [documentation](https://cloud.ibm.com/docs/services/assistant/filter-reference.html#filter-query-syntax).
26912691
/// (optional)</param>
26922692
/// <param name="pageLimit">The number of records to return in each page of results. (optional, default to
26932693
/// 100)</param>
@@ -2748,7 +2748,7 @@ public LogCollection ListLogs(string workspaceId, string sort = null, string fil
27482748
///
27492749
/// You associate a customer ID with data by passing the `X-Watson-Metadata` header with a request that passes
27502750
/// data. For more information about personal data and customer IDs, see [Information
2751-
/// security](https://console.bluemix.net/docs/services/conversation/information-security.html).
2751+
/// security](https://cloud.ibm.com/docs/services/assistant/information-security.html).
27522752
/// </summary>
27532753
/// <param name="customerId">The customer ID for which all data is to be deleted.</param>
27542754
/// <param name="customData">Custom data object to pass data including custom request headers.</param>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ public class Counterexample : BaseModel
3434
/// The timestamp for creation of the counterexample.
3535
/// </summary>
3636
[JsonProperty("created", NullValueHandling = NullValueHandling.Ignore)]
37-
public virtual DateTime? Created { get; private set; }
37+
public virtual DateTime Created { get; private set; }
3838
/// <summary>
3939
/// The timestamp for the last update to the counterexample.
4040
/// </summary>
4141
[JsonProperty("updated", NullValueHandling = NullValueHandling.Ignore)]
42-
public virtual DateTime? Updated { get; private set; }
42+
public virtual DateTime Updated { get; private set; }
4343
}
4444

4545
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ public enum DigressOutSlotsEnum
282282
public string PreviousSibling { get; set; }
283283
/// <summary>
284284
/// The output of the dialog node. For more information about how to specify dialog node output, see the
285-
/// [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
285+
/// [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
286286
/// </summary>
287287
[JsonProperty("output", NullValueHandling = NullValueHandling.Ignore)]
288-
public dynamic Output { get; set; }
288+
public DialogNodeOutput Output { get; set; }
289289
/// <summary>
290290
/// The context for the dialog node.
291291
/// </summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public enum ValueTypeEnum
8181
/// An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by
8282
/// **type**), but not both. A pattern is a regular expression no longer than 512 characters. For more
8383
/// information about how to specify a pattern, see the
84-
/// [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
84+
/// [documentation](https://cloud.ibm.com/docs/services/assistant/entities.html#creating-entities).
8585
/// </summary>
8686
[JsonProperty("patterns", NullValueHandling = NullValueHandling.Ignore)]
8787
public List<string> Patterns { get; set; }

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,10 @@ public enum DigressOutSlotsEnum
280280
public string PreviousSibling { get; set; }
281281
/// <summary>
282282
/// The output of the dialog node. For more information about how to specify dialog node output, see the
283-
/// [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
283+
/// [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
284284
/// </summary>
285285
[JsonProperty("output", NullValueHandling = NullValueHandling.Ignore)]
286-
public dynamic Output { get; set; }
286+
public DialogNodeOutput Output { get; set; }
287287
/// <summary>
288288
/// The context (if defined) for the dialog node.
289289
/// </summary>
@@ -303,12 +303,12 @@ public enum DigressOutSlotsEnum
303303
/// The timestamp for creation of the dialog node.
304304
/// </summary>
305305
[JsonProperty("created", NullValueHandling = NullValueHandling.Ignore)]
306-
public virtual DateTime? Created { get; private set; }
306+
public virtual DateTime Created { get; private set; }
307307
/// <summary>
308308
/// The timestamp for the most recent update to the dialog node.
309309
/// </summary>
310310
[JsonProperty("updated", NullValueHandling = NullValueHandling.Ignore)]
311-
public virtual DateTime? Updated { get; private set; }
311+
public virtual DateTime Updated { get; private set; }
312312
/// <summary>
313313
/// The actions for the dialog node.
314314
/// </summary>
@@ -323,7 +323,7 @@ public enum DigressOutSlotsEnum
323323
/// For internal use only.
324324
/// </summary>
325325
[JsonProperty("disabled", NullValueHandling = NullValueHandling.Ignore)]
326-
public bool Disabled { get; set; }
326+
public bool? Disabled { get; set; }
327327
/// <summary>
328328
/// The location in the dialog context where output is stored.
329329
/// </summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace IBM.WatsonDeveloperCloud.Assistant.v1.Model
2222
{
2323
/// <summary>
2424
/// The output of the dialog node. For more information about how to specify dialog node output, see the
25-
/// [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
25+
/// [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
2626
/// </summary>
2727
public class DialogNodeOutput : BaseModel
2828
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ namespace IBM.WatsonDeveloperCloud.Assistant.v1.Model
2626
public class DialogNodeOutputOptionsElementValue : BaseModel
2727
{
2828
/// <summary>
29-
/// The user input.
29+
/// An input object that includes the input text.
3030
/// </summary>
3131
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
32-
public dynamic Input { get; set; }
32+
public InputData Input { get; set; }
3333
}
3434

3535
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ namespace IBM.WatsonDeveloperCloud.Assistant.v1.Model
2727
public class DialogSuggestionValue : BaseModel
2828
{
2929
/// <summary>
30-
/// The user input.
30+
/// An input object that includes the input text.
3131
/// </summary>
3232
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
33-
public dynamic Input { get; set; }
33+
public InputData Input { get; set; }
3434
/// <summary>
3535
/// An array of intents to be sent along with the user input.
3636
/// </summary>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ public class Entity : BaseModel
3434
/// The timestamp for creation of the entity.
3535
/// </summary>
3636
[JsonProperty("created", NullValueHandling = NullValueHandling.Ignore)]
37-
public virtual DateTime? Created { get; private set; }
37+
public virtual DateTime Created { get; private set; }
3838
/// <summary>
3939
/// The timestamp for the last update to the entity.
4040
/// </summary>
4141
[JsonProperty("updated", NullValueHandling = NullValueHandling.Ignore)]
42-
public virtual DateTime? Updated { get; private set; }
42+
public virtual DateTime Updated { get; private set; }
4343
/// <summary>
4444
/// The description of the entity.
4545
/// </summary>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ public class EntityExport : BaseModel
3535
/// The timestamp for creation of the entity.
3636
/// </summary>
3737
[JsonProperty("created", NullValueHandling = NullValueHandling.Ignore)]
38-
public virtual DateTime? Created { get; private set; }
38+
public virtual DateTime Created { get; private set; }
3939
/// <summary>
4040
/// The timestamp for the last update to the entity.
4141
/// </summary>
4242
[JsonProperty("updated", NullValueHandling = NullValueHandling.Ignore)]
43-
public virtual DateTime? Updated { get; private set; }
43+
public virtual DateTime Updated { get; private set; }
4444
/// <summary>
4545
/// The description of the entity.
4646
/// </summary>

0 commit comments

Comments
 (0)