/* Options: Date: 2024-12-29 03:14:06 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: TermsRequest.* //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("/Terms", "POST")] public partial class TermsRequest : IReturn> { } } namespace regis.ClassLibrary.Responses { public partial class TermResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual string term { get; set; } public virtual string reporting_term { get; set; } public virtual int reporting_year { get; set; } public virtual string description { get; set; } public virtual DateTime? start_date { get; set; } public virtual DateTime? end_date { get; set; } public virtual DateTime? registration_start_date { get; set; } public virtual DateTime? registration_end_date { get; set; } public virtual DateTime? drop_start_date { get; set; } public virtual DateTime? drop_end_date { get; set; } public virtual DateTime? add_start_date { get; set; } public virtual DateTime? add_end_date { get; set; } public virtual DateTime? grading_end_date { get; set; } public virtual int number_of_sections { get; set; } public virtual int number_of_rates { 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; } } }