@Generated(value="org.jsonschema2pojo") public class OAuthClientAuthorization extends Object implements HasMetadata
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuthClientAuthorization.ApiVersion |
| Constructor and Description |
|---|
OAuthClientAuthorization()
No args constructor for use in serialization
|
OAuthClientAuthorization(OAuthClientAuthorization.ApiVersion apiVersion,
String clientName,
String kind,
ObjectMeta metadata,
List<String> scopes,
String userName,
String userUID) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
OAuthClientAuthorization.ApiVersion |
getApiVersion()
(Required)
|
String |
getClientName()
references the client that created this authorization
|
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
List<String> |
getScopes()
list of granted scopes
|
String |
getUserName()
user name that authorized this client
|
String |
getUserUID()
unique UID associated with this authorization.
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(OAuthClientAuthorization.ApiVersion apiVersion)
(Required)
|
void |
setClientName(String clientName)
references the client that created this authorization
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setScopes(List<String> scopes)
list of granted scopes
|
void |
setUserName(String userName)
user name that authorized this client
|
void |
setUserUID(String userUID)
unique UID associated with this authorization.
|
public OAuthClientAuthorization()
public OAuthClientAuthorization(OAuthClientAuthorization.ApiVersion apiVersion, String clientName, String kind, ObjectMeta metadata, List<String> scopes, String userName, String userUID)
metadata - apiVersion - clientName - kind - scopes - userName - userUID - public OAuthClientAuthorization.ApiVersion getApiVersion()
public void setApiVersion(OAuthClientAuthorization.ApiVersion apiVersion)
apiVersion - The apiVersionpublic String getClientName()
public void setClientName(String clientName)
clientName - The clientNamepublic String getKind()
getKind in interface HasMetadatapublic void setKind(String kind)
kind - The kindpublic ObjectMeta getMetadata()
getMetadata in interface HasMetadatapublic void setMetadata(ObjectMeta metadata)
setMetadata in interface HasMetadatametadata - The metadatapublic void setScopes(List<String> scopes)
scopes - The scopespublic String getUserName()
public void setUserName(String userName)
userName - The userNamepublic String getUserUID()
public void setUserUID(String userUID)
userUID - The userUIDCopyright © 2011–2016 Red Hat. All rights reserved.