/* Options: Date: 2024-12-29 03:34:12 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: PersonSimpleRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @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); } } export class PersonSimpleResponse { public responseStatus: ResponseStatus; public regent_id: number; public ubc_id?: number; public uuid: string; public regent_login: string; public first_name: string; public preferred_name: string; public middle_name: string; public last_name: string; public email: string; public phone_home: string; public phone_cell: string; public phone_bus: string; public addr1: string; public addr2: string; public city: string; public state: string; public country: string; public code: string; public citizenship: string; public citizenship_other: string; public permanent_resident: string; public dob?: string; public is_student: boolean; public is_faculty: boolean; public is_vendor: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/person", "POST") export class PersonSimpleRequest implements IReturn { public uuid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'PersonSimpleRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new PersonSimpleResponse(); } }