public class ToneCategory
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
ToneCategory() |
Modifier and Type | Method and Description |
---|---|
String |
getCategoryId()
Gets the categoryId.
|
String |
getCategoryName()
Gets the categoryName.
|
List<ToneScore> |
getTones()
Gets the tones.
|
public List<ToneScore> getTones()
An array of `ToneScore` objects that provides the results for the tones of the category.
public String getCategoryId()
The unique, non-localized identifier of the category for the results. The service can return results for the following category IDs: `emotion_tone`, `language_tone`, and `social_tone`.
public String getCategoryName()
The user-visible, localized name of the category.
Copyright © 2021 IBM Cloud. All rights reserved.