/* Options: Date: 2024-11-21 12:15:09 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SubscribedToNewsletter.* //ExcludeTypes: //InitializeCollections: True //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.* @Route(Path="/newsletter/subscribe", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) open class SubscribedToNewsletter : 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.") var CompanyId:UUID? = null /** * The customer email. */ @ApiMember(Description="The customer email.", IsRequired=true) var Email:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = SubscribedToNewsletter.responseType } open interface ICompany { var CompanyId:UUID? }