Skip to content

Commit 9bb585b

Browse files
committed
chore(assistant-v1): manual changes
1 parent ff29133 commit 9bb585b

18 files changed

+1111
-577
lines changed

assistant/src/main/java/com/ibm/watson/assistant/v1/model/DialogNodeOutputGeneric.java

Lines changed: 0 additions & 302 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
*/
1313
package com.ibm.watson.assistant.v1.model;
1414

15-
import com.google.gson.annotations.SerializedName;
1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;
17-
import java.util.List;
18-
import java.util.Map;
1916

2017
/**
2118
* DialogNodeOutputGeneric.
@@ -82,304 +79,5 @@ public interface QueryType {
8279
String DISCOVERY_QUERY_LANGUAGE = "discovery_query_language";
8380
}
8481

85-
@SerializedName("response_type")
86-
protected String responseType;
87-
88-
protected List<DialogNodeOutputTextValuesElement> values;
89-
90-
@SerializedName("selection_policy")
91-
protected String selectionPolicy;
92-
93-
protected String delimiter;
94-
protected List<ResponseGenericChannel> channels;
95-
protected Long time;
96-
protected Boolean typing;
97-
protected String source;
98-
protected String title;
99-
protected String description;
100-
protected String preference;
101-
protected List<DialogNodeOutputOptionsElement> options;
102-
103-
@SerializedName("message_to_human_agent")
104-
protected String messageToHumanAgent;
105-
106-
@SerializedName("agent_available")
107-
protected AgentAvailabilityMessage agentAvailable;
108-
109-
@SerializedName("agent_unavailable")
110-
protected AgentAvailabilityMessage agentUnavailable;
111-
112-
@SerializedName("transfer_info")
113-
protected DialogNodeOutputConnectToAgentTransferInfo transferInfo;
114-
115-
protected String query;
116-
117-
@SerializedName("query_type")
118-
protected String queryType;
119-
120-
protected String filter;
121-
122-
@SerializedName("discovery_version")
123-
protected String discoveryVersion;
124-
125-
@SerializedName("message_to_user")
126-
protected String messageToUser;
127-
128-
@SerializedName("user_defined")
129-
protected Map<String, Object> userDefined;
130-
13182
protected DialogNodeOutputGeneric() {}
132-
133-
/**
134-
* Gets the responseType.
135-
*
136-
* <p>The type of response returned by the dialog node. The specified response type must be
137-
* supported by the client application or channel.
138-
*
139-
* @return the responseType
140-
*/
141-
public String responseType() {
142-
return responseType;
143-
}
144-
145-
/**
146-
* Gets the values.
147-
*
148-
* <p>A list of one or more objects defining text responses.
149-
*
150-
* @return the values
151-
*/
152-
public List<DialogNodeOutputTextValuesElement> values() {
153-
return values;
154-
}
155-
156-
/**
157-
* Gets the selectionPolicy.
158-
*
159-
* <p>How a response is selected from the list, if more than one response is specified.
160-
*
161-
* @return the selectionPolicy
162-
*/
163-
public String selectionPolicy() {
164-
return selectionPolicy;
165-
}
166-
167-
/**
168-
* Gets the delimiter.
169-
*
170-
* <p>The delimiter to use as a separator between responses when `selection_policy`=`multiline`.
171-
*
172-
* @return the delimiter
173-
*/
174-
public String delimiter() {
175-
return delimiter;
176-
}
177-
178-
/**
179-
* Gets the channels.
180-
*
181-
* <p>An array of objects specifying channels for which the response is intended.
182-
*
183-
* @return the channels
184-
*/
185-
public List<ResponseGenericChannel> channels() {
186-
return channels;
187-
}
188-
189-
/**
190-
* Gets the time.
191-
*
192-
* <p>How long to pause, in milliseconds. The valid values are from 0 to 10000.
193-
*
194-
* @return the time
195-
*/
196-
public Long time() {
197-
return time;
198-
}
199-
200-
/**
201-
* Gets the typing.
202-
*
203-
* <p>Whether to send a "user is typing" event during the pause. Ignored if the channel does not
204-
* support this event.
205-
*
206-
* @return the typing
207-
*/
208-
public Boolean typing() {
209-
return typing;
210-
}
211-
212-
/**
213-
* Gets the source.
214-
*
215-
* <p>The URL of the image.
216-
*
217-
* @return the source
218-
*/
219-
public String source() {
220-
return source;
221-
}
222-
223-
/**
224-
* Gets the title.
225-
*
226-
* <p>An optional title to show before the response.
227-
*
228-
* @return the title
229-
*/
230-
public String title() {
231-
return title;
232-
}
233-
234-
/**
235-
* Gets the description.
236-
*
237-
* <p>An optional description to show with the response.
238-
*
239-
* @return the description
240-
*/
241-
public String description() {
242-
return description;
243-
}
244-
245-
/**
246-
* Gets the preference.
247-
*
248-
* <p>The preferred type of control to display, if supported by the channel.
249-
*
250-
* @return the preference
251-
*/
252-
public String preference() {
253-
return preference;
254-
}
255-
256-
/**
257-
* Gets the options.
258-
*
259-
* <p>An array of objects describing the options from which the user can choose. You can include
260-
* up to 20 options.
261-
*
262-
* @return the options
263-
*/
264-
public List<DialogNodeOutputOptionsElement> options() {
265-
return options;
266-
}
267-
268-
/**
269-
* Gets the messageToHumanAgent.
270-
*
271-
* <p>An optional message to be sent to the human agent who will be taking over the conversation.
272-
*
273-
* @return the messageToHumanAgent
274-
*/
275-
public String messageToHumanAgent() {
276-
return messageToHumanAgent;
277-
}
278-
279-
/**
280-
* Gets the agentAvailable.
281-
*
282-
* <p>An optional message to be displayed to the user to indicate that the conversation will be
283-
* transferred to the next available agent.
284-
*
285-
* @return the agentAvailable
286-
*/
287-
public AgentAvailabilityMessage agentAvailable() {
288-
return agentAvailable;
289-
}
290-
291-
/**
292-
* Gets the agentUnavailable.
293-
*
294-
* <p>An optional message to be displayed to the user to indicate that no online agent is
295-
* available to take over the conversation.
296-
*
297-
* @return the agentUnavailable
298-
*/
299-
public AgentAvailabilityMessage agentUnavailable() {
300-
return agentUnavailable;
301-
}
302-
303-
/**
304-
* Gets the transferInfo.
305-
*
306-
* <p>Routing or other contextual information to be used by target service desk systems.
307-
*
308-
* @return the transferInfo
309-
*/
310-
public DialogNodeOutputConnectToAgentTransferInfo transferInfo() {
311-
return transferInfo;
312-
}
313-
314-
/**
315-
* Gets the query.
316-
*
317-
* <p>The text of the search query. This can be either a natural-language query or a query that
318-
* uses the Discovery query language syntax, depending on the value of the **query_type**
319-
* property. For more information, see the [Discovery service
320-
* documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-operators#query-operators).
321-
*
322-
* @return the query
323-
*/
324-
public String query() {
325-
return query;
326-
}
327-
328-
/**
329-
* Gets the queryType.
330-
*
331-
* <p>The type of the search query.
332-
*
333-
* @return the queryType
334-
*/
335-
public String queryType() {
336-
return queryType;
337-
}
338-
339-
/**
340-
* Gets the filter.
341-
*
342-
* <p>An optional filter that narrows the set of documents to be searched. For more information,
343-
* see the [Discovery service documentation]([Discovery service
344-
* documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-parameters#filter).
345-
*
346-
* @return the filter
347-
*/
348-
public String filter() {
349-
return filter;
350-
}
351-
352-
/**
353-
* Gets the discoveryVersion.
354-
*
355-
* <p>The version of the Discovery service API to use for the query.
356-
*
357-
* @return the discoveryVersion
358-
*/
359-
public String discoveryVersion() {
360-
return discoveryVersion;
361-
}
362-
363-
/**
364-
* Gets the messageToUser.
365-
*
366-
* <p>The message to display to the user when initiating a channel transfer.
367-
*
368-
* @return the messageToUser
369-
*/
370-
public String messageToUser() {
371-
return messageToUser;
372-
}
373-
374-
/**
375-
* Gets the userDefined.
376-
*
377-
* <p>An object containing any properties for the user-defined response type. The total size of
378-
* this object cannot exceed 5000 bytes.
379-
*
380-
* @return the userDefined
381-
*/
382-
public Map<String, Object> userDefined() {
383-
return userDefined;
384-
}
38583
}

0 commit comments

Comments
 (0)