Class QueryUpdater
- java.lang.Object
-
- com.twilio.base.Updater<Query>
-
- com.twilio.rest.preview.understand.assistant.QueryUpdater
-
public class QueryUpdater extends Updater<Query>
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
-
-
Constructor Summary
Constructors Constructor Description QueryUpdater(String pathAssistantSid, String pathSid)
Construct a new QueryUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryUpdater
setSampleSid(String sampleSid)
An optional reference to the Sample created from this query..QueryUpdater
setStatus(String status)
A string that described the query status.Query
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Method Detail
-
setSampleSid
public QueryUpdater setSampleSid(String sampleSid)
An optional reference to the Sample created from this query..- Parameters:
sampleSid
- An optional reference to the Sample created from this query.- Returns:
- this
-
setStatus
public QueryUpdater setStatus(String status)
A string that described the query status. The values can be: pending_review, reviewed, discarded.- Parameters:
status
- A string that described the query status. The values can be: pending_review, reviewed, discarded- Returns:
- this
-
update
public Query update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
-
-