/* Options: Date: 2024-12-29 02:53:58 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: TermRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Terms/{term}", "POST") public class TermRequest : IReturn, Codable { public typealias Return = TermResponse public var term:String required public init(){} } public class TermResponse : Codable { public var responseStatus:ResponseStatus public var term:String public var reporting_term:String public var reporting_year:Int public var Description:String public var start_date:Date? public var end_date:Date? public var registration_start_date:Date? public var registration_end_date:Date? public var drop_start_date:Date? public var drop_end_date:Date? public var add_start_date:Date? public var add_end_date:Date? public var grading_end_date:Date? public var number_of_sections:Int public var number_of_rates:Int required public init(){} }