babelforce-manager-sdk 0.42.3

Rust SDK for the babelforce manager APIs — auth, user & agent management, call reporting, metrics, and task automations.
Documentation
/*
 * task-automation task schedule API
 *
 * execution of recurring time based tasks
 *
 * The version of the OpenAPI document: 3.63.10
 * Contact: support@babelforce.com
 * Generated by: https://openapi-generator.tech
 */

use crate::gen::task_schedule::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TaskCompletionSettings {
    /// True = tasks are not waiting for agent interactions when pending. False = task may wait forever in pending state until an agent or the system completes the task.
    #[serde(rename = "autoComplete", skip_serializing_if = "Option::is_none")]
    pub auto_complete: Option<bool>,
}

impl TaskCompletionSettings {
    pub fn new() -> TaskCompletionSettings {
        TaskCompletionSettings {
            auto_complete: None,
        }
    }
}