/* Options: Date: 2025-04-04 18:10:38 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MemberService.GetMembersForAccessControlRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/api/Member/GetMembersForAccessControl", Verbs="POST,GET") open class GetMembersForAccessControlRequest : IReturn { var MemberId:Int? = null var Date:Date? = null companion object { private val responseType = AccessControlMembers::class.java } override fun getResponseType(): Any? = GetMembersForAccessControlRequest.responseType } open class AccessControlMembers { var Members:ArrayList = ArrayList() var Schedules:ArrayList = ArrayList() var Branch:Branch? = null } enum class ExternalStatus { Off, Active, Pending, CancelledInsideContract, CancelledOutsideContract, WithDebtRecovery, Suspended, } enum class MembershipState { Prospect, Active, Expired, Cancelled, PaymentRequired, Suspended, } open class AccessControlMember { var MemberId:Int? = null var EnrolmentId:Int? = null var BranchId:Int? = null var MembershipState:MembershipState? = null var MembershipNumber:String? = null var CardNumber:String? = null var Forenames:String? = null var Surname:String? = null var MultiSiteAccess:Boolean? = null var UseExternalStatus:Boolean? = null var ExternalStatus:ExternalStatus? = null var MembershipTypeName:String? = null var StartDate:Date? = null var EndDate:Date? = null var ScheduleId:Int? = null var SessionsRemaining:Int? = null var LastAttendance:Date? = null var MemberAccess:MemberAccess? = null } open class Schedule { var ScheduleId:Int? = null var Name:String? = null var Description:String? = null var MondayFrom:TimeSpan? = null var MondayTo:TimeSpan? = null var TuesdayFrom:TimeSpan? = null var TuesdayTo:TimeSpan? = null var WednesdayFrom:TimeSpan? = null var WednesdayTo:TimeSpan? = null var ThursdayFrom:TimeSpan? = null var ThursdayTo:TimeSpan? = null var FridayFrom:TimeSpan? = null var FridayTo:TimeSpan? = null var SaturdayFrom:TimeSpan? = null var SaturdayTo:TimeSpan? = null var SundayFrom:TimeSpan? = null var SundayTo:TimeSpan? = null var ScheduleType:Int? = null var BranchId:Int? = null var Deleted:Boolean? = null var Demo:Boolean? = null var Monday:Boolean? = null var Tuesday:Boolean? = null var Wednesday:Boolean? = null var Thursday:Boolean? = null var Friday:Boolean? = null var Saturday:Boolean? = null var Sunday:Boolean? = null var MondayTotalTime:TimeSpan? = null var TuesdayTotalTime:TimeSpan? = null var WednesdayTotalTime:TimeSpan? = null var ThursdayTotalTime:TimeSpan? = null var FridayTotalTime:TimeSpan? = null var SaturdayTotalTime:TimeSpan? = null var SundayTotalTime:TimeSpan? = null var TotalTime:TimeSpan? = null } enum class MemberAccess(val value:Int) { AccessAllowed(1), NoAccess(2), NoMultiSiteAccess(3), NoSessions(4), NoScheduleAccess(5), NoAccessTimeLimitExceeded(6), Suspended(7), } open class Branch { var BranchId:Int? = null var BranchType:BranchType? = null var Name:String? = null var Prefix:String? = null var CompanyName:String? = null var CompanyAddress:String? = null var CompanyOfficialName:String? = null var DirectDebitReference:String? = null var FastDDReference:String? = null var FastDDPlatinumRef:String? = null var Style:String? = null var PublicKey:UUID? = null var PrivateKey:UUID? = null var TrialStart:Date? = null var TrialEnd:Date? = null var PaymentStartDate:Date? = null var InTrial:Boolean? = null var UseFreeText:Boolean? = null var FreeTextTitle:String? = null var UseMembershipTypes:Boolean? = null var DDUserName:String? = null var DDPassword:String? = null var DDServiceUser:String? = null var DfcUserName:String? = null var DfcPassword:String? = null var DfcClubNumber:String? = null var CompanyEmail:String? = null var SmsOriginator:String? = null var LanguageId:Int? = null var VatRate:BigDecimal? = null var SwipeAction:Int? = null var Modules:Module? = null var UseCreditBalance:Boolean? = null var AllowNegativeBalance:Boolean? = null var DefaultCreditLimit:BigDecimal? = null var ApplicationType:ApplicationType? = null var ExternalProviderWarning:String? = null var Domain:String? = null var MobileDomain:String? = null var OnlineBookingTimetableLimit:Int? = null var OnlineBookingCancellationLimit:Int? = null var OnlineBookingLimit:Int? = null var Feature:Feature? = null var TimeZone:String? = null var Culture:String? = null var Country:String? = null var Iso3166Country:Iso3166Country? = null var CurrencyCulture:String? = null var ShowGoCardlessAd:Boolean? = null var GoCardlessSaving:BigDecimal? = null var SROAddress:String? = null var MCAClubNo:String? = null var MCAClubRef:String? = null var TwilioNumber:String? = null var Telephone:String? = null var Transferred:Boolean? = null var OnlineBookingAllowNonActives:Boolean? = null var MemberLimit:Int? = null var SortCode:String? = null var AccountNumber:String? = null var Website:String? = null var SendSMSAppointmentRemindersDefault:Boolean? = null var SendSMSBookingReminders:Boolean? = null var GiftAid:Boolean? = null var GlobalBookingStartTime:TimeSpan? = null var GlobalBookingEndTime:TimeSpan? = null var BookingMinuteIncrements:Int? = null var CancelReason:String? = null var CancelFurther:String? = null var CancelDate:Date? = null var DirectDebitFee:BigDecimal? = null var CreditCardFee:BigDecimal? = null var SMSPriceAdjustment:BigDecimal? = null var BookingsPayLinkOnTrack:Boolean? = null var AccessControlTimeLimit:Int? = null var Minimiser:BranchMinimiser? = null var AutoGenerateLicenses:Boolean? = null var Terms:String? = null var FingerprintThreshold:Int? = null var FingerprintMatcherThreshold:Int? = null var AutoShutoff:Boolean? = null var PrimaryColors:String? = null var HasColors:Boolean? = null var PrimaryColor:String? = null var SecondaryColor:String? = null var BackgroundColor:String? = null var HeaderTopColor:String? = null var HeaderBottomColor:String? = null var SideLeftColor:String? = null var SideRightColor:String? = null var SideFontColor:String? = null var SideFontActiveColor:String? = null var ExtWebBackgroundColor:String? = null var ExtWebTextColor:String? = null var ExtWebTintBackColor:String? = null var ExtWebHighlightBackColor:String? = null var ExtWebTabBackColor:String? = null var HeadingColor:String? = null var ReportFormat:ReportFormat? = null var FixPayments:Boolean? = null var FixPaymentSchedle:String? = null var AppFeature:AppFeature? = null var SignInScreenFeature:SignInScreenFeature? = null var AppOptions:String? = null var CompanyDescription:String? = null var Capacity:Int? = null var MonthlySalesTarget:Int? = null var BookingAccessTimeLimit:Int? = null var Facebook:String? = null var Twitter:String? = null var Instagram:String? = null var YouTube:String? = null var TikTok:String? = null var Shopify:String? = null var MinimumMemberAge:Int? = null var TermsAndConditionsVersionDate:Date? = null var TermsAndConditionsAcceptedDate:Date? = null var TermsAndConditionsAccepted:Boolean? = null var SiteUrl:String? = null var IsUsingSmartDebit:Boolean? = null var IsUsingDfc:Boolean? = null var IsSouthAfrica:Boolean? = null var SmartDebitConfigured:Boolean? = null var DfcConfigured:Boolean? = null var UsingPaymentMethods:Boolean? = null var SmsPrefix:String? = null var Logo:String? = null var LogoThumbnail:String? = null var LogoHash:String? = null var SendMarketingInviteWhenMemberAdded:Boolean? = null var SendMarketingInviteWhenMemberJoinedOnline:Boolean? = null var MarketingComplianceManagedExternally:Boolean? = null var OnlineBookingAllowWaitingList:Boolean? = null var OnlineMultiSiteEnabled:Boolean? = null var CanBookOnline:Boolean? = null var PublicMembershipTypes:Int? = null var TrustedBranches:Int? = null var IsAddingProspects:Boolean? = null var IsSellingMemberships:Boolean? = null var IsCreatingTasks:Boolean? = null var IsCreatingAppointments:Boolean? = null var IsBookingClasses:Boolean? = null var IsRegisteringAttendance:Boolean? = null var IsSellingProducts:Boolean? = null var IsSendingEmails:Boolean? = null var IsSendingSMS:Boolean? = null var IsUsingAutomation:Boolean? = null var DeductSessionsOnBooking:Boolean? = null var ShowTrustedBranchBookings:Boolean? = null var Score:Int? = null var ApplicationId:String? = null var iOSAppLink:String? = null var AndroidAppLink:String? = null }