/* Options: Date: 2025-12-31 22:02:44 Version: 5.133 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cms.exitus-ict.nl //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetContents.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Content implements IConvertible { int? contentID; int? cType; int? fkTaalID; String? cNaam; String? cPaginaTitel; String? cSEOOmschrijving; String? cSEOURL; int? fkSEOFotoID; String? cFocusTerm; String? cTitel; String? cTekst; String? cIntro; int? fkThumbnailID; int? cOrder; DateTime? laatsteUpdate; String? laatsteUpdateDoor; int? cHeaderFoto; String? cHeaderTekst; String? cC2ATekst; String? cC2ATekstButtonLink; String? cC2ATekstButtonTekst; String? cIntroOverzicht; String? cIntroOverOns; String? cIntroKort; DateTime? cDatum; String? cAuteur; Content({this.contentID,this.cType,this.fkTaalID,this.cNaam,this.cPaginaTitel,this.cSEOOmschrijving,this.cSEOURL,this.fkSEOFotoID,this.cFocusTerm,this.cTitel,this.cTekst,this.cIntro,this.fkThumbnailID,this.cOrder,this.laatsteUpdate,this.laatsteUpdateDoor,this.cHeaderFoto,this.cHeaderTekst,this.cC2ATekst,this.cC2ATekstButtonLink,this.cC2ATekstButtonTekst,this.cIntroOverzicht,this.cIntroOverOns,this.cIntroKort,this.cDatum,this.cAuteur}); Content.fromJson(Map json) { fromMap(json); } fromMap(Map json) { contentID = json['contentID']; cType = json['cType']; fkTaalID = json['fkTaalID']; cNaam = json['cNaam']; cPaginaTitel = json['cPaginaTitel']; cSEOOmschrijving = json['cSEOOmschrijving']; cSEOURL = json['cSEOURL']; fkSEOFotoID = json['fkSEOFotoID']; cFocusTerm = json['cFocusTerm']; cTitel = json['cTitel']; cTekst = json['cTekst']; cIntro = json['cIntro']; fkThumbnailID = json['fkThumbnailID']; cOrder = json['cOrder']; laatsteUpdate = JsonConverters.fromJson(json['laatsteUpdate'],'DateTime',context!); laatsteUpdateDoor = json['laatsteUpdateDoor']; cHeaderFoto = json['cHeaderFoto']; cHeaderTekst = json['cHeaderTekst']; cC2ATekst = json['cC2ATekst']; cC2ATekstButtonLink = json['cC2ATekstButtonLink']; cC2ATekstButtonTekst = json['cC2ATekstButtonTekst']; cIntroOverzicht = json['cIntroOverzicht']; cIntroOverOns = json['cIntroOverOns']; cIntroKort = json['cIntroKort']; cDatum = JsonConverters.fromJson(json['cDatum'],'DateTime',context!); cAuteur = json['cAuteur']; return this; } Map toJson() => { 'contentID': contentID, 'cType': cType, 'fkTaalID': fkTaalID, 'cNaam': cNaam, 'cPaginaTitel': cPaginaTitel, 'cSEOOmschrijving': cSEOOmschrijving, 'cSEOURL': cSEOURL, 'fkSEOFotoID': fkSEOFotoID, 'cFocusTerm': cFocusTerm, 'cTitel': cTitel, 'cTekst': cTekst, 'cIntro': cIntro, 'fkThumbnailID': fkThumbnailID, 'cOrder': cOrder, 'laatsteUpdate': JsonConverters.toJson(laatsteUpdate,'DateTime',context!), 'laatsteUpdateDoor': laatsteUpdateDoor, 'cHeaderFoto': cHeaderFoto, 'cHeaderTekst': cHeaderTekst, 'cC2ATekst': cC2ATekst, 'cC2ATekstButtonLink': cC2ATekstButtonLink, 'cC2ATekstButtonTekst': cC2ATekstButtonTekst, 'cIntroOverzicht': cIntroOverzicht, 'cIntroOverOns': cIntroOverOns, 'cIntroKort': cIntroKort, 'cDatum': JsonConverters.toJson(cDatum,'DateTime',context!), 'cAuteur': cAuteur }; getTypeName() => "Content"; TypeContext? context = _ctx; } class GetContentsResponse implements IConvertible { List? results; ResponseStatus? responseStatus; GetContentsResponse({this.results,this.responseStatus}); GetContentsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { results = JsonConverters.fromJson(json['results'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'results': JsonConverters.toJson(results,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetContentsResponse"; TypeContext? context = _ctx; } // @Route("/content/list", "GET") class GetContents implements IReturn, IConvertible { GetContents(); GetContents.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetContentsResponse(); getResponseTypeName() => "GetContentsResponse"; getTypeName() => "GetContents"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'cms.exitus_ict.nl', types: { 'Content': TypeInfo(TypeOf.Class, create:() => Content()), 'GetContentsResponse': TypeInfo(TypeOf.Class, create:() => GetContentsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetContents': TypeInfo(TypeOf.Class, create:() => GetContents()), });