Class TaskDefinition

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

@Generated("com.microsoft.kiota") public class TaskDefinition extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • TaskDefinition

      public TaskDefinition()
      Instantiates a new TaskDefinition and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static TaskDefinition 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 TaskDefinition
    • getCategory

      @Nullable public EnumSet<LifecycleTaskCategory> getCategory()
      Gets the category property value. The category property
      Returns:
      a EnumSet<LifecycleTaskCategory>
    • getContinueOnError

      @Nullable public Boolean getContinueOnError()
      Gets the continueOnError property value. Defines if the workflow will continue if the task has an error.
      Returns:
      a Boolean
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The description of the taskDefinition.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.
      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>>
    • getParameters

      @Nullable public List<Parameter> getParameters()
      Gets the parameters property value. The parameters that must be supplied when creating a workflow task object.Supports $filter(any).
      Returns:
      a List<Parameter>
    • getVersion

      @Nullable public Integer getVersion()
      Gets the version property value. The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.
      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
    • setCategory

      public void setCategory(@Nullable EnumSet<LifecycleTaskCategory> value)
      Sets the category property value. The category property
      Parameters:
      value - Value to set for the category property.
    • setContinueOnError

      public void setContinueOnError(@Nullable Boolean value)
      Sets the continueOnError property value. Defines if the workflow will continue if the task has an error.
      Parameters:
      value - Value to set for the continueOnError property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description of the taskDefinition.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.
      Parameters:
      value - Value to set for the displayName property.
    • setParameters

      public void setParameters(@Nullable List<Parameter> value)
      Sets the parameters property value. The parameters that must be supplied when creating a workflow task object.Supports $filter(any).
      Parameters:
      value - Value to set for the parameters property.
    • setVersion

      public void setVersion(@Nullable Integer value)
      Sets the version property value. The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.
      Parameters:
      value - Value to set for the version property.