Class 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

    • Constructor Detail

      • Alert

        protected Alert()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • withActorDisplayName

        public Alert withActorDisplayName​(String actorDisplayName)
      • withAdditionalData

        public Alert withAdditionalData​(Dictionary additionalData)
      • withAlertPolicyId

        public Alert withAlertPolicyId​(String alertPolicyId)
      • withAlertWebUrl

        public Alert withAlertWebUrl​(String alertWebUrl)
      • withAssignedTo

        public Alert withAssignedTo​(String assignedTo)
      • withCategory

        public Alert withCategory​(String category)
      • getComments

        public com.github.davidmoten.odata.client.CollectionPage<AlertComment> getComments()
      • getComments

        public com.github.davidmoten.odata.client.CollectionPage<AlertComment> getComments​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withDescription

        public Alert withDescription​(String description)
      • withDetectorId

        public Alert withDetectorId​(String detectorId)
      • getEvidence

        public com.github.davidmoten.odata.client.CollectionPage<AlertEvidence> getEvidence()
      • getEvidence

        public com.github.davidmoten.odata.client.CollectionPage<AlertEvidence> getEvidence​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withFirstActivityDateTime

        public Alert withFirstActivityDateTime​(OffsetDateTime firstActivityDateTime)
      • withIncidentId

        public Alert withIncidentId​(String incidentId)
      • withIncidentWebUrl

        public Alert withIncidentWebUrl​(String incidentWebUrl)
      • withLastActivityDateTime

        public Alert withLastActivityDateTime​(OffsetDateTime lastActivityDateTime)
      • withLastUpdateDateTime

        public Alert withLastUpdateDateTime​(OffsetDateTime lastUpdateDateTime)
      • getMitreTechniques

        public com.github.davidmoten.odata.client.CollectionPage<String> getMitreTechniques()
      • withMitreTechniques

        public Alert withMitreTechniques​(List<String> mitreTechniques)
      • getMitreTechniques

        public com.github.davidmoten.odata.client.CollectionPage<String> getMitreTechniques​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withProductName

        public Alert withProductName​(String productName)
      • withProviderAlertId

        public Alert withProviderAlertId​(String providerAlertId)
      • getRecommendedActions

        public Optional<String> getRecommendedActions()
      • withRecommendedActions

        public Alert withRecommendedActions​(String recommendedActions)
      • withResolvedDateTime

        public Alert withResolvedDateTime​(OffsetDateTime resolvedDateTime)
      • withTenantId

        public Alert withTenantId​(String tenantId)
      • getThreatDisplayName

        public Optional<String> getThreatDisplayName()
      • withThreatDisplayName

        public Alert withThreatDisplayName​(String threatDisplayName)
      • withThreatFamilyName

        public Alert withThreatFamilyName​(String threatFamilyName)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public Alert patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public Alert put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected