/* Options: Date: 2025-12-06 06:52:23 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: GetStaffInvitationsRequest.* //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/get_invitations", Verbs="GET") public static class GetStaffInvitationsRequest implements IReturn, IGet { @Validate(Validator="NotEmpty") public ArrayList placeIds = new ArrayList(); public ArrayList getPlaceIds() { return placeIds; } public GetStaffInvitationsRequest setPlaceIds(ArrayList value) { this.placeIds = value; return this; } private static Object responseType = GetStaffInvitationsResponse.class; public Object getResponseType() { return responseType; } } public static class GetStaffInvitationsResponse { public ArrayList invitations = new ArrayList(); public ArrayList getInvitations() { return invitations; } public GetStaffInvitationsResponse setInvitations(ArrayList value) { this.invitations = value; return this; } } public static enum StaffRole { Owner, Admin, Regular; } public static enum BusinessRole { Owner, Manager, Sales, Marketing, Other; } public static class StaffInvitationDto { public Long id = null; public Long userId = null; public Long placeId = null; public UUID placeGuid = null; public String inviteKey = null; public Long businessId = null; public String firstName = null; public String lastName = null; public String placeName = null; public String businessName = null; public StaffRole role = null; public BusinessRole businessRole = null; public Date createdAt = null; public Date updatedAt = null; public Long getId() { return id; } public StaffInvitationDto setId(Long value) { this.id = value; return this; } public Long getUserId() { return userId; } public StaffInvitationDto setUserId(Long value) { this.userId = value; return this; } public Long getPlaceId() { return placeId; } public StaffInvitationDto setPlaceId(Long value) { this.placeId = value; return this; } public UUID getPlaceGuid() { return placeGuid; } public StaffInvitationDto setPlaceGuid(UUID value) { this.placeGuid = value; return this; } public String getInviteKey() { return inviteKey; } public StaffInvitationDto setInviteKey(String value) { this.inviteKey = value; return this; } public Long getBusinessId() { return businessId; } public StaffInvitationDto setBusinessId(Long value) { this.businessId = value; return this; } public String getFirstName() { return firstName; } public StaffInvitationDto setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public StaffInvitationDto setLastName(String value) { this.lastName = value; return this; } public String getPlaceName() { return placeName; } public StaffInvitationDto setPlaceName(String value) { this.placeName = value; return this; } public String getBusinessName() { return businessName; } public StaffInvitationDto setBusinessName(String value) { this.businessName = value; return this; } public StaffRole getRole() { return role; } public StaffInvitationDto setRole(StaffRole value) { this.role = value; return this; } public BusinessRole getBusinessRole() { return businessRole; } public StaffInvitationDto setBusinessRole(BusinessRole value) { this.businessRole = value; return this; } public Date getCreatedAt() { return createdAt; } public StaffInvitationDto setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getUpdatedAt() { return updatedAt; } public StaffInvitationDto setUpdatedAt(Date value) { this.updatedAt = value; return this; } } }