clerk_rs/models/
verify_domain_proxy_request.rs

1/*
2 * Clerk Backend API
3 *
4 * The Clerk REST Backend API, meant to be accessed by backend servers. Please see https://clerk.com/docs for more information.
5 *
6 * The version of the OpenAPI document: v1
7 * Contact: support@clerk.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct VerifyDomainProxyRequest {
13	/// The ID of the domain that will be updated.
14	#[serde(rename = "domain_id", skip_serializing_if = "Option::is_none")]
15	pub domain_id: Option<String>,
16	/// The full URL of the proxy which will forward requests to the Clerk Frontend API for this domain. e.g. https://example.com/__clerk
17	#[serde(rename = "proxy_url", skip_serializing_if = "Option::is_none")]
18	pub proxy_url: Option<String>,
19}
20
21impl VerifyDomainProxyRequest {
22	pub fn new() -> VerifyDomainProxyRequest {
23		VerifyDomainProxyRequest {
24			domain_id: None,
25			proxy_url: None,
26		}
27	}
28}