/* Options: Date: 2026-03-31 20:20:05 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test-dogw.klokgroep.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: IDB_4PSBC_Import_Persoon.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class Header implements IConvertible { /** * Inhoud van het bericht */ // @ApiMember(Description="Inhoud van het bericht") String? Contains; /** * Datum aanmaak bericht */ // @ApiMember(Description="Datum aanmaak bericht") String? Date; /** * ID voor het bericht */ // @ApiMember(Description="ID voor het bericht") String? MessageID; /** * Verzender van het bericht */ // @ApiMember(Description="Verzender van het bericht") String? Sender; Header({this.Contains,this.Date,this.MessageID,this.Sender}); Header.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Contains = json['Contains']; Date = json['Date']; MessageID = json['MessageID']; Sender = json['Sender']; return this; } Map toJson() => { 'Contains': Contains, 'Date': Date, 'MessageID': MessageID, 'Sender': Sender }; getTypeName() => "Header"; TypeContext? context = _ctx; } class Data_Person implements IConvertible { String? systemId; String? digiOfficeId; String? companyName4ps; String? no; String? firstName; String? middleName; String? surname; String? gender; String? initials; String? nameAbbreviation; String? title; String? titleBehindTheName; String? phoneNo; String? mobilePhoneNo; String? eMail; String? visitAddress; String? visitAddress2; String? visitAddressPostCode; String? visitAddressCity; String? visitAddressCountryRegionId; String? companyId; bool? blocked; String? cocCity; Data_Person({this.systemId,this.digiOfficeId,this.companyName4ps,this.no,this.firstName,this.middleName,this.surname,this.gender,this.initials,this.nameAbbreviation,this.title,this.titleBehindTheName,this.phoneNo,this.mobilePhoneNo,this.eMail,this.visitAddress,this.visitAddress2,this.visitAddressPostCode,this.visitAddressCity,this.visitAddressCountryRegionId,this.companyId,this.blocked,this.cocCity}); Data_Person.fromJson(Map json) { fromMap(json); } fromMap(Map json) { systemId = json['systemId']; digiOfficeId = json['digiOfficeId']; companyName4ps = json['companyName4ps']; no = json['no']; firstName = json['firstName']; middleName = json['middleName']; surname = json['surname']; gender = json['gender']; initials = json['initials']; nameAbbreviation = json['nameAbbreviation']; title = json['title']; titleBehindTheName = json['titleBehindTheName']; phoneNo = json['phoneNo']; mobilePhoneNo = json['mobilePhoneNo']; eMail = json['eMail']; visitAddress = json['visitAddress']; visitAddress2 = json['visitAddress2']; visitAddressPostCode = json['visitAddressPostCode']; visitAddressCity = json['visitAddressCity']; visitAddressCountryRegionId = json['visitAddressCountryRegionId']; companyId = json['companyId']; blocked = json['blocked']; cocCity = json['cocCity']; return this; } Map toJson() => { 'systemId': systemId, 'digiOfficeId': digiOfficeId, 'companyName4ps': companyName4ps, 'no': no, 'firstName': firstName, 'middleName': middleName, 'surname': surname, 'gender': gender, 'initials': initials, 'nameAbbreviation': nameAbbreviation, 'title': title, 'titleBehindTheName': titleBehindTheName, 'phoneNo': phoneNo, 'mobilePhoneNo': mobilePhoneNo, 'eMail': eMail, 'visitAddress': visitAddress, 'visitAddress2': visitAddress2, 'visitAddressPostCode': visitAddressPostCode, 'visitAddressCity': visitAddressCity, 'visitAddressCountryRegionId': visitAddressCountryRegionId, 'companyId': companyId, 'blocked': blocked, 'cocCity': cocCity }; getTypeName() => "Data_Person"; TypeContext? context = _ctx; } class Response_Person implements IConvertible { /** * Reponse status (Ok/Error) */ // @ApiMember(Description="Reponse status (Ok/Error)", IsRequired=true) String? Status; /** * Errors summary */ // @ApiMember(Description="Errors summary") String? Errors; /** * ID of the person in DigiOffice */ // @ApiMember(Description="ID of the person in DigiOffice", IsRequired=true) String? DigiOfficePersoonID; /** * GlobalID (digiOfficeId) of the person in DigiOffice */ // @ApiMember(Description="GlobalID (digiOfficeId) of the person in DigiOffice", IsRequired=true) String? DigiOfficeGlobalID; Response_Person({this.Status,this.Errors,this.DigiOfficePersoonID,this.DigiOfficeGlobalID}); Response_Person.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Status = json['Status']; Errors = json['Errors']; DigiOfficePersoonID = json['DigiOfficePersoonID']; DigiOfficeGlobalID = json['DigiOfficeGlobalID']; return this; } Map toJson() => { 'Status': Status, 'Errors': Errors, 'DigiOfficePersoonID': DigiOfficePersoonID, 'DigiOfficeGlobalID': DigiOfficeGlobalID }; getTypeName() => "Response_Person"; TypeContext? context = _ctx; } class IDB_4PSBC_Response_Persoon implements IConvertible { /** * Header of the response */ // @ApiMember(Description="Header of the response", IsRequired=true) Header? Header; /** * Response body */ // @ApiMember(Description="Response body", IsRequired=true) Response_Person? Response; IDB_4PSBC_Response_Persoon({this.Header,this.Response}); IDB_4PSBC_Response_Persoon.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Header = JsonConverters.fromJson(json['Header'],'Header',context!); Response = JsonConverters.fromJson(json['Response'],'Response_Person',context!); return this; } Map toJson() => { 'Header': JsonConverters.toJson(Header,'Header',context!), 'Response': JsonConverters.toJson(Response,'Response_Person',context!) }; getTypeName() => "IDB_4PSBC_Response_Persoon"; TypeContext? context = _ctx; } /** * Import persoon record vanuit 4PS */ // @Route("/4PSBC/ImportPersoon", "POST") // @Api(Description="Import persoon record vanuit 4PS") class IDB_4PSBC_Import_Persoon implements IReturn, IConvertible, IPost { /** * Message header */ // @ApiMember(Description="Message header", IsRequired=true) Header? Header; /** * Message data */ // @ApiMember(Description="Message data", IsRequired=true) Data_Person? Data; IDB_4PSBC_Import_Persoon({this.Header,this.Data}); IDB_4PSBC_Import_Persoon.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Header = JsonConverters.fromJson(json['Header'],'Header',context!); Data = JsonConverters.fromJson(json['Data'],'Data_Person',context!); return this; } Map toJson() => { 'Header': JsonConverters.toJson(Header,'Header',context!), 'Data': JsonConverters.toJson(Data,'Data_Person',context!) }; createResponse() => IDB_4PSBC_Response_Persoon(); getResponseTypeName() => "IDB_4PSBC_Response_Persoon"; getTypeName() => "IDB_4PSBC_Import_Persoon"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test_dogw.klokgroep.nl', types: { 'Header': TypeInfo(TypeOf.Class, create:() => Header()), 'Data_Person': TypeInfo(TypeOf.Class, create:() => Data_Person()), 'Response_Person': TypeInfo(TypeOf.Class, create:() => Response_Person()), 'IDB_4PSBC_Response_Persoon': TypeInfo(TypeOf.Class, create:() => IDB_4PSBC_Response_Persoon()), 'IDB_4PSBC_Import_Persoon': TypeInfo(TypeOf.Class, create:() => IDB_4PSBC_Import_Persoon()), });