/* Options: Date: 2024-12-29 03:27:09 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: CRMLeadSearchRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/DynamicsCRM/Lead/Search", "POST") public class CRMLeadSearchRequest : IReturn, Codable { public typealias Return = CRMLeadResponse public var email:String required public init(){} } public class CRMLeadResponse : Codable { public var responseStatus:ResponseStatus public var guid:String public var first_name:String public var last_name:String public var middle_name:String public var preferred_name:String public var former_name:String public var `prefix`:String public var spouse_name: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 denomination:String public var gender:String public var marital_status:String public var send_admissions_marketing_materials:Bool public var email:String public var email_secondary:String public var phone_home:String public var phone_bus:String public var phone_cell:String public var added_by:String public var added_date:Date? public var changed_by:String public var changed_date:Date? public var owner_full_name:String required public init(){} }