GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(assistant-v2): add altText property to RuntimeResponseGeneric · SvetSkills/java-sdk@798f780

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • assistant/src/main/java/com/ibm/watson/assistant/v2/model
    • RuntimeResponseGeneric.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGeneric.java‎

Copy file name to clipboardExpand all lines: assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGeneric.java
+18-2Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2019, 2021.
2+
* (C) Copyright IBM Corp. 2021.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -70,6 +70,10 @@ public interface Preference {
7070
protected String source;
7171
protected String title;
7272
protected String description;
73+
74+
@SerializedName("alt_text")
75+
protected String altText;
76+
7377
protected String preference;
7478
protected List<DialogNodeOutputOptionsElement> options;
7579

@@ -162,7 +166,7 @@ public Boolean typing() {
162166
/**
163167
* Gets the source.
164168
*
165-
* <p>The URL of the image.
169+
* <p>The `https:` URL of the image.
166170
*
167171
* @return the source
168172
*/
@@ -192,6 +196,18 @@ public String description() {
192196
return description;
193197
}
194198

199+
/**
200+
* Gets the altText.
201+
*
202+
* <p>Descriptive text that can be used for screen readers or other situations where the image
203+
* cannot be seen.
204+
*
205+
* @return the altText
206+
*/
207+
public String altText() {
208+
return altText;
209+
}
210+
195211
/**
196212
* Gets the preference.
197213
*

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.