/* Options: Date: 2025-04-05 21:48:20 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: PersonSearchRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/person/search", "POST") // @Route("/person/search/page/{Page}", "POST") public class PersonSearchRequest : IReturn, Codable { public typealias Return = PersonSearchResponse public var page:Int? public var regent_id:Int? public var regent_login:String public var name:String public var last_name:String public var email:String public var phone:String public var dob:Date? required public init(){} } public class PersonSearchResponse : Codable { public var responseStatus:ResponseStatus public var persons:[PersonSimpleResponse] = [] required public init(){} } public class PersonSimpleResponse : Codable { public var responseStatus:ResponseStatus public var regent_id:Int public var ubc_id:Int? public var uuid:String public var regent_login:String public var first_name:String public var preferred_name:String public var middle_name:String public var last_name:String public var email:String public var phone_home:String public var phone_cell:String public var phone_bus:String public var addr1:String public var addr2:String public var city:String public var state:String public var country:String public var code:String public var citizenship:String public var citizenship_other:String public var permanent_resident:String public var dob:Date? public var is_student:Bool public var is_faculty:Bool public var is_vendor:Bool required public init(){} }