//
// TaskUpdateRequest.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//

import Foundation


public struct TaskUpdateRequest: Codable {

    public var status: TaskStatusType?
    /** The Flux script to run for this task. */
    public var flux: String?
    /** Override the &#39;name&#39; option in the flux script. */
    public var name: String?
    /** Override the &#39;every&#39; option in the flux script. */
    public var every: String?
    /** Override the &#39;cron&#39; option in the flux script. */
    public var cron: String?
    /** Override the &#39;offset&#39; option in the flux script. */
    public var offset: String?
    /** An optional description of the task. */
    public var description: String?

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

}

