public class Answers.AnswerUnits extends GenericModel
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Answers.AnswerUnits.Content
The content of an answer unit. 
 | 
| Constructor and Description | 
|---|
AnswerUnits()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Answers.AnswerUnits.Content> | 
getContent()
Gets the list of content for the answer unit. 
 | 
String | 
getDirection()
Gets the direction. 
 | 
String | 
getId()
Gets the id of the answer unit. 
 | 
String | 
getParentId()
Gets the parent id. 
 | 
String | 
getTitle()
Gets the title of the answer unit. 
 | 
String | 
getType()
Gets the type of the answer unit. 
 | 
void | 
setContent(List<Answers.AnswerUnits.Content> content)
Sets the list of content for the answer unit. 
 | 
void | 
setDirection(String direction)
Sets the direction. 
 | 
void | 
setId(String id)
Sets the id of the answer unit. 
 | 
void | 
setParentId(String parentId)
Sets the parent id. 
 | 
void | 
setTitle(String title)
Sets the title of the answer unit. 
 | 
void | 
setType(String type)
Sets the type of the answer unit. 
 | 
equals, hashCode, toStringpublic String getDirection()
public void setDirection(String direction)
direction - the new directionpublic String getParentId()
public void setParentId(String parentId)
parentId - the new parent idpublic List<Answers.AnswerUnits.Content> getContent()
public String getId()
public String getTitle()
public String getType()
public void setContent(List<Answers.AnswerUnits.Content> content)
content - The list of content for the answer unitpublic void setId(String id)
id - The id of the answer unitpublic void setTitle(String title)
title - The title of the answer unitpublic void setType(String type)
type - The type of the answer unitCopyright © 2015–2016 IBM Watson. All rights reserved.