/* Options: Date: 2024-12-29 02:57:57 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RateCreateRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class ResponseError { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public fieldName: string; // @DataMember(Order=3) public message: string; // @DataMember(Order=4) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public message: string; // @DataMember(Order=3) public stackTrace: string; // @DataMember(Order=4) public errors: ResponseError[]; // @DataMember(Order=5) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/Rates/{term}/Create", "POST") export class RateCreateRequest implements IReturn { public authorizing_uuid: string; public rate_code: string; public rate_description: string; public term: string; public charge?: number; public credit?: number; public percentage?: number; public budget?: number; public is_benefit: boolean; public is_financial_aid: boolean; public duplicate_in_future_terms: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'RateCreateRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new ResponseStatus(); } }