traq/models/
patch_stamp_palette_request.rs

1/*
2 * traQ v3
3 *
4 * traQ v3 API
5 *
6 * The version of the OpenAPI document: 3.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// PatchStampPaletteRequest : スタンプパレット情報変更リクエスト
12
13#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
14pub struct PatchStampPaletteRequest {
15    /// パレット名
16    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
17    pub name: Option<String>,
18    /// 説明
19    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
20    pub description: Option<String>,
21    /// パレット内のスタンプUUIDの配列
22    #[serde(rename = "stamps", skip_serializing_if = "Option::is_none")]
23    pub stamps: Option<Vec<uuid::Uuid>>,
24}
25
26impl PatchStampPaletteRequest {
27    /// スタンプパレット情報変更リクエスト
28    pub fn new() -> PatchStampPaletteRequest {
29        PatchStampPaletteRequest {
30            name: None,
31            description: None,
32            stamps: None,
33        }
34    }
35}