/* Options: Date: 2026-11-07 04:19:05 Version: 10.42 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.webhop.biz //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetConfiguredRTP.* //ExcludeTypes: //DefaultImports: serde::{Deserialize, Serialize},serde_json::Value,std::collections::HashMap */ #![allow( dead_code, non_camel_case_types, non_snake_case, clippy::upper_case_acronyms )] use serde::{Deserialize, Serialize}; use serde_json::Value; use servicestack::*; use std::collections::HashMap; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)] #[serde(default)] pub struct RTPResponse { #[serde(rename = "totalRTP")] pub total_r_t_p: f64, #[serde(rename = "mainGame")] pub main_game: f64, #[serde(rename = "superWin")] pub super_win: f64, #[serde(rename = "globalCodePot")] pub global_code_pot: f64, #[serde(rename = "localCodePot")] pub local_code_pot: f64, } // Route("/qry/rtp/configured") #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)] #[serde(default)] pub struct GetConfiguredRTP {} impl IRequest for GetConfiguredRTP { const NAME: &'static str = "GetConfiguredRTP"; const VERB: &'static str = "POST"; } impl IReturn for GetConfiguredRTP { type Response = RTPResponse; }