/* Options: Date: 2025-12-06 06:58:44 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //Package: //GlobalNamespace: BusinessApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ReplyToStaffInvitationRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class BusinessApi { @Route(Path="/staff/reply", Verbs="POST") public static class ReplyToStaffInvitationRequest implements IReturn, IPost { public Long staffInvitationId = null; public StaffInvitationReply reply = null; public Long getStaffInvitationId() { return staffInvitationId; } public ReplyToStaffInvitationRequest setStaffInvitationId(Long value) { this.staffInvitationId = value; return this; } public StaffInvitationReply getReply() { return reply; } public ReplyToStaffInvitationRequest setReply(StaffInvitationReply value) { this.reply = value; return this; } private static Object responseType = ReplyToStaffInvitationResponse.class; public Object getResponseType() { return responseType; } } public static class ReplyToStaffInvitationResponse { public Long deniedStaffInvitationId = null; public StaffDto acceptedStaff = null; public Long getDeniedStaffInvitationId() { return deniedStaffInvitationId; } public ReplyToStaffInvitationResponse setDeniedStaffInvitationId(Long value) { this.deniedStaffInvitationId = value; return this; } public StaffDto getAcceptedStaff() { return acceptedStaff; } public ReplyToStaffInvitationResponse setAcceptedStaff(StaffDto value) { this.acceptedStaff = value; return this; } } public static enum StaffInvitationReply { Accept, Deny; } public static enum StaffRole { Owner, Admin, Regular; } public static enum BusinessRole { Owner, Manager, Sales, Marketing, Other; } public static class StaffDto { public Long id = null; public String firstName = null; public String lastName = null; public String email = null; public StaffRole role = null; public Long placeId = null; public Long businessId = null; public Long userId = null; public String placeName = null; public String businessName = null; public String mobileNumber = null; public BusinessRole businessRole = null; public Date lastActiveOn = null; public Long getId() { return id; } public StaffDto setId(Long value) { this.id = value; return this; } public String getFirstName() { return firstName; } public StaffDto setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public StaffDto setLastName(String value) { this.lastName = value; return this; } public String getEmail() { return email; } public StaffDto setEmail(String value) { this.email = value; return this; } public StaffRole getRole() { return role; } public StaffDto setRole(StaffRole value) { this.role = value; return this; } public Long getPlaceId() { return placeId; } public StaffDto setPlaceId(Long value) { this.placeId = value; return this; } public Long getBusinessId() { return businessId; } public StaffDto setBusinessId(Long value) { this.businessId = value; return this; } public Long getUserId() { return userId; } public StaffDto setUserId(Long value) { this.userId = value; return this; } public String getPlaceName() { return placeName; } public StaffDto setPlaceName(String value) { this.placeName = value; return this; } public String getBusinessName() { return businessName; } public StaffDto setBusinessName(String value) { this.businessName = value; return this; } public String getMobileNumber() { return mobileNumber; } public StaffDto setMobileNumber(String value) { this.mobileNumber = value; return this; } public BusinessRole getBusinessRole() { return businessRole; } public StaffDto setBusinessRole(BusinessRole value) { this.businessRole = value; return this; } public Date getLastActiveOn() { return lastActiveOn; } public StaffDto setLastActiveOn(Date value) { this.lastActiveOn = value; return this; } } }