@Generated(value="org.jsonschema2pojo") public class OAuthClient extends Object implements HasMetadata
Constructor and Description |
---|
OAuthClient()
No args constructor for use in serialization
|
OAuthClient(List<String> additionalSecrets,
String apiVersion,
String grantMethod,
String kind,
ObjectMeta metadata,
List<String> redirectURIs,
Boolean respondWithChallenges,
List<ScopeRestriction> scopeRestrictions,
String secret) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
List<String> |
getAdditionalSecrets() |
String |
getApiVersion()
(Required)
|
String |
getGrantMethod() |
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
List<String> |
getRedirectURIs() |
Boolean |
getRespondWithChallenges() |
List<ScopeRestriction> |
getScopeRestrictions() |
String |
getSecret() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAdditionalSecrets(List<String> additionalSecrets) |
void |
setApiVersion(String apiVersion)
(Required)
|
void |
setGrantMethod(String grantMethod) |
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setRedirectURIs(List<String> redirectURIs) |
void |
setRespondWithChallenges(Boolean respondWithChallenges) |
void |
setScopeRestrictions(List<ScopeRestriction> scopeRestrictions) |
void |
setSecret(String secret) |
public OAuthClient()
public OAuthClient(List<String> additionalSecrets, String apiVersion, String grantMethod, String kind, ObjectMeta metadata, List<String> redirectURIs, Boolean respondWithChallenges, List<ScopeRestriction> scopeRestrictions, String secret)
additionalSecrets
- metadata
- respondWithChallenges
- apiVersion
- scopeRestrictions
- kind
- grantMethod
- secret
- redirectURIs
- public void setAdditionalSecrets(List<String> additionalSecrets)
additionalSecrets
- The additionalSecretspublic String getApiVersion()
getApiVersion
in interface HasMetadata
public void setApiVersion(String apiVersion)
setApiVersion
in interface HasMetadata
apiVersion
- The apiVersionpublic String getGrantMethod()
public void setGrantMethod(String grantMethod)
grantMethod
- The grantMethodpublic 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 void setRedirectURIs(List<String> redirectURIs)
redirectURIs
- The redirectURIspublic Boolean getRespondWithChallenges()
public void setRespondWithChallenges(Boolean respondWithChallenges)
respondWithChallenges
- The respondWithChallengespublic List<ScopeRestriction> getScopeRestrictions()
public void setScopeRestrictions(List<ScopeRestriction> scopeRestrictions)
scopeRestrictions
- The scopeRestrictionspublic String getSecret()
public void setSecret(String secret)
secret
- The secretCopyright © 2011–2017 Red Hat. All rights reserved.