// Code generated by oagen. DO NOT EDIT.
#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CreateM2MApplication {
/// The name of the application.
pub name: String,
/// The type of application to create.
pub application_type: String,
/// A description for the application.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub description: Option<String>,
/// The OAuth scopes granted to the application.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub scopes: Option<Vec<String>>,
/// The organization ID this application belongs to.
pub organization_id: String,
}