qeztorncodegen/models/user_forum_friends_response.rs
1/*
2 * Torn API
3 *
4 * * The development of Torn's API v2 is still ongoing. * If selections remain unaltered, they will default to the API v1 version. * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters. * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.
5 *
6 * The version of the OpenAPI document: 2.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UserForumFriendsResponse {
16 #[serde(rename = "forumFriends", skip_serializing_if = "Option::is_none")]
17 pub forum_friends: Option<Vec<models::ForumFeed>>,
18}
19
20impl UserForumFriendsResponse {
21 pub fn new() -> UserForumFriendsResponse {
22 UserForumFriendsResponse {
23 forum_friends: None,
24 }
25 }
26}
27