doppler-rs 0.0.1

Unofficial client library for the Doppler API - secure secrets management platform
Documentation
/*
 * Core
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0-oas3.1
 * 
 * Generated by: https://openapi-generator.tech
 */

/*
 * Core
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0-oas3.1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};
use chrono::{DateTime, NaiveDate, Utc};
/// ActivityLog
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ActivityLog {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String >,
    #[serde(rename = "text", skip_serializing_if = "Option::is_none")]
    pub text: Option<String >,
    #[serde(rename = "html", skip_serializing_if = "Option::is_none")]
    pub html: Option<String >,
    #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
    pub created_at: Option<chrono::DateTime<chrono::Utc> >,
    #[serde(rename = "config", skip_serializing_if = "Option::is_none")]
    pub config: Option<serde_json::Value >,
    #[serde(rename = "environment", skip_serializing_if = "Option::is_none")]
    pub environment: Option<String >,
    #[serde(rename = "project", skip_serializing_if = "Option::is_none")]
    pub project: Option<String >,
    #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
    pub user: Option<models::ActivityLogUser >,
}

impl ActivityLog {
    pub fn new() -> ActivityLog {
        ActivityLog {
            id: None,
            text: None,
            html: None,
            created_at: None,
            config: None,
            environment: None,
            project: None,
            user: None,
        }
    }
}