public class Answers.AnswerUnits.Content extends GenericModel
Constructor and Description |
---|
Content() |
Modifier and Type | Method and Description |
---|---|
String |
getMediaType()
Gets the Internet media type of the answer unit.
|
String |
getText()
Gets the text of the answer unit.
|
void |
setMediaType(String mediaType)
Sets the Internet media type of the answer unit.
|
void |
setText(String text)
Sets the text of the answer unit.
|
equals, hashCode, toString
public String getMediaType()
public String getText()
public void setMediaType(String mediaType)
mediaType
- The Internet media typepublic void setText(String text)
text
- The text of the answer unitCopyright © 2015–2016 IBM Watson. All rights reserved.