com.microsoft.graph.securitynamespace.models.PassiveDnsRecord 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.Artifact;
import com.microsoft.graph.security.models.Host;
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 Passive Dns Record.
*/
public class PassiveDnsRecord extends Artifact implements IJsonBackedObject {
/**
* The Collected Date Time.
* The date and time that this passiveDnsRecord entry was collected by Microsoft. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*/
@SerializedName(value = "collectedDateTime", alternate = {"CollectedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime collectedDateTime;
/**
* The First Seen Date Time.
* The date and time when this passiveDnsRecord entry was first seen. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. 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 date and time when this passiveDnsRecord entry was most recently seen. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. 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 Record Type.
* The DNS record type for this passiveDnsRecord entry.
*/
@SerializedName(value = "recordType", alternate = {"RecordType"})
@Expose
@Nullable
public String recordType;
/**
* The Artifact.
* The artifact related to this passiveDnsRecord entry.
*/
@SerializedName(value = "artifact", alternate = {"Artifact"})
@Expose
@Nullable
public Artifact artifact;
/**
* The Parent Host.
* The parent host related to this passiveDnsRecord entry. Generally, this is the value that you can search to discover this passiveDnsRecord value.
*/
@SerializedName(value = "parentHost", alternate = {"ParentHost"})
@Expose
@Nullable
public Host parentHost;
/**
* 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) {
}
}