""" Options: Date: 2024-12-29 02:23:50 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: ProvisionalRegistrationsRequest.* #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 RegistrationDocumentResponse: uuid: Optional[str] = None regent_id: int = 0 first_name: Optional[str] = None last_name: Optional[str] = None gender: Optional[str] = None email: Optional[str] = None program: Optional[str] = None concentration: Optional[str] = None section_uuid: Optional[str] = None course_name: Optional[str] = None course_title: Optional[str] = None reporting_term: Optional[str] = None document_code: Optional[str] = None document_json: Optional[str] = None document_name: Optional[str] = None document_description: Optional[str] = None added_date: Optional[datetime.datetime] = None changed_date: Optional[datetime.datetime] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ProvisionalRegistrationResponse: uuid: Optional[str] = None regent_id: Optional[int] = None student_name: Optional[str] = None email: Optional[str] = None section_uuid: Optional[str] = None student_section_uuid: Optional[str] = None course_name: Optional[str] = None section_code: Optional[str] = None title: Optional[str] = None term: Optional[str] = None amount: Decimal = decimal.Decimal(0) is_audit: bool = False is_waitlist: bool = False is_missing_requisites: bool = False is_other_restriction: bool = False documents: Optional[List[RegistrationDocumentResponse]] = None requested_date: datetime.datetime = datetime.datetime(1, 1, 1) @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ProvisionalRegistrationsResponse: response_status: Optional[ResponseStatus] = None provisional_registrations: Optional[List[ProvisionalRegistrationResponse]] = None # @Route("/Registration/Provisional", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ProvisionalRegistrationsRequest(IReturn[ProvisionalRegistrationsResponse]): reporting_term: Optional[str] = None authorizing_uuid: Optional[str] = None