Module Values.TaskSource

Represents a backlog task with all its properties and metadata

Sourcetype nonrec t = {
  1. agentSpaceId : String_.t option;
    (*

    The unique identifier for the agent space containing this task

    *)
  2. taskId : String_.t option;
    (*

    The unique identifier for this task

    *)
  3. executionId : String_.t option;
    (*

    The execution ID associated with this task, if any

    *)
  4. title : String_.t option;
    (*

    The title of the task

    *)
  5. description : String_.t option;
    (*

    Optional detailed description of the task

    *)
  6. reference : ReferenceOutput.t option;
    (*

    Optional reference information linking this task to external systems

    *)
  7. taskType : TaskType.t option;
    (*

    The type of this task

    *)
  8. priority : Priority.t option;
    (*

    The priority level of this task

    *)
  9. status : TaskStatus.t option;
    (*

    The current status of this task

    *)
  10. createdAt : BackLogTimestamp.t option;
    (*

    Timestamp when this task was created

    *)
  11. updatedAt : BackLogTimestamp.t option;
    (*

    Timestamp when this task was last updated

    *)
  12. version : Integer.t option;
    (*

    Version number for optimistic locking

    *)
  13. supportMetadata : Document.t option;
    (*

    Optional support metadata for the task

    *)
  14. metadata : Document.t option;
    (*

    Optional metadata for the task

    *)
  15. primaryTaskId : String_.t option;
    (*

    The task ID of the primary investigation this task is linked to

    *)
  16. statusReason : String_.t option;
    (*

    Explanation for why the task status was changed (e.g., linked reason)

    *)
  17. hasLinkedTasks : Boolean.t option;
    (*

    Indicates if this task has other tasks linked to it

    *)
}
Sourceval make : ?agentSpaceId:??? -> ?taskId:??? -> ?executionId:??? -> ?title:??? -> ?description:??? -> ?reference:??? -> ?taskType:??? -> ?priority:??? -> ?status:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?version:??? -> ?supportMetadata:??? -> ?metadata:??? -> ?primaryTaskId:??? -> ?statusReason:??? -> ?hasLinkedTasks:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `String of String_.t ]) list | `Timestamp of BackLogTimestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t