/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetFolderPermissionHistory200ResponseInner {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<i32>,
    #[serde(rename = "changed_by", skip_serializing_if = "Option::is_none")]
    pub changed_by: Option<String>,
    #[serde(rename = "changed_at", skip_serializing_if = "Option::is_none")]
    pub changed_at: Option<String>,
    #[serde(rename = "change_type", skip_serializing_if = "Option::is_none")]
    pub change_type: Option<String>,
    #[serde(rename = "affected", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub affected: Option<Option<String>>,
}

impl GetFolderPermissionHistory200ResponseInner {
    pub fn new() -> GetFolderPermissionHistory200ResponseInner {
        GetFolderPermissionHistory200ResponseInner {
            id: None,
            changed_by: None,
            changed_at: None,
            change_type: None,
            affected: None,
        }
    }
}

