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.
  • Method Details

    • newBuilder

      public Content.Builder newBuilder()
      New builder.
      Returns:
      a Content builder
    • contentItems

      public List<ContentItem> contentItems()
      Gets the contentItems.

      An array of `ContentItem` objects that provides the text that is to be analyzed.

      Returns:
      the contentItems