""" Options: Date: 2024-11-28 10:49: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: ProcessQuickLookup.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class QuickAddOption: name: Optional[str] = None entity_type: Optional[str] = None class IBaseQuickLookupResponse: number_of_all_records: int = 0 quick_add_options: Optional[List[QuickAddOption]] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class QuickLookupResponse(IBaseQuickLookupResponse): number_of_all_records: int = 0 values: Optional[List[SerializableKeyValuePair[str, str]]] = None quick_add_options: Optional[List[QuickAddOption]] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class QuickLookup(IReturn[QuickLookupResponse]): document_i_d: Optional[str] = None document_field_i_d: Optional[str] = None registration_profile_field_i_d: Optional[str] = None lookup_value: Optional[str] = None dependable_fields: Optional[List[RegistrationProfileFieldValue]] = None apply_optional_filters: bool = False @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ProcessQuickLookup(QuickLookup, IReturn[QuickLookupResponse]): entity_context: Optional[str] = None