com.microsoft.graph.models.RiskyUserHistoryItem 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.RiskUserActivity;
import com.microsoft.graph.models.RiskyUser;
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 Risky User History Item.
*/
public class RiskyUserHistoryItem extends RiskyUser implements IJsonBackedObject {
/**
* The Activity.
* The activity related to user risk level change.
*/
@SerializedName(value = "activity", alternate = {"Activity"})
@Expose
@Nullable
public RiskUserActivity activity;
/**
* The Initiated By.
* The ID of actor that does the operation.
*/
@SerializedName(value = "initiatedBy", alternate = {"InitiatedBy"})
@Expose
@Nullable
public String initiatedBy;
/**
* The User Id.
* The ID of the user.
*/
@SerializedName(value = "userId", alternate = {"UserId"})
@Expose
@Nullable
public String userId;
/**
* 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) {
}
}