warframe_client/models/
operator_loadouts_inner.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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct OperatorLoadoutsInner {
16    #[serde(rename = "skins", skip_serializing_if = "Option::is_none")]
17    pub skins: Option<Vec<serde_json::Value>>,
18    #[serde(rename = "operatorAmp", skip_serializing_if = "Option::is_none")]
19    pub operator_amp: Option<String>,
20    #[serde(rename = "upgrades", skip_serializing_if = "Option::is_none")]
21    pub upgrades: Option<Vec<String>>,
22    #[serde(rename = "abilityOverride", skip_serializing_if = "Option::is_none")]
23    pub ability_override: Option<Box<models::OperatorLoadoutsInnerAbilityOverride>>,
24    #[serde(rename = "primaryColor", skip_serializing_if = "Option::is_none")]
25    pub primary_color: Option<Box<models::ProfileColor>>,
26    #[serde(rename = "sigilColor", skip_serializing_if = "Option::is_none")]
27    pub sigil_color: Option<Box<models::ProfileColor>>,
28    #[serde(rename = "eyeColor", skip_serializing_if = "Option::is_none")]
29    pub eye_color: Option<Box<models::ProfileColor>>,
30    #[serde(rename = "facial", skip_serializing_if = "Option::is_none")]
31    pub facial: Option<Box<models::ProfileColor>>,
32    #[serde(rename = "cloth", skip_serializing_if = "Option::is_none")]
33    pub cloth: Option<Box<models::ProfileColor>>,
34}
35
36impl OperatorLoadoutsInner {
37    pub fn new() -> OperatorLoadoutsInner {
38        OperatorLoadoutsInner {
39            skins: None,
40            operator_amp: None,
41            upgrades: None,
42            ability_override: None,
43            primary_color: None,
44            sigil_color: None,
45            eye_color: None,
46            facial: None,
47            cloth: None,
48        }
49    }
50}
51