/* Options: Date: 2024-12-29 03:59:32 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: GradesRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using regis.ClassLibrary.Responses; using regis.ClassLibrary.Requests; namespace regis.ClassLibrary.Requests { [Route("/Grades", "POST")] public partial class GradesRequest : IReturn { } } namespace regis.ClassLibrary.Responses { public partial class GradeResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual int id { get; set; } public virtual string grade_code { get; set; } public virtual string grade_name { get; set; } public virtual decimal grade_points { get; set; } public virtual bool gpa_credit { get; set; } public virtual bool completed_credit { get; set; } } public partial class GradesResponse { public GradesResponse() { grades = new List{}; } public virtual ResponseStatus ResponseStatus { get; set; } public virtual List grades { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { public ResponseStatus() { Errors = new List{}; Meta = new Dictionary{}; } [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }