Package com.microsoft.graph.models
Class DeviceComplianceSettingState
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceComplianceSettingState
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceComplianceSettingState
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Device compliance setting State for a given device.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newDeviceComplianceSettingState
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceComplianceSettingState
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the complianceGracePeriodExpirationDateTime property value.Gets the deviceId property value.Gets the deviceModel property value.Gets the deviceName property value.The deserialization information for the current modelGets the setting property value.Gets the settingName property value.getState()
Gets the state property value.Gets the userEmail property value.Gets the userId property value.Gets the userName property value.Gets the userPrincipalName property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the complianceGracePeriodExpirationDateTime property value.void
setDeviceId
(String value) Sets the deviceId property value.void
setDeviceModel
(String value) Sets the deviceModel property value.void
setDeviceName
(String value) Sets the deviceName property value.void
setSetting
(String value) Sets the setting property value.void
setSettingName
(String value) Sets the settingName property value.void
setState
(ComplianceStatus value) Sets the state property value.void
setUserEmail
(String value) Sets the userEmail property value.void
Sets the userId property value.void
setUserName
(String value) Sets the userName property value.void
setUserPrincipalName
(String value) Sets the userPrincipalName property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceComplianceSettingState
public DeviceComplianceSettingState()Instantiates a newDeviceComplianceSettingState
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceComplianceSettingState 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
DeviceComplianceSettingState
-
getComplianceGracePeriodExpirationDateTime
Gets the complianceGracePeriodExpirationDateTime property value. The DateTime when device compliance grace period expires- Returns:
- a
OffsetDateTime
-
getDeviceId
Gets the deviceId property value. The Device Id that is being reported- Returns:
- a
String
-
getDeviceModel
Gets the deviceModel property value. The device model that is being reported- Returns:
- a
String
-
getDeviceName
Gets the deviceName property value. The Device Name that is being reported- 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>>
-
getSetting
Gets the setting property value. The setting class name and property name.- Returns:
- a
String
-
getSettingName
Gets the settingName property value. The Setting Name that is being reported- Returns:
- a
String
-
getState
Gets the state property value. The state property- Returns:
- a
ComplianceStatus
-
getUserEmail
Gets the userEmail property value. The User email address that is being reported- Returns:
- a
String
-
getUserId
Gets the userId property value. The user Id that is being reported- Returns:
- a
String
-
getUserName
Gets the userName property value. The User Name that is being reported- Returns:
- a
String
-
getUserPrincipalName
Gets the userPrincipalName property value. The User PrincipalName that is being reported- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setComplianceGracePeriodExpirationDateTime
Sets the complianceGracePeriodExpirationDateTime property value. The DateTime when device compliance grace period expires- Parameters:
value
- Value to set for the complianceGracePeriodExpirationDateTime property.
-
setDeviceId
Sets the deviceId property value. The Device Id that is being reported- Parameters:
value
- Value to set for the deviceId property.
-
setDeviceModel
Sets the deviceModel property value. The device model that is being reported- Parameters:
value
- Value to set for the deviceModel property.
-
setDeviceName
Sets the deviceName property value. The Device Name that is being reported- Parameters:
value
- Value to set for the deviceName property.
-
setSetting
Sets the setting property value. The setting class name and property name.- Parameters:
value
- Value to set for the setting property.
-
setSettingName
Sets the settingName property value. The Setting Name that is being reported- Parameters:
value
- Value to set for the settingName property.
-
setState
Sets the state property value. The state property- Parameters:
value
- Value to set for the state property.
-
setUserEmail
Sets the userEmail property value. The User email address that is being reported- Parameters:
value
- Value to set for the userEmail property.
-
setUserId
Sets the userId property value. The user Id that is being reported- Parameters:
value
- Value to set for the userId property.
-
setUserName
Sets the userName property value. The User Name that is being reported- Parameters:
value
- Value to set for the userName property.
-
setUserPrincipalName
Sets the userPrincipalName property value. The User PrincipalName that is being reported- Parameters:
value
- Value to set for the userPrincipalName property.
-