Class Content
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.personality_insights.v3.model.Content
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Content
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The full input content that the service is to analyze.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Content.Builder
Builder. -
Method Summary
Modifier and Type Method Description List<ContentItem>
contentItems()
Gets the contentItems.Content.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a Content builder
-
contentItems
Gets the contentItems.An array of `ContentItem` objects that provides the text that is to be analyzed.
- Returns:
- the contentItems
-