/* Options: Date: 2024-10-18 04:32:40 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: GetEntitySummary.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class EntitySummaryResponse implements IConvertible { String? Summary; EntitySummaryResponse({this.Summary}); EntitySummaryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Summary = json['Summary']; return this; } Map toJson() => { 'Summary': Summary }; getTypeName() => "EntitySummaryResponse"; TypeContext? context = _ctx; } /** * Get the summary of an entity. */ // @Route("/entities/{EntityName}/{EntityID}/summary", "GET") // @Api(Description="Get the summary of an entity.") class GetEntitySummary implements IReturn, IConvertible { /** * 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; GetEntitySummary({this.EntityID,this.EntityName}); GetEntitySummary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EntityID = json['EntityID']; EntityName = json['EntityName']; return this; } Map toJson() => { 'EntityID': EntityID, 'EntityName': EntityName }; createResponse() => EntitySummaryResponse(); getResponseTypeName() => "EntitySummaryResponse"; getTypeName() => "GetEntitySummary"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'EntitySummaryResponse': TypeInfo(TypeOf.Class, create:() => EntitySummaryResponse()), 'GetEntitySummary': TypeInfo(TypeOf.Class, create:() => GetEntitySummary()), });