Skip to content

Commit ef029ce

Browse files
committed
feat: Regenerated the sdk based on the latest api definitions
1 parent 20bd75e commit ef029ce

File tree

72 files changed

+1100
-569
lines changed

Some content is hidden

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

72 files changed

+1100
-569
lines changed

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public enum DigressOutSlotsEnum
285285
/// [documentation](https://console.bluemix.net/docs/services/conversation/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/DialogNode.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public enum DigressOutSlotsEnum
283283
/// [documentation](https://console.bluemix.net/docs/services/conversation/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>

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,19 @@ public enum ActionTypeEnum
4646
/// Enum SERVER for server
4747
/// </summary>
4848
[EnumMember(Value = "server")]
49-
SERVER
49+
SERVER,
50+
51+
/// <summary>
52+
/// Enum CLOUD_FUNCTION for cloud_function
53+
/// </summary>
54+
[EnumMember(Value = "cloud_function")]
55+
CLOUD_FUNCTION,
56+
57+
/// <summary>
58+
/// Enum WEB_ACTION for web_action
59+
/// </summary>
60+
[EnumMember(Value = "web_action")]
61+
WEB_ACTION
5062
}
5163

5264
/// <summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class DialogNodeOutputOptionsElementValue : BaseModel
2929
/// The user input.
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class DialogSuggestionValue : BaseModel
3030
/// The user input.
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>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ public class Example : BaseModel
3535
/// The timestamp for creation of the example.
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 example.
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
/// An array of contextual entity mentions.
4646
/// </summary>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ public class Intent : BaseModel
3434
/// The timestamp for creation of the intent.
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 intent.
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 intent.
4545
/// </summary>

0 commit comments

Comments
 (0)