Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Category.The Content Type.The Created By.The Created Date Time.The Expected Assessment.The Request Source.The Results.The Status. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
category
@SerializedName(value="category", alternate="Category") @Expose @Nullable public ThreatCategory categoryThe Category. The threat category. Possible values are: spam, phishing, malware. -
contentType
@SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public ThreatAssessmentContentType contentTypeThe Content Type. The content type of threat assessment. Possible values are: mail, url, file. -
createdBy
@SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public IdentitySet createdByThe Created By. The threat assessment request creator. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe 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 expectedAssessmentThe Expected Assessment. The expected assessment from submitter. Possible values are: block, unblock. -
requestSource
@SerializedName(value="requestSource", alternate="RequestSource") @Expose @Nullable public ThreatAssessmentRequestSource requestSourceThe Request Source. The source of the threat assessment request. Possible values are: administrator. -
status
@SerializedName(value="status", alternate="Status") @Expose @Nullable public ThreatAssessmentStatus statusThe Status. The assessment process status. Possible values are: pending, completed. -
results
@SerializedName(value="results", alternate="Results") @Expose @Nullable public ThreatAssessmentResultCollectionPage resultsThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-