/* Options: Date: 2024-12-29 02:11:39 SwiftVersion: 5.0 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: AddressAndBioRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/person/{uuid}/addressAndBio", "POST") public class AddressAndBioRequest : IReturn, Codable { public typealias Return = AddressAndBioResponse public var uuid:String required public init(){} } public class AddressAndBioResponse : Codable { public var responseStatus:ResponseStatus public var person:PersonExtendedResponse public var picture:PersonPictureResponse public var countriesAndStates:[CountriesAndStatesResponse] = [] public var prefixes:[PrefixResponse] = [] public var maritalStatuses:[String:String] = [:] public var occupations:[Occupation] = [] public var denominations:[Denomination] = [] public var ethnicities:[Ethnicity] = [] required public init(){} } public class CountriesAndStatesResponse : Codable { public var country_code:String public var country_name:String public var states:[String:String] = [:] required public init(){} } public class PrefixResponse : Codable { public var prefix_code:String public var prefix_name:String required public init(){} } public class Occupation : Codable { public var id:Int public var code:String public var occupation_name:String required public init(){} } public class Denomination : Codable { public var id:Int public var code:String public var denomination_name:String required public init(){} } public class Ethnicity : Codable { public var id:Int public var code:String public var ethnicity_name:String required public init(){} } public class PersonExtendedResponse : Codable { public var responseStatus:ResponseStatus public var regent_id:Int public var ubc_id:Int? public var spouse_regent_id:Int? public var uuid:String public var regent_login:String public var spouse_rwl:String public var first_name:String public var middle_name:String public var last_name:String public var preferred_name:String public var birth_name:String public var override_transcript_name:String public var spouse_name:String public var addr1:String public var addr2:String public var country:String public var state:String public var city:String public var code:String public var phone_home:String public var phone_cell:String public var phone_bus:String public var email:String public var `prefix`:String public var dob:Date? public var citizenship:String public var citizenship_other:String public var permanent_resident:String public var denomination:String public var occupation:String public var ethnicity:String public var gender:String public var marital_status:String public var deceased_date:Date? public var is_donor:Bool public var is_vendor:Bool public var is_gp_customer:Bool public var crm_student_status:String public var crm_assigned:String public var last_registered_term:String public var is_regent_staff:Bool public var regent_title:String public var regent_department:String public var regent_faculty_profile_url:String public var regent_image_url:String public var include_on_website:Bool public var added_by:String public var added_date:Date? public var last_changed_by:String public var last_changed_date:Date? public var addr_last_changed_by:String public var addr_last_changed_date:Date? public var tax_number:String public var regent_current_program:String public var regent_degrees:String required public init(){} } public class PersonPictureResponse : Codable { public var responseStatus:ResponseStatus public var imageBase64:String required public init(){} }