Class Alert
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.Alert
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Alert extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = true
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = true
Org.OData.Capabilities.V1.SkipSupported
true
Org.OData.Capabilities.V1.SortRestrictions
Sortable = true
Org.OData.Capabilities.V1.TopSupported
true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlert.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAlert()
-
Method Summary
-
-
-
Field Detail
-
actorDisplayName
protected String actorDisplayName
-
additionalData
protected Dictionary additionalData
-
alertPolicyId
protected String alertPolicyId
-
alertWebUrl
protected String alertWebUrl
-
assignedTo
protected String assignedTo
-
category
protected String category
-
classification
protected AlertClassification classification
-
comments
protected List<AlertComment> comments
-
commentsNextLink
protected String commentsNextLink
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
detectionSource
protected DetectionSource detectionSource
-
detectorId
protected String detectorId
-
determination
protected AlertDetermination determination
-
evidence
protected List<AlertEvidence> evidence
-
evidenceNextLink
protected String evidenceNextLink
-
firstActivityDateTime
protected OffsetDateTime firstActivityDateTime
-
incidentId
protected String incidentId
-
incidentWebUrl
protected String incidentWebUrl
-
lastActivityDateTime
protected OffsetDateTime lastActivityDateTime
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
mitreTechniquesNextLink
protected String mitreTechniquesNextLink
-
productName
protected String productName
-
providerAlertId
protected String providerAlertId
-
recommendedActions
protected String recommendedActions
-
resolvedDateTime
protected OffsetDateTime resolvedDateTime
-
serviceSource
protected ServiceSource serviceSource
-
severity
protected AlertSeverity severity
-
status
protected AlertStatus status
-
tenantId
protected String tenantId
-
threatDisplayName
protected String threatDisplayName
-
threatFamilyName
protected String threatFamilyName
-
title
protected String title
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAlert
public static Alert.Builder builderAlert()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAdditionalData
public Optional<Dictionary> getAdditionalData()
-
withAdditionalData
public Alert withAdditionalData(Dictionary additionalData)
-
getClassification
public Optional<AlertClassification> getClassification()
-
withClassification
public Alert withClassification(AlertClassification classification)
-
getComments
public com.github.davidmoten.odata.client.CollectionPage<AlertComment> getComments()
-
withComments
public Alert withComments(List<AlertComment> comments)
-
getComments
public com.github.davidmoten.odata.client.CollectionPage<AlertComment> getComments(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Alert withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDetectionSource
public Optional<DetectionSource> getDetectionSource()
-
withDetectionSource
public Alert withDetectionSource(DetectionSource detectionSource)
-
getDetermination
public Optional<AlertDetermination> getDetermination()
-
withDetermination
public Alert withDetermination(AlertDetermination determination)
-
getEvidence
public com.github.davidmoten.odata.client.CollectionPage<AlertEvidence> getEvidence()
-
withEvidence
public Alert withEvidence(List<AlertEvidence> evidence)
-
getEvidence
public com.github.davidmoten.odata.client.CollectionPage<AlertEvidence> getEvidence(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getFirstActivityDateTime
public Optional<OffsetDateTime> getFirstActivityDateTime()
-
withFirstActivityDateTime
public Alert withFirstActivityDateTime(OffsetDateTime firstActivityDateTime)
-
getLastActivityDateTime
public Optional<OffsetDateTime> getLastActivityDateTime()
-
withLastActivityDateTime
public Alert withLastActivityDateTime(OffsetDateTime lastActivityDateTime)
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
-
withLastUpdateDateTime
public Alert withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
-
getMitreTechniques
public com.github.davidmoten.odata.client.CollectionPage<String> getMitreTechniques()
-
getMitreTechniques
public com.github.davidmoten.odata.client.CollectionPage<String> getMitreTechniques(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getResolvedDateTime
public Optional<OffsetDateTime> getResolvedDateTime()
-
withResolvedDateTime
public Alert withResolvedDateTime(OffsetDateTime resolvedDateTime)
-
getServiceSource
public Optional<ServiceSource> getServiceSource()
-
withServiceSource
public Alert withServiceSource(ServiceSource serviceSource)
-
getSeverity
public Optional<AlertSeverity> getSeverity()
-
withSeverity
public Alert withSeverity(AlertSeverity severity)
-
getStatus
public Optional<AlertStatus> getStatus()
-
withStatus
public Alert withStatus(AlertStatus status)
-
withUnmappedField
public Alert withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Alert patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Alert put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-