/* Options: Date: 2024-12-29 04:10:14 SwiftVersion: 5.0 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: ProvisionalRegistrationsForStudentRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Registration/{uuid}/Provisional", "POST") public class ProvisionalRegistrationsForStudentRequest : IReturn, Codable { public typealias Return = ProvisionalRegistrationsForStudentResponse public var uuid:String required public init(){} } public class ProvisionalRegistrationsForStudentResponse : Codable { public var responseStatus:ResponseStatus public var regent_id:Int public var uuid:String public var provisional_registrations:[ProvisionalRegistrationResponse] = [] required public init(){} } public class ProvisionalRegistrationResponse : Codable { public var uuid:String public var regent_id:Int? public var student_name:String public var email:String public var section_uuid:String public var student_section_uuid:String public var course_name:String public var section_code:String public var title:String public var term:String public var amount:Double public var is_audit:Bool public var is_waitlist:Bool public var is_missing_requisites:Bool public var is_other_restriction:Bool public var documents:[RegistrationDocumentResponse] = [] public var requested_date:Date required public init(){} } public class RegistrationDocumentResponse : Codable { public var uuid:String public var regent_id:Int public var first_name:String public var last_name:String public var gender:String public var email:String public var program:String public var concentration:String public var section_uuid:String public var course_name:String public var course_title:String public var reporting_term:String public var document_code:String public var document_json:String public var document_name:String public var document_description:String public var added_date:Date? public var changed_date:Date? required public init(){} }