api models
This commit is contained in:
31
src/models/meal_plan_recipe_keywords_inner.rs
Normal file
31
src/models/meal_plan_recipe_keywords_inner.rs
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Django Recipes
|
||||
*
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 1.4.5
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
|
||||
pub struct MealPlanRecipeKeywordsInner {
|
||||
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
||||
pub id: Option<i32>,
|
||||
#[serde(rename = "label", skip_serializing_if = "Option::is_none")]
|
||||
pub label: Option<String>,
|
||||
}
|
||||
|
||||
impl MealPlanRecipeKeywordsInner {
|
||||
pub fn new() -> MealPlanRecipeKeywordsInner {
|
||||
MealPlanRecipeKeywordsInner {
|
||||
id: None,
|
||||
label: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user