/*
 * Clerk Backend API
 *
 * The Clerk REST Backend API, meant to be accessed by backend servers. Please see https://clerk.com/docs for more information.
 *
 * The version of the OpenAPI document: v1
 * Contact: support@clerk.com
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct CreateSessionTokenFromTemplate200Response {
	#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
	pub object: Option<Object>,
	#[serde(rename = "jwt", skip_serializing_if = "Option::is_none")]
	pub jwt: Option<String>,
}

impl CreateSessionTokenFromTemplate200Response {
	pub fn new() -> CreateSessionTokenFromTemplate200Response {
		CreateSessionTokenFromTemplate200Response { object: None, jwt: None }
	}
}

///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Object {
	#[serde(rename = "token")]
	Token,
}

impl Default for Object {
	fn default() -> Object {
		Self::Token
	}
}
