@Generated(value="org.jsonschema2pojo") public class FriendshipCreateRequest extends Object implements Serializable
Constructor and Description |
---|
FriendshipCreateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Boolean |
getFollow()
Enable notifications for the target user.
|
String |
getScreenName()
The screen name of the user for whom to befriend.
|
Long |
getUserId()
The ID of the user for whom to befriend.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setFollow(Boolean follow)
Enable notifications for the target user.
|
void |
setScreenName(String screenName)
The screen name of the user for whom to befriend.
|
void |
setUserId(Long userId)
The ID of the user for whom to befriend.
|
String |
toString() |
FriendshipCreateRequest |
withAdditionalProperty(String name,
Object value) |
FriendshipCreateRequest |
withFollow(Boolean follow) |
FriendshipCreateRequest |
withScreenName(String screenName) |
FriendshipCreateRequest |
withUserId(Long userId) |
@BeanProperty(value="follow") public Boolean getFollow()
@BeanProperty(value="follow") public void setFollow(Boolean follow)
follow
- The followpublic FriendshipCreateRequest withFollow(Boolean follow)
@BeanProperty(value="screen_name") public String getScreenName()
@BeanProperty(value="screen_name") public void setScreenName(String screenName)
screenName
- The screen_namepublic FriendshipCreateRequest withScreenName(String screenName)
@BeanProperty(value="user_id") public Long getUserId()
@BeanProperty(value="user_id") public void setUserId(Long userId)
userId
- The user_idpublic FriendshipCreateRequest withUserId(Long userId)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public FriendshipCreateRequest withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.