clerk_sdk_rust_community/models/
update_instance_restrictions_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.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct UpdateInstanceRestrictionsRequest {
16    #[serde(rename = "allowlist", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17    pub allowlist: Option<Option<bool>>,
18    #[serde(rename = "blocklist", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19    pub blocklist: Option<Option<bool>>,
20}
21
22impl UpdateInstanceRestrictionsRequest {
23    pub fn new() -> UpdateInstanceRestrictionsRequest {
24        UpdateInstanceRestrictionsRequest {
25            allowlist: None,
26            blocklist: None,
27        }
28    }
29}
30
31