/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.813.0
* Contact: contact@windmill.dev
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SetOnboardingProfileRequest {
#[serde(rename = "email")]
pub email: String,
/// free-form context from the invite, every key optional. The frontend reads `touch_point` (answers onboarding's source question), `company` and `workspace_name` (prefill the first workspace's name), `hub_projects` (slugs surfaced first on an empty workspace), `tools` (integrations, used to pick hub projects when none are named) and `starter_prompts` (`[{label, prompt}]`, replacing the home page's example prompts); unknown keys are kept and ignored
#[serde(rename = "profile")]
pub profile: serde_json::Value,
}
impl SetOnboardingProfileRequest {
pub fn new(email: String, profile: serde_json::Value) -> SetOnboardingProfileRequest {
SetOnboardingProfileRequest {
email,
profile,
}
}
}