/* Options: Date: 2024-12-29 03:16:42 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: AddressSyncRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/admissions/{uuid}/address/sync", "POST") public class AddressSyncRequest : IReturn, Codable { public typealias Return = AddressSyncResponse public var uuid:String required public init(){} } public class AddressSyncResponse : Codable { public var responseStatus:ResponseStatus public var uuid:String public var regent_id:Int public var sugar_address:AddressResponse public var sugar_phone_email:PhoneEmailResponse public var regis_address:AddressResponse public var regis_phone_email:PhoneEmailResponse public var re_address:AddressResponse public var re_phone_email:PhoneEmailResponse public var exists_in_sugar:Bool public var exists_in_re:Bool public var are_equal:Bool public var addr_are_equal:Bool public var city_are_equal:Bool public var state_are_equal:Bool public var country_are_equal:Bool public var code_are_equal:Bool public var phone_home_are_equal:Bool public var phone_cell_are_equal:Bool public var phone_bus_are_equal:Bool public var email_are_equal:Bool required public init(){} } public class PhoneEmailResponse : Codable { public var phone_home:String public var phone_cell:String public var phone_bus:String public var email:String public var start_date:Date? public var end_date:Date? public var added_by:String public var added_date:Date? public var changed_by:String public var changed_date:Date? required public init(){} } public class AddressResponse : Codable { public var responseStatus:ResponseStatus public var addr1:String public var addr2:String public var country:String public var country_code:String public var state:String public var city:String public var code:String public var start_date:Date? public var end_date:Date? public var added_by:String public var added_date:Date? public var changed_by:String public var changed_date:Date? required public init(){} }