Package | Description |
---|---|
com.ibm.watson.developer_cloud.personality_insights.v2.model |
Copyright 2015 IBM Corp.
|
Modifier and Type | Method and Description |
---|---|
ContentItem |
ContentItem.charset(String charset)
Sets the character set of the text, for example, "UTF-8".
|
ContentItem |
ContentItem.content(String content)
with content.
|
ContentItem |
ContentItem.contentType(String contenttype)
Sets the MIME type of the content, for example, "text/plain, text/html".
|
ContentItem |
ContentItem.created(Date created)
Sets the date that identifies when this content was created.
|
ContentItem |
ContentItem.forward(boolean forward)
Indicates whether this content item is a forwarded/copied version of another content item.
|
ContentItem |
ContentItem.id(String id)
Sets the unique identifier for this content item.
|
ContentItem |
ContentItem.language(String language)
Sets the language identifier (two-letter ISO 639-1 identifier).
|
ContentItem |
ContentItem.parentid(String parentid)
Sets the unique id of the parent content item.
|
ContentItem |
ContentItem.reply(boolean reply)
Indicates whether this content item is a reply to another content item.
|
ContentItem |
ContentItem.sourceid(String sourceid)
Sets the identifier for the source of this content.
|
ContentItem |
ContentItem.updated(Date updated)
Sets the date that identifies when this content was last updated..
|
ContentItem |
ContentItem.userid(String userid)
Sets the unique identifier for the author of this content.
|
Modifier and Type | Method and Description |
---|---|
List<ContentItem> |
ProfileOptions.getContentItems()
Gets the content items.
|
List<ContentItem> |
Content.getContentItems()
Gets the content items.
|
Modifier and Type | Method and Description |
---|---|
ProfileOptions |
ProfileOptions.addContentItem(ContentItem contentItem)
Adds a content items.
|
void |
Content.addContentItem(ContentItem contentItem)
Adds a content item.
|
Modifier and Type | Method and Description |
---|---|
ProfileOptions |
ProfileOptions.contentItems(List<ContentItem> contentItems)
Content items.
|
void |
Content.setContentItems(List<ContentItem> contentItems)
Sets the content items.
|
Copyright © 2015–2016. All rights reserved.