/* Options: Date: 2024-11-28 09:53:01 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: GetProjectsCount.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; 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; } // @Route("/projects/count", "GET POST") class GetProjectsCount implements IReturn, IConvertible { int? PageSize; int? PageNumber; String? SearchCriteria; bool? Active; String? RegistrationProfileFieldID; List? DependableFields; GetProjectsCount({this.PageSize,this.PageNumber,this.SearchCriteria,this.Active,this.RegistrationProfileFieldID,this.DependableFields}); GetProjectsCount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PageSize = json['PageSize']; PageNumber = json['PageNumber']; SearchCriteria = json['SearchCriteria']; Active = json['Active']; RegistrationProfileFieldID = json['RegistrationProfileFieldID']; DependableFields = JsonConverters.fromJson(json['DependableFields'],'List',context!); return this; } Map toJson() => { 'PageSize': PageSize, 'PageNumber': PageNumber, 'SearchCriteria': SearchCriteria, 'Active': Active, 'RegistrationProfileFieldID': RegistrationProfileFieldID, 'DependableFields': JsonConverters.toJson(DependableFields,'List',context!) }; createResponse() => 0; getResponseTypeName() => "int"; getTypeName() => "GetProjectsCount"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'RegistrationProfileFieldValue': TypeInfo(TypeOf.Class, create:() => RegistrationProfileFieldValue()), 'GetProjectsCount': TypeInfo(TypeOf.Class, create:() => GetProjectsCount()), 'List': TypeInfo(TypeOf.Class, create:() => []), });