Class ThreatAssessmentRequest

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ThreatAssessmentRequest
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
EmailFileAssessmentRequest, FileAssessmentRequest, MailAssessmentRequest, UrlAssessmentRequest

public class ThreatAssessmentRequest extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Threat Assessment Request.
  • Field Details

    • category

      @SerializedName(value="category", alternate="Category") @Expose @Nullable public ThreatCategory category
      The Category. The threat category. Possible values are: spam, phishing, malware.
    • contentType

      @SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public ThreatAssessmentContentType contentType
      The Content Type. The content type of threat assessment. Possible values are: mail, url, file.
    • createdBy

      @SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public IdentitySet createdBy
      The Created By. The threat assessment request creator.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. 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.
    • expectedAssessment

      @SerializedName(value="expectedAssessment", alternate="ExpectedAssessment") @Expose @Nullable public ThreatExpectedAssessment expectedAssessment
      The Expected Assessment. The expected assessment from submitter. Possible values are: block, unblock.
    • requestSource

      @SerializedName(value="requestSource", alternate="RequestSource") @Expose @Nullable public ThreatAssessmentRequestSource requestSource
      The Request Source. The source of the threat assessment request. Possible values are: administrator.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public ThreatAssessmentStatus status
      The Status. The assessment process status. Possible values are: pending, completed.
    • results

      @SerializedName(value="results", alternate="Results") @Expose @Nullable public ThreatAssessmentResultCollectionPage results
      The Results. A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it.
  • Constructor Details

    • ThreatAssessmentRequest

      public ThreatAssessmentRequest()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to