printnanny_api_client/models/
workspace_owner_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 WorkspaceOwnerRequest {
16    #[serde(rename = "organization_user")]
17    pub organization_user: Box<crate::models::WorkspaceUserRequest>,
18    #[serde(rename = "organization")]
19    pub organization: i32,
20}
21
22impl WorkspaceOwnerRequest {
23    pub fn new(organization_user: crate::models::WorkspaceUserRequest, organization: i32) -> WorkspaceOwnerRequest {
24        WorkspaceOwnerRequest {
25            organization_user: Box::new(organization_user),
26            organization,
27        }
28    }
29}
30
31