/* Options: Date: 2024-12-29 02:55:35 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: GradesRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Grades", "POST") public class GradesRequest : IReturn, Codable { public typealias Return = GradesResponse required public init(){} } public class GradesResponse : Codable { public var responseStatus:ResponseStatus public var grades:[GradeResponse] = [] required public init(){} } public class GradeResponse : Codable { public var responseStatus:ResponseStatus public var id:Int public var grade_code:String public var grade_name:String public var grade_points:Double public var gpa_credit:Bool public var completed_credit:Bool required public init(){} }