/* Options: Date: 2025-08-05 02:04:21 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SaveConfigurationMessage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SaveConfigurationData implements IConvertible { String? TrackingCode; String? ClientId; String? ClientSecret; String? SelectedAccount; String? TrackedDomain; String? SelectedProfileId; SaveConfigurationData({this.TrackingCode,this.ClientId,this.ClientSecret,this.SelectedAccount,this.TrackedDomain,this.SelectedProfileId}); SaveConfigurationData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TrackingCode = json['TrackingCode']; ClientId = json['ClientId']; ClientSecret = json['ClientSecret']; SelectedAccount = json['SelectedAccount']; TrackedDomain = json['TrackedDomain']; SelectedProfileId = json['SelectedProfileId']; return this; } Map toJson() => { 'TrackingCode': TrackingCode, 'ClientId': ClientId, 'ClientSecret': ClientSecret, 'SelectedAccount': SelectedAccount, 'TrackedDomain': TrackedDomain, 'SelectedProfileId': SelectedProfileId }; getTypeName() => "SaveConfigurationData"; TypeContext? context = _ctx; } // @Route("/Sitefinity/Analytics/SaveConfiguration") class SaveConfigurationMessage implements IReturn, IConvertible, IPost { String? AccountName; String? AccountId; String? TrackedDomain; String? ProfileId; String? SiteId; String? WebPropertyId; String? ClientId; String? ClientSecret; bool? UseEquals; bool? PrependHost; SaveConfigurationMessage({this.AccountName,this.AccountId,this.TrackedDomain,this.ProfileId,this.SiteId,this.WebPropertyId,this.ClientId,this.ClientSecret,this.UseEquals,this.PrependHost}); SaveConfigurationMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountName = json['AccountName']; AccountId = json['AccountId']; TrackedDomain = json['TrackedDomain']; ProfileId = json['ProfileId']; SiteId = json['SiteId']; WebPropertyId = json['WebPropertyId']; ClientId = json['ClientId']; ClientSecret = json['ClientSecret']; UseEquals = json['UseEquals']; PrependHost = json['PrependHost']; return this; } Map toJson() => { 'AccountName': AccountName, 'AccountId': AccountId, 'TrackedDomain': TrackedDomain, 'ProfileId': ProfileId, 'SiteId': SiteId, 'WebPropertyId': WebPropertyId, 'ClientId': ClientId, 'ClientSecret': ClientSecret, 'UseEquals': UseEquals, 'PrependHost': PrependHost }; createResponse() => SaveConfigurationData(); getResponseTypeName() => "SaveConfigurationData"; getTypeName() => "SaveConfigurationMessage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'SaveConfigurationData': TypeInfo(TypeOf.Class, create:() => SaveConfigurationData()), 'SaveConfigurationMessage': TypeInfo(TypeOf.Class, create:() => SaveConfigurationMessage()), });