""" Options: Date: 2024-12-29 03:36:48 Version: 8.22 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://data.regent-college.edu #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: SyncBioRequest.* #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 SyncBioAndAddressResponse: response_status: Optional[ResponseStatus] = None successfull: bool = False # @Route("/Sync/Bio", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SyncBioRequest(IReturn[SyncBioAndAddressResponse]): regent_id: int = 0 first_name: Optional[str] = None last_name: Optional[str] = None middle_name: Optional[str] = None preferred_name: Optional[str] = None birth_name: Optional[str] = None prefix: Optional[str] = None current_occupation: Optional[str] = None dob: Optional[datetime.datetime] = None deceased_date: Optional[datetime.datetime] = None gender: Optional[str] = None marital_status: Optional[str] = None citizenship: Optional[str] = None citizenship_other: Optional[str] = None permanent_resident: Optional[str] = None queued_by_username: Optional[str] = None queued_by__c_r_m: bool = False queued_by__r_e: bool = False queued_by__r_e_g_i_s: bool = False queued_by__sugar: bool = False