Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(generation): generated using api def sdk-2021-05-11-rerelease an…
…d gen 3.31.0
- Loading branch information
Showing
159 changed files
with
6,074 additions
and
557 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
Scripts/Services/Assistant/V1/Model/ChannelTransferInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* (C) Copyright IBM Corp. 2021. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
using Newtonsoft.Json; | ||
|
||
namespace IBM.Watson.Assistant.V1.Model | ||
{ | ||
/// <summary> | ||
/// Information used by an integration to transfer the conversation to a different channel. | ||
/// </summary> | ||
public class ChannelTransferInfo | ||
{ | ||
/// <summary> | ||
/// An object specifying target channels available for the transfer. Each property of this object represents an | ||
/// available transfer target. Currently, the only supported property is **chat**, representing the web chat | ||
/// integration. | ||
/// </summary> | ||
[JsonProperty("target", NullValueHandling = NullValueHandling.Ignore)] | ||
public ChannelTransferTarget Target { get; set; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Scripts/Services/Assistant/V1/Model/ChannelTransferInfo.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
Scripts/Services/Assistant/V1/Model/ChannelTransferTarget.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* (C) Copyright IBM Corp. 2021. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
using Newtonsoft.Json; | ||
|
||
namespace IBM.Watson.Assistant.V1.Model | ||
{ | ||
/// <summary> | ||
/// An object specifying target channels available for the transfer. Each property of this object represents an | ||
/// available transfer target. Currently, the only supported property is **chat**, representing the web chat | ||
/// integration. | ||
/// </summary> | ||
public class ChannelTransferTarget | ||
{ | ||
/// <summary> | ||
/// Information for transferring to the web chat integration. | ||
/// </summary> | ||
[JsonProperty("chat", NullValueHandling = NullValueHandling.Ignore)] | ||
public ChannelTransferTargetChat Chat { get; set; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Scripts/Services/Assistant/V1/Model/ChannelTransferTarget.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
Scripts/Services/Assistant/V1/Model/ChannelTransferTargetChat.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* (C) Copyright IBM Corp. 2021. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
using Newtonsoft.Json; | ||
|
||
namespace IBM.Watson.Assistant.V1.Model | ||
{ | ||
/// <summary> | ||
/// Information for transferring to the web chat integration. | ||
/// </summary> | ||
public class ChannelTransferTargetChat | ||
{ | ||
/// <summary> | ||
/// The URL of the target web chat. | ||
/// </summary> | ||
[JsonProperty("url", NullValueHandling = NullValueHandling.Ignore)] | ||
public string Url { get; set; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Scripts/Services/Assistant/V1/Model/ChannelTransferTargetChat.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
.../Assistant/V1/Model/DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/** | ||
* (C) Copyright IBM Corp. 2021. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace IBM.Watson.Assistant.V1.Model | ||
{ | ||
/// <summary> | ||
/// DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer. | ||
/// </summary> | ||
public class DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer : DialogNodeOutputGeneric | ||
{ | ||
/// <summary> | ||
/// The type of response returned by the dialog node. The specified response type must be supported by the | ||
/// client application or channel. | ||
/// </summary> | ||
[JsonProperty("response_type", NullValueHandling = NullValueHandling.Ignore)] | ||
public new string ResponseType | ||
{ | ||
get { return base.ResponseType; } | ||
set { base.ResponseType = value; } | ||
} | ||
/// <summary> | ||
/// The message to display to the user when initiating a channel transfer. | ||
/// </summary> | ||
[JsonProperty("message_to_user", NullValueHandling = NullValueHandling.Ignore)] | ||
public new string MessageToUser | ||
{ | ||
get { return base.MessageToUser; } | ||
set { base.MessageToUser = value; } | ||
} | ||
/// <summary> | ||
/// 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; } | ||
} | ||
/// <summary> | ||
/// An array of objects specifying channels for which the response is intended. | ||
/// </summary> | ||
[JsonProperty("channels", NullValueHandling = NullValueHandling.Ignore)] | ||
public new List<ResponseGenericChannel> Channels | ||
{ | ||
get { return base.Channels; } | ||
set { base.Channels = value; } | ||
} | ||
} | ||
} |
Oops, something went wrong.