/* Options: Date: 2024-12-29 02:04:29 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SectionRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public message: string; // @DataMember(Order=3) public stackTrace: string; // @DataMember(Order=4) public errors: ResponseError[]; // @DataMember(Order=5) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class InstructorResponse { public responseStatus: ResponseStatus; public regent_id: number; public regent_login: string; public preferred_name: string; public first_name: string; public last_name: string; public full_name: string; public email: string; public image_base64: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class DocumentResponse { public code: string; public document_name: string; public document_description: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SectionResponse { public responseStatus: ResponseStatus; public secUUID: string; public course_name: string; public section_code: string; public course_title: string; public course_short_title: string; public course_description: string; public crosslist_description: string; public crosslist_course_name: string; public location_long_name: string; public room: string; public instructors: InstructorResponse[]; public required_documents: DocumentResponse[]; public start_date?: string; public end_date?: string; public first_meeting_date?: string; public last_meeting_date?: string; public meeting_days: string; public start_times: string[]; public end_times: string[]; public is_online_only: boolean; public is_weekend: boolean; public is_weekday: boolean; public is_evening: boolean; public is_waitlist: boolean; public has_special_requirements: boolean; public special_requirements: string; public is_unlisted: boolean; public credit_amounts: number[]; public audit_amounts: number[]; public audits_short_name: string; public audits_long_name: string; public credits_short_name: string; public credits_long_name: string; public distance_ed_materials: string; public prerequisites: string; public corequisites: string; public capacity?: number; public flat_fee_amount?: number; public additional_fee_amount?: number; public registered_students: number; public three_credit_plus: number; public two_credit: number; public one_credit: number; public three_audit_plus: number; public two_audit: number; public one_audit: number; public crosslist_registered_students: number; public grades_received: number; public crosslist_grades_received: number; public registration_start_date?: string; public registration_end_date?: string; public add_start_date?: string; public add_end_date?: string; public drop_start_date?: string; public drop_end_date?: string; public grading_end_date?: string; public term: string; public reporting_term: string; public reporting_year: number; public current_status: string; public added_by: string; public added_date?: string; public changed_by: string; public changed_date?: string; public timestamp: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/Section/{uuid}", "POST") export class SectionRequest implements IReturn { public uuid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SectionRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new SectionResponse(); } }