/// Options: /// Date: 2026-08-21 17:58:56 /// Version: 10.09 /// Tip: To override a DTO option, remove "/" prefix before updating /// BaseUrl: https://blazor-gallery.servicestack.net /// GlobalNamespace: /// MakePropertiesOptional: False /// AddServiceStackTypes: True /// AddResponseStatus: False /// AddImplicitVersion: /// AddDescriptionAsComments: True //IncludeTypes: CreatePlayer.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); const ss = @import("servicestack"); pub const PhoneKind = enum { Home, Mobile, Work, }; pub const Phone = struct { kind: ?PhoneKind = null, number: ?[]const u8 = null, ext: ?[]const u8 = null, }; pub const Player = struct { id: i32 = 0, // @Required() firstName: ?[]const u8 = null, lastName: ?[]const u8 = null, email: ?[]const u8 = null, phoneNumbers: []Phone = &.{}, gameItems: []PlayerGameItem = &.{}, profile: ?Profile = null, profileId: i32 = 0, savedLevelId: ?[]const u8 = null, rowVersion: u64 = 0, }; pub const CreatePlayer = struct { pub const ss_name = "CreatePlayer"; pub const ss_verb = "POST"; pub const Response = ss.IdResponse; // @Validate(Validator="NotEmpty") firstName: ?[]const u8 = null, lastName: ?[]const u8 = null, email: ?[]const u8 = null, phoneNumbers: ?[]Phone = null, // @Validate(Validator="NotNull") profileId: ?i32 = null, savedLevelId: ?[]const u8 = null, };