Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Catalog.The Created Date Time.The Request Type.The Resource.The State. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe 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 requestTypeThe 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 stateThe 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 catalogThe Catalog. -
resource
@SerializedName(value="resource", alternate="Resource") @Expose @Nullable public AccessPackageResource resourceThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-