/* Options: Date: 2024-12-29 02:19:44 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: CourseUpdateRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Courses/Admin/Update/{id}", "POST") public class CourseUpdateRequest : IReturn, Codable { public typealias Return = ResponseStatus 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 course_requirements:[CourseRequirementResponse] = [] public var authorizing_uuid:String required public init(){} } public class CourseRequirementResponse : Codable { public var course_id:Int public var required_course_id:Int public var requirement_group:Int public var is_prerequisite:Bool public var is_corequisite:Bool public var timestamp:Date required public init(){} }