public class PersonalityInsights extends WatsonService
| Modifier and Type | Field and Description | 
|---|---|
| static String | VERSION_DATE_2016_10_19 | 
defaultHeaders, MESSAGE_CODE, MESSAGE_ERROR, skipAuthentication, VERSION| Constructor and Description | 
|---|
| PersonalityInsights(String versionDate)Instantiates a new Personality Insights service. | 
| PersonalityInsights(String versionDate,
                   String username,
                   String password)Instantiates a new personality insights service by username and password. | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceCall<Profile> | getProfile(ProfileOptions options)Returns a  Profilewith a tree of characteristics that include personality, needs, and values. | 
| ServiceCall<Profile> | getProfile(String text)Accepts text and responds with a  Profilewith a tree of characteristics that include personality, needs,
 and values. | 
| ServiceCall<String> | getProfileAsCSV(ProfileOptions options,
               boolean includeHeaders)Returns a CSV profile. | 
configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getToken, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setSkipAuthentication, setUsernameAndPassword, toStringpublic static final String VERSION_DATE_2016_10_19
public PersonalityInsights(String versionDate)
public ServiceCall<Profile> getProfile(String text)
Profile with a tree of characteristics that include personality, needs,
 and values. text - Text to analyzeProfilepublic ServiceCall<Profile> getProfile(ProfileOptions options)
Profile with a tree of characteristics that include personality, needs, and values. ProfileOptions:options - the ProfileOptionsProfilepublic ServiceCall<String> getProfileAsCSV(ProfileOptions options, boolean includeHeaders)
options - the ProfileOptionsincludeHeaders - if true returns the CSV headersCopyright © 2015–2016 IBM Watson. All rights reserved.