""" Options: Date: 2024-12-29 04:16:10 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: DirectorySettingsAndActivePersonLookupRequest.* #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 DirectoryPersonLookupResponse: directory_uuid: Optional[str] = None name: Optional[str] = None is_active: bool = False @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DirectoryResponse: directory_uuid: Optional[str] = None waiver: Optional[str] = None bday: Optional[datetime.datetime] = None spouse_bday: Optional[datetime.datetime] = None spouse_name: Optional[str] = None wedding_date: Optional[datetime.datetime] = None kids: Optional[str] = None home_country: Optional[str] = None quote: Optional[str] = None bio: Optional[str] = None interests: Optional[str] = None category: Optional[str] = None field_of_work: Optional[str] = None church: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DirectoryShareSettingsResponse: directory_uuid: Optional[str] = None share_full_name: bool = False share_bday: bool = False share_home_phone: bool = False share_cell_phone: bool = False share_email: bool = False share_address: bool = False share_quote: bool = False share_bio: bool = False share_interests: bool = False share_home_country: bool = False share_program: bool = False share_picture: bool = False share_spouse_name: bool = False share_spouse_bday: bool = False share_wedding_date: bool = False share_kids: bool = False share_field_of_work: bool = False share_church: bool = False @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DirectorySettingsAndPersonLookupResponse: response_status: Optional[ResponseStatus] = None regent_id: int = 0 uuid: Optional[str] = None directory_settings: Optional[DirectoryResponse] = None directory_share_settings: Optional[DirectoryShareSettingsResponse] = None person_lookup: Optional[List[DirectoryPersonLookupResponse]] = None # @Route("/Directory/Settings/{uuid}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DirectorySettingsAndActivePersonLookupRequest(IReturn[DirectorySettingsAndPersonLookupResponse]): uuid: Optional[str] = None