/// Options: /// Date: 2026-11-07 04:02:37 /// Version: 10.42 /// Tip: To override a DTO option, remove "/" prefix before updating /// BaseUrl: https://s4w1.api.bettor.webhop.biz /// GlobalNamespace: /// MakePropertiesOptional: False /// AddServiceStackTypes: True /// AddResponseStatus: False /// AddImplicitVersion: /// AddDescriptionAsComments: True //IncludeTypes: ConfigureGlobalCodePot.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); const ss = @import("servicestack"); pub const ThresholdInterval = struct { start: f64 = 0, end: f64 = 0, }; pub const GCPWinnerCooldownPolicyConfig = struct { isActive: bool = false, cooldownIntervalInDays: i32 = 0, }; pub const GCPConfiguration = struct { isActive: bool = false, interval: ?ThresholdInterval = null, pct: f64 = 0, reservePct: f64 = 0, totalPct: f64 = 0, winnerCooldownPolicy: ?GCPWinnerCooldownPolicyConfig = null, }; pub const ResponseStatus = enum(i32) { Failure = 0, Success = 1, }; // @DataContract pub const ResponseStatus = struct { // @DataMember(Order=1) errorCode: ?[]const u8 = null, // @DataMember(Order=2) message: ?[]const u8 = null, // @DataMember(Order=3) stackTrace: ?[]const u8 = null, // @DataMember(Order=4) errors: ?[]ss.ResponseError = null, // @DataMember(Order=5) meta: ?std.json.Value = null, }; // @Route("/cmd/configure/global-code-pot", "POST") pub const ConfigureGlobalCodePot = struct { pub const ss_name = "ConfigureGlobalCodePot"; pub const ss_verb = "POST"; pub const Response = ResponseStatus; id: ?[]const u8 = null, configuration: ?GCPConfiguration = null, };