/* Options: Date: 2025-02-05 20:02:21 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: BranchService.GetBranchAppInfoForBuildRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Flags() class AppFeature { static const AppFeature None = const AppFeature._(0); static const AppFeature JoinOnline = const AppFeature._(1); static const AppFeature TodaysClasses = const AppFeature._(2); static const AppFeature RegistrationForm = const AppFeature._(4); static const AppFeature ForthcomingBookings = const AppFeature._(8); static const AppFeature WeeklyTimetable = const AppFeature._(16); static const AppFeature SessionTimetable = const AppFeature._(32); static const AppFeature FacilityTimetable = const AppFeature._(64); static const AppFeature TasterSessions = const AppFeature._(128); static const AppFeature HowToFindUs = const AppFeature._(256); static const AppFeature AttendanceLeaderboard = const AppFeature._(512); static const AppFeature MemberMessages = const AppFeature._(1024); static const AppFeature AchievementGallery = const AppFeature._(2048); static const AppFeature FreeText = const AppFeature._(4096); static const AppFeature QRCode = const AppFeature._(8192); static const AppFeature ShareAndInviteAFriend = const AppFeature._(16384); static const AppFeature RenewalPrompt = const AppFeature._(32768); static const AppFeature CurrentCapacity = const AppFeature._(65536); static const AppFeature JoinFriend = const AppFeature._(131072); static const AppFeature MemberPoints = const AppFeature._(262144); static const AppFeature PromoMembership = const AppFeature._(524288); static const AppFeature Shop = const AppFeature._(1048576); static const AppFeature ShowFacebook = const AppFeature._(2097152); static const AppFeature ShowTwitter = const AppFeature._(4194304); static const AppFeature ShowInstagram = const AppFeature._(8388608); static const AppFeature ShowYouTube = const AppFeature._(16777216); static const AppFeature ShowTikTok = const AppFeature._(33554432); static const AppFeature ShowShopify = const AppFeature._(67108864); static const AppFeature AttendanceStreak = const AppFeature._(134217728); static const AppFeature BookingCategories = const AppFeature._(268435456); static const AppFeature ShowSessionsRemaining = const AppFeature._(536870912); final int _value; const AppFeature._(this._value); int get value => _value; static List get values => const [None,JoinOnline,TodaysClasses,RegistrationForm,ForthcomingBookings,WeeklyTimetable,SessionTimetable,FacilityTimetable,TasterSessions,HowToFindUs,AttendanceLeaderboard,MemberMessages,AchievementGallery,FreeText,QRCode,ShareAndInviteAFriend,RenewalPrompt,CurrentCapacity,JoinFriend,MemberPoints,PromoMembership,Shop,ShowFacebook,ShowTwitter,ShowInstagram,ShowYouTube,ShowTikTok,ShowShopify,AttendanceStreak,BookingCategories,ShowSessionsRemaining]; } class BranchAppInfo implements IConvertible { String? TitleText; String? AddText; String? RegisterText; String? JoinText; String? ARNiOS; String? ARNAndroid; String? AppIdentifier; String? AppBundleName; String? AppName; String? AppCenterAndroid; String? AppCenterIOS; int? BranchId; String? Name; String? BranchKey; String? Terms; DateTime? CancelDate; AppFeature? AppFeature; bool? CanBookOnline; String? PrimaryColor; String? SecondaryColor; String? BackgroundColor; String? HeaderTopColor; String? HeaderBottomColor; String? SideLeftColor; String? SideRightColor; String? SideFontColor; String? SideFontActiveColor; String? ExtWebBackgroundColor; String? ExtWebTextColor; String? ExtWebTintBackColor; String? ExtWebHighlightBackColor; String? ExtWebTabBackColor; String? HeadingColor; BranchAppInfo({this.TitleText,this.AddText,this.RegisterText,this.JoinText,this.ARNiOS,this.ARNAndroid,this.AppIdentifier,this.AppBundleName,this.AppName,this.AppCenterAndroid,this.AppCenterIOS,this.BranchId,this.Name,this.BranchKey,this.Terms,this.CancelDate,this.AppFeature,this.CanBookOnline,this.PrimaryColor,this.SecondaryColor,this.BackgroundColor,this.HeaderTopColor,this.HeaderBottomColor,this.SideLeftColor,this.SideRightColor,this.SideFontColor,this.SideFontActiveColor,this.ExtWebBackgroundColor,this.ExtWebTextColor,this.ExtWebTintBackColor,this.ExtWebHighlightBackColor,this.ExtWebTabBackColor,this.HeadingColor}); BranchAppInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TitleText = json['TitleText']; AddText = json['AddText']; RegisterText = json['RegisterText']; JoinText = json['JoinText']; ARNiOS = json['ARNiOS']; ARNAndroid = json['ARNAndroid']; AppIdentifier = json['AppIdentifier']; AppBundleName = json['AppBundleName']; AppName = json['AppName']; AppCenterAndroid = json['AppCenterAndroid']; AppCenterIOS = json['AppCenterIOS']; BranchId = json['BranchId']; Name = json['Name']; BranchKey = json['BranchKey']; Terms = json['Terms']; CancelDate = JsonConverters.fromJson(json['CancelDate'],'DateTime',context!); AppFeature = JsonConverters.fromJson(json['AppFeature'],'AppFeature',context!); CanBookOnline = json['CanBookOnline']; PrimaryColor = json['PrimaryColor']; SecondaryColor = json['SecondaryColor']; BackgroundColor = json['BackgroundColor']; HeaderTopColor = json['HeaderTopColor']; HeaderBottomColor = json['HeaderBottomColor']; SideLeftColor = json['SideLeftColor']; SideRightColor = json['SideRightColor']; SideFontColor = json['SideFontColor']; SideFontActiveColor = json['SideFontActiveColor']; ExtWebBackgroundColor = json['ExtWebBackgroundColor']; ExtWebTextColor = json['ExtWebTextColor']; ExtWebTintBackColor = json['ExtWebTintBackColor']; ExtWebHighlightBackColor = json['ExtWebHighlightBackColor']; ExtWebTabBackColor = json['ExtWebTabBackColor']; HeadingColor = json['HeadingColor']; return this; } Map toJson() => { 'TitleText': TitleText, 'AddText': AddText, 'RegisterText': RegisterText, 'JoinText': JoinText, 'ARNiOS': ARNiOS, 'ARNAndroid': ARNAndroid, 'AppIdentifier': AppIdentifier, 'AppBundleName': AppBundleName, 'AppName': AppName, 'AppCenterAndroid': AppCenterAndroid, 'AppCenterIOS': AppCenterIOS, 'BranchId': BranchId, 'Name': Name, 'BranchKey': BranchKey, 'Terms': Terms, 'CancelDate': JsonConverters.toJson(CancelDate,'DateTime',context!), 'AppFeature': JsonConverters.toJson(AppFeature,'AppFeature',context!), 'CanBookOnline': CanBookOnline, 'PrimaryColor': PrimaryColor, 'SecondaryColor': SecondaryColor, 'BackgroundColor': BackgroundColor, 'HeaderTopColor': HeaderTopColor, 'HeaderBottomColor': HeaderBottomColor, 'SideLeftColor': SideLeftColor, 'SideRightColor': SideRightColor, 'SideFontColor': SideFontColor, 'SideFontActiveColor': SideFontActiveColor, 'ExtWebBackgroundColor': ExtWebBackgroundColor, 'ExtWebTextColor': ExtWebTextColor, 'ExtWebTintBackColor': ExtWebTintBackColor, 'ExtWebHighlightBackColor': ExtWebHighlightBackColor, 'ExtWebTabBackColor': ExtWebTabBackColor, 'HeadingColor': HeadingColor }; getTypeName() => "BranchAppInfo"; TypeContext? context = _ctx; } // @Route("/api/Branch/GetBranchAppInfoForBuild", "POST,GET") class GetBranchAppInfoForBuildRequest implements IReturn, IConvertible { int? Id; GetBranchAppInfoForBuildRequest({this.Id}); GetBranchAppInfoForBuildRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => BranchAppInfo(); getResponseTypeName() => "BranchAppInfo"; getTypeName() => "GetBranchAppInfoForBuildRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'AppFeature': TypeInfo(TypeOf.Enum, enumValues:AppFeature.values), 'BranchAppInfo': TypeInfo(TypeOf.Class, create:() => BranchAppInfo()), 'GetBranchAppInfoForBuildRequest': TypeInfo(TypeOf.Class, create:() => GetBranchAppInfoForBuildRequest()), });