Class ResourceAccess

java.lang.Object
com.microsoft.graph.models.ResourceAccess
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ResourceAccess extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Resource Access.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • id

      @SerializedName(value="id", alternate="Id") @Expose @Nullable public UUID id
      The Id. The unique identifier of an app role or delegated permission exposed by the resource application. For delegated permissions, this should match the id property of one of the delegated permissions in the oauth2PermissionScopes collection of the resource application's service principal. For app roles (application permissions), this should match the id property of an app role in the appRoles collection of the resource application's service principal.
    • type

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public String type
      The Type. Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles).
  • Constructor Details

    • ResourceAccess

      public ResourceAccess()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to