space_traders/models/jump_ship_request.rs
1//! Generated by: <https://openapi-generator.tech>
2//!
3//! Version of specification: `2.0.0`
4
5use serde::{Deserialize, Serialize};
6
7///
8#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
9pub struct JumpShipRequest {
10 /// The system symbol to jump to.
11 #[serde(rename = "systemSymbol")]
12 pub system_symbol: String,
13}
14
15impl JumpShipRequest {
16 /// Create value with optional fields set to `None`.
17 #[allow(clippy::too_many_arguments)]
18 pub fn new(system_symbol: String) -> JumpShipRequest {
19 JumpShipRequest { system_symbol }
20 }
21}