@Generated(value="org.jsonschema2pojo") public class OAuthAuthorizeToken extends Object implements HasMetadata
Modifier and Type | Class and Description |
---|---|
static class |
OAuthAuthorizeToken.ApiVersion |
Constructor and Description |
---|
OAuthAuthorizeToken()
No args constructor for use in serialization
|
OAuthAuthorizeToken(OAuthAuthorizeToken.ApiVersion apiVersion,
String clientName,
Long expiresIn,
String kind,
ObjectMeta metadata,
String redirectURI,
List<String> scopes,
String state,
String userName,
String userUID) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
OAuthAuthorizeToken.ApiVersion |
getApiVersion()
(Required)
|
String |
getClientName()
references the client that created this token
|
Long |
getExpiresIn()
seconds from creation time before this token expires
|
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
String |
getRedirectURI()
redirection URI associated with the token
|
List<String> |
getScopes()
list of requested scopes
|
String |
getState()
state data from request
|
String |
getUserName()
user name associated with this token
|
String |
getUserUID()
unique UID associated with this token.
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(OAuthAuthorizeToken.ApiVersion apiVersion)
(Required)
|
void |
setClientName(String clientName)
references the client that created this token
|
void |
setExpiresIn(Long expiresIn)
seconds from creation time before this token expires
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setRedirectURI(String redirectURI)
redirection URI associated with the token
|
void |
setScopes(List<String> scopes)
list of requested scopes
|
void |
setState(String state)
state data from request
|
void |
setUserName(String userName)
user name associated with this token
|
void |
setUserUID(String userUID)
unique UID associated with this token.
|
public OAuthAuthorizeToken()
public OAuthAuthorizeToken(OAuthAuthorizeToken.ApiVersion apiVersion, String clientName, Long expiresIn, String kind, ObjectMeta metadata, String redirectURI, List<String> scopes, String state, String userName, String userUID)
apiVersion
- scopes
- redirectURI
- expiresIn
- clientName
- state
- userName
- kind
- userUID
- metadata
- public OAuthAuthorizeToken.ApiVersion getApiVersion()
public void setApiVersion(OAuthAuthorizeToken.ApiVersion apiVersion)
apiVersion
- The apiVersionpublic String getClientName()
public void setClientName(String clientName)
clientName
- The clientNamepublic Long getExpiresIn()
public void setExpiresIn(Long expiresIn)
expiresIn
- The expiresInpublic String getKind()
getKind
in interface HasMetadata
public void setKind(String kind)
kind
- The kindpublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadatapublic String getRedirectURI()
public void setRedirectURI(String redirectURI)
redirectURI
- The redirectURIpublic void setScopes(List<String> scopes)
scopes
- The scopespublic String getState()
public void setState(String state)
state
- The statepublic String getUserName()
public void setUserName(String userName)
userName
- The userNamepublic String getUserUID()
public void setUserUID(String userUID)
userUID
- The userUIDCopyright © 2011–2015 Red Hat. All rights reserved.