/* Options: Date: 2025-03-14 05:37:23 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: ViewBranchGetBranches.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class BranchGetBranchesInstance implements IConvertible { int? BranchType; String? Name; String? Prefix; String? CompanyName; String? CompanyAddress; String? CompanyOfficialName; String? DirectDebitReference; String? FastDDReference; String? FastDDPlatinumRef; String? Style; DateTime? PaymentStartDate; String? PublicKey; DateTime? TrialStart; DateTime? TrialEnd; bool? InTrial; bool? UseMembershipTypes; String? DDUserName; String? DDPassword; String? DDServiceUser; String? DfcUserName; String? DfcPassword; String? DfcClubNumber; String? CompanyEmail; String? SmsOriginator; int? LanguageId; double? VatRate; int? SwipeAction; int? Modules; bool? UseFreeText; String? FreeTextTitle; String? TimeZone; bool? UseCreditBalance; bool? AllowNegativeBalance; double? DefaultCreditLimit; int? ApplicationType; String? ExternalProviderWarning; String? Domain; String? MobileDomain; int? OnlineBookingTimetableLimit; int? OnlineBookingCancellationLimit; int? Feature; bool? ShowGoCardlessAd; double? ProviderSaving; String? SROAddress; String? Telephone; String? MCAClubNo; bool? Transferred; bool? OnlineBookingAllowNonActives; int? MemberLimit; String? SortCode; String? AccountNumber; bool? SendSMSAppointmentRemindersDefault; bool? SendSMSBookingReminders; String? Website; bool? GiftAid; Duration? GlobalBookingStartTime; Duration? GlobalBookingEndTime; int? BookingMinuteIncrements; String? CancelReason; String? CancelFurther; DateTime? CancelDate; String? TwilioNumber; double? CreditCardFee; double? DirectDebitFee; String? Culture; bool? BookingsPayLinkOnTrack; int? AccessControlTimeLimit; int? Minimiser; bool? AutoGenerateLicenses; String? Terms; int? FingerprintThreshold; int? FingerprintMatcherThreshold; String? CurrencyCulture; bool? AutoShutoff; String? PrimaryColors; Uint8List? Logo; int? ReportFormat; String? Country; double? SMSPriceAdjustment; String? LogoHash; bool? FixPayments; String? FixPaymentSchedle; int? AppFeature; String? AppOptions; String? CompanyDescription; int? Capacity; int? SignInScreenFeature; int? BookingAccessTimeLimit; bool? DeductSessionsOnBooking; int? MonthlySalesTarget; bool? ShowTrustedBranchBookings; String? Facebook; String? Twitter; String? Instagram; String? YouTube; String? TikTok; String? Shopify; int? MinimumMemberAge; int? UsingPaymentMethods; DateTime? TermsAndConditionsVersionDate; DateTime? TermsAndConditionsAcceptedDate; bool? SendMarketingInviteWhenMemberAdded; bool? SendMarketingInviteWhenMemberJoinedOnline; bool? MarketingComplianceManagedExternally; bool? OnlineBookingAllowWaitingList; bool? OnlineMultiSiteEnabled; int? OnlineBookingLimit; int? PublicMembershipTypes; int? TrustedBranches; int? ScoreBranchId; String? iOSAppLink; String? AndroidAppLink; BranchGetBranchesInstance({this.BranchType,this.Name,this.Prefix,this.CompanyName,this.CompanyAddress,this.CompanyOfficialName,this.DirectDebitReference,this.FastDDReference,this.FastDDPlatinumRef,this.Style,this.PaymentStartDate,this.PublicKey,this.TrialStart,this.TrialEnd,this.InTrial,this.UseMembershipTypes,this.DDUserName,this.DDPassword,this.DDServiceUser,this.DfcUserName,this.DfcPassword,this.DfcClubNumber,this.CompanyEmail,this.SmsOriginator,this.LanguageId,this.VatRate,this.SwipeAction,this.Modules,this.UseFreeText,this.FreeTextTitle,this.TimeZone,this.UseCreditBalance,this.AllowNegativeBalance,this.DefaultCreditLimit,this.ApplicationType,this.ExternalProviderWarning,this.Domain,this.MobileDomain,this.OnlineBookingTimetableLimit,this.OnlineBookingCancellationLimit,this.Feature,this.ShowGoCardlessAd,this.ProviderSaving,this.SROAddress,this.Telephone,this.MCAClubNo,this.Transferred,this.OnlineBookingAllowNonActives,this.MemberLimit,this.SortCode,this.AccountNumber,this.SendSMSAppointmentRemindersDefault,this.SendSMSBookingReminders,this.Website,this.GiftAid,this.GlobalBookingStartTime,this.GlobalBookingEndTime,this.BookingMinuteIncrements,this.CancelReason,this.CancelFurther,this.CancelDate,this.TwilioNumber,this.CreditCardFee,this.DirectDebitFee,this.Culture,this.BookingsPayLinkOnTrack,this.AccessControlTimeLimit,this.Minimiser,this.AutoGenerateLicenses,this.Terms,this.FingerprintThreshold,this.FingerprintMatcherThreshold,this.CurrencyCulture,this.AutoShutoff,this.PrimaryColors,this.Logo,this.ReportFormat,this.Country,this.SMSPriceAdjustment,this.LogoHash,this.FixPayments,this.FixPaymentSchedle,this.AppFeature,this.AppOptions,this.CompanyDescription,this.Capacity,this.SignInScreenFeature,this.BookingAccessTimeLimit,this.DeductSessionsOnBooking,this.MonthlySalesTarget,this.ShowTrustedBranchBookings,this.Facebook,this.Twitter,this.Instagram,this.YouTube,this.TikTok,this.Shopify,this.MinimumMemberAge,this.UsingPaymentMethods,this.TermsAndConditionsVersionDate,this.TermsAndConditionsAcceptedDate,this.SendMarketingInviteWhenMemberAdded,this.SendMarketingInviteWhenMemberJoinedOnline,this.MarketingComplianceManagedExternally,this.OnlineBookingAllowWaitingList,this.OnlineMultiSiteEnabled,this.OnlineBookingLimit,this.PublicMembershipTypes,this.TrustedBranches,this.ScoreBranchId,this.iOSAppLink,this.AndroidAppLink}); BranchGetBranchesInstance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BranchType = json['BranchType']; Name = json['Name']; Prefix = json['Prefix']; CompanyName = json['CompanyName']; CompanyAddress = json['CompanyAddress']; CompanyOfficialName = json['CompanyOfficialName']; DirectDebitReference = json['DirectDebitReference']; FastDDReference = json['FastDDReference']; FastDDPlatinumRef = json['FastDDPlatinumRef']; Style = json['Style']; PaymentStartDate = JsonConverters.fromJson(json['PaymentStartDate'],'DateTime',context!); PublicKey = json['PublicKey']; TrialStart = JsonConverters.fromJson(json['TrialStart'],'DateTime',context!); TrialEnd = JsonConverters.fromJson(json['TrialEnd'],'DateTime',context!); InTrial = json['InTrial']; UseMembershipTypes = json['UseMembershipTypes']; DDUserName = json['DDUserName']; DDPassword = json['DDPassword']; DDServiceUser = json['DDServiceUser']; DfcUserName = json['DfcUserName']; DfcPassword = json['DfcPassword']; DfcClubNumber = json['DfcClubNumber']; CompanyEmail = json['CompanyEmail']; SmsOriginator = json['SmsOriginator']; LanguageId = json['LanguageId']; VatRate = JsonConverters.toDouble(json['VatRate']); SwipeAction = json['SwipeAction']; Modules = json['Modules']; UseFreeText = json['UseFreeText']; FreeTextTitle = json['FreeTextTitle']; TimeZone = json['TimeZone']; UseCreditBalance = json['UseCreditBalance']; AllowNegativeBalance = json['AllowNegativeBalance']; DefaultCreditLimit = JsonConverters.toDouble(json['DefaultCreditLimit']); ApplicationType = json['ApplicationType']; ExternalProviderWarning = json['ExternalProviderWarning']; Domain = json['Domain']; MobileDomain = json['MobileDomain']; OnlineBookingTimetableLimit = json['OnlineBookingTimetableLimit']; OnlineBookingCancellationLimit = json['OnlineBookingCancellationLimit']; Feature = json['Feature']; ShowGoCardlessAd = json['ShowGoCardlessAd']; ProviderSaving = JsonConverters.toDouble(json['ProviderSaving']); SROAddress = json['SROAddress']; Telephone = json['Telephone']; MCAClubNo = json['MCAClubNo']; Transferred = json['Transferred']; OnlineBookingAllowNonActives = json['OnlineBookingAllowNonActives']; MemberLimit = json['MemberLimit']; SortCode = json['SortCode']; AccountNumber = json['AccountNumber']; SendSMSAppointmentRemindersDefault = json['SendSMSAppointmentRemindersDefault']; SendSMSBookingReminders = json['SendSMSBookingReminders']; Website = json['Website']; GiftAid = json['GiftAid']; GlobalBookingStartTime = JsonConverters.fromJson(json['GlobalBookingStartTime'],'Duration',context!); GlobalBookingEndTime = JsonConverters.fromJson(json['GlobalBookingEndTime'],'Duration',context!); BookingMinuteIncrements = json['BookingMinuteIncrements']; CancelReason = json['CancelReason']; CancelFurther = json['CancelFurther']; CancelDate = JsonConverters.fromJson(json['CancelDate'],'DateTime',context!); TwilioNumber = json['TwilioNumber']; CreditCardFee = JsonConverters.toDouble(json['CreditCardFee']); DirectDebitFee = JsonConverters.toDouble(json['DirectDebitFee']); Culture = json['Culture']; BookingsPayLinkOnTrack = json['BookingsPayLinkOnTrack']; AccessControlTimeLimit = json['AccessControlTimeLimit']; Minimiser = json['Minimiser']; AutoGenerateLicenses = json['AutoGenerateLicenses']; Terms = json['Terms']; FingerprintThreshold = json['FingerprintThreshold']; FingerprintMatcherThreshold = json['FingerprintMatcherThreshold']; CurrencyCulture = json['CurrencyCulture']; AutoShutoff = json['AutoShutoff']; PrimaryColors = json['PrimaryColors']; Logo = JsonConverters.fromJson(json['Logo'],'Uint8List',context!); ReportFormat = json['ReportFormat']; Country = json['Country']; SMSPriceAdjustment = JsonConverters.toDouble(json['SMSPriceAdjustment']); LogoHash = json['LogoHash']; FixPayments = json['FixPayments']; FixPaymentSchedle = json['FixPaymentSchedle']; AppFeature = json['AppFeature']; AppOptions = json['AppOptions']; CompanyDescription = json['CompanyDescription']; Capacity = json['Capacity']; SignInScreenFeature = json['SignInScreenFeature']; BookingAccessTimeLimit = json['BookingAccessTimeLimit']; DeductSessionsOnBooking = json['DeductSessionsOnBooking']; MonthlySalesTarget = json['MonthlySalesTarget']; ShowTrustedBranchBookings = json['ShowTrustedBranchBookings']; Facebook = json['Facebook']; Twitter = json['Twitter']; Instagram = json['Instagram']; YouTube = json['YouTube']; TikTok = json['TikTok']; Shopify = json['Shopify']; MinimumMemberAge = json['MinimumMemberAge']; UsingPaymentMethods = json['UsingPaymentMethods']; TermsAndConditionsVersionDate = JsonConverters.fromJson(json['TermsAndConditionsVersionDate'],'DateTime',context!); TermsAndConditionsAcceptedDate = JsonConverters.fromJson(json['TermsAndConditionsAcceptedDate'],'DateTime',context!); SendMarketingInviteWhenMemberAdded = json['SendMarketingInviteWhenMemberAdded']; SendMarketingInviteWhenMemberJoinedOnline = json['SendMarketingInviteWhenMemberJoinedOnline']; MarketingComplianceManagedExternally = json['MarketingComplianceManagedExternally']; OnlineBookingAllowWaitingList = json['OnlineBookingAllowWaitingList']; OnlineMultiSiteEnabled = json['OnlineMultiSiteEnabled']; OnlineBookingLimit = json['OnlineBookingLimit']; PublicMembershipTypes = json['PublicMembershipTypes']; TrustedBranches = json['TrustedBranches']; ScoreBranchId = json['ScoreBranchId']; iOSAppLink = json['iOSAppLink']; AndroidAppLink = json['AndroidAppLink']; return this; } Map toJson() => { 'BranchType': BranchType, 'Name': Name, 'Prefix': Prefix, 'CompanyName': CompanyName, 'CompanyAddress': CompanyAddress, 'CompanyOfficialName': CompanyOfficialName, 'DirectDebitReference': DirectDebitReference, 'FastDDReference': FastDDReference, 'FastDDPlatinumRef': FastDDPlatinumRef, 'Style': Style, 'PaymentStartDate': JsonConverters.toJson(PaymentStartDate,'DateTime',context!), 'PublicKey': PublicKey, 'TrialStart': JsonConverters.toJson(TrialStart,'DateTime',context!), 'TrialEnd': JsonConverters.toJson(TrialEnd,'DateTime',context!), 'InTrial': InTrial, 'UseMembershipTypes': UseMembershipTypes, 'DDUserName': DDUserName, 'DDPassword': DDPassword, 'DDServiceUser': DDServiceUser, 'DfcUserName': DfcUserName, 'DfcPassword': DfcPassword, 'DfcClubNumber': DfcClubNumber, 'CompanyEmail': CompanyEmail, 'SmsOriginator': SmsOriginator, 'LanguageId': LanguageId, 'VatRate': VatRate, 'SwipeAction': SwipeAction, 'Modules': Modules, 'UseFreeText': UseFreeText, 'FreeTextTitle': FreeTextTitle, 'TimeZone': TimeZone, 'UseCreditBalance': UseCreditBalance, 'AllowNegativeBalance': AllowNegativeBalance, 'DefaultCreditLimit': DefaultCreditLimit, 'ApplicationType': ApplicationType, 'ExternalProviderWarning': ExternalProviderWarning, 'Domain': Domain, 'MobileDomain': MobileDomain, 'OnlineBookingTimetableLimit': OnlineBookingTimetableLimit, 'OnlineBookingCancellationLimit': OnlineBookingCancellationLimit, 'Feature': Feature, 'ShowGoCardlessAd': ShowGoCardlessAd, 'ProviderSaving': ProviderSaving, 'SROAddress': SROAddress, 'Telephone': Telephone, 'MCAClubNo': MCAClubNo, 'Transferred': Transferred, 'OnlineBookingAllowNonActives': OnlineBookingAllowNonActives, 'MemberLimit': MemberLimit, 'SortCode': SortCode, 'AccountNumber': AccountNumber, 'SendSMSAppointmentRemindersDefault': SendSMSAppointmentRemindersDefault, 'SendSMSBookingReminders': SendSMSBookingReminders, 'Website': Website, 'GiftAid': GiftAid, 'GlobalBookingStartTime': JsonConverters.toJson(GlobalBookingStartTime,'Duration',context!), 'GlobalBookingEndTime': JsonConverters.toJson(GlobalBookingEndTime,'Duration',context!), 'BookingMinuteIncrements': BookingMinuteIncrements, 'CancelReason': CancelReason, 'CancelFurther': CancelFurther, 'CancelDate': JsonConverters.toJson(CancelDate,'DateTime',context!), 'TwilioNumber': TwilioNumber, 'CreditCardFee': CreditCardFee, 'DirectDebitFee': DirectDebitFee, 'Culture': Culture, 'BookingsPayLinkOnTrack': BookingsPayLinkOnTrack, 'AccessControlTimeLimit': AccessControlTimeLimit, 'Minimiser': Minimiser, 'AutoGenerateLicenses': AutoGenerateLicenses, 'Terms': Terms, 'FingerprintThreshold': FingerprintThreshold, 'FingerprintMatcherThreshold': FingerprintMatcherThreshold, 'CurrencyCulture': CurrencyCulture, 'AutoShutoff': AutoShutoff, 'PrimaryColors': PrimaryColors, 'Logo': JsonConverters.toJson(Logo,'Uint8List',context!), 'ReportFormat': ReportFormat, 'Country': Country, 'SMSPriceAdjustment': SMSPriceAdjustment, 'LogoHash': LogoHash, 'FixPayments': FixPayments, 'FixPaymentSchedle': FixPaymentSchedle, 'AppFeature': AppFeature, 'AppOptions': AppOptions, 'CompanyDescription': CompanyDescription, 'Capacity': Capacity, 'SignInScreenFeature': SignInScreenFeature, 'BookingAccessTimeLimit': BookingAccessTimeLimit, 'DeductSessionsOnBooking': DeductSessionsOnBooking, 'MonthlySalesTarget': MonthlySalesTarget, 'ShowTrustedBranchBookings': ShowTrustedBranchBookings, 'Facebook': Facebook, 'Twitter': Twitter, 'Instagram': Instagram, 'YouTube': YouTube, 'TikTok': TikTok, 'Shopify': Shopify, 'MinimumMemberAge': MinimumMemberAge, 'UsingPaymentMethods': UsingPaymentMethods, 'TermsAndConditionsVersionDate': JsonConverters.toJson(TermsAndConditionsVersionDate,'DateTime',context!), 'TermsAndConditionsAcceptedDate': JsonConverters.toJson(TermsAndConditionsAcceptedDate,'DateTime',context!), 'SendMarketingInviteWhenMemberAdded': SendMarketingInviteWhenMemberAdded, 'SendMarketingInviteWhenMemberJoinedOnline': SendMarketingInviteWhenMemberJoinedOnline, 'MarketingComplianceManagedExternally': MarketingComplianceManagedExternally, 'OnlineBookingAllowWaitingList': OnlineBookingAllowWaitingList, 'OnlineMultiSiteEnabled': OnlineMultiSiteEnabled, 'OnlineBookingLimit': OnlineBookingLimit, 'PublicMembershipTypes': PublicMembershipTypes, 'TrustedBranches': TrustedBranches, 'ScoreBranchId': ScoreBranchId, 'iOSAppLink': iOSAppLink, 'AndroidAppLink': AndroidAppLink }; getTypeName() => "BranchGetBranchesInstance"; TypeContext? context = _ctx; } // @Route("/api/Query/BranchGetBranches") // @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="BranchGetBranches") class ViewBranchGetBranches extends QueryDb implements IReturn>, IConvertible { ViewBranchGetBranches(); ViewBranchGetBranches.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "ViewBranchGetBranches"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'BranchGetBranchesInstance': TypeInfo(TypeOf.Class, create:() => BranchGetBranchesInstance()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'ViewBranchGetBranches': TypeInfo(TypeOf.Class, create:() => ViewBranchGetBranches()), 'List': TypeInfo(TypeOf.Class, create:() => []), });