Module Values.GoalSource

Represents a goal with all its properties and metadata

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

    The unique identifier for the agent space containing this goal

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

    The unique identifier for this goal

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

    The title of the goal

    *)
  4. content : GoalContent.t option;
    (*

    Content of the goal

    *)
  5. status : GoalStatus.t option;
    (*

    Current status of the goal itself

    *)
  6. goalType : GoalType.t option;
    (*

    Type of goal based on its origin

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

    Timestamp when this goal was created

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

    Timestamp when this goal was last updated

    *)
  9. lastEvaluatedAt : BackLogTimestamp.t option;
    (*

    Timestamp when the goal was last evaluated

    *)
  10. lastTaskId : String_.t option;
    (*

    ID of the most recent task associated with this goal

    *)
  11. lastSuccessfulTaskId : String_.t option;
    (*

    ID of the most recent successful task associated with this goal

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

    Version number for optimistic locking

    *)
  13. evaluationSchedule : GoalSchedule.t option;
    (*

    Goal Schedule. Allows to schedule the goal to run periodically, as well as disable a goal temporarily

    *)
}
Sourceval make : ?agentSpaceArn:??? -> ?goalId:??? -> ?title:??? -> ?content:??? -> ?status:??? -> ?goalType:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?lastEvaluatedAt:??? -> ?lastTaskId:??? -> ?lastSuccessfulTaskId:??? -> ?version:??? -> ?evaluationSchedule:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Enum 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