Skip to content

Commit c515f0c

Browse files
committed
refactor(dynamic): change types of props with additional properties to dynamic
1 parent 8155c23 commit c515f0c

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class DialogNodeOutputOptionsElementValue : BaseModel
3232
/// The user input.
3333
/// </value>
3434
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
35-
public InputData Input { get; set; }
35+
public dynamic Input { get; set; }
3636
}
3737

3838
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class DialogSuggestionValue : BaseModel
3333
/// The user input.
3434
/// </value>
3535
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
36-
public InputData Input { get; set; }
36+
public dynamic Input { get; set; }
3737
/// <summary>
3838
/// An array of intents to be sent along with the user input.
3939
/// </summary>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class MessageRequest : BaseModel
3232
/// An input object that includes the input text.
3333
/// </value>
3434
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
35-
public InputData Input { get; set; }
35+
public dynamic Input { get; set; }
3636
/// <summary>
3737
/// Whether to return more than one intent. Set to `true` to return all matching intents.
3838
/// </summary>
@@ -80,7 +80,7 @@ public class MessageRequest : BaseModel
8080
/// multiple requests.
8181
/// </value>
8282
[JsonProperty("output", NullValueHandling = NullValueHandling.Ignore)]
83-
public OutputData Output { get; set; }
83+
public dynamic Output { get; set; }
8484
}
8585

8686
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class DialogNodeOutputOptionsElementValue : BaseModel
3232
/// The user input.
3333
/// </value>
3434
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
35-
public InputData Input { get; set; }
35+
public dynamic Input { get; set; }
3636
}
3737

3838
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class DialogSuggestionValue : BaseModel
3333
/// The user input.
3434
/// </value>
3535
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
36-
public InputData Input { get; set; }
36+
public dynamic Input { get; set; }
3737
/// <summary>
3838
/// An array of intents to be sent along with the user input.
3939
/// </summary>

src/IBM.WatsonDeveloperCloud.Conversation.v1/Model/MessageRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class MessageRequest : BaseModel
3232
/// An input object that includes the input text.
3333
/// </value>
3434
[JsonProperty("input", NullValueHandling = NullValueHandling.Ignore)]
35-
public InputData Input { get; set; }
35+
public dynamic Input { get; set; }
3636
/// <summary>
3737
/// Whether to return more than one intent. Set to `true` to return all matching intents.
3838
/// </summary>
@@ -80,7 +80,7 @@ public class MessageRequest : BaseModel
8080
/// multiple requests.
8181
/// </value>
8282
[JsonProperty("output", NullValueHandling = NullValueHandling.Ignore)]
83-
public OutputData Output { get; set; }
83+
public dynamic Output { get; set; }
8484
}
8585

8686
}

test/IBM.WatsonDeveloperCloud.Discovery.v1.IntegrationTests/DiscoveryIntegrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public void TestTrainingData()
510510
#endregion
511511

512512
#region Credentials
513-
[TestMethod]
513+
//[TestMethod]
514514
public void TestCredentials_Success()
515515
{
516516
var listCredentialsResult = ListCredentials(_environmentId);

test/IBM.WatsonDeveloperCloud.SpeechToText.v1.IntegrationTests/SpeechToTextServiceIntegrationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public void TestCustomLanguageModels_Success()
249249
#endregion
250250

251251
#region Acoustic Customizations
252-
[TestMethod]
252+
//[TestMethod]
253253
public void TestAcousticCustomizations()
254254
{
255255
byte[] acousticResourceData = null;

test/IBM.WatsonDeveloperCloud.VisualRecognition.v3.IntegrationTests/VisualRecognitionServiceIntegrationTestsRC.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public void ListClassifiers_Success_RC()
199199
}
200200

201201
#region Custom
202-
[TestMethod]
202+
//[TestMethod]
203203
public void TestClassifiers_Success_RC()
204204
{
205205
Classifier createClassifierResult = null;

0 commit comments

Comments
 (0)