warframe_client/models/
factions.rs

1/*
2 * WarframeStat.us API
3 *
4 * Simple API for data from the game Warframe. [Parser Docs](https://wfcd.github.io/warframe-worldstate-parser/) [Items Types](https://github.com/WFCD/warframe-items/blob/master/index.d.ts) 
5 *
6 * The version of the OpenAPI document: 2.0.8
7 * Contact: tobiah@protonmail.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// Factions : 
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Factions {
17    #[serde(rename = "FC_GRINEER")]
18    pub fc_grineer: Box<models::ConclaveModesPvpmodeAll>,
19    #[serde(rename = "FC_CORPUS")]
20    pub fc_corpus: Box<models::ConclaveModesPvpmodeAll>,
21    #[serde(rename = "FC_INFESTATION")]
22    pub fc_infestation: Box<models::ConclaveModesPvpmodeAll>,
23    #[serde(rename = "FC_CORRUPTED")]
24    pub fc_corrupted: Box<models::ConclaveModesPvpmodeAll>,
25    #[serde(rename = "FC_OROKIN")]
26    pub fc_orokin: Box<models::ConclaveModesPvpmodeAll>,
27}
28
29impl Factions {
30    /// 
31    pub fn new(fc_grineer: models::ConclaveModesPvpmodeAll, fc_corpus: models::ConclaveModesPvpmodeAll, fc_infestation: models::ConclaveModesPvpmodeAll, fc_corrupted: models::ConclaveModesPvpmodeAll, fc_orokin: models::ConclaveModesPvpmodeAll) -> Factions {
32        Factions {
33            fc_grineer: Box::new(fc_grineer),
34            fc_corpus: Box::new(fc_corpus),
35            fc_infestation: Box::new(fc_infestation),
36            fc_corrupted: Box::new(fc_corrupted),
37            fc_orokin: Box::new(fc_orokin),
38        }
39    }
40}
41