/* Options: Date: 2024-11-21 12:13:27 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: GDPRInactiveCustomerQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/gdpr/customers/inactive", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class GDPRInactiveCustomerQuery : 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 /** * Inactive customers since the date. Inactive means they haven't done any bookings since that date. */ @ApiMember(Description="Inactive customers since the date. Inactive means they haven't done any bookings since that date.", IsRequired=true) var InactiveSince:Date? = null /** * If you want to include the full customer information in the response */ @ApiMember(Description="If you want to include the full customer information in the response") var IncludeCustomerInformation:Boolean? = null companion object { private val responseType = InactiveCustomerResponse::class.java } override fun getResponseType(): Any? = GDPRInactiveCustomerQuery.responseType } open class InactiveCustomerResponse { var Id:UUID? = null var Customer:InactiveCustomerInfo? = null } open interface ICompany { var CompanyId:UUID? } open class InactiveCustomerInfo { var Id:UUID? = null var Firstname:String? = null var Lastname:String? = null var Email:String? = null var Phone:String? = null var FacebookUserName:String? = null var ImageUrl:Uri? = null }