public class Profile
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Profile.ProcessedLanguage
The language model that was used to process the input.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Behavior> |
behavior |
protected java.util.List<ConsumptionPreferencesCategory> |
consumptionPreferences |
protected java.util.List<Trait> |
needs |
protected java.util.List<Trait> |
personality |
protected java.lang.String |
processedLanguage |
protected java.util.List<Trait> |
values |
protected java.util.List<Warning> |
warnings |
protected java.lang.Long |
wordCount |
protected java.lang.String |
wordCountMessage |
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Behavior> |
getBehavior()
Gets the behavior.
|
java.util.List<ConsumptionPreferencesCategory> |
getConsumptionPreferences()
Gets the consumptionPreferences.
|
java.util.List<Trait> |
getNeeds()
Gets the needs.
|
java.util.List<Trait> |
getPersonality()
Gets the personality.
|
java.lang.String |
getProcessedLanguage()
Gets the processedLanguage.
|
java.util.List<Trait> |
getValues()
Gets the values.
|
java.util.List<Warning> |
getWarnings()
Gets the warnings.
|
java.lang.Long |
getWordCount()
Gets the wordCount.
|
java.lang.String |
getWordCountMessage()
Gets the wordCountMessage.
|
@SerializedName(value="processed_language") protected java.lang.String processedLanguage
@SerializedName(value="word_count") protected java.lang.Long wordCount
@SerializedName(value="word_count_message") protected java.lang.String wordCountMessage
protected java.util.List<Trait> personality
protected java.util.List<Trait> needs
protected java.util.List<Trait> values
protected java.util.List<Behavior> behavior
@SerializedName(value="consumption_preferences") protected java.util.List<ConsumptionPreferencesCategory> consumptionPreferences
protected java.util.List<Warning> warnings
public java.lang.String getProcessedLanguage()
The language model that was used to process the input.
public java.lang.Long getWordCount()
The number of words from the input that were used to produce the profile.
public java.lang.String getWordCountMessage()
When guidance is appropriate, a string that provides a message that indicates the number of words found and where that value falls in the range of required or suggested number of words.
public java.util.List<Trait> getPersonality()
A recursive array of `Trait` objects that provides detailed results for the Big Five personality characteristics (dimensions and facets) inferred from the input text.
public java.util.List<Trait> getNeeds()
Detailed results for the Needs characteristics inferred from the input text.
public java.util.List<Trait> getValues()
Detailed results for the Values characteristics inferred from the input text.
public java.util.List<Behavior> getBehavior()
For JSON content that is timestamped, detailed results about the social behavior disclosed by the input in terms of temporal characteristics. The results include information about the distribution of the content over the days of the week and the hours of the day.
public java.util.List<ConsumptionPreferencesCategory> getConsumptionPreferences()
If the **consumption_preferences** parameter is `true`, detailed results for each category of consumption preferences. Each element of the array provides information inferred from the input text for the individual preferences of that category.
public java.util.List<Warning> getWarnings()
An array of warning messages that are associated with the input text for the request. The array is empty if the input generated no warnings.