traq 0.1.5

⚠️ Community Driven ⚠️ traQ v3 API
Documentation
/*
 * traQ v3
 *
 * traQ v3 API
 *
 * The version of the OpenAPI document: 3.0
 *
 * Generated by: https://openapi-generator.tech
 */

/// BotUser : BOTユーザー対

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct BotUser {
    /// BOT UUID
    #[serde(rename = "id")]
    pub id: uuid::Uuid,
    /// BOTユーザーUUID
    #[serde(rename = "botUserId")]
    pub bot_user_id: uuid::Uuid,
}

impl BotUser {
    /// BOTユーザー対
    pub fn new(id: uuid::Uuid, bot_user_id: uuid::Uuid) -> BotUser {
        BotUser { id, bot_user_id }
    }
}