""" Options: Date: 2024-12-29 04:15:04 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: SectionsAvailableForUnauthenticatedPersonRequest.* #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 SectionAvailableForStudentResponse(SectionResponse): uuid: Optional[str] = None student_section_u_u_i_d: Optional[str] = None registered_amount: Optional[Decimal] = None is_full: bool = False is_too_late: bool = False is_too_early: bool = False is_audit: bool = False is_selected: bool = False is_registered: bool = False is_provisional: bool = False is_missing_requisites: bool = False is_completed: bool = False maximum_credit_hours: Optional[Decimal] = None maximum_audit_hours: Optional[Decimal] = None can_retake: bool = False is_credit_restricted: bool = False is_audit_restricted: bool = False is_oncampus_restricted_for_change: bool = False is_online_restricted_for_change: bool = False can_be_provisional: bool = False can_be_dropped: bool = False rule_messages: Optional[List[str]] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SectionsAvailableForStudentResponse: response_status: Optional[ResponseStatus] = None regent_id: int = 0 uuid: Optional[str] = None reporting_term: Optional[str] = None notify_of_academic_probation: bool = False sections_available: Optional[List[SectionAvailableForStudentResponse]] = None messages: Optional[List[str]] = None # @Route("/Sections/AvailableToUnauthenticatedPerson/{uuid}/Term/{reporting_term}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SectionsAvailableForUnauthenticatedPersonRequest(IReturn[SectionsAvailableForStudentResponse]): uuid: Optional[str] = None transaction_uuid: Optional[str] = None reporting_term: Optional[str] = None online_only: bool = False oncampus_only: bool = False is_admin: bool = False