/* Options: Date: 2024-12-29 02:55:02 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: AddressAndBioRequest.* //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.DatabaseModels.REGIS; using regis.ClassLibrary.Requests; namespace regis.ClassLibrary.DatabaseModels.REGIS { public partial class Denomination { public virtual int id { get; set; } public virtual string code { get; set; } public virtual string denomination_name { get; set; } } public partial class Ethnicity { public virtual int id { get; set; } public virtual string code { get; set; } public virtual string ethnicity_name { get; set; } } public partial class Occupation { public virtual int id { get; set; } public virtual string code { get; set; } public virtual string occupation_name { get; set; } } } namespace regis.ClassLibrary.Requests { [Route("/person/{uuid}/addressAndBio", "POST")] public partial class AddressAndBioRequest : IReturn { public virtual string uuid { get; set; } } } namespace regis.ClassLibrary.Responses { public partial class AddressAndBioResponse { public AddressAndBioResponse() { countriesAndStates = new List{}; prefixes = new List{}; maritalStatuses = new Dictionary{}; occupations = new List{}; denominations = new List{}; ethnicities = new List{}; } public virtual ResponseStatus ResponseStatus { get; set; } public virtual PersonExtendedResponse person { get; set; } public virtual PersonPictureResponse picture { get; set; } public virtual List countriesAndStates { get; set; } public virtual List prefixes { get; set; } public virtual Dictionary maritalStatuses { get; set; } public virtual List occupations { get; set; } public virtual List denominations { get; set; } public virtual List ethnicities { get; set; } } public partial class CountriesAndStatesResponse { public CountriesAndStatesResponse() { states = new Dictionary{}; } public virtual string country_code { get; set; } public virtual string country_name { get; set; } public virtual Dictionary states { get; set; } } public partial class PersonExtendedResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual int regent_id { get; set; } public virtual int? ubc_id { get; set; } public virtual int? spouse_regent_id { get; set; } public virtual string uuid { get; set; } public virtual string regent_login { get; set; } public virtual string spouse_rwl { get; set; } public virtual string first_name { get; set; } public virtual string middle_name { get; set; } public virtual string last_name { get; set; } public virtual string preferred_name { get; set; } public virtual string birth_name { get; set; } public virtual string override_transcript_name { get; set; } public virtual string spouse_name { get; set; } public virtual string addr1 { get; set; } public virtual string addr2 { get; set; } public virtual string country { get; set; } public virtual string state { get; set; } public virtual string city { get; set; } public virtual string code { get; set; } public virtual string phone_home { get; set; } public virtual string phone_cell { get; set; } public virtual string phone_bus { get; set; } public virtual string email { get; set; } public virtual string prefix { get; set; } public virtual DateTime? dob { get; set; } public virtual string citizenship { get; set; } public virtual string citizenship_other { get; set; } public virtual string permanent_resident { get; set; } public virtual string denomination { get; set; } public virtual string occupation { get; set; } public virtual string ethnicity { get; set; } public virtual string gender { get; set; } public virtual string marital_status { get; set; } public virtual DateTime? deceased_date { get; set; } public virtual bool is_donor { get; set; } public virtual bool is_vendor { get; set; } public virtual bool is_gp_customer { get; set; } public virtual string crm_student_status { get; set; } public virtual string crm_assigned { get; set; } public virtual string last_registered_term { get; set; } public virtual bool is_regent_staff { get; set; } public virtual string regent_title { get; set; } public virtual string regent_department { get; set; } public virtual string regent_faculty_profile_url { get; set; } public virtual string regent_image_url { get; set; } public virtual bool include_on_website { get; set; } public virtual string added_by { get; set; } public virtual DateTime? added_date { get; set; } public virtual string last_changed_by { get; set; } public virtual DateTime? last_changed_date { get; set; } public virtual string addr_last_changed_by { get; set; } public virtual DateTime? addr_last_changed_date { get; set; } public virtual string tax_number { get; set; } public virtual string regent_current_program { get; set; } public virtual string regent_degrees { get; set; } } public partial class PersonPictureResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual string imageBase64 { get; set; } } public partial class PrefixResponse { public virtual string prefix_code { get; set; } public virtual string prefix_name { 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; } } }