/* Options: Date: 2024-12-23 12:11:17 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: NewsletterSignupRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class NewsletterSignupRequest : IReturn, IPost, Codable { public typealias Return = NewsletterSignupResponse public var firstName:String public var lastName:String public var email:String public var areaOfInterest:NewsletterAreaOfInterest public var phone:String required public init(){} } public class NewsletterSignupResponse : Codable { public var success:Bool required public init(){} } public enum NewsletterAreaOfInterest : String, Codable { case RestaurantCafeBarClub case Fashion case Press case Blogger case PrivateIndividual }