public class ProfileOptions extends GenericModel
PersonalityInsights.getProfile(ProfileOptions) method.| Modifier and Type | Class and Description |
|---|---|
static class |
ProfileOptions.AcceptLanguage
The Language Status.
|
static class |
ProfileOptions.Language
The Language Status.
|
| Constructor and Description |
|---|
ProfileOptions() |
| Modifier and Type | Method and Description |
|---|---|
ProfileOptions |
acceptLanguage(ProfileOptions.AcceptLanguage acceptLanguage)
Accept language.
|
ProfileOptions |
addContentItem(ContentItem contentItem)
Adds a content items.
|
ProfileOptions |
contentItems(List<ContentItem> contentItems)
Content items.
|
ProfileOptions.AcceptLanguage |
getAcceptLanguage()
Gets the accept language.
|
List<ContentItem> |
getContentItems()
Gets the content items.
|
String |
getContentType()
Gets the content type.
|
Boolean |
getIncludeRaw()
Gets the include raw.
|
ProfileOptions.Language |
getLanguage()
Gets the language.
|
String |
getText()
Gets the text.
|
ProfileOptions |
html(String html)
Html.
|
ProfileOptions |
includeRaw(boolean includeRaw)
Include raw.
|
ProfileOptions |
language(ProfileOptions.Language language)
Language.
|
ProfileOptions |
text(String text)
Text.
|
equals, hashCode, toStringpublic String getText()
public String getContentType()
public List<ContentItem> getContentItems()
public Boolean getIncludeRaw()
public ProfileOptions.AcceptLanguage getAcceptLanguage()
public ProfileOptions.Language getLanguage()
public ProfileOptions text(String text)
text - the textpublic ProfileOptions html(String html)
html - the htmlpublic ProfileOptions contentItems(List<ContentItem> contentItems)
contentItems - the content itemspublic ProfileOptions addContentItem(ContentItem contentItem)
contentItem - the content itempublic ProfileOptions includeRaw(boolean includeRaw)
includeRaw - the include rawpublic ProfileOptions language(ProfileOptions.Language language)
language - the languagepublic ProfileOptions acceptLanguage(ProfileOptions.AcceptLanguage acceptLanguage)
acceptLanguage - the accept languageCopyright © 2015–2016. All rights reserved.