/* Options: Date: 2024-10-18 04:18:26 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: GetRights.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RightsInformation implements IConvertible { Hashtable? Rights; RightsInformation({this.Rights}); RightsInformation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Rights = JsonConverters.fromJson(json['Rights'],'Hashtable',context!); return this; } Map toJson() => { 'Rights': JsonConverters.toJson(Rights,'Hashtable',context!) }; getTypeName() => "RightsInformation"; TypeContext? context = _ctx; } /** * Get rights for application or object */ class GetRights implements IReturn, IConvertible { List? Rights; String? EntityName; String? ID; GetRights({this.Rights,this.EntityName,this.ID}); GetRights.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Rights = JsonConverters.fromJson(json['Rights'],'List',context!); EntityName = json['EntityName']; ID = json['ID']; return this; } Map toJson() => { 'Rights': JsonConverters.toJson(Rights,'List',context!), 'EntityName': EntityName, 'ID': ID }; createResponse() => RightsInformation(); getResponseTypeName() => "RightsInformation"; getTypeName() => "GetRights"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'RightsInformation': TypeInfo(TypeOf.Class, create:() => RightsInformation()), 'Hashtable': TypeInfo(TypeOf.Class, create:() => Hashtable()), 'GetRights': TypeInfo(TypeOf.Class, create:() => GetRights()), });