Class HealthIssue
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.HealthIssue
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class HealthIssue
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HealthIssue
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the additionalInformation property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.Gets the domainNames property value.The deserialization information for the current modelGets the healthIssueType property value.Gets the issueTypeId property value.Gets the lastModifiedDateTime property value.Gets the recommendations property value.Gets the recommendedActionCommands property value.Gets the sensorDNSNames property value.Gets the severity property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAdditionalInformation
(List<String> value) Sets the additionalInformation property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setDomainNames
(List<String> value) Sets the domainNames property value.void
Sets the healthIssueType property value.void
setIssueTypeId
(String value) Sets the issueTypeId property value.void
Sets the lastModifiedDateTime property value.void
setRecommendations
(List<String> value) Sets the recommendations property value.void
setRecommendedActionCommands
(List<String> value) Sets the recommendedActionCommands property value.void
setSensorDNSNames
(List<String> value) Sets the sensorDNSNames property value.void
setSeverity
(HealthIssueSeverity value) Sets the severity property value.void
setStatus
(HealthIssueStatus value) Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
HealthIssue
public HealthIssue()Instantiates a newHealthIssue
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static HealthIssue createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
HealthIssue
-
getAdditionalInformation
Gets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix. -
getCreatedDateTime
Gets the createdDateTime property value. The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Contains more detailed information about the health issue.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name of the health issue.- Returns:
- a
String
-
getDomainNames
Gets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHealthIssueType
Gets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.- Returns:
- a
HealthIssueType
-
getIssueTypeId
Gets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.- Returns:
- a
String
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getRecommendations
Gets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. -
getRecommendedActionCommands
Gets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. -
getSensorDNSNames
Gets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to. -
getSeverity
Gets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue.- Returns:
- a
HealthIssueSeverity
-
getStatus
Gets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue.- Returns:
- a
HealthIssueStatus
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAdditionalInformation
Sets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix.- Parameters:
value
- Value to set for the additionalInformation property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. Contains more detailed information about the health issue.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The display name of the health issue.- Parameters:
value
- Value to set for the displayName property.
-
setDomainNames
Sets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to.- Parameters:
value
- Value to set for the domainNames property.
-
setHealthIssueType
Sets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.- Parameters:
value
- Value to set for the healthIssueType property.
-
setIssueTypeId
Sets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.- Parameters:
value
- Value to set for the issueTypeId property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setRecommendations
Sets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses.- Parameters:
value
- Value to set for the recommendations property.
-
setRecommendedActionCommands
Sets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix.- Parameters:
value
- Value to set for the recommendedActionCommands property.
-
setSensorDNSNames
Sets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to.- Parameters:
value
- Value to set for the sensorDNSNames property.
-
setSeverity
Sets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue.- Parameters:
value
- Value to set for the severity property.
-
setStatus
Sets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue.- Parameters:
value
- Value to set for the status property.
-