|
| 1 | +/** |
| 2 | +* (C) Copyright IBM Corp. 2022. |
| 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 System.Collections.Generic; |
| 19 | +using Newtonsoft.Json; |
| 20 | + |
| 21 | +namespace IBM.Watson.Assistant.V1.Model |
| 22 | +{ |
| 23 | + /// <summary> |
| 24 | + /// DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio. |
| 25 | + /// </summary> |
| 26 | + public class DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio : DialogNodeOutputGeneric |
| 27 | + { |
| 28 | + /// <summary> |
| 29 | + /// The type of response returned by the dialog node. The specified response type must be supported by the |
| 30 | + /// client application or channel. |
| 31 | + /// </summary> |
| 32 | + [JsonProperty("response_type", NullValueHandling = NullValueHandling.Ignore)] |
| 33 | + public new string ResponseType |
| 34 | + { |
| 35 | + get { return base.ResponseType; } |
| 36 | + set { base.ResponseType = value; } |
| 37 | + } |
| 38 | + /// <summary> |
| 39 | + /// The `https:` URL of the audio clip. |
| 40 | + /// </summary> |
| 41 | + [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)] |
| 42 | + public new string Source |
| 43 | + { |
| 44 | + get { return base.Source; } |
| 45 | + set { base.Source = value; } |
| 46 | + } |
| 47 | + /// <summary> |
| 48 | + /// An optional title to show before the response. |
| 49 | + /// </summary> |
| 50 | + [JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)] |
| 51 | + public new string Title |
| 52 | + { |
| 53 | + get { return base.Title; } |
| 54 | + set { base.Title = value; } |
| 55 | + } |
| 56 | + /// <summary> |
| 57 | + /// An optional description to show with the response. |
| 58 | + /// </summary> |
| 59 | + [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)] |
| 60 | + public new string Description |
| 61 | + { |
| 62 | + get { return base.Description; } |
| 63 | + set { base.Description = value; } |
| 64 | + } |
| 65 | + /// <summary> |
| 66 | + /// An array of objects specifying channels for which the response is intended. If **channels** is present, the |
| 67 | + /// response is intended for a built-in integration and should not be handled by an API client. |
| 68 | + /// </summary> |
| 69 | + [JsonProperty("channels", NullValueHandling = NullValueHandling.Ignore)] |
| 70 | + public new List<ResponseGenericChannel> Channels |
| 71 | + { |
| 72 | + get { return base.Channels; } |
| 73 | + set { base.Channels = value; } |
| 74 | + } |
| 75 | + /// <summary> |
| 76 | + /// For internal use only. |
| 77 | + /// </summary> |
| 78 | + [JsonProperty("channel_options", NullValueHandling = NullValueHandling.Ignore)] |
| 79 | + public new object ChannelOptions |
| 80 | + { |
| 81 | + get { return base.ChannelOptions; } |
| 82 | + set { base.ChannelOptions = value; } |
| 83 | + } |
| 84 | + /// <summary> |
| 85 | + /// Descriptive text that can be used for screen readers or other situations where the audio player cannot be |
| 86 | + /// seen. |
| 87 | + /// </summary> |
| 88 | + [JsonProperty("alt_text", NullValueHandling = NullValueHandling.Ignore)] |
| 89 | + public new string AltText |
| 90 | + { |
| 91 | + get { return base.AltText; } |
| 92 | + set { base.AltText = value; } |
| 93 | + } |
| 94 | + } |
| 95 | +} |
0 commit comments