diff --git a/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs b/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs index 6beb6fd9..514443eb 100644 --- a/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs +++ b/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs @@ -1,5 +1,5 @@ /** -* (C) Copyright IBM Corp. 2019, 2021. +* (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. @@ -161,7 +161,7 @@ public class QueryTypeValue [JsonProperty("typing", NullValueHandling = NullValueHandling.Ignore)] public bool? Typing { get; protected set; } /// - /// The URL of the image. + /// The `https:` URL of the image. /// [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)] public string Source { get; protected set; } @@ -176,6 +176,11 @@ public class QueryTypeValue [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)] public string Description { get; protected set; } /// + /// Descriptive text that can be used for screen readers or other situations where the image cannot be seen. + /// + [JsonProperty("alt_text", NullValueHandling = NullValueHandling.Ignore)] + public string AltText { get; protected set; } + /// /// An array of objects describing the options from which the user can choose. You can include up to 20 options. /// [JsonProperty("options", NullValueHandling = NullValueHandling.Ignore)] diff --git a/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.cs b/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.cs index 08acc41b..21175a24 100644 --- a/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.cs +++ b/Scripts/Services/Assistant/V1/Model/DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.cs @@ -1,5 +1,5 @@ /** -* (C) Copyright IBM Corp. 2020, 2021. +* (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. @@ -36,7 +36,7 @@ public new string ResponseType set { base.ResponseType = value; } } /// - /// The URL of the image. + /// The `https:` URL of the image. /// [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)] public new string Source @@ -71,5 +71,14 @@ public new List Channels get { return base.Channels; } set { base.Channels = value; } } + /// + /// Descriptive text that can be used for screen readers or other situations where the image cannot be seen. + /// + [JsonProperty("alt_text", NullValueHandling = NullValueHandling.Ignore)] + public new string AltText + { + get { return base.AltText; } + set { base.AltText = value; } + } } } diff --git a/Scripts/Services/Assistant/V1/Model/RuntimeResponseGeneric.cs b/Scripts/Services/Assistant/V1/Model/RuntimeResponseGeneric.cs index 5ccfef6a..985d0cc7 100644 --- a/Scripts/Services/Assistant/V1/Model/RuntimeResponseGeneric.cs +++ b/Scripts/Services/Assistant/V1/Model/RuntimeResponseGeneric.cs @@ -1,5 +1,5 @@ /** -* (C) Copyright IBM Corp. 2019, 2021. +* (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. @@ -108,7 +108,7 @@ public class PreferenceValue [JsonProperty("typing", NullValueHandling = NullValueHandling.Ignore)] public bool? Typing { get; protected set; } /// - /// The URL of the image. + /// The `https:` URL of the image. /// [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)] public string Source { get; protected set; } @@ -123,6 +123,11 @@ public class PreferenceValue [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)] public string Description { get; protected set; } /// + /// Descriptive text that can be used for screen readers or other situations where the image cannot be seen. + /// + [JsonProperty("alt_text", NullValueHandling = NullValueHandling.Ignore)] + public string AltText { get; protected set; } + /// /// An array of objects describing the options from which the user can choose. /// [JsonProperty("options", NullValueHandling = NullValueHandling.Ignore)] diff --git a/Scripts/Services/Assistant/V1/Model/RuntimeResponseGenericRuntimeResponseTypeImage.cs b/Scripts/Services/Assistant/V1/Model/RuntimeResponseGenericRuntimeResponseTypeImage.cs index 539882b8..1cb6cd9a 100644 --- a/Scripts/Services/Assistant/V1/Model/RuntimeResponseGenericRuntimeResponseTypeImage.cs +++ b/Scripts/Services/Assistant/V1/Model/RuntimeResponseGenericRuntimeResponseTypeImage.cs @@ -1,5 +1,5 @@ /** -* (C) Copyright IBM Corp. 2020, 2021. +* (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. @@ -36,7 +36,7 @@ public new string ResponseType set { base.ResponseType = value; } } /// - /// The URL of the image. + /// The `https:` URL of the image. /// [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)] public new string Source @@ -72,5 +72,14 @@ public new List Channels get { return base.Channels; } set { base.Channels = value; } } + /// + /// Descriptive text that can be used for screen readers or other situations where the image cannot be seen. + /// + [JsonProperty("alt_text", NullValueHandling = NullValueHandling.Ignore)] + public new string AltText + { + get { return base.AltText; } + set { base.AltText = value; } + } } }