/* Options: Date: 2024-10-18 04:34:13 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: QuickLookup.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegistrationProfileFieldValue implements IConvertible { String? DocumentFieldID; String? Value; String? ShadowValue; bool? IsModifiedByUser; RegistrationProfileFieldValue({this.DocumentFieldID,this.Value,this.ShadowValue,this.IsModifiedByUser}); RegistrationProfileFieldValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentFieldID = json['DocumentFieldID']; Value = json['Value']; ShadowValue = json['ShadowValue']; IsModifiedByUser = json['IsModifiedByUser']; return this; } Map toJson() => { 'DocumentFieldID': DocumentFieldID, 'Value': Value, 'ShadowValue': ShadowValue, 'IsModifiedByUser': IsModifiedByUser }; getTypeName() => "RegistrationProfileFieldValue"; TypeContext? context = _ctx; } class QuickAddOption implements IConvertible { String? Name; String? EntityType; QuickAddOption({this.Name,this.EntityType}); QuickAddOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; EntityType = json['EntityType']; return this; } Map toJson() => { 'Name': Name, 'EntityType': EntityType }; getTypeName() => "QuickAddOption"; TypeContext? context = _ctx; } abstract class IBaseQuickLookupResponse { int? NumberOfAllRecords; List? QuickAddOptions; } class QuickLookupResponse implements IBaseQuickLookupResponse, IConvertible { int? NumberOfAllRecords; List>? Values; List? QuickAddOptions; QuickLookupResponse({this.NumberOfAllRecords,this.Values,this.QuickAddOptions}); QuickLookupResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NumberOfAllRecords = json['NumberOfAllRecords']; Values = JsonConverters.fromJson(json['Values'],'List>',context!); QuickAddOptions = JsonConverters.fromJson(json['QuickAddOptions'],'List',context!); return this; } Map toJson() => { 'NumberOfAllRecords': NumberOfAllRecords, 'Values': JsonConverters.toJson(Values,'List>',context!), 'QuickAddOptions': JsonConverters.toJson(QuickAddOptions,'List',context!) }; getTypeName() => "QuickLookupResponse"; TypeContext? context = _ctx; } class QuickLookup implements IReturn, IConvertible { String? DocumentID; String? DocumentFieldID; String? RegistrationProfileFieldID; String? LookupValue; List? DependableFields; bool? ApplyOptionalFilters; QuickLookup({this.DocumentID,this.DocumentFieldID,this.RegistrationProfileFieldID,this.LookupValue,this.DependableFields,this.ApplyOptionalFilters}); QuickLookup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentID = json['DocumentID']; DocumentFieldID = json['DocumentFieldID']; RegistrationProfileFieldID = json['RegistrationProfileFieldID']; LookupValue = json['LookupValue']; DependableFields = JsonConverters.fromJson(json['DependableFields'],'List',context!); ApplyOptionalFilters = json['ApplyOptionalFilters']; return this; } Map toJson() => { 'DocumentID': DocumentID, 'DocumentFieldID': DocumentFieldID, 'RegistrationProfileFieldID': RegistrationProfileFieldID, 'LookupValue': LookupValue, 'DependableFields': JsonConverters.toJson(DependableFields,'List',context!), 'ApplyOptionalFilters': ApplyOptionalFilters }; createResponse() => QuickLookupResponse(); getResponseTypeName() => "QuickLookupResponse"; getTypeName() => "QuickLookup"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'RegistrationProfileFieldValue': TypeInfo(TypeOf.Class, create:() => RegistrationProfileFieldValue()), 'QuickAddOption': TypeInfo(TypeOf.Class, create:() => QuickAddOption()), 'IBaseQuickLookupResponse': TypeInfo(TypeOf.Interface), 'QuickLookupResponse': TypeInfo(TypeOf.Class, create:() => QuickLookupResponse()), 'List>': TypeInfo(TypeOf.Class, create:() => >[]), 'SerializableKeyValuePair': TypeInfo(TypeOf.Class, create:() => SerializableKeyValuePair()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QuickLookup': TypeInfo(TypeOf.Class, create:() => QuickLookup()), 'List': TypeInfo(TypeOf.Class, create:() => []), });