Package com.microsoft.graph.models
Class DeviceConfigurationState
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceConfigurationState
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceConfigurationState
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Support for this Entity is being deprecated starting May 2026 & will no longer be supported.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceConfigurationState
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the displayName property value.The deserialization information for the current modelGets the platformType property value.Gets the settingCount property value.Gets the settingStates property value.getState()
Gets the state property value.Gets the version property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDisplayName
(String value) Sets the displayName property value.void
Sets the platformType property value.void
setSettingCount
(Integer value) Sets the settingCount property value.void
Sets the settingStates property value.void
setState
(ComplianceStatus value) Sets the state property value.void
setVersion
(Integer 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
-
DeviceConfigurationState
public DeviceConfigurationState()Instantiates a newDeviceConfigurationState
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceConfigurationState 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
DeviceConfigurationState
-
getDisplayName
Gets the displayName property value. The name of the policy for this policyBase- 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>>
-
getPlatformType
Gets the platformType property value. Supported platform types for policies.- Returns:
- a
PolicyPlatformType
-
getSettingCount
Gets the settingCount property value. Count of how many setting a policy holds- Returns:
- a
Integer
-
getSettingStates
Gets the settingStates property value. The settingStates property- Returns:
- a
List<DeviceConfigurationSettingState>
-
getState
Gets the state property value. The state property- Returns:
- a
ComplianceStatus
-
getVersion
Gets the version property value. The version of the policy- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDisplayName
Sets the displayName property value. The name of the policy for this policyBase- Parameters:
value
- Value to set for the displayName property.
-
setPlatformType
Sets the platformType property value. Supported platform types for policies.- Parameters:
value
- Value to set for the platformType property.
-
setSettingCount
Sets the settingCount property value. Count of how many setting a policy holds- Parameters:
value
- Value to set for the settingCount property.
-
setSettingStates
Sets the settingStates property value. The settingStates property- Parameters:
value
- Value to set for the settingStates property.
-
setState
Sets the state property value. The state property- Parameters:
value
- Value to set for the state property.
-
setVersion
Sets the version property value. The version of the policy- Parameters:
value
- Value to set for the version property.
-