Class DeviceComplianceScheduledActionForRule

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceComplianceScheduledActionForRule
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class DeviceComplianceScheduledActionForRule extends Entity implements com.microsoft.kiota.serialization.Parsable
Scheduled Action for Rule
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DeviceComplianceScheduledActionForRule 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 DeviceComplianceScheduledActionForRule
    • 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>>
    • getRuleName

      @Nullable public String getRuleName()
      Gets the ruleName property value. Name of the rule which this scheduled action applies to. Currently scheduled actions are created per policy instead of per rule, thus RuleName is always set to default value PasswordRequired.
      Returns:
      a String
    • getScheduledActionConfigurations

      @Nullable public List<DeviceComplianceActionItem> getScheduledActionConfigurations()
      Gets the scheduledActionConfigurations property value. The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action.
      Returns:
      a List<DeviceComplianceActionItem>
    • 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
    • setRuleName

      public void setRuleName(@Nullable String value)
      Sets the ruleName property value. Name of the rule which this scheduled action applies to. Currently scheduled actions are created per policy instead of per rule, thus RuleName is always set to default value PasswordRequired.
      Parameters:
      value - Value to set for the ruleName property.
    • setScheduledActionConfigurations

      public void setScheduledActionConfigurations(@Nullable List<DeviceComplianceActionItem> value)
      Sets the scheduledActionConfigurations property value. The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action.
      Parameters:
      value - Value to set for the scheduledActionConfigurations property.