org.eclipse.egit.github.core
Class Authorization

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

public class Authorization
extends Object
implements Serializable

Authorization model class

See Also:
Serialized Form

Constructor Summary
Authorization()
           
 
Method Summary
 Application getApp()
           
 Date getCreatedAt()
           
 int getId()
           
 String getNote()
           
 String getNoteUrl()
           
 List<String> getScopes()
           
 String getToken()
           
 Date getUpdatedAt()
           
 String getUrl()
           
 Authorization setApp(Application app)
           
 Authorization setCreatedAt(Date createdAt)
           
 Authorization setId(int id)
           
 Authorization setNote(String note)
           
 Authorization setNoteUrl(String noteUrl)
           
 Authorization setScopes(List<String> scopes)
           
 Authorization setToken(String token)
           
 Authorization setUpdatedAt(Date updatedAt)
           
 Authorization setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authorization

public Authorization()
Method Detail

getApp

public Application getApp()
Returns:
app

setApp

public Authorization setApp(Application app)
Parameters:
app -
Returns:
this authorization

getCreatedAt

public Date getCreatedAt()
Returns:
createdAt

setCreatedAt

public Authorization setCreatedAt(Date createdAt)
Parameters:
createdAt -
Returns:
this authorization

getUpdatedAt

public Date getUpdatedAt()
Returns:
updatedAt

setUpdatedAt

public Authorization setUpdatedAt(Date updatedAt)
Parameters:
updatedAt -
Returns:
this authorization

getId

public int getId()
Returns:
id

setId

public Authorization setId(int id)
Parameters:
id -
Returns:
this authorization

getNote

public String getNote()
Returns:
note

setNote

public Authorization setNote(String note)
Parameters:
note -
Returns:
this authorization

getNoteUrl

public String getNoteUrl()
Returns:
noteUrl

setNoteUrl

public Authorization setNoteUrl(String noteUrl)
Parameters:
noteUrl -
Returns:
this authorization

getScopes

public List<String> getScopes()
Returns:
scopes

setScopes

public Authorization setScopes(List<String> scopes)
Parameters:
scopes -
Returns:
this authorization

getToken

public String getToken()
Returns:
token

setToken

public Authorization setToken(String token)
Parameters:
token -
Returns:
this authorization

getUrl

public String getUrl()
Returns:
url

setUrl

public Authorization setUrl(String url)
Parameters:
url -
Returns:
this authorization


Copyright © 2012. All Rights Reserved.