hanzo_client/models/skill_in.rs
1/*
2 * Hanzo Cloud API
3 *
4 * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
5 *
6 * The version of the OpenAPI document: v1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct SkillIn {
16 /// Content is the SKILL.md body. Required, at most 256 KiB.
17 #[serde(rename = "content", skip_serializing_if = "Option::is_none")]
18 pub content: Option<String>,
19 /// Description is the one-line summary discovery shows for the skill.
20 #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
21 pub description: Option<String>,
22 /// Name is the skill's id within the org: one lowercase path segment (a-z0-9, _ or -). Writing an existing name REVISES that skill.
23 #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
24 pub name: Option<String>,
25}
26
27impl SkillIn {
28 pub fn new() -> SkillIn {
29 SkillIn {
30 content: None,
31 description: None,
32 name: None,
33 }
34 }
35}
36