com.microsoft.graph.models.Request Maven / Gradle / Ivy
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.models.IdentitySet;
import com.microsoft.graph.models.Entity;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Request.
*/
public class Request extends Entity implements IJsonBackedObject {
/**
* The Approval Id.
* The identifier of the approval of the request.
*/
@SerializedName(value = "approvalId", alternate = {"ApprovalId"})
@Expose
@Nullable
public String approvalId;
/**
* The Completed Date Time.
* The request completion date time.
*/
@SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime completedDateTime;
/**
* The Created By.
* The principal that created the request.
*/
@SerializedName(value = "createdBy", alternate = {"CreatedBy"})
@Expose
@Nullable
public IdentitySet createdBy;
/**
* The Created Date Time.
* The request creation date time.
*/
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime createdDateTime;
/**
* The Custom Data.
* Free text field to define any custom data for the request. Not used.
*/
@SerializedName(value = "customData", alternate = {"CustomData"})
@Expose
@Nullable
public String customData;
/**
* The Status.
* The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable.
*/
@SerializedName(value = "status", alternate = {"Status"})
@Expose
@Nullable
public String status;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
}
}