/* Options: Date: 2025-04-04 17:49:00 SwiftVersion: 5.0 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: Command.AddProspectCommandRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/api/Command/AddProspectCommand", "POST") public class AddProspectCommandRequest : IReturn, Codable { public typealias Return = AddProspectResult public var gender:Gender? public var tags:[String] = [] public var agreedToTerms:Bool? public var isOnlineJoining:Bool? public var photoPermission:Bool? public var firstAidPermission:Bool? public var giftAidPermission:Bool? public var optInEmail:Bool? public var optInSms:Bool? public var optInNotification:Bool? public var optInPostal:Bool? public var optInTelephone:Bool? public var customAttributes:[CustomAttributeValue] = [] public var memberId:Int? public var title:String? public var forenames:String? public var surname:String? public var companyName:String? public var address1:String? public var address2:String? public var city:String? public var county:String? public var country:String? public var postcode:String? public var dateOfBirth:Date? public var emailAddress:String? public var homePhone:String? public var mobilePhone:String? public var emergencyContact:String? public var parentName:String? public var parentSurname:String? public var medicalInformation:String? public var recaptcha:String? required public init(){} } public class AddProspectResult : ICommandResult, Codable { public var memberId:Int? public var isExistingMember:Bool? public var memberKey:String? public var appRegistrationId:String? required public init(){} } public class CustomAttributeValue : Codable { public var customAttributeId:Int? public var customAttributeValueId:Int? public var instanceId:Int? public var storedValue:String? public var typeName:String? public var readOnly:Bool? required public init(){} } public enum Gender : String, Codable { case Unknown case Male case Female case Other case PreferNotToSay } public protocol ICommandResult { }