Share via


SubmissionMailEntityProperties Class

Definition

Submission mail entity property bag.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.SubmissionMailEntityPropertiesTypeConverter))]
public class SubmissionMailEntityProperties : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.ISubmissionMailEntityProperties, Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.SubmissionMailEntityPropertiesTypeConverter))>]
type SubmissionMailEntityProperties = class
    interface ISubmissionMailEntityProperties
    interface IJsonSerializable
    interface IEntityCommonProperties
    interface IValidates
Public Class SubmissionMailEntityProperties
Implements ISubmissionMailEntityProperties, IValidates
Inheritance
SubmissionMailEntityProperties
Attributes
Implements

Constructors

SubmissionMailEntityProperties()

Creates an new SubmissionMailEntityProperties instance.

Properties

AdditionalData

A bag of custom fields that should be part of the entity and will be presented to the user.

FriendlyName

The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

NetworkMessageId

The network message id of email to which submission belongs

Recipient

The recipient of the mail

ReportType

The submission type for the given instance. This maps to Junk, Phish, Malware or NotJunk.

Sender

The sender of the mail

SenderIP

The sender's IP

Subject

The subject of submission mail

SubmissionDate

The submission date

SubmissionId

The submission id

Submitter

The submitter

Timestamp

The Time stamp when the message is received (Mail)

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SubmissionMailEntityProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SubmissionMailEntityProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.ISubmissionMailEntityProperties.

FromJsonString(String)

Creates a new instance of SubmissionMailEntityProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SubmissionMailEntityProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to