Skip to content

Commit 936c856

Browse files
authored
Merge pull request #676 from watson-developer-cloud/release-may
generation
2 parents 4ccfaa2 + 99878c2 commit 936c856

File tree

169 files changed

+7598
-588
lines changed

Some content is hidden

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

169 files changed

+7598
-588
lines changed

Common/Common.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2019, 2020.
2+
* (C) Copyright IBM Corp. 2019, 2021.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Scripts/Services/Assistant/V1/AssistantService.cs

Lines changed: 58 additions & 27 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/**
2+
* (C) Copyright IBM Corp. 2021.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using Newtonsoft.Json;
19+
20+
namespace IBM.Watson.Assistant.V1.Model
21+
{
22+
/// <summary>
23+
/// Information used by an integration to transfer the conversation to a different channel.
24+
/// </summary>
25+
public class ChannelTransferInfo
26+
{
27+
/// <summary>
28+
/// An object specifying target channels available for the transfer. Each property of this object represents an
29+
/// available transfer target. Currently, the only supported property is **chat**, representing the web chat
30+
/// integration.
31+
/// </summary>
32+
[JsonProperty("target", NullValueHandling = NullValueHandling.Ignore)]
33+
public ChannelTransferTarget Target { get; set; }
34+
}
35+
}

Scripts/Services/Assistant/V1/Model/ChannelTransferInfo.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/**
2+
* (C) Copyright IBM Corp. 2021.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using Newtonsoft.Json;
19+
20+
namespace IBM.Watson.Assistant.V1.Model
21+
{
22+
/// <summary>
23+
/// An object specifying target channels available for the transfer. Each property of this object represents an
24+
/// available transfer target. Currently, the only supported property is **chat**, representing the web chat
25+
/// integration.
26+
/// </summary>
27+
public class ChannelTransferTarget
28+
{
29+
/// <summary>
30+
/// Information for transferring to the web chat integration.
31+
/// </summary>
32+
[JsonProperty("chat", NullValueHandling = NullValueHandling.Ignore)]
33+
public ChannelTransferTargetChat Chat { get; set; }
34+
}
35+
}

Scripts/Services/Assistant/V1/Model/ChannelTransferTarget.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* (C) Copyright IBM Corp. 2021.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using Newtonsoft.Json;
19+
20+
namespace IBM.Watson.Assistant.V1.Model
21+
{
22+
/// <summary>
23+
/// Information for transferring to the web chat integration.
24+
/// </summary>
25+
public class ChannelTransferTargetChat
26+
{
27+
/// <summary>
28+
/// The URL of the target web chat.
29+
/// </summary>
30+
[JsonProperty("url", NullValueHandling = NullValueHandling.Ignore)]
31+
public string Url { get; set; }
32+
}
33+
}

Scripts/Services/Assistant/V1/Model/ChannelTransferTargetChat.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Scripts/Services/Assistant/V1/Model/DialogNode.cs

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2019, 2020.
2+
* (C) Copyright IBM Corp. 2019, 2021.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -193,8 +193,10 @@ public class DigressOutSlotsValue
193193
[JsonProperty("digress_out_slots", NullValueHandling = NullValueHandling.Ignore)]
194194
public string DigressOutSlots { get; set; }
195195
/// <summary>
196-
/// The dialog node ID. This string must conform to the following restrictions:
197-
/// - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
196+
/// The unique ID of the dialog node. This is an internal identifier used to refer to the dialog node from other
197+
/// dialog nodes and in the diagnostic information included with message responses.
198+
///
199+
/// This string can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
198200
/// </summary>
199201
[JsonProperty("dialog_node", NullValueHandling = NullValueHandling.Ignore)]
200202
public string _DialogNode { get; set; }
@@ -210,13 +212,13 @@ public class DigressOutSlotsValue
210212
[JsonProperty("conditions", NullValueHandling = NullValueHandling.Ignore)]
211213
public string Conditions { get; set; }
212214
/// <summary>
213-
/// The ID of the parent dialog node. This property is omitted if the dialog node has no parent.
215+
/// The unique ID of the parent dialog node. This property is omitted if the dialog node has no parent.
214216
/// </summary>
215217
[JsonProperty("parent", NullValueHandling = NullValueHandling.Ignore)]
216218
public string Parent { get; set; }
217219
/// <summary>
218-
/// The ID of the previous sibling dialog node. This property is omitted if the dialog node has no previous
219-
/// sibling.
220+
/// The unique ID of the previous sibling dialog node. This property is omitted if the dialog node has no
221+
/// previous sibling.
220222
/// </summary>
221223
[JsonProperty("previous_sibling", NullValueHandling = NullValueHandling.Ignore)]
222224
public string PreviousSibling { get; set; }
@@ -242,8 +244,12 @@ public class DigressOutSlotsValue
242244
[JsonProperty("next_step", NullValueHandling = NullValueHandling.Ignore)]
243245
public DialogNodeNextStep NextStep { get; set; }
244246
/// <summary>
245-
/// The alias used to identify the dialog node. This string must conform to the following restrictions:
246-
/// - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
247+
/// A human-readable name for the dialog node. If the node is included in disambiguation, this title is used to
248+
/// populate the **label** property of the corresponding suggestion in the `suggestion` response type (unless it
249+
/// is overridden by the **user_label** property). The title is also used to populate the **topic** property in
250+
/// the `connect_to_agent` response type.
251+
///
252+
/// This string can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
247253
/// </summary>
248254
[JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
249255
public string Title { get; set; }
@@ -258,7 +264,8 @@ public class DigressOutSlotsValue
258264
[JsonProperty("actions", NullValueHandling = NullValueHandling.Ignore)]
259265
public List<DialogNodeAction> Actions { get; set; }
260266
/// <summary>
261-
/// A label that can be displayed externally to describe the purpose of the node to users.
267+
/// A label that can be displayed externally to describe the purpose of the node to users. If set, this label is
268+
/// used to identify the node in disambiguation responses (overriding the value of the **title** property).
262269
/// </summary>
263270
[JsonProperty("user_label", NullValueHandling = NullValueHandling.Ignore)]
264271
public string UserLabel { get; set; }

Scripts/Services/Assistant/V1/Model/DialogNodeNextStep.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2018, 2019 IBM Corp. All Rights Reserved.
2+
* (C) Copyright IBM Corp. 2019, 2021.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -129,7 +129,7 @@ public class SelectorValue
129129
[JsonProperty("selector", NullValueHandling = NullValueHandling.Ignore)]
130130
public string Selector { get; set; }
131131
/// <summary>
132-
/// The ID of the dialog node to process next. This parameter is required if **behavior**=`jump_to`.
132+
/// The unique ID of the dialog node to process next. This parameter is required if **behavior**=`jump_to`.
133133
/// </summary>
134134
[JsonProperty("dialog_node", NullValueHandling = NullValueHandling.Ignore)]
135135
public string DialogNode { get; set; }

0 commit comments

Comments
 (0)