/* Options: Date: 2024-12-29 04:18:50 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: CMSummariesRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/CampaignMonitor/Summaries", "POST") public class CMSummariesRequest : IReturn, Codable { public typealias Return = [CMSummaryResponse] required public init(){} } public class CMListResponse : Codable { public var id:String public var name:String public var status:String public var segments:[String] = [] required public init(){} } public class CMSummaryResponse : Codable { public var email:String public var is_optin:Bool public var is_ebr:Bool public var is_express_consent:String public var is_suppressed:Bool public var last_consent_source:String public var last_consent_date:Date? public var last_event_date:Date? public var last_reframe_purchase_date:Date? public var lists:[CMListResponse] = [] required public init(){} }