public class OAuth2PermissionGrant extends Entity implements com.microsoft.graph.serializer.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 |
|---|---|
void |
setRawObject(com.microsoft.graph.serializer.ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManager@SerializedName(value="clientId",
alternate="ClientId")
@Expose
@Nullable
public java.lang.String clientId
@SerializedName(value="consentType",
alternate="ConsentType")
@Expose
@Nullable
public java.lang.String consentType
@SerializedName(value="principalId",
alternate="PrincipalId")
@Expose
@Nullable
public java.lang.String principalId
@SerializedName(value="resourceId",
alternate="ResourceId")
@Expose
@Nullable
public java.lang.String resourceId
@SerializedName(value="scope",
alternate="Scope")
@Expose
@Nullable
public java.lang.String scope
public void setRawObject(@Nonnull
com.microsoft.graph.serializer.ISerializer serializer,
@Nonnull
com.google.gson.JsonObject json)
setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObjectsetRawObject in class Entityserializer - the serializerjson - the JSON object to set this object to