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.
  • Constructor Details

    • DeviceConfigurationState

      public DeviceConfigurationState()
      Instantiates a new DeviceConfigurationState 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

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getPlatformType

      @Nullable public PolicyPlatformType getPlatformType()
      Gets the platformType property value. Supported platform types for policies.
      Returns:
      a PolicyPlatformType
    • getSettingCount

      @Nullable public Integer getSettingCount()
      Gets the settingCount property value. Count of how many setting a policy holds
      Returns:
      a Integer
    • getSettingStates

      @Nullable public List<DeviceConfigurationSettingState> getSettingStates()
      Gets the settingStates property value. The settingStates property
      Returns:
      a List<DeviceConfigurationSettingState>
    • getState

      @Nullable public ComplianceStatus getState()
      Gets the state property value. The state property
      Returns:
      a ComplianceStatus
    • getVersion

      @Nullable public Integer 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The name of the policy for this policyBase
      Parameters:
      value - Value to set for the displayName property.
    • setPlatformType

      public void setPlatformType(@Nullable PolicyPlatformType value)
      Sets the platformType property value. Supported platform types for policies.
      Parameters:
      value - Value to set for the platformType property.
    • setSettingCount

      public void setSettingCount(@Nullable Integer value)
      Sets the settingCount property value. Count of how many setting a policy holds
      Parameters:
      value - Value to set for the settingCount property.
    • setSettingStates

      public void setSettingStates(@Nullable List<DeviceConfigurationSettingState> value)
      Sets the settingStates property value. The settingStates property
      Parameters:
      value - Value to set for the settingStates property.
    • setState

      public void setState(@Nullable ComplianceStatus value)
      Sets the state property value. The state property
      Parameters:
      value - Value to set for the state property.
    • setVersion

      public void setVersion(@Nullable Integer value)
      Sets the version property value. The version of the policy
      Parameters:
      value - Value to set for the version property.