@Generated(value="org.jsonschema2pojo") public class DirectMessage extends Object implements Serializable
Constructor and Description |
---|
DirectMessage() |
@BeanProperty(value="created_at") public org.joda.time.DateTime getCreatedAt()
@BeanProperty(value="created_at") public void setCreatedAt(org.joda.time.DateTime createdAt)
createdAt
- The created_atpublic DirectMessage withCreatedAt(org.joda.time.DateTime createdAt)
@BeanProperty(value="entities") public Entities getEntities()
@BeanProperty(value="entities") public void setEntities(Entities entities)
entities
- The entitiespublic DirectMessage withEntities(Entities entities)
@BeanProperty(value="recipient") public Object getRecipient()
@BeanProperty(value="recipient") public void setRecipient(Object recipient)
recipient
- The recipientpublic DirectMessage withRecipient(Object recipient)
@BeanProperty(value="recipient_id") public Long getRecipientId()
@BeanProperty(value="recipient_id") public void setRecipientId(Long recipientId)
recipientId
- The recipient_idpublic DirectMessage withRecipientId(Long recipientId)
@BeanProperty(value="recipient_screen_name") public String getRecipientScreenName()
@BeanProperty(value="recipient_screen_name") public void setRecipientScreenName(String recipientScreenName)
recipientScreenName
- The recipient_screen_namepublic DirectMessage withRecipientScreenName(String recipientScreenName)
@BeanProperty(value="sender") public Object getSender()
@BeanProperty(value="sender") public void setSender(Object sender)
sender
- The senderpublic DirectMessage withSender(Object sender)
@BeanProperty(value="sender_id") public Long getSenderId()
@BeanProperty(value="sender_id") public void setSenderId(Long senderId)
senderId
- The sender_idpublic DirectMessage withSenderId(Long senderId)
@BeanProperty(value="sender_screen_name") public String getSenderScreenName()
@BeanProperty(value="sender_screen_name") public void setSenderScreenName(String senderScreenName)
senderScreenName
- The sender_screen_namepublic DirectMessage withSenderScreenName(String senderScreenName)
@BeanProperty(value="text") public String getText()
@BeanProperty(value="text") public void setText(String text)
text
- The textpublic DirectMessage withText(String text)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public DirectMessage withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.