Class TaskV1

java.lang.Object
com.algolia.model.ingestion.TaskV1

@Deprecated public class TaskV1 extends Object
Deprecated.
The V1 task object, please use methods and types that don't contain the V1 suffix.
  • Constructor Details

    • TaskV1

      public TaskV1()
      Deprecated.
  • Method Details

    • setTaskID

      public TaskV1 setTaskID(String taskID)
      Deprecated.
    • getTaskID

      @Nonnull public String getTaskID()
      Deprecated.
      Universally unique identifier (UUID) of a task.
    • setSourceID

      public TaskV1 setSourceID(String sourceID)
      Deprecated.
    • getSourceID

      @Nonnull public String getSourceID()
      Deprecated.
      Universally uniqud identifier (UUID) of a source.
    • setDestinationID

      public TaskV1 setDestinationID(String destinationID)
      Deprecated.
    • getDestinationID

      @Nonnull public String getDestinationID()
      Deprecated.
      Universally unique identifier (UUID) of a destination resource.
    • setTrigger

      public TaskV1 setTrigger(Trigger trigger)
      Deprecated.
    • getTrigger

      @Nonnull public Trigger getTrigger()
      Deprecated.
      Get trigger
    • setInput

      public TaskV1 setInput(TaskInput input)
      Deprecated.
    • getInput

      @Nullable public TaskInput getInput()
      Deprecated.
      Get input
    • setEnabled

      public TaskV1 setEnabled(Boolean enabled)
      Deprecated.
    • getEnabled

      @Nonnull public Boolean getEnabled()
      Deprecated.
      Whether the task is enabled.
    • setFailureThreshold

      public TaskV1 setFailureThreshold(Integer failureThreshold)
      Deprecated.
    • getFailureThreshold

      @Nullable public Integer getFailureThreshold()
      Deprecated.
      Maximum accepted percentage of failures for a task run to finish successfully. minimum: 0 maximum: 100
    • setAction

      public TaskV1 setAction(ActionType action)
      Deprecated.
    • getAction

      @Nonnull public ActionType getAction()
      Deprecated.
      Get action
    • setCursor

      public TaskV1 setCursor(String cursor)
      Deprecated.
    • getCursor

      @Nullable public String getCursor()
      Deprecated.
      Date of the last cursor in RFC 3339 format.
    • setCreatedAt

      public TaskV1 setCreatedAt(String createdAt)
      Deprecated.
    • getCreatedAt

      @Nonnull public String getCreatedAt()
      Deprecated.
      Date of creation in RFC 3339 format.
    • setUpdatedAt

      public TaskV1 setUpdatedAt(String updatedAt)
      Deprecated.
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      Deprecated.
      Date of last update in RFC 3339 format.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object