/* Options: Date: 2024-12-29 03:37:17 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: SectionsAvailableForUnauthenticatedPersonRequest.* //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 SectionAvailableForStudentResponse extends SectionResponse { public uuid: string; public studentSectionUUID: string; public registered_amount?: number; public is_full: boolean; public is_too_late: boolean; public is_too_early: boolean; public is_audit: boolean; public is_selected: boolean; public is_registered: boolean; public is_provisional: boolean; public is_missing_requisites: boolean; public is_completed: boolean; public maximum_credit_hours?: number; public maximum_audit_hours?: number; public can_retake: boolean; public is_credit_restricted: boolean; public is_audit_restricted: boolean; public is_oncampus_restricted_for_change: boolean; public is_online_restricted_for_change: boolean; public can_be_provisional: boolean; public can_be_dropped: boolean; public ruleMessages: string[]; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class SectionsAvailableForStudentResponse { public responseStatus: ResponseStatus; public regent_id: number; public uuid: string; public reporting_term: string; public notifyOfAcademicProbation: boolean; public sectionsAvailable: SectionAvailableForStudentResponse[]; public messages: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/Sections/AvailableToUnauthenticatedPerson/{uuid}/Term/{reporting_term}", "POST") export class SectionsAvailableForUnauthenticatedPersonRequest implements IReturn { public uuid: string; public transaction_uuid: string; public reporting_term: string; public online_only: boolean; public oncampus_only: boolean; public is_admin: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SectionsAvailableForUnauthenticatedPersonRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new SectionsAvailableForStudentResponse(); } }