@Generated(value="org.jsonschema2pojo") public class DirectMessageNewRequest extends Object implements Serializable
Constructor and Description |
---|
DirectMessageNewRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getScreenName()
The screen name of the user who should receive the direct message.
|
Long |
getText()
The text of your direct message.
|
Long |
getUserId()
The ID of the user who should receive the direct message.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setScreenName(String screenName)
The screen name of the user who should receive the direct message.
|
void |
setText(Long text)
The text of your direct message.
|
void |
setUserId(Long userId)
The ID of the user who should receive the direct message.
|
String |
toString() |
DirectMessageNewRequest |
withAdditionalProperty(String name,
Object value) |
DirectMessageNewRequest |
withScreenName(String screenName) |
DirectMessageNewRequest |
withText(Long text) |
DirectMessageNewRequest |
withUserId(Long userId) |
@BeanProperty(value="user_id") public Long getUserId()
@BeanProperty(value="user_id") public void setUserId(Long userId)
userId
- The user_idpublic DirectMessageNewRequest withUserId(Long userId)
@BeanProperty(value="screen_name") public String getScreenName()
@BeanProperty(value="screen_name") public void setScreenName(String screenName)
screenName
- The screen_namepublic DirectMessageNewRequest withScreenName(String screenName)
@BeanProperty(value="text") public Long getText()
@BeanProperty(value="text") public void setText(Long text)
text
- The textpublic DirectMessageNewRequest withText(Long text)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public DirectMessageNewRequest withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.