com.microsoft.graph.securitynamespace.models.HostComponent 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.security.models.Host;
import com.microsoft.graph.security.models.Artifact;
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 Host Component.
*/
public class HostComponent extends Artifact implements IJsonBackedObject {
/**
* The Category.
* The type of component that was detected (for example, Operating System, Framework, Remote Access, or Server).
*/
@SerializedName(value = "category", alternate = {"Category"})
@Expose
@Nullable
public String category;
/**
* The First Seen Date Time.
* The first date and time when Microsoft Defender Threat Intelligence observed this web component. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z.
*/
@SerializedName(value = "firstSeenDateTime", alternate = {"FirstSeenDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime firstSeenDateTime;
/**
* The Last Seen Date Time.
* The most recent date and time when Microsoft Defender Threat Intelligence observed this web component. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z.
*/
@SerializedName(value = "lastSeenDateTime", alternate = {"LastSeenDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime lastSeenDateTime;
/**
* The Name.
* A name running on the artifact, for example, Microsoft IIS.
*/
@SerializedName(value = "name", alternate = {"Name"})
@Expose
@Nullable
public String name;
/**
* The Version.
* The component version running on the artifact, for example, v8.5. This should not be assumed to be strictly numerical.
*/
@SerializedName(value = "version", alternate = {"Version"})
@Expose
@Nullable
public String version;
/**
* The Host.
* The host related to this component. This is a reverse navigation property. When navigating to components from a host, this should be assumed to be a return reference.
*/
@SerializedName(value = "host", alternate = {"Host"})
@Expose
@Nullable
public Host host;
/**
* 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) {
}
}