warframe_client/models/
upgrade_types.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/// UpgradeTypes : 
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct UpgradeTypes {
17    #[serde(rename = "GAMEPLAY_KILL_XP_AMOUNT")]
18    pub gameplay_kill_xp_amount: Box<models::ConclaveModesPvpmodeAll>,
19    #[serde(rename = "GAMEPLAY_PICKUP_AMOUNT")]
20    pub gameplay_pickup_amount: Box<models::ConclaveModesPvpmodeAll>,
21    #[serde(rename = "GAMEPLAY_MONEY_REWARD_AMOUNT")]
22    pub gameplay_money_reward_amount: Box<models::ConclaveModesPvpmodeAll>,
23    #[serde(rename = "GAMEPLAY_MONEY_PICKUP_AMOUNT")]
24    pub gameplay_money_pickup_amount: Box<models::ConclaveModesPvpmodeAll>,
25}
26
27impl UpgradeTypes {
28    /// 
29    pub fn new(gameplay_kill_xp_amount: models::ConclaveModesPvpmodeAll, gameplay_pickup_amount: models::ConclaveModesPvpmodeAll, gameplay_money_reward_amount: models::ConclaveModesPvpmodeAll, gameplay_money_pickup_amount: models::ConclaveModesPvpmodeAll) -> UpgradeTypes {
30        UpgradeTypes {
31            gameplay_kill_xp_amount: Box::new(gameplay_kill_xp_amount),
32            gameplay_pickup_amount: Box::new(gameplay_pickup_amount),
33            gameplay_money_reward_amount: Box::new(gameplay_money_reward_amount),
34            gameplay_money_pickup_amount: Box::new(gameplay_money_pickup_amount),
35        }
36    }
37}
38