Package com.microsoft.graph.models
Class RequiredResourceAccess
java.lang.Object
com.microsoft.graph.models.RequiredResourceAccess
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class RequiredResourceAccess
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Required Resource Access.
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe OData type of the object as returned by the serviceThe Resource Access.The Resource App Id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
resourceAccess
@SerializedName(value="resourceAccess", alternate="ResourceAccess") @Expose @Nullable public List<ResourceAccess> resourceAccessThe Resource Access. The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource. -
resourceAppId
@SerializedName(value="resourceAppId", alternate="ResourceAppId") @Expose @Nullable public String resourceAppIdThe Resource App Id. The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
-
-
Constructor Details
-
RequiredResourceAccess
public RequiredResourceAccess()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-