/* 
 * EVE Swagger Interface
 *
 * An OpenAPI for EVE Online
 *
 * OpenAPI spec version: 1.3.8
 * 
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 */

/// GetUniverseStargatesStargateIdPosition : position object

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct GetUniverseStargatesStargateIdPosition {
  /// x number
  #[serde(rename = "x")]
  x: f64,
  /// y number
  #[serde(rename = "y")]
  y: f64,
  /// z number
  #[serde(rename = "z")]
  z: f64
}

impl GetUniverseStargatesStargateIdPosition {
  /// position object
  pub fn new(x: f64, y: f64, z: f64) -> GetUniverseStargatesStargateIdPosition {
    GetUniverseStargatesStargateIdPosition {
      x: x,
      y: y,
      z: z
    }
  }

  pub fn set_x(&mut self, x: f64) {
    self.x = x;
  }

  pub fn with_x(mut self, x: f64) -> GetUniverseStargatesStargateIdPosition {
    self.x = x;
    self
  }

  pub fn x(&self) -> &f64 {
    &self.x
  }


  pub fn set_y(&mut self, y: f64) {
    self.y = y;
  }

  pub fn with_y(mut self, y: f64) -> GetUniverseStargatesStargateIdPosition {
    self.y = y;
    self
  }

  pub fn y(&self) -> &f64 {
    &self.y
  }


  pub fn set_z(&mut self, z: f64) {
    self.z = z;
  }

  pub fn with_z(mut self, z: f64) -> GetUniverseStargatesStargateIdPosition {
    self.z = z;
    self
  }

  pub fn z(&self) -> &f64 {
    &self.z
  }


}



