.NET API
JobScheduleSaveRequest
Tracon.AspNetCore.dllRequest to create/update a schedule.
public sealed record JobScheduleSaveRequest : IEquatable<JobScheduleSaveRequest>Inheritance
Section titled “Inheritance”object ← JobScheduleSaveRequest
Implements
Section titled “Implements”IEquatable<JobScheduleSaveRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”The name comes from the path, not the body — same reason as WorkflowSaveRequest.
Constructors
Section titled “Constructors”JobScheduleSaveRequest()
Section titled “ JobScheduleSaveRequest()”public JobScheduleSaveRequest()Properties
Section titled “Properties”Five-field cron expression. If left empty, the schedule can only be
triggered manually (POST .../trigger).
public string? Cron { get; init; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Whether the schedule is enabled.
public bool Enabled { get; init; }Property Value
Section titled “Property Value”HandlerKey
Section titled “ HandlerKey”Key of the handler the jobs this schedule produces run on. See
JobHandlerKeys.
public required string HandlerKey { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Only a key listed in
TraconSchedulingOptions.HttpSchedulableHandlerKeys is
accepted; left empty, that list means Tracon’s own built-in keys.
Making a consumer’s key schedulable over HTTP is a deliberate opt-in.
The lane the jobs this schedule produces run in. See
JobLanes. Left empty, the jobs run in JobLanes.Default
(or whatever TraconSchedulingOptions.LaneByHandlerKey maps
JobScheduleSaveRequest.HandlerKey to).
public string? Lane { get; init; }Property Value
Section titled “Property Value”Payload
Section titled “ Payload”Input set or parameters.
public JsonElement Payload { get; init; }Property Value
Section titled “Property Value”TargetName
Section titled “ TargetName”Name of the agent or workflow to run.
public required string TargetName { get; init; }Property Value
Section titled “Property Value”TimeZone
Section titled “ TimeZone”Time zone the Cron expression is interpreted in.
public string TimeZone { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(JobScheduleSaveRequest?)
Section titled “ Equals(JobScheduleSaveRequest?)”public bool Equals(JobScheduleSaveRequest? other)Parameters
Section titled “Parameters”other JobScheduleSaveRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(JobScheduleSaveRequest?, JobScheduleSaveRequest?)
Section titled “ operator ==(JobScheduleSaveRequest?, JobScheduleSaveRequest?)”public static bool operator ==(JobScheduleSaveRequest? left, JobScheduleSaveRequest? right)Parameters
Section titled “Parameters”left JobScheduleSaveRequest?
right JobScheduleSaveRequest?
Returns
Section titled “Returns”operator !=(JobScheduleSaveRequest?, JobScheduleSaveRequest?)
Section titled “ operator !=(JobScheduleSaveRequest?, JobScheduleSaveRequest?)”public static bool operator !=(JobScheduleSaveRequest? left, JobScheduleSaveRequest? right)Parameters
Section titled “Parameters”left JobScheduleSaveRequest?
right JobScheduleSaveRequest?