/*
 * Streams API
 *
 * Manage Tapis Streams API.
 *
 * The version of the OpenAPI document: 1
 * Contact: cicsupport@tacc.utexas.edu
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NewOntology {
    /// Standard set of concepts snd their relatiobship defined in a scientific domain
    #[serde(rename = "label", skip_serializing_if = "Option::is_none")]
    pub label: Option<String>,
    /// unique identifier for an Ontology
    #[serde(rename = "onto_id", skip_serializing_if = "Option::is_none")]
    pub onto_id: Option<String>,
    /// URL for the Ontology
    #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
    pub url: Option<String>,
    #[serde(
        rename = "additionalProperties",
        skip_serializing_if = "Option::is_none"
    )]
    pub additional_properties: Option<String>,
}

impl NewOntology {
    pub fn new() -> NewOntology {
        NewOntology {
            label: None,
            onto_id: None,
            url: None,
            additional_properties: None,
        }
    }
}
