Class Sensor
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.Sensor
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Sensor
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 Sensor
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the createdDateTime property value.Gets the deploymentStatus property value.Gets the displayName property value.Gets the domainName property value.The deserialization information for the current modelGets the healthIssues property value.Gets the healthStatus property value.Gets the openHealthIssuesCount property value.Gets the sensorType property value.Gets the settings property value.Gets the version property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
Sets the deploymentStatus property value.void
setDisplayName
(String value) Sets the displayName property value.void
setDomainName
(String value) Sets the domainName property value.void
setHealthIssues
(List<HealthIssue> value) Sets the healthIssues property value.void
Sets the healthStatus property value.void
setOpenHealthIssuesCount
(Long value) Sets the openHealthIssuesCount property value.void
setSensorType
(SensorType value) Sets the sensorType property value.void
setSettings
(SensorSettings value) Sets the settings property value.void
setVersion
(String value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Sensor
public Sensor()Instantiates a newSensor
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Sensor 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
Sensor
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time when the sensor was generated. The Timestamp 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
-
getDeploymentStatus
Gets the deploymentStatus property value. The deploymentStatus property- Returns:
- a
DeploymentStatus
-
getDisplayName
Gets the displayName property value. The display name of the sensor.- Returns:
- a
String
-
getDomainName
Gets the domainName property value. The fully qualified domain name of the sensor.- Returns:
- a
String
-
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>>
-
getHealthIssues
Gets the healthIssues property value. Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.- Returns:
- a
List<HealthIssue>
-
getHealthStatus
Gets the healthStatus property value. The healthStatus property- Returns:
- a
SensorHealthStatus
-
getOpenHealthIssuesCount
Gets the openHealthIssuesCount property value. This field displays the count of health issues related to this sensor.- Returns:
- a
Long
-
getSensorType
Gets the sensorType property value. The sensorType property- Returns:
- a
SensorType
-
getSettings
Gets the settings property value. The settings property- Returns:
- a
SensorSettings
-
getVersion
Gets the version property value. The version of the sensor.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCreatedDateTime
Sets the createdDateTime property value. The date and time when the sensor was generated. The Timestamp 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.
-
setDeploymentStatus
Sets the deploymentStatus property value. The deploymentStatus property- Parameters:
value
- Value to set for the deploymentStatus property.
-
setDisplayName
Sets the displayName property value. The display name of the sensor.- Parameters:
value
- Value to set for the displayName property.
-
setDomainName
Sets the domainName property value. The fully qualified domain name of the sensor.- Parameters:
value
- Value to set for the domainName property.
-
setHealthIssues
Sets the healthIssues property value. Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.- Parameters:
value
- Value to set for the healthIssues property.
-
setHealthStatus
Sets the healthStatus property value. The healthStatus property- Parameters:
value
- Value to set for the healthStatus property.
-
setOpenHealthIssuesCount
Sets the openHealthIssuesCount property value. This field displays the count of health issues related to this sensor.- Parameters:
value
- Value to set for the openHealthIssuesCount property.
-
setSensorType
Sets the sensorType property value. The sensorType property- Parameters:
value
- Value to set for the sensorType property.
-
setSettings
Sets the settings property value. The settings property- Parameters:
value
- Value to set for the settings property.
-
setVersion
Sets the version property value. The version of the sensor.- Parameters:
value
- Value to set for the version property.
-