/* Options: Date: 2024-11-21 11:44:05 Version: 8.23 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: SubscribedToNewsletter.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/newsletter/subscribe", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) public static class SubscribedToNewsletter implements IReturn>, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public UUID CompanyId = null; /** * The customer email. */ @ApiMember(Description="The customer email.", IsRequired=true) public String Email = null; public UUID getCompanyId() { return CompanyId; } public SubscribedToNewsletter setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getEmail() { return Email; } public SubscribedToNewsletter setEmail(String value) { this.Email = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static interface ICompany { public UUID CompanyId = null; } }