TaskUpdateRequest

public struct TaskUpdateRequest : Codable
  • Declaration

    Swift

    public var status: TaskStatusType?
  • The Flux script to run for this task.

    Declaration

    Swift

    public var flux: String?
  • Override the ‘name’ option in the flux script.

    Declaration

    Swift

    public var name: String?
  • Override the ‘every’ option in the flux script.

    Declaration

    Swift

    public var every: String?
  • Override the ‘cron’ option in the flux script.

    Declaration

    Swift

    public var cron: String?
  • Override the ‘offset’ option in the flux script.

    Declaration

    Swift

    public var offset: String?
  • An optional description of the task.

    Declaration

    Swift

    public var description: String?
  • Declaration

    Swift

    public init(status: TaskStatusType? = nil, flux: String? = nil, name: String? = nil, every: String? = nil, cron: String? = nil, offset: String? = nil, description: String? = nil)