use super::*;
/// ## The OAuth flows
#[derive(
Debug, PartialEq, Serialize, Deserialize, Clone, Getters, Sparsable, OApiCheck, OApiExt,
)]
#[getset(get = "pub")]
#[serde(rename_all = "camelCase")]
pub struct OApiOAuthFlow {
implicit: Option<OApiOAuthFlowImplicit>,
password: Option<OApiOAuthFlowPassword>,
client_credentials: Option<OApiOAuthFlowClientCredentials>,
authorization_code: Option<OApiOAuthFlowAuthorizationCode>,
/// Extensions, if any
#[serde(flatten)]
#[getset(get)]
_extension: HashMap<String, Value>,
}