public class PersonalityInsights
extends com.ibm.cloud.sdk.core.service.BaseService
Constructor and Description |
---|
PersonalityInsights(java.lang.String versionDate)
Constructs a new `PersonalityInsights` client.
|
PersonalityInsights(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `PersonalityInsights` client with the specified Authenticator.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<Profile> |
profile(ProfileOptions profileOptions)
Get profile.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.io.InputStream> |
profileAsCsv(ProfileOptions profileOptions)
Get profile as csv.
|
configureClient, configureHttpClient, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toString
public PersonalityInsights(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.public PersonalityInsights(java.lang.String versionDate, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
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.authenticator
- the Authenticator instance to be configured for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<Profile> profile(ProfileOptions profileOptions)
profileOptions
- the ProfileOptions
containing the options for the callServiceCall
with a response type of Profile
public com.ibm.cloud.sdk.core.http.ServiceCall<java.io.InputStream> profileAsCsv(ProfileOptions profileOptions)
profileOptions
- the ProfileOptions
containing the options for the callServiceCall
with a response type of String