public class OAuth2PermissionGrant extends Entity implements IJsonBackedObject
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
clientId
The Client Id.
|
java.lang.String |
consentType
The Consent Type.
|
java.lang.String |
principalId
The Principal Id.
|
java.lang.String |
resourceId
The Resource Id.
|
java.lang.String |
scope
The Scope.
|
| Constructor and Description |
|---|
OAuth2PermissionGrant() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
getRawObject()
Gets the raw representation of this class
|
protected ISerializer |
getSerializer()
Gets serializer
|
void |
setRawObject(ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadditionalDataManager@SerializedName(value="clientId",
alternate="ClientId")
@Expose
public java.lang.String clientId
@SerializedName(value="consentType",
alternate="ConsentType")
@Expose
public java.lang.String consentType
@SerializedName(value="principalId",
alternate="PrincipalId")
@Expose
public java.lang.String principalId
@SerializedName(value="resourceId",
alternate="ResourceId")
@Expose
public java.lang.String resourceId
@SerializedName(value="scope",
alternate="Scope")
@Expose
public java.lang.String scope
public com.google.gson.JsonObject getRawObject()
getRawObject in class Entityprotected ISerializer getSerializer()
getSerializer in class Entitypublic void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject in interface IJsonBackedObjectsetRawObject in class Entityserializer - the serializerjson - the JSON object to set this object to