/* Options: Date: 2024-10-18 04:32:34 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetApplicationInfo.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ModuleInformation implements IConvertible { String? ModuleName; String? ModuleVersion; DateTime? ModuleDate; ModuleInformation({this.ModuleName,this.ModuleVersion,this.ModuleDate}); ModuleInformation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ModuleName = json['ModuleName']; ModuleVersion = json['ModuleVersion']; ModuleDate = JsonConverters.fromJson(json['ModuleDate'],'DateTime',context!); return this; } Map toJson() => { 'ModuleName': ModuleName, 'ModuleVersion': ModuleVersion, 'ModuleDate': JsonConverters.toJson(ModuleDate,'DateTime',context!) }; getTypeName() => "ModuleInformation"; TypeContext? context = _ctx; } class ApplicationInfo implements IConvertible { String? ApplicationName; String? Version; String? VersionGateway; String? Environment; String? MachineName; String? CustomerCode; String? CustomerBrandCode; String? DatabaseName; String? DatabaseVersion; String? DatabaseServer; String? UserName; String? UserLoginName; List? ModulesInformation; String? WebsiteIntranetUrl; bool? IDBOpties; String? OnPremisesUrl; String? OnLineUrl; bool? IsApiGateway; bool? HasCRMModuleActive; bool? HasExtranetModuleActive; bool? HasHuisstijlMOModuleActive; bool? HasDigitaalOndertekenenModuleActive; bool? HasDOVoorWordHuisstijl; bool? HasDOVoorWordRegistreren; bool? HasDOVoorExcelHuisstijl; bool? HasDOVoorExcelRegistreren; bool? HasDOVoorPowerPointHuisstijl; bool? HasDOVoorPowerPointRegistreren; bool? HasDOVoorOutlookHuisstijl; bool? HasDOVoorOutlookRegistreren; ApplicationInfo({this.ApplicationName,this.Version,this.VersionGateway,this.Environment,this.MachineName,this.CustomerCode,this.CustomerBrandCode,this.DatabaseName,this.DatabaseVersion,this.DatabaseServer,this.UserName,this.UserLoginName,this.ModulesInformation,this.WebsiteIntranetUrl,this.IDBOpties,this.OnPremisesUrl,this.OnLineUrl,this.IsApiGateway,this.HasCRMModuleActive,this.HasExtranetModuleActive,this.HasHuisstijlMOModuleActive,this.HasDigitaalOndertekenenModuleActive,this.HasDOVoorWordHuisstijl,this.HasDOVoorWordRegistreren,this.HasDOVoorExcelHuisstijl,this.HasDOVoorExcelRegistreren,this.HasDOVoorPowerPointHuisstijl,this.HasDOVoorPowerPointRegistreren,this.HasDOVoorOutlookHuisstijl,this.HasDOVoorOutlookRegistreren}); ApplicationInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApplicationName = json['ApplicationName']; Version = json['Version']; VersionGateway = json['VersionGateway']; Environment = json['Environment']; MachineName = json['MachineName']; CustomerCode = json['CustomerCode']; CustomerBrandCode = json['CustomerBrandCode']; DatabaseName = json['DatabaseName']; DatabaseVersion = json['DatabaseVersion']; DatabaseServer = json['DatabaseServer']; UserName = json['UserName']; UserLoginName = json['UserLoginName']; ModulesInformation = JsonConverters.fromJson(json['ModulesInformation'],'List',context!); WebsiteIntranetUrl = json['WebsiteIntranetUrl']; IDBOpties = json['IDBOpties']; OnPremisesUrl = json['OnPremisesUrl']; OnLineUrl = json['OnLineUrl']; IsApiGateway = json['IsApiGateway']; HasCRMModuleActive = json['HasCRMModuleActive']; HasExtranetModuleActive = json['HasExtranetModuleActive']; HasHuisstijlMOModuleActive = json['HasHuisstijlMOModuleActive']; HasDigitaalOndertekenenModuleActive = json['HasDigitaalOndertekenenModuleActive']; HasDOVoorWordHuisstijl = json['HasDOVoorWordHuisstijl']; HasDOVoorWordRegistreren = json['HasDOVoorWordRegistreren']; HasDOVoorExcelHuisstijl = json['HasDOVoorExcelHuisstijl']; HasDOVoorExcelRegistreren = json['HasDOVoorExcelRegistreren']; HasDOVoorPowerPointHuisstijl = json['HasDOVoorPowerPointHuisstijl']; HasDOVoorPowerPointRegistreren = json['HasDOVoorPowerPointRegistreren']; HasDOVoorOutlookHuisstijl = json['HasDOVoorOutlookHuisstijl']; HasDOVoorOutlookRegistreren = json['HasDOVoorOutlookRegistreren']; return this; } Map toJson() => { 'ApplicationName': ApplicationName, 'Version': Version, 'VersionGateway': VersionGateway, 'Environment': Environment, 'MachineName': MachineName, 'CustomerCode': CustomerCode, 'CustomerBrandCode': CustomerBrandCode, 'DatabaseName': DatabaseName, 'DatabaseVersion': DatabaseVersion, 'DatabaseServer': DatabaseServer, 'UserName': UserName, 'UserLoginName': UserLoginName, 'ModulesInformation': JsonConverters.toJson(ModulesInformation,'List',context!), 'WebsiteIntranetUrl': WebsiteIntranetUrl, 'IDBOpties': IDBOpties, 'OnPremisesUrl': OnPremisesUrl, 'OnLineUrl': OnLineUrl, 'IsApiGateway': IsApiGateway, 'HasCRMModuleActive': HasCRMModuleActive, 'HasExtranetModuleActive': HasExtranetModuleActive, 'HasHuisstijlMOModuleActive': HasHuisstijlMOModuleActive, 'HasDigitaalOndertekenenModuleActive': HasDigitaalOndertekenenModuleActive, 'HasDOVoorWordHuisstijl': HasDOVoorWordHuisstijl, 'HasDOVoorWordRegistreren': HasDOVoorWordRegistreren, 'HasDOVoorExcelHuisstijl': HasDOVoorExcelHuisstijl, 'HasDOVoorExcelRegistreren': HasDOVoorExcelRegistreren, 'HasDOVoorPowerPointHuisstijl': HasDOVoorPowerPointHuisstijl, 'HasDOVoorPowerPointRegistreren': HasDOVoorPowerPointRegistreren, 'HasDOVoorOutlookHuisstijl': HasDOVoorOutlookHuisstijl, 'HasDOVoorOutlookRegistreren': HasDOVoorOutlookRegistreren }; getTypeName() => "ApplicationInfo"; TypeContext? context = _ctx; } class GetApplicationInfo implements IReturn, IConvertible { bool? IncludeModules; bool? IncludeOfficeAddins; GetApplicationInfo({this.IncludeModules,this.IncludeOfficeAddins}); GetApplicationInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IncludeModules = json['IncludeModules']; IncludeOfficeAddins = json['IncludeOfficeAddins']; return this; } Map toJson() => { 'IncludeModules': IncludeModules, 'IncludeOfficeAddins': IncludeOfficeAddins }; createResponse() => ApplicationInfo(); getResponseTypeName() => "ApplicationInfo"; getTypeName() => "GetApplicationInfo"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'ModuleInformation': TypeInfo(TypeOf.Class, create:() => ModuleInformation()), 'ApplicationInfo': TypeInfo(TypeOf.Class, create:() => ApplicationInfo()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetApplicationInfo': TypeInfo(TypeOf.Class, create:() => GetApplicationInfo()), });