/* Options: Date: 2025-12-14 05:17:25 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: UnsubscribeEmailTopic.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/unsubscribe", "POST") public class UnsubscribeEmailTopic : IReturn, Codable { public typealias Return = UnsubscribeEmailTopicResponse /** * The email address to unsubscribe. */ // @ApiMember(Description="The email address to unsubscribe.", IsRequired=true) public var email:String? /** * Configuration set identifier used when sending the email. */ // @ApiMember(Description="Configuration set identifier used when sending the email.", IsRequired=true) public var configurationSet:String? /** * Topic identifier used when sending the email. */ // @ApiMember(Description="Topic identifier used when sending the email.", IsRequired=true) public var topic:String? /** * Verification token from the unsubscribe link. */ // @ApiMember(Description="Verification token from the unsubscribe link.", IsRequired=true) public var token:String? required public init(){} } public class UnsubscribeEmailTopicResponse : Codable { public var email:String? public var configurationSet:String? public var topic:String? public var unsubscribed:Bool? required public init(){} }