/* Options: Date: 2026-01-21 20:24:33 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: OnlineJoining.PreRegisterRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class PreRegisterResult implements IConvertible { int? MemberId; String? MemberKey; String? AppRegistrationId; String? Redirect; PreRegisterResult({this.MemberId,this.MemberKey,this.AppRegistrationId,this.Redirect}); PreRegisterResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MemberId = json['MemberId']; MemberKey = json['MemberKey']; AppRegistrationId = json['AppRegistrationId']; Redirect = json['Redirect']; return this; } Map toJson() => { 'MemberId': MemberId, 'MemberKey': MemberKey, 'AppRegistrationId': AppRegistrationId, 'Redirect': Redirect }; getTypeName() => "PreRegisterResult"; TypeContext? context = _ctx; } // @Route("/api/OnlineJoining/PreRegister", "POST") class PreRegisterRequest implements IReturn, IConvertible { String? Source; String? MemberGender; String? DateOfBirth; String? MemberName; String? ParentSurname; String? Title; String? Forenames; String? Surname; String? Address1; String? Address2; String? City; String? County; String? Postcode; String? Email; String? HomePhone; String? Mobile; String? MedicalInformation; String? EmergencyContact; bool? Treatment; bool? GiftAid; bool? PhotoPermission; bool? DirectContactPermission; bool? AgreedToTerms; String? ChildsEmailAddress; String? ChildsMobilePhone; bool? OptInEmail; bool? OptInSMS; bool? OptInNotification; bool? OptInPostal; bool? OptInTelephone; List? Tags; String? ReturnUrl; String? s; PreRegisterRequest({this.Source,this.MemberGender,this.DateOfBirth,this.MemberName,this.ParentSurname,this.Title,this.Forenames,this.Surname,this.Address1,this.Address2,this.City,this.County,this.Postcode,this.Email,this.HomePhone,this.Mobile,this.MedicalInformation,this.EmergencyContact,this.Treatment,this.GiftAid,this.PhotoPermission,this.DirectContactPermission,this.AgreedToTerms,this.ChildsEmailAddress,this.ChildsMobilePhone,this.OptInEmail,this.OptInSMS,this.OptInNotification,this.OptInPostal,this.OptInTelephone,this.Tags,this.ReturnUrl,this.s}); PreRegisterRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Source = json['Source']; MemberGender = json['MemberGender']; DateOfBirth = json['DateOfBirth']; MemberName = json['MemberName']; ParentSurname = json['ParentSurname']; Title = json['Title']; Forenames = json['Forenames']; Surname = json['Surname']; Address1 = json['Address1']; Address2 = json['Address2']; City = json['City']; County = json['County']; Postcode = json['Postcode']; Email = json['Email']; HomePhone = json['HomePhone']; Mobile = json['Mobile']; MedicalInformation = json['MedicalInformation']; EmergencyContact = json['EmergencyContact']; Treatment = json['Treatment']; GiftAid = json['GiftAid']; PhotoPermission = json['PhotoPermission']; DirectContactPermission = json['DirectContactPermission']; AgreedToTerms = json['AgreedToTerms']; ChildsEmailAddress = json['ChildsEmailAddress']; ChildsMobilePhone = json['ChildsMobilePhone']; OptInEmail = json['OptInEmail']; OptInSMS = json['OptInSMS']; OptInNotification = json['OptInNotification']; OptInPostal = json['OptInPostal']; OptInTelephone = json['OptInTelephone']; Tags = JsonConverters.fromJson(json['Tags'],'List',context!); ReturnUrl = json['ReturnUrl']; s = json['s']; return this; } Map toJson() => { 'Source': Source, 'MemberGender': MemberGender, 'DateOfBirth': DateOfBirth, 'MemberName': MemberName, 'ParentSurname': ParentSurname, 'Title': Title, 'Forenames': Forenames, 'Surname': Surname, 'Address1': Address1, 'Address2': Address2, 'City': City, 'County': County, 'Postcode': Postcode, 'Email': Email, 'HomePhone': HomePhone, 'Mobile': Mobile, 'MedicalInformation': MedicalInformation, 'EmergencyContact': EmergencyContact, 'Treatment': Treatment, 'GiftAid': GiftAid, 'PhotoPermission': PhotoPermission, 'DirectContactPermission': DirectContactPermission, 'AgreedToTerms': AgreedToTerms, 'ChildsEmailAddress': ChildsEmailAddress, 'ChildsMobilePhone': ChildsMobilePhone, 'OptInEmail': OptInEmail, 'OptInSMS': OptInSMS, 'OptInNotification': OptInNotification, 'OptInPostal': OptInPostal, 'OptInTelephone': OptInTelephone, 'Tags': JsonConverters.toJson(Tags,'List',context!), 'ReturnUrl': ReturnUrl, 's': s }; createResponse() => PreRegisterResult(); getResponseTypeName() => "PreRegisterResult"; getTypeName() => "PreRegisterRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'PreRegisterResult': TypeInfo(TypeOf.Class, create:() => PreRegisterResult()), 'PreRegisterRequest': TypeInfo(TypeOf.Class, create:() => PreRegisterRequest()), });