/* Options: Date: 2024-11-23 09:00:25 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: GDPRCustomerQuery.* //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/{CustomerId}", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") open class GDPRCustomerQuery : IReturn, ICompany { /** * Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown */ @ApiMember(Description="Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ", IsRequired=true, ParameterType="query") var CompanyId:UUID? = null /** * Id of the customer */ @ApiMember(Description="Id of the customer", IsRequired=true, ParameterType="path") var CustomerId:UUID? = null companion object { private val responseType = GDPRCustomerQueryResponse::class.java } override fun getResponseType(): Any? = GDPRCustomerQuery.responseType } open class GDPRCustomerQueryResponse { var Bookings:ArrayList = ArrayList() var MessageLog:ArrayList = ArrayList() var UserProfile:UserProfileResponse? = null var Customer:GDPRCustomerInfoResponse? = null var CustomerComment:ArrayList = ArrayList() var NewsletterLog:ArrayList = ArrayList() var ResponseStatus:ResponseStatus? = null } open interface ICompany { var CompanyId:UUID? } open class GDPRCustomerBookingsResponse { var CompanyId:UUID? = null var Id:Int? = null var CustomerId:UUID? = null var ServiceId:Int? = null var StatusId:Int? = null var From:Date? = null var To:Date? = null var UnbookedOn:Date? = null var UnbookedComments:String? = null var BookedComments:String? = null var BookedBy:String? = null var Comments:String? = null var TextField1:String? = null var TextField2:String? = null var TextField3:String? = null var TextField4:String? = null var TextField5:String? = null var TextField6:String? = null var TextField7:String? = null var TextField8:String? = null var TextField9:String? = null var TextField10:String? = null var TextField11:String? = null var TextField12:String? = null var TextField13:String? = null var TextField14:String? = null var TextField15:String? = null var TextField16:String? = null var TextField17:String? = null var TextField18:String? = null var TextField19:String? = null var TextField20:String? = null var UpdatedDate:Date? = null var CreatedDate:Date? = null var CommentsToCustomer:String? = null } open class GDPRCustomerMessageLogResponse { var CompanyId:UUID? = null var Id:Int? = null var BookingId:Int? = null var Receiver:String? = null var Sender:String? = null var MessageTitle:String? = null var MessageBody:String? = null var CreatedBy:String? = null var Created:Date? = null var Sent:Boolean? = null var SentDate:Date? = null var SendMethodId:Int? = null } open class UserProfileResponse { var Id:UUID? = null var Firstname:String? = null var Lastname:String? = null var Phone:String? = null var Email:String? = null } open class GDPRCustomerInfoResponse { var UserId:UUID? = null var Firstname:String? = null var Lastname:String? = null var Phone:String? = null var Email:String? = null var Active:Boolean? = null var FacebookUsername:String? = null var TextField1:String? = null var TextField2:String? = null var TextField3:String? = null var TextField4:String? = null var TextField5:String? = null var TextField6:String? = null var TextField7:String? = null var TextField8:String? = null var TextField9:String? = null var TextField10:String? = null var TextField11:String? = null var TextField12:String? = null var TextField13:String? = null var TextField14:String? = null var TextField15:String? = null var TextField16:String? = null var TextField17:String? = null var TextField18:String? = null var TextField19:String? = null var TextField20:String? = null var Updated:Date? = null var Created:Date? = null } open class GDPRCustomerCommentsResponse { var CompanyId:UUID? = null var Id:Int? = null var CustomerId:UUID? = null var Comments:String? = null var Updated:Date? = null var Created:Date? = null var ImageUrl:Uri? = null } open class GDPRCustomerNewsletterLogResponse { var CompanyId:UUID? = null var Id:Int? = null var NewslettersId:Int? = null var Receiver:String? = null var Sender:String? = null var MessageTitle:String? = null var MessageBody:String? = null var Sent:Boolean? = null var Created:Date? = null }