/* Options: Date: 2024-12-29 03:29:21 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: ProgramsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Programs", "POST") public class ProgramsRequest : IReturn, Codable { public typealias Return = ProgramsResponse required public init(){} } public class ProgramsResponse : Codable { public var responseStatus:ResponseStatus public var programs:[ProgramResponse] = [] required public init(){} } public class ProgramResponse : Codable { public var responseStatus:ResponseStatus public var id:Int public var program_code:String public var program_pretty_code:String public var program_long_name:String public var available_concentrations:String public var is_active:Bool public var timestamp:Date required public init(){} }