/* Options: Date: 2024-11-21 12:14:03 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: GDPRInactiveCustomerQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/gdpr/customers/inactive", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") public static class GDPRInactiveCustomerQuery 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; /** * 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) public Date InactiveSince = 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") public Boolean IncludeCustomerInformation = null; public UUID getCompanyId() { return CompanyId; } public GDPRInactiveCustomerQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } public Date getInactiveSince() { return InactiveSince; } public GDPRInactiveCustomerQuery setInactiveSince(Date value) { this.InactiveSince = value; return this; } public Boolean isIncludeCustomerInformation() { return IncludeCustomerInformation; } public GDPRInactiveCustomerQuery setIncludeCustomerInformation(Boolean value) { this.IncludeCustomerInformation = value; return this; } private static Object responseType = InactiveCustomerResponse.class; public Object getResponseType() { return responseType; } } public static class InactiveCustomerResponse { public UUID Id = null; public InactiveCustomerInfo Customer = null; public UUID getId() { return Id; } public InactiveCustomerResponse setId(UUID value) { this.Id = value; return this; } public InactiveCustomerInfo getCustomer() { return Customer; } public InactiveCustomerResponse setCustomer(InactiveCustomerInfo value) { this.Customer = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class InactiveCustomerInfo { public UUID Id = null; public String Firstname = null; public String Lastname = null; public String Email = null; public String Phone = null; public String FacebookUserName = null; public Uri ImageUrl = null; public UUID getId() { return Id; } public InactiveCustomerInfo setId(UUID value) { this.Id = value; return this; } public String getFirstname() { return Firstname; } public InactiveCustomerInfo setFirstname(String value) { this.Firstname = value; return this; } public String getLastname() { return Lastname; } public InactiveCustomerInfo setLastname(String value) { this.Lastname = value; return this; } public String getEmail() { return Email; } public InactiveCustomerInfo setEmail(String value) { this.Email = value; return this; } public String getPhone() { return Phone; } public InactiveCustomerInfo setPhone(String value) { this.Phone = value; return this; } public String getFacebookUserName() { return FacebookUserName; } public InactiveCustomerInfo setFacebookUserName(String value) { this.FacebookUserName = value; return this; } public Uri getImageUrl() { return ImageUrl; } public InactiveCustomerInfo setImageUrl(Uri value) { this.ImageUrl = value; return this; } } }