Class AccessPackageResourceRequest

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

public class AccessPackageResourceRequest extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Access Package Resource Request.
  • Field Details

    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • requestType

      @SerializedName(value="requestType", alternate="RequestType") @Expose @Nullable public AccessPackageRequestType requestType
      The Request Type. The type of the request. Use adminAdd to add a resource, if the caller is an administrator or resource owner, adminUpdate to update a resource, or adminRemove to remove a resource.
    • state

      @SerializedName(value="state", alternate="State") @Expose @Nullable public AccessPackageRequestState state
      The State. The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only.
    • catalog

      @SerializedName(value="catalog", alternate="Catalog") @Expose @Nullable public AccessPackageCatalog catalog
      The Catalog.
    • resource

      @SerializedName(value="resource", alternate="Resource") @Expose @Nullable public AccessPackageResource resource
      The Resource.
  • Constructor Details

    • AccessPackageResourceRequest

      public AccessPackageResourceRequest()
  • Method Details

    • 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
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to