/* Options: Date: 2025-12-06 07:01:38 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: UpdateMyStaffRolesRequest.* //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/update_my_roles", Verbs="POST") public static class UpdateMyStaffRolesRequest implements IReturn, IPost { public ArrayList staff = new ArrayList(); public ArrayList getStaff() { return staff; } public UpdateMyStaffRolesRequest setStaff(ArrayList value) { this.staff = value; return this; } private static Object responseType = UpdateMyStaffRolesResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateMyStaffRolesResponse { public ArrayList staff = new ArrayList(); public ArrayList getStaff() { return staff; } public UpdateMyStaffRolesResponse setStaff(ArrayList value) { this.staff = value; return this; } } public static enum StaffRole { Owner, Admin, Regular; } public static enum BusinessRole { Owner, Manager, Sales, Marketing, Other; } public static class UpdateMyStaffRoleDto { public Long businessId = null; public Long placeId = null; public StaffRole role = null; public BusinessRole businessRole = null; public Boolean delete = null; public Long getBusinessId() { return businessId; } public UpdateMyStaffRoleDto setBusinessId(Long value) { this.businessId = value; return this; } public Long getPlaceId() { return placeId; } public UpdateMyStaffRoleDto setPlaceId(Long value) { this.placeId = value; return this; } public StaffRole getRole() { return role; } public UpdateMyStaffRoleDto setRole(StaffRole value) { this.role = value; return this; } public BusinessRole getBusinessRole() { return businessRole; } public UpdateMyStaffRoleDto setBusinessRole(BusinessRole value) { this.businessRole = value; return this; } public Boolean isDelete() { return delete; } public UpdateMyStaffRoleDto setDelete(Boolean value) { this.delete = value; return this; } } 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; } } }