From 9514d8e13730b99d9a5ead588561adeec070848b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 19 Mar 2026 02:43:20 +0100 Subject: chore(rocie-client): Re-generate --- crates/rocie-client/src/models/content_one_of.rs | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'crates/rocie-client/src/models/content_one_of.rs') diff --git a/crates/rocie-client/src/models/content_one_of.rs b/crates/rocie-client/src/models/content_one_of.rs index 1c82c61..02d5beb 100644 --- a/crates/rocie-client/src/models/content_one_of.rs +++ b/crates/rocie-client/src/models/content_one_of.rs @@ -14,32 +14,17 @@ use serde::{Deserialize, Serialize}; /// ContentOneOf : A step #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ContentOneOf { - #[serde(rename = "type")] - pub r#type: Type, /// A step - #[serde(rename = "value")] - pub value: models::Step, + #[serde(rename = "Step")] + pub step: models::Step, } impl ContentOneOf { /// A step - pub fn new(r#type: Type, value: models::Step) -> ContentOneOf { + pub fn new(step: models::Step) -> ContentOneOf { ContentOneOf { - r#type, - value, + step, } } } -/// -#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] -pub enum Type { - #[serde(rename = "step")] - Step, -} - -impl Default for Type { - fn default() -> Type { - Self::Step - } -} -- cgit 1.4.1