/* Options: Date: 2024-10-18 04:17: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: GetUserInformation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; 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()), });