/* Options: Date: 2024-10-18 04:26:24 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: GetRegistrationprofile.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class Registrationprofile implements IConvertible { String? ID; String? Name; String? Hint; int? Order; bool? RegisterAutomatically; bool? RegisterInBackground; String? ThumbnailUrl; String? ProgCode; int? VersionControlType; int? WOPlaceLogo; String? WOPrinterBins; bool? SelectAllFiles; Registrationprofile({this.ID,this.Name,this.Hint,this.Order,this.RegisterAutomatically,this.RegisterInBackground,this.ThumbnailUrl,this.ProgCode,this.VersionControlType,this.WOPlaceLogo,this.WOPrinterBins,this.SelectAllFiles}); Registrationprofile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Name = json['Name']; Hint = json['Hint']; Order = json['Order']; RegisterAutomatically = json['RegisterAutomatically']; RegisterInBackground = json['RegisterInBackground']; ThumbnailUrl = json['ThumbnailUrl']; ProgCode = json['ProgCode']; VersionControlType = json['VersionControlType']; WOPlaceLogo = json['WOPlaceLogo']; WOPrinterBins = json['WOPrinterBins']; SelectAllFiles = json['SelectAllFiles']; return this; } Map toJson() => { 'ID': ID, 'Name': Name, 'Hint': Hint, 'Order': Order, 'RegisterAutomatically': RegisterAutomatically, 'RegisterInBackground': RegisterInBackground, 'ThumbnailUrl': ThumbnailUrl, 'ProgCode': ProgCode, 'VersionControlType': VersionControlType, 'WOPlaceLogo': WOPlaceLogo, 'WOPrinterBins': WOPrinterBins, 'SelectAllFiles': SelectAllFiles }; getTypeName() => "Registrationprofile"; TypeContext? context = _ctx; } // @Route("/registrationprofiles/{ID}", "GET") class GetRegistrationprofile implements IReturn, IConvertible { String? ID; GetRegistrationprofile({this.ID}); GetRegistrationprofile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; return this; } Map toJson() => { 'ID': ID }; createResponse() => Registrationprofile(); getResponseTypeName() => "Registrationprofile"; getTypeName() => "GetRegistrationprofile"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'Registrationprofile': TypeInfo(TypeOf.Class, create:() => Registrationprofile()), 'GetRegistrationprofile': TypeInfo(TypeOf.Class, create:() => GetRegistrationprofile()), });