/* Options: Date: 2025-12-14 05:13:48 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UnsubscribeEmailTopic.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/unsubscribe", Verbs="POST") public static class UnsubscribeEmailTopic implements IReturn { /** * The email address to unsubscribe. */ @ApiMember(Description="The email address to unsubscribe.", IsRequired=true) public String Email = null; /** * Configuration set identifier used when sending the email. */ @ApiMember(Description="Configuration set identifier used when sending the email.", IsRequired=true) public String ConfigurationSet = null; /** * Topic identifier used when sending the email. */ @ApiMember(Description="Topic identifier used when sending the email.", IsRequired=true) public String Topic = null; /** * Verification token from the unsubscribe link. */ @ApiMember(Description="Verification token from the unsubscribe link.", IsRequired=true) public String Token = null; public String getEmail() { return Email; } public UnsubscribeEmailTopic setEmail(String value) { this.Email = value; return this; } public String getConfigurationSet() { return ConfigurationSet; } public UnsubscribeEmailTopic setConfigurationSet(String value) { this.ConfigurationSet = value; return this; } public String getTopic() { return Topic; } public UnsubscribeEmailTopic setTopic(String value) { this.Topic = value; return this; } public String getToken() { return Token; } public UnsubscribeEmailTopic setToken(String value) { this.Token = value; return this; } private static Object responseType = UnsubscribeEmailTopicResponse.class; public Object getResponseType() { return responseType; } } public static class UnsubscribeEmailTopicResponse { public String Email = null; public String ConfigurationSet = null; public String Topic = null; public Boolean Unsubscribed = null; public String getEmail() { return Email; } public UnsubscribeEmailTopicResponse setEmail(String value) { this.Email = value; return this; } public String getConfigurationSet() { return ConfigurationSet; } public UnsubscribeEmailTopicResponse setConfigurationSet(String value) { this.ConfigurationSet = value; return this; } public String getTopic() { return Topic; } public UnsubscribeEmailTopicResponse setTopic(String value) { this.Topic = value; return this; } public Boolean isUnsubscribed() { return Unsubscribed; } public UnsubscribeEmailTopicResponse setUnsubscribed(Boolean value) { this.Unsubscribed = value; return this; } } }