1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* traQ v3
*
* traQ v3 API
*
* The version of the OpenAPI document: 3.0
*
* Generated by: https://openapi-generator.tech
*/
/// ClipFolder : クリップフォルダ情報
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ClipFolder {
/// フォルダUUID
#[serde(rename = "id")]
pub id: uuid::Uuid,
/// フォルダ名
#[serde(rename = "name")]
pub name: String,
/// 作成日時
#[serde(rename = "createdAt")]
pub created_at: String,
/// フォルダ所有者UUID
#[serde(rename = "ownerId")]
pub owner_id: uuid::Uuid,
/// 説明
#[serde(rename = "description")]
pub description: String,
}
impl ClipFolder {
/// クリップフォルダ情報
pub fn new(
id: uuid::Uuid,
name: String,
created_at: String,
owner_id: uuid::Uuid,
description: String,
) -> ClipFolder {
ClipFolder {
id,
name,
created_at,
owner_id,
description,
}
}
}