org.eclipse.egit.github.core
Class User

java.lang.Object
  extended by org.eclipse.egit.github.core.User
All Implemented Interfaces:
Serializable

public class User
extends Object
implements Serializable

GitHub user model class.

See Also:
Serialized Form

Field Summary
static String TYPE_ORG
          TYPE_ORG
static String TYPE_USER
          TYPE_USER
 
Constructor Summary
User()
           
 
Method Summary
 String getAvatarUrl()
           
 String getBlog()
           
 int getCollaborators()
           
 String getCompany()
           
 Date getCreatedAt()
           
 int getDiskUsage()
           
 String getEmail()
           
 int getFollowers()
           
 int getFollowing()
           
 String getGravatarId()
           
 String getHtmlUrl()
           
 int getId()
           
 String getLocation()
           
 String getLogin()
           
 String getName()
           
 int getOwnedPrivateRepos()
           
 UserPlan getPlan()
           
 int getPrivateGists()
           
 int getPublicGists()
           
 int getPublicRepos()
           
 int getTotalPrivateRepos()
           
 String getType()
           
 String getUrl()
           
 boolean isHireable()
           
 User setAvatarUrl(String avatarUrl)
           
 User setBlog(String blog)
           
 User setCollaborators(int collaborators)
           
 User setCompany(String company)
           
 User setCreatedAt(Date createdAt)
           
 User setDiskUsage(int diskUsage)
           
 User setEmail(String email)
           
 User setFollowers(int followers)
           
 User setFollowing(int following)
           
 User setGravatarId(String gravatarId)
           
 User setHireable(boolean hireable)
           
 User setHtmlUrl(String htmlUrl)
           
 User setId(int id)
           
 User setLocation(String location)
           
 User setLogin(String login)
           
 User setName(String name)
           
 User setOwnedPrivateRepos(int ownedPrivateRepos)
           
 User setPlan(UserPlan plan)
           
 User setPrivateGists(int privateGists)
           
 User setPublicGists(int publicGists)
           
 User setPublicRepos(int publicRepos)
           
 User setTotalPrivateRepos(int totalPrivateRepos)
           
 User setType(String type)
           
 User setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_USER

public static final String TYPE_USER
TYPE_USER

See Also:
Constant Field Values

TYPE_ORG

public static final String TYPE_ORG
TYPE_ORG

See Also:
Constant Field Values
Constructor Detail

User

public User()
Method Detail

isHireable

public boolean isHireable()
Returns:
hireable

setHireable

public User setHireable(boolean hireable)
Parameters:
hireable -
Returns:
this user

getCreatedAt

public Date getCreatedAt()
Returns:
createdAt

setCreatedAt

public User setCreatedAt(Date createdAt)
Parameters:
createdAt -
Returns:
this user

getCollaborators

public int getCollaborators()
Returns:
collaborators

setCollaborators

public User setCollaborators(int collaborators)
Parameters:
collaborators -
Returns:
this user

getDiskUsage

public int getDiskUsage()
Returns:
diskUsage

setDiskUsage

public User setDiskUsage(int diskUsage)
Parameters:
diskUsage -
Returns:
this user

getFollowers

public int getFollowers()
Returns:
followers

setFollowers

public User setFollowers(int followers)
Parameters:
followers -
Returns:
this user

getFollowing

public int getFollowing()
Returns:
following

setFollowing

public User setFollowing(int following)
Parameters:
following -
Returns:
this user

getId

public int getId()
Returns:
id

setId

public User setId(int id)
Parameters:
id -
Returns:
this user

getOwnedPrivateRepos

public int getOwnedPrivateRepos()
Returns:
ownedPrivateRepos

setOwnedPrivateRepos

public User setOwnedPrivateRepos(int ownedPrivateRepos)
Parameters:
ownedPrivateRepos -
Returns:
this user

getPrivateGists

public int getPrivateGists()
Returns:
privateGists

setPrivateGists

public User setPrivateGists(int privateGists)
Parameters:
privateGists -
Returns:
this user

getPublicGists

public int getPublicGists()
Returns:
publicGists

setPublicGists

public User setPublicGists(int publicGists)
Parameters:
publicGists -
Returns:
this user

getPublicRepos

public int getPublicRepos()
Returns:
publicRepos

setPublicRepos

public User setPublicRepos(int publicRepos)
Parameters:
publicRepos -
Returns:
this user

getTotalPrivateRepos

public int getTotalPrivateRepos()
Returns:
totalPrivateRepos

setTotalPrivateRepos

public User setTotalPrivateRepos(int totalPrivateRepos)
Parameters:
totalPrivateRepos -
Returns:
this user

getAvatarUrl

public String getAvatarUrl()
Returns:
avatarUrl

setAvatarUrl

public User setAvatarUrl(String avatarUrl)
Parameters:
avatarUrl -
Returns:
this user

getBlog

public String getBlog()
Returns:
blog

setBlog

public User setBlog(String blog)
Parameters:
blog -
Returns:
this user

getCompany

public String getCompany()
Returns:
company

setCompany

public User setCompany(String company)
Parameters:
company -
Returns:
this user

getEmail

public String getEmail()
Returns:
email

setEmail

public User setEmail(String email)
Parameters:
email -
Returns:
this user

getGravatarId

public String getGravatarId()
Returns:
gravatarId

setGravatarId

public User setGravatarId(String gravatarId)
Parameters:
gravatarId -
Returns:
this user

getHtmlUrl

public String getHtmlUrl()
Returns:
htmlUrl

setHtmlUrl

public User setHtmlUrl(String htmlUrl)
Parameters:
htmlUrl -
Returns:
this user

getLocation

public String getLocation()
Returns:
location

setLocation

public User setLocation(String location)
Parameters:
location -
Returns:
this user

getLogin

public String getLogin()
Returns:
login

setLogin

public User setLogin(String login)
Parameters:
login -
Returns:
this user

getName

public String getName()
Returns:
name

setName

public User setName(String name)
Parameters:
name -
Returns:
this user

getType

public String getType()
Returns:
type

setType

public User setType(String type)
Parameters:
type -
Returns:
this user

getUrl

public String getUrl()
Returns:
url

setUrl

public User setUrl(String url)
Parameters:
url -
Returns:
this user

getPlan

public UserPlan getPlan()
Returns:
plan

setPlan

public User setPlan(UserPlan plan)
Parameters:
plan -
Returns:
this user


Copyright © 2012. All Rights Reserved.