Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// 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.http.BaseCollectionPage;
import com.microsoft.graph.models.KeyValue;
import com.microsoft.graph.models.AuditActivityInitiator;
import com.microsoft.graph.models.OperationResult;
import com.microsoft.graph.models.TargetResource;
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 Directory Audit.
*/
public class DirectoryAudit extends Entity implements IJsonBackedObject {
/**
* The Activity Date Time.
* Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ge, le) and $orderby.
*/
@SerializedName(value = "activityDateTime", alternate = {"ActivityDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime activityDateTime;
/**
* The Activity Display Name.
* Indicates the activity name or the operation name (examples: 'Create User' and 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. Supports $filter (eq, startswith).
*/
@SerializedName(value = "activityDisplayName", alternate = {"ActivityDisplayName"})
@Expose
@Nullable
public String activityDisplayName;
/**
* The Additional Details.
* Indicates additional details on the activity.
*/
@SerializedName(value = "additionalDetails", alternate = {"AdditionalDetails"})
@Expose
@Nullable
public java.util.List additionalDetails;
/**
* The Category.
* Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement. For a list of categories for activities logged, refer to Azure AD audit log categories and activities.
*/
@SerializedName(value = "category", alternate = {"Category"})
@Expose
@Nullable
public String category;
/**
* The Correlation Id.
* Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. Supports $filter (eq).
*/
@SerializedName(value = "correlationId", alternate = {"CorrelationId"})
@Expose
@Nullable
public String correlationId;
/**
* The Initiated By.
* Indicates information about the user or app initiated the activity. Supports $filter (eq) for user/id, user/displayName, user/userPrincipalName, app/appId, app/displayName; and $filter (startswith) for user/userPrincipalName.
*/
@SerializedName(value = "initiatedBy", alternate = {"InitiatedBy"})
@Expose
@Nullable
public AuditActivityInitiator initiatedBy;
/**
* The Logged By Service.
* Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. Supports $filter (eq).
*/
@SerializedName(value = "loggedByService", alternate = {"LoggedByService"})
@Expose
@Nullable
public String loggedByService;
/**
* The Operation Type.
* Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete.
*/
@SerializedName(value = "operationType", alternate = {"OperationType"})
@Expose
@Nullable
public String operationType;
/**
* The Result.
* Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue.
*/
@SerializedName(value = "result", alternate = {"Result"})
@Expose
@Nullable
public OperationResult result;
/**
* The Result Reason.
* Indicates the reason for failure if the result is failure or timeout.
*/
@SerializedName(value = "resultReason", alternate = {"ResultReason"})
@Expose
@Nullable
public String resultReason;
/**
* The Target Resources.
* Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. Supports $filter (eq) for id and displayName; and $filter (startswith) for displayName.
*/
@SerializedName(value = "targetResources", alternate = {"TargetResources"})
@Expose
@Nullable
public java.util.List targetResources;
/**
* 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) {
}
}