public class ToneAnalyzer
extends com.ibm.cloud.sdk.core.service.BaseService
| Constructor and Description |
|---|
ToneAnalyzer(java.lang.String versionDate)
Deprecated.
Use ToneAnalyzer(String versionDate, AuthenticatorConfig authenticatorConfig) instead
|
ToneAnalyzer(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.AuthenticatorConfig authenticatorConfig)
Instantiates a new `ToneAnalyzer` with the specified authentication configuration.
|
ToneAnalyzer(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
Deprecated.
Use ToneAnalyzer(String versionDate, AuthenticatorConfig authenticatorConfig) instead
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<ToneAnalysis> |
tone(ToneOptions toneOptions)
Analyze general tone.
|
com.ibm.cloud.sdk.core.http.ServiceCall<UtteranceAnalyses> |
toneChat(ToneChatOptions toneChatOptions)
Analyze customer-engagement tone.
|
configureClient, configureHttpClient, createServiceCall, getApiKey, getAuthenticator, getClient, getEndPoint, getName, getPassword, getUsername, isJsonMimeType, isJsonPatchMimeType, isSkipAuthentication, isTokenManagerSet, processServiceCall, setApiKey, setAuthentication, setAuthenticator, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setIamCredentials, setSkipAuthentication, setUsernameAndPassword, toString@Deprecated public ToneAnalyzer(java.lang.String versionDate)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.@Deprecated
public ToneAnalyzer(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.username - the usernamepassword - the passwordpublic ToneAnalyzer(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.AuthenticatorConfig authenticatorConfig)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.authenticatorConfig - the authentication configuration for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<ToneAnalysis> tone(ToneOptions toneOptions)
toneOptions - the ToneOptions containing the options for the callServiceCall with a response type of ToneAnalysispublic com.ibm.cloud.sdk.core.http.ServiceCall<UtteranceAnalyses> toneChat(ToneChatOptions toneChatOptions)
toneChatOptions - the ToneChatOptions containing the options for the callServiceCall with a response type of UtteranceAnalyses