/*
 * VRChat API Documentation
 *
 *
 * Contact: me@ruby.js.org
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct AddFavoriteRequest {
    #[serde(rename = "type")]
    pub _type: crate::models::FavoriteType,
    /// Must be either AvatarID, WorldID or UserID.
    #[serde(rename = "favoriteId")]
    pub favorite_id: String,
    /// Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all.
    #[serde(rename = "tags")]
    pub tags: Vec<String>,
}

impl AddFavoriteRequest {
    pub fn new(_type: crate::models::FavoriteType, favorite_id: String, tags: Vec<String>) -> AddFavoriteRequest {
        AddFavoriteRequest {
            _type,
            favorite_id,
            tags,
        }
    }
}


