/* Options: Date: 2024-11-28 10:50:18 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: GetUserInformation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UserInformation implements IConvertible { int? ID; String? DisplayName; UserInformation({this.ID,this.DisplayName}); UserInformation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; DisplayName = json['DisplayName']; return this; } Map toJson() => { 'ID': ID, 'DisplayName': DisplayName }; getTypeName() => "UserInformation"; TypeContext? context = _ctx; } // @Route("/users/me/info") class GetUserInformation implements IReturn, IConvertible { GetUserInformation(); GetUserInformation.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => UserInformation(); getResponseTypeName() => "UserInformation"; getTypeName() => "GetUserInformation"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'UserInformation': TypeInfo(TypeOf.Class, create:() => UserInformation()), 'GetUserInformation': TypeInfo(TypeOf.Class, create:() => GetUserInformation()), });