All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.securitynamespace.models.RetentionEvent 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.security.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.IdentitySet;
import com.microsoft.graph.security.models.EventPropagationResult;
import com.microsoft.graph.security.models.EventQuery;
import com.microsoft.graph.security.models.RetentionEventStatus;
import com.microsoft.graph.security.models.RetentionEventType;
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 Retention Event.
 */
public class RetentionEvent extends Entity implements IJsonBackedObject {


    /**
     * The Created By.
     * The user who created the retentionEvent.
     */
    @SerializedName(value = "createdBy", alternate = {"CreatedBy"})
    @Expose
	@Nullable
    public IdentitySet createdBy;

    /**
     * The Created Date Time.
     * The date time when the retentionEvent was created.
     */
    @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
    @Expose
	@Nullable
    public java.time.OffsetDateTime createdDateTime;

    /**
     * The Description.
     * Optional information about the event.
     */
    @SerializedName(value = "description", alternate = {"Description"})
    @Expose
	@Nullable
    public String description;

    /**
     * The Display Name.
     * Name of the event.
     */
    @SerializedName(value = "displayName", alternate = {"DisplayName"})
    @Expose
	@Nullable
    public String displayName;

    /**
     * The Event Propagation Results.
     * 
     */
    @SerializedName(value = "eventPropagationResults", alternate = {"EventPropagationResults"})
    @Expose
	@Nullable
    public java.util.List eventPropagationResults;

    /**
     * The Event Queries.
     * Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event.
     */
    @SerializedName(value = "eventQueries", alternate = {"EventQueries"})
    @Expose
	@Nullable
    public java.util.List eventQueries;

    /**
     * The Event Status.
     * 
     */
    @SerializedName(value = "eventStatus", alternate = {"EventStatus"})
    @Expose
	@Nullable
    public RetentionEventStatus eventStatus;

    /**
     * The Event Trigger Date Time.
     * Optional time when the event should be triggered.
     */
    @SerializedName(value = "eventTriggerDateTime", alternate = {"EventTriggerDateTime"})
    @Expose
	@Nullable
    public java.time.OffsetDateTime eventTriggerDateTime;

    /**
     * The Last Modified By.
     * The user who last modified the retentionEvent.
     */
    @SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
    @Expose
	@Nullable
    public IdentitySet lastModifiedBy;

    /**
     * The Last Modified Date Time.
     * The latest date time when the retentionEvent was modified.
     */
    @SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
    @Expose
	@Nullable
    public java.time.OffsetDateTime lastModifiedDateTime;

    /**
     * The Last Status Update Date Time.
     * Last time the status of the event was updated.
     */
    @SerializedName(value = "lastStatusUpdateDateTime", alternate = {"LastStatusUpdateDateTime"})
    @Expose
	@Nullable
    public java.time.OffsetDateTime lastStatusUpdateDateTime;

    /**
     * The Retention Event Type.
     * Specifies the event that will start the retention period for labels that use this event type when an event is created.
     */
    @SerializedName(value = "retentionEventType", alternate = {"RetentionEventType"})
    @Expose
	@Nullable
    public RetentionEventType retentionEventType;


    /**
     * 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) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy