gitbundle_sdk/models/
action_update_input.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ActionUpdateInput {
17 #[serde(
18 rename = "description",
19 default,
20 with = "::serde_with::rust::double_option",
21 skip_serializing_if = "Option::is_none"
22 )]
23 pub description: Option<Option<String>>,
24 #[serde(
25 rename = "disabled",
26 default,
27 with = "::serde_with::rust::double_option",
28 skip_serializing_if = "Option::is_none"
29 )]
30 pub disabled: Option<Option<bool>>,
31 #[serde(
32 rename = "identifier",
33 default,
34 with = "::serde_with::rust::double_option",
35 skip_serializing_if = "Option::is_none"
36 )]
37 pub identifier: Option<Option<String>>,
38 #[serde(
39 rename = "yaml_path",
40 default,
41 with = "::serde_with::rust::double_option",
42 skip_serializing_if = "Option::is_none"
43 )]
44 pub yaml_path: Option<Option<String>>,
45}
46
47impl ActionUpdateInput {
48 pub fn new() -> ActionUpdateInput {
49 ActionUpdateInput {
50 description: None,
51 disabled: None,
52 identifier: None,
53 yaml_path: None,
54 }
55 }
56}