/*
 * rivet-api-public
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.0-rc.11
 * Contact: developer@rivet.gg
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Namespace {
    #[serde(rename = "create_ts")]
    pub create_ts: i64,
    #[serde(rename = "display_name")]
    pub display_name: String,
    #[serde(rename = "name")]
    pub name: String,
    #[serde(rename = "namespace_id")]
    pub namespace_id: String,
}

impl Namespace {
    pub fn new(create_ts: i64, display_name: String, name: String, namespace_id: String) -> Namespace {
        Namespace {
            create_ts,
            display_name,
            name,
            namespace_id,
        }
    }
}

