@Generated(value="org.jsonschema2pojo") public class MessageData extends Object implements Serializable
Constructor and Description |
---|
MessageData() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
MediaItem |
getAttachment() |
List<CallToAction> |
getCtas() |
Entities |
getEntities() |
QuickReply |
getQuickReplyResponse() |
String |
getText() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAttachment(MediaItem attachment) |
void |
setCtas(List<CallToAction> ctas) |
void |
setEntities(Entities entities) |
void |
setQuickReplyResponse(QuickReply quickReplyResponse) |
void |
setText(String text) |
String |
toString() |
MessageData |
withAdditionalProperty(String name,
Object value) |
MessageData |
withAttachment(MediaItem attachment) |
MessageData |
withCtas(List<CallToAction> ctas) |
MessageData |
withEntities(Entities entities) |
MessageData |
withQuickReplyResponse(QuickReply quickReplyResponse) |
MessageData |
withText(String text) |
@BeanProperty(value="text") public String getText()
@BeanProperty(value="text") public void setText(String text)
text
- The textpublic MessageData withText(String text)
@BeanProperty(value="ctas") public List<CallToAction> getCtas()
@BeanProperty(value="ctas") public void setCtas(List<CallToAction> ctas)
ctas
- The ctaspublic MessageData withCtas(List<CallToAction> ctas)
@BeanProperty(value="entities") public Entities getEntities()
@BeanProperty(value="entities") public void setEntities(Entities entities)
entities
- The entitiespublic MessageData withEntities(Entities entities)
@BeanProperty(value="quick_reply_response") public QuickReply getQuickReplyResponse()
@BeanProperty(value="quick_reply_response") public void setQuickReplyResponse(QuickReply quickReplyResponse)
quickReplyResponse
- The quick_reply_responsepublic MessageData withQuickReplyResponse(QuickReply quickReplyResponse)
@BeanProperty(value="attachment") public MediaItem getAttachment()
@BeanProperty(value="attachment") public void setAttachment(MediaItem attachment)
attachment
- The attachmentpublic MessageData withAttachment(MediaItem attachment)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public MessageData withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.