/* Options: Date: 2025-07-04 11:00:18 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://doapigw.baasbv.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetEntityIdentifier.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CommonEntityIdentifier implements IConvertible { String? ID; String? DisplayName; String? EntityName; CommonEntityIdentifier({this.ID,this.DisplayName,this.EntityName}); CommonEntityIdentifier.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; DisplayName = json['DisplayName']; EntityName = json['EntityName']; return this; } Map toJson() => { 'ID': ID, 'DisplayName': DisplayName, 'EntityName': EntityName }; getTypeName() => "CommonEntityIdentifier"; TypeContext? context = _ctx; } /** * Returns the identifier information of an entity. */ // @Route("/entities/{EntityName}/{EntityID}", "GET") // @Api(Description="Returns the identifier information of an entity.") class GetEntityIdentifier implements IReturn, IConvertible, IGet { /** * ID of the entity */ // @ApiMember(Description="ID of the entity", IsRequired=true) String? EntityID; /** * Name of the entity */ // @ApiMember(Description="Name of the entity", IsRequired=true) String? EntityName; GetEntityIdentifier({this.EntityID,this.EntityName}); GetEntityIdentifier.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EntityID = json['EntityID']; EntityName = json['EntityName']; return this; } Map toJson() => { 'EntityID': EntityID, 'EntityName': EntityName }; createResponse() => CommonEntityIdentifier(); getResponseTypeName() => "CommonEntityIdentifier"; getTypeName() => "GetEntityIdentifier"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: { 'CommonEntityIdentifier': TypeInfo(TypeOf.Class, create:() => CommonEntityIdentifier()), 'GetEntityIdentifier': TypeInfo(TypeOf.Class, create:() => GetEntityIdentifier()), });