use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OutputUserOrganisation {
#[serde(rename = "organisation")]
pub organisation: String,
#[serde(rename = "profile")]
pub profile: String,
#[serde(rename = "default")]
pub default: bool,
}
impl OutputUserOrganisation {
pub fn new(organisation: String, profile: String, default: bool) -> OutputUserOrganisation {
OutputUserOrganisation {
organisation,
profile,
default,
}
}
}