""" Options: Date: 2024-12-29 04:15:16 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: SectionAvailableForUnauthenticatedPersonRequest.* #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 SectionResponse: response_status: Optional[ResponseStatus] = None sec_u_u_i_d: Optional[str] = None course_name: Optional[str] = None section_code: Optional[str] = None course_title: Optional[str] = None course_short_title: Optional[str] = None course_description: Optional[str] = None crosslist_description: Optional[str] = None crosslist_course_name: Optional[str] = None location_long_name: Optional[str] = None room: Optional[str] = None instructors: Optional[List[InstructorResponse]] = None required_documents: Optional[List[DocumentResponse]] = None start_date: Optional[datetime.datetime] = None end_date: Optional[datetime.datetime] = None first_meeting_date: Optional[datetime.datetime] = None last_meeting_date: Optional[datetime.datetime] = None meeting_days: Optional[str] = None start_times: Optional[List[str]] = None end_times: Optional[List[str]] = None is_online_only: bool = False is_weekend: bool = False is_weekday: bool = False is_evening: bool = False is_waitlist: bool = False has_special_requirements: bool = False special_requirements: Optional[str] = None is_unlisted: bool = False credit_amounts: Optional[List[Decimal]] = None audit_amounts: Optional[List[Decimal]] = None audits_short_name: Optional[str] = None audits_long_name: Optional[str] = None credits_short_name: Optional[str] = None credits_long_name: Optional[str] = None distance_ed_materials: Optional[str] = None prerequisites: Optional[str] = None corequisites: Optional[str] = None capacity: Optional[int] = None flat_fee_amount: Optional[Decimal] = None additional_fee_amount: Optional[Decimal] = None registered_students: int = 0 three_credit_plus: int = 0 two_credit: int = 0 one_credit: int = 0 three_audit_plus: int = 0 two_audit: int = 0 one_audit: int = 0 crosslist_registered_students: int = 0 grades_received: int = 0 crosslist_grades_received: int = 0 registration_start_date: Optional[datetime.datetime] = None registration_end_date: Optional[datetime.datetime] = None add_start_date: Optional[datetime.datetime] = None add_end_date: Optional[datetime.datetime] = None drop_start_date: Optional[datetime.datetime] = None drop_end_date: Optional[datetime.datetime] = None grading_end_date: Optional[datetime.datetime] = None term: Optional[str] = None reporting_term: Optional[str] = None reporting_year: int = 0 current_status: Optional[str] = None added_by: Optional[str] = None added_date: Optional[datetime.datetime] = None changed_by: Optional[str] = None changed_date: Optional[datetime.datetime] = None timestamp: datetime.datetime = datetime.datetime(1, 1, 1) @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 # @Route("/Sections/AvailableToUnauthenticatedPerson/{uuid}/Term/{reporting_term}/Section/{secUUID}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SectionAvailableForUnauthenticatedPersonRequest(IReturn[SectionAvailableForStudentResponse]): transaction_uuid: Optional[str] = None uuid: Optional[str] = None sec_u_u_i_d: Optional[str] = None reporting_term: Optional[str] = None