@Generated(value="org.jsonschema2pojo") public class FriendshipUpdateRequest extends Object implements Serializable
Constructor and Description |
---|
FriendshipUpdateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Boolean |
getDevice()
Enable/disable device notifications from the target user.
|
Boolean |
getRetweets()
Enable/disable retweets from the target user.
|
String |
getScreenName()
The screen name of the user for whom to befriend.
|
String |
getUserId()
The ID of the user for whom to befriend.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setDevice(Boolean device)
Enable/disable device notifications from the target user.
|
void |
setRetweets(Boolean retweets)
Enable/disable retweets from the target user.
|
void |
setScreenName(String screenName)
The screen name of the user for whom to befriend.
|
void |
setUserId(String userId)
The ID of the user for whom to befriend.
|
String |
toString() |
FriendshipUpdateRequest |
withAdditionalProperty(String name,
Object value) |
FriendshipUpdateRequest |
withDevice(Boolean device) |
FriendshipUpdateRequest |
withRetweets(Boolean retweets) |
FriendshipUpdateRequest |
withScreenName(String screenName) |
FriendshipUpdateRequest |
withUserId(String userId) |
@BeanProperty(value="device") public Boolean getDevice()
@BeanProperty(value="device") public void setDevice(Boolean device)
device
- The devicepublic FriendshipUpdateRequest withDevice(Boolean device)
@BeanProperty(value="retweets") public Boolean getRetweets()
@BeanProperty(value="retweets") public void setRetweets(Boolean retweets)
retweets
- The retweetspublic FriendshipUpdateRequest withRetweets(Boolean retweets)
@BeanProperty(value="screen_name") public String getScreenName()
@BeanProperty(value="screen_name") public void setScreenName(String screenName)
screenName
- The screen_namepublic FriendshipUpdateRequest withScreenName(String screenName)
@BeanProperty(value="user_id") public String getUserId()
@BeanProperty(value="user_id") public void setUserId(String userId)
userId
- The user_idpublic FriendshipUpdateRequest withUserId(String userId)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public FriendshipUpdateRequest withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.