/* Options: Date: 2024-12-29 02:14:22 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: RegistrationSummaryRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/registration/summary", "POST") public class RegistrationSummaryRequest : IReturn, Codable { public typealias Return = RegistrationSummaryResponse public var uuid:String public var from_this_term:String required public init(){} } public class RegistrationSummaryResponse : Codable { public var responseStatus:ResponseStatus public var regent_id:Int public var uuid:String public var is_missing_tax_number:Bool public var person:PersonSimpleResponse public var registrations:[StudentAcademicCredentialByReportingTermSimpleResponse] = [] public var provisional_registrations:ProvisionalRegistrationsForStudentResponse required public init(){} } public class StudentAcademicCredentialByReportingTermSimpleResponse : Codable { public var responseStatus:ResponseStatus public var reportingTerm:String public var onlineCreditsAttempted:Double public var onlineAuditsAttempted:Double public var studentAcademicCredentialSimpleResponse:[StudentAcademicCredentialSimpleResponse] = [] required public init(){} } public class StudentAcademicCredentialSimpleResponse : Codable { public var responseStatus:ResponseStatus public var course_uuid:String public var course_name:String public var section_code:String public var section_id:Int? public var term:String public var reporting_term:String public var title:String public var amount:Double? public var is_audit:Bool public var is_pass_fail:Bool public var is_graded:Bool required public init(){} } public class PersonSimpleResponse : Codable { public var responseStatus:ResponseStatus public var regent_id:Int public var ubc_id:Int? public var uuid:String public var regent_login:String public var first_name:String public var preferred_name:String public var middle_name:String public var last_name:String public var email:String public var phone_home:String public var phone_cell:String public var phone_bus:String public var addr1:String public var addr2:String public var city:String public var state:String public var country:String public var code:String public var citizenship:String public var citizenship_other:String public var permanent_resident:String public var dob:Date? public var is_student:Bool public var is_faculty:Bool public var is_vendor:Bool 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(){} }