public class TwitterUser extends java.lang.Object implements IPutIntoJson<org.json.JSONObject>
Constructor and Description |
---|
TwitterUser(java.lang.Integer twitterUserId,
java.lang.String twitterHandle,
java.lang.String name,
java.lang.String description,
java.lang.Integer followerCount,
java.lang.Integer followingCount,
java.lang.Integer tweetCount,
java.lang.String profileImageUrl)
Creates a Twitter user data object to send to Appboy's servers.
|
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
forJsonPut() |
public TwitterUser(java.lang.Integer twitterUserId, java.lang.String twitterHandle, java.lang.String name, java.lang.String description, java.lang.Integer followerCount, java.lang.Integer followingCount, java.lang.Integer tweetCount, java.lang.String profileImageUrl)
twitterUserId
- The Twitter user IdtwitterHandle
- The user's Twitter handlename
- The user's namedescription
- A description of the userfollowerCount
- Number of Twitter users following this userfollowingCount
- Number of Twitter users this user is followingtweetCount
- Number of Tweets by this userprofileImageUrl
- Link to profile imagepublic org.json.JSONObject forJsonPut()
forJsonPut
in interface IPutIntoJson<org.json.JSONObject>