/* Options: Date: 2026-06-13 13:39:23 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://riskstoreng-dev.nephila.com/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetMetaRiskRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class MetaRiskIdentifier implements IConvertible { int? id; String? name; MetaRiskIdentifier({this.id,this.name}); MetaRiskIdentifier.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; return this; } Map toJson() => { 'id': id, 'name': name }; getTypeName() => "MetaRiskIdentifier"; TypeContext? context = _ctx; } class MetaRiskGroupMapping implements IConvertible { int? id; String? name; List? metaRisks; MetaRiskGroupMapping({this.id,this.name,this.metaRisks}); MetaRiskGroupMapping.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; metaRisks = JsonConverters.fromJson(json['metaRisks'],'List',context!); return this; } Map toJson() => { 'id': id, 'name': name, 'metaRisks': JsonConverters.toJson(metaRisks,'List',context!) }; getTypeName() => "MetaRiskGroupMapping"; TypeContext? context = _ctx; } class GetMetaRiskResponse implements IConvertible { List? metaRisks; List? metaRiskGroups; GetMetaRiskResponse({this.metaRisks,this.metaRiskGroups}); GetMetaRiskResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { metaRisks = JsonConverters.fromJson(json['metaRisks'],'List',context!); metaRiskGroups = JsonConverters.fromJson(json['metaRiskGroups'],'List',context!); return this; } Map toJson() => { 'metaRisks': JsonConverters.toJson(metaRisks,'List',context!), 'metaRiskGroups': JsonConverters.toJson(metaRiskGroups,'List',context!) }; getTypeName() => "GetMetaRiskResponse"; TypeContext? context = _ctx; } // @Route("/riskstore/metarisk", "GET") class GetMetaRiskRequest implements IReturn, IGet, IConvertible { GetMetaRiskRequest(); GetMetaRiskRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetMetaRiskResponse(); getResponseTypeName() => "GetMetaRiskResponse"; getTypeName() => "GetMetaRiskRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: { 'MetaRiskIdentifier': TypeInfo(TypeOf.Class, create:() => MetaRiskIdentifier()), 'MetaRiskGroupMapping': TypeInfo(TypeOf.Class, create:() => MetaRiskGroupMapping()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetMetaRiskResponse': TypeInfo(TypeOf.Class, create:() => GetMetaRiskResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetMetaRiskRequest': TypeInfo(TypeOf.Class, create:() => GetMetaRiskRequest()), });