/*
 * OpenAPI Petstore
 *
 * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
 *
 * OpenAPI spec version: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

/// Category : A category for a pet

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct Category {
    #[serde(rename = "id")]
    pub id: Option<i64>,
    #[serde(rename = "name")]
    pub name: Option<String>,
}

impl Category {
    /// A category for a pet
    pub fn new() -> Category {
        Category {
            id: None,
            name: None,
        }
    }
}
