/*
 * 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 CreateRedirectUrlRequest {
	/// The full url value prefixed with `https://` or a custom scheme e.g. `\"https://my-app.com/oauth-callback\"` or `\"my-app://oauth-callback\"`
	#[serde(rename = "url", skip_serializing_if = "Option::is_none")]
	pub url: Option<String>,
}

impl CreateRedirectUrlRequest {
	pub fn new() -> CreateRedirectUrlRequest {
		CreateRedirectUrlRequest { url: None }
	}
}
