/* Options: Date: 2024-12-29 03:56:56 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: CoursesAdminRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Courses/Admin/{level}", "POST") public class CoursesAdminRequest : IReturn, Codable { public typealias Return = CoursesAdminResponse public var level:String required public init(){} } public class CoursesAdminResponse : Codable { public var responseStatus:ResponseStatus public var courses:[CourseResponse] = [] required public init(){} } public class CourseResponse : Codable { public var id:Int? public var course_name:String public var title:String public var pretty_title:String public var course_description:String public var is_active:Bool public var added_date:Date? public var added_by:String public var changed_date:Date? public var changed_by:String public var timestamp:Date required public init(){} }