-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
90 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# StampWithThumbnail | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**id** | [**uuid::Uuid**](uuid::Uuid.md) | スタンプUUID | | ||
**name** | **String** | スタンプ名 | | ||
**creator_id** | [**uuid::Uuid**](uuid::Uuid.md) | 作成者UUID | | ||
**created_at** | **String** | 作成日時 | | ||
**updated_at** | **String** | 更新日時 | | ||
**file_id** | [**uuid::Uuid**](uuid::Uuid.md) | ファイルUUID | | ||
**is_unicode** | **bool** | Unicode絵文字か | | ||
**has_thumbnail** | **bool** | サムネイルの有無 | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* traQ v3 | ||
* | ||
* traQ v3 API | ||
* | ||
* The version of the OpenAPI document: 3.0 | ||
* | ||
* Generated by: https://openapi-generator.tech | ||
*/ | ||
|
||
/// StampWithThumbnail : スタンプ情報とサムネイルの有無 | ||
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] | ||
pub struct StampWithThumbnail { | ||
/// スタンプUUID | ||
#[serde(rename = "id")] | ||
pub id: uuid::Uuid, | ||
/// スタンプ名 | ||
#[serde(rename = "name")] | ||
pub name: String, | ||
/// 作成者UUID | ||
#[serde(rename = "creatorId")] | ||
pub creator_id: uuid::Uuid, | ||
/// 作成日時 | ||
#[serde(rename = "createdAt")] | ||
pub created_at: String, | ||
/// 更新日時 | ||
#[serde(rename = "updatedAt")] | ||
pub updated_at: String, | ||
/// ファイルUUID | ||
#[serde(rename = "fileId")] | ||
pub file_id: uuid::Uuid, | ||
/// Unicode絵文字か | ||
#[serde(rename = "isUnicode")] | ||
pub is_unicode: bool, | ||
/// サムネイルの有無 | ||
#[serde(rename = "hasThumbnail")] | ||
pub has_thumbnail: bool, | ||
} | ||
|
||
impl StampWithThumbnail { | ||
/// スタンプ情報とサムネイルの有無 | ||
pub fn new( | ||
id: uuid::Uuid, | ||
name: String, | ||
creator_id: uuid::Uuid, | ||
created_at: String, | ||
updated_at: String, | ||
file_id: uuid::Uuid, | ||
is_unicode: bool, | ||
has_thumbnail: bool, | ||
) -> StampWithThumbnail { | ||
StampWithThumbnail { | ||
id, | ||
name, | ||
creator_id, | ||
created_at, | ||
updated_at, | ||
file_id, | ||
is_unicode, | ||
has_thumbnail, | ||
} | ||
} | ||
} |