44 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
55 *
66 * The version of the OpenAPI document: 0.1.0
7- *
7+ *
88 * Generated by: https://openapi-generator.tech
99 */
1010
11-
12-
13-
14- use std:: collections:: HashMap ;
1511use serde_json:: Value ;
12+ use std:: collections:: HashMap ;
1613
1714#[ derive( Clone , Debug , PartialEq , Default , Serialize , Deserialize ) ]
1815pub struct CreateUserRequest {
@@ -32,10 +29,19 @@ pub struct CreateUserRequest {
3229 pub last_name : Option < String > ,
3330 #[ serde( rename = "properties" , skip_serializing_if = "Option::is_none" ) ]
3431 pub properties : Option < HashMap < String , Value > > ,
32+ #[ serde(
33+ rename = "ignore_domain_restrictions" ,
34+ skip_serializing_if = "Option::is_none"
35+ ) ]
36+ pub ignore_domain_restrictions : Option < bool > ,
3537}
3638
3739impl CreateUserRequest {
38- pub fn new ( email : String , email_confirmed : bool , send_email_to_confirm_email_address : bool ) -> CreateUserRequest {
40+ pub fn new (
41+ email : String ,
42+ email_confirmed : bool ,
43+ send_email_to_confirm_email_address : bool ,
44+ ) -> CreateUserRequest {
3945 CreateUserRequest {
4046 email,
4147 email_confirmed,
@@ -45,8 +51,7 @@ impl CreateUserRequest {
4551 first_name : None ,
4652 last_name : None ,
4753 properties : None ,
54+ ignore_domain_restrictions : None ,
4855 }
4956 }
5057}
51-
52-
0 commit comments