printnanny_api_client/models/
workspace_invite_create_request.rs

1/*
2 * printnanny-api-client
3 *
4 * Official API client library for printnanny.ai
5 *
6 * The version of the OpenAPI document: 0.135.1
7 * Contact: leigh@printnanny.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct WorkspaceInviteCreateRequest {
16    #[serde(rename = "email")]
17    pub email: String,
18    #[serde(rename = "workspace")]
19    pub workspace: i32,
20}
21
22impl WorkspaceInviteCreateRequest {
23    pub fn new(email: String, workspace: i32) -> WorkspaceInviteCreateRequest {
24        WorkspaceInviteCreateRequest {
25            email,
26            workspace,
27        }
28    }
29}
30
31