Skip to content

Commit

Permalink
fix(assistantv2): discriminator hand edits
Browse files Browse the repository at this point in the history
  • Loading branch information
apaparazzi0329 committed Mar 17, 2023
1 parent 0f5dff8 commit 6c51a6e
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 68 deletions.
6 changes: 3 additions & 3 deletions src/IBM.Watson.Assistant.v2/IBM.Watson.Assistant.v2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<PropertyGroup>
<Description>IBM.Watson.Assistant.v2 wraps the Watson Assistant service (http://www.ibm.com/watson/developercloud/assistant.html)</Description>
<AssemblyTitle>IBM.Watson.Assistant.v2</AssemblyTitle>
<VersionPrefix>7.0.0</VersionPrefix>
<VersionPrefix>6.1.0</VersionPrefix>
<Authors>IBM Watson</Authors>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>IBM.Watson.Assistant.v2</AssemblyName>
<PackageId>IBM.Watson.Assistant.v2</PackageId>
<PackageTags>watson;cognitive;speech;vision;machine-learning;ml;ai;artificial-intelligence;.NET;.NET-Standard</PackageTags>
<PackageIconUrl>https://watson-developer-cloud.github.io/dotnet-standard-sdk/img/Watson_Avatar_Pos_RGB.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/watson-developer-cloud/dotnet-standard-sdk</PackageProjectUrl>
<Version>7.0.0</Version>
<Version>6.1.0</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand All @@ -35,7 +35,7 @@

<ItemGroup>
<PackageReference Include="IBM.Cloud.SDK.Core" Version="1.3.1" />
<PackageReference Include="IBM.Watson.Common" Version="7.0.0" />
<PackageReference Include="IBM.Watson.Common" Version="6.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="JsonSubTypes" Version="1.6.0" />
</ItemGroup>
Expand Down
10 changes: 0 additions & 10 deletions src/IBM.Watson.Assistant.v2/Model/MessageOutputDebugTurnEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,6 @@ public class ReasonEnumValue
[JsonProperty("event", NullValueHandling = NullValueHandling.Ignore)]
public string _Event { get; protected set; }
/// <summary>
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public TurnEventActionSource Source { get; protected set; }
/// <summary>
/// The time when the action started processing the message.
/// </summary>
[JsonProperty("action_start_time", NullValueHandling = NullValueHandling.Ignore)]
Expand Down Expand Up @@ -176,11 +171,6 @@ public class ReasonEnumValue
/// </summary>
[JsonProperty("callout", NullValueHandling = NullValueHandling.Ignore)]
public TurnEventCalloutCallout Callout { get; protected set; }
/// <summary>
/// Gets or Sets Error
/// </summary>
[JsonProperty("error", NullValueHandling = NullValueHandling.Ignore)]
public TurnEventCalloutError Error { get; protected set; }
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,7 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventActionSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventActionSource Source { get; protected set; }
/// <summary>
/// The time when the action started processing the message.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,7 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventActionSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventActionSource Source { get; protected set; }
/// <summary>
/// The time when the action started processing the message.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventActionSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventActionSource Source { get; protected set; }
/// <summary>
/// Gets or Sets Callout
/// </summary>
Expand All @@ -55,11 +51,7 @@ public new TurnEventCalloutCallout Callout
/// Gets or Sets Error
/// </summary>
[JsonProperty("error", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventCalloutError Error
{
get { return base.Error; }
set { base.Error = value; }
}
public new TurnEventCalloutError Error { get; protected set; }
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventActionSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventActionSource Source { get; protected set; }
/// <summary>
/// The time when the action started processing the message.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventNodeSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventNodeSource Source { get; protected set; }
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,12 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventActionSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventActionSource Source { get; protected set; }
/// <summary>
/// Gets or Sets Error
/// </summary>
[JsonProperty("error", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventSearchError Error
{
get { return base.Error; }
set { base.Error = value; }
}
public new TurnEventSearchError Error { get; protected set; }
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventActionSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventActionSource Source { get; protected set; }
/// <summary>
/// The time when the action started processing the message.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ public new string _Event
/// Gets or Sets Source
/// </summary>
[JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
public new TurnEventActionSource Source
{
get { return base.Source; }
set { base.Source = value; }
}
public new TurnEventActionSource Source { get; protected set; }
/// <summary>
/// The time when the action started processing the message.
/// </summary>
Expand Down
5 changes: 5 additions & 0 deletions src/IBM.Watson.Assistant.v2/Model/RuntimeResponseGeneric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ public class PreferenceEnumValue
[JsonProperty("agent_unavailable", NullValueHandling = NullValueHandling.Ignore)]
public AgentAvailabilityMessage AgentUnavailable { get; protected set; }
/// <summary>
/// Routing or other contextual information to be used by target service desk systems.
/// </summary>
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
public DialogNodeOutputConnectToAgentTransferInfo TransferInfo { get; protected set; }
/// <summary>
/// A label identifying the topic of the conversation, derived from the **title** property of the relevant node
/// or the **topic** property of the dialog node response.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ public new string MessageToUser
/// Information used by an integration to transfer the conversation to a different channel.
/// </summary>
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
public new ChannelTransferInfo TransferInfo
{
get { return base.TransferInfo; }
set { base.TransferInfo = value; }
}
public new ChannelTransferInfo TransferInfo { get; protected set; }
/// <summary>
/// An array of objects specifying channels for which the response is intended. If **channels** is present, the
/// response is intended for a built-in integration and should not be handled by an API client.
Expand Down

0 comments on commit 6c51a6e

Please sign in to comment.