Class TimeBasedAttributeTrigger

java.lang.Object
com.microsoft.graph.identitygovernance.models.WorkflowExecutionTrigger
com.microsoft.graph.identitygovernance.models.TimeBasedAttributeTrigger
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class TimeBasedAttributeTrigger extends WorkflowExecutionTrigger implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Time Based Attribute Trigger.
  • Field Details

    • offsetInDays

      @SerializedName(value="offsetInDays", alternate="OffsetInDays") @Expose @Nullable public Integer offsetInDays
      The Offset In Days. How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date. The value can range between -180 and 180 days.
    • timeBasedAttribute

      @SerializedName(value="timeBasedAttribute", alternate="TimeBasedAttribute") @Expose @Nullable public WorkflowTriggerTimeBasedAttribute timeBasedAttribute
      The Time Based Attribute. Determines which time-based identity property to reference. The possible values are: employeeHireDate, employeeLeaveDateTime, createdDateTime, unknownFutureValue.
  • Constructor Details

    • TimeBasedAttributeTrigger

      public TimeBasedAttributeTrigger()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class WorkflowExecutionTrigger
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to