Examples Interface
public interface Examples
An instance of this class provides access to all the operations defined in Examples.
Method Summary
Modifier and Type | Method and Description |
---|---|
ExamplesAddDefinitionStages.WithAppId |
add()
Adds a labeled example utterance in a version of the application. |
Label |
add(UUID appId, String versionId, ExampleLabelObject exampleLabelObject, AddExamplesOptionalParameter addOptionalParameter)
Adds a labeled example utterance in a version of the application. |
Observable<Label |
addAsync(UUID appId, String versionId, ExampleLabelObject exampleLabelObject, AddExamplesOptionalParameter addOptionalParameter)
Adds a labeled example utterance in a version of the application. |
ExamplesBatchDefinitionStages.WithAppId |
batch()
Adds a batch of labeled example utterances to a version of the application. |
List<Batch |
batch(UUID appId, String versionId, List<ExampleLabelObject> exampleLabelObjectArray, BatchOptionalParameter batchOptionalParameter)
Adds a batch of labeled example utterances to a version of the application. |
Observable<List<Batch |
batchAsync(UUID appId, String versionId, List<ExampleLabelObject> exampleLabelObjectArray, BatchOptionalParameter batchOptionalParameter)
Adds a batch of labeled example utterances to a version of the application. |
Operation |
delete(UUID appId, String versionId, int exampleId)
Deletes the labeled example utterances with the specified ID from a version of the application. |
Observable<Operation |
deleteAsync(UUID appId, String versionId, int exampleId)
Deletes the labeled example utterances with the specified ID from a version of the application. |
ExamplesListDefinitionStages.WithAppId |
list()
Returns example utterances to be reviewed from a version of the application. |
List<Labeled |
list(UUID appId, String versionId, ListExamplesOptionalParameter listOptionalParameter)
Returns example utterances to be reviewed from a version of the application. |
Observable<List<Labeled |
listAsync(UUID appId, String versionId, ListExamplesOptionalParameter listOptionalParameter)
Returns example utterances to be reviewed from a version of the application. |
Method Details
add
public ExamplesAddDefinitionStages.WithAppId add()
Adds a labeled example utterance in a version of the application.
Returns:
add
public LabelExampleResponse add(UUID appId, String versionId, ExampleLabelObject exampleLabelObject, AddExamplesOptionalParameter addOptionalParameter)
Adds a labeled example utterance in a version of the application.
Parameters:
Returns:
Throws:
addAsync
public Observable
Adds a labeled example utterance in a version of the application.
Parameters:
Returns:
Throws:
batch
public ExamplesBatchDefinitionStages.WithAppId batch()
Adds a batch of labeled example utterances to a version of the application.
Returns:
batch
public List
Adds a batch of labeled example utterances to a version of the application.
Parameters:
Returns:
Throws:
batchAsync
public Observable> batchAsync(UUID appId, String versionId, List
Adds a batch of labeled example utterances to a version of the application.
Parameters:
Returns:
Throws:
delete
public OperationStatus delete(UUID appId, String versionId, int exampleId)
Deletes the labeled example utterances with the specified ID from a version of the application.
Parameters:
Returns:
Throws:
deleteAsync
public Observable
Deletes the labeled example utterances with the specified ID from a version of the application.
Parameters:
Returns:
Throws:
list
public ExamplesListDefinitionStages.WithAppId list()
Returns example utterances to be reviewed from a version of the application.
Returns:
list
public List
Returns example utterances to be reviewed from a version of the application.
Parameters:
Returns:
Throws:
listAsync
public Observable> listAsync(UUID appId, String versionId, ListExamplesOptionalParameter listOptionalParameter)
Returns example utterances to be reviewed from a version of the application.
Parameters:
Returns:
Throws: