/* Options: Date: 2025-09-03 19:00:50 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://foundrystage-api-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SearchAllUsersRequest.* //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="/users/all", Verbs="GET") public static class SearchAllUsersRequest extends SearchOperationTenanted implements IReturn { private static Object responseType = SearchAllUsersResponse.class; public Object getResponseType() { return responseType; } } public static class SearchAllUsersResponse { public ResponseStatus responseStatus = null; public ArrayList userDetails = null; public ResponseStatus getResponseStatus() { return responseStatus; } public SearchAllUsersResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public ArrayList getUserDetails() { return userDetails; } public SearchAllUsersResponse setUserDetails(ArrayList value) { this.userDetails = value; return this; } } public static class GetOperationUnTenanted implements IHasGetOptions, IGet { public String embed = null; public String getEmbed() { return embed; } public GetOperationUnTenanted setEmbed(String value) { this.embed = value; return this; } } public static interface IHasGetOptions { public String embed = null; } public static class SearchOperationUnTenanted extends GetOperationUnTenanted implements IHasSearchOptions { public String distinct = null; public Integer limit = null; public Integer offset = null; public String sort = null; public String filter = null; public String getDistinct() { return distinct; } public SearchOperationUnTenanted setDistinct(String value) { this.distinct = value; return this; } public Integer getLimit() { return limit; } public SearchOperationUnTenanted setLimit(Integer value) { this.limit = value; return this; } public Integer getOffset() { return offset; } public SearchOperationUnTenanted setOffset(Integer value) { this.offset = value; return this; } public String getSort() { return sort; } public SearchOperationUnTenanted setSort(String value) { this.sort = value; return this; } public String getFilter() { return filter; } public SearchOperationUnTenanted setFilter(String value) { this.filter = value; return this; } } public static interface IHasSearchOptions implements IHasGetOptions { public Integer limit = null; public Integer offset = null; public String sort = null; public String filter = null; } public static interface ITenantedRequest { public String organisationId = null; } public static class SearchOperationTenanted extends SearchOperationUnTenanted implements ITenantedRequest { public String organisationId = null; public String getOrganisationId() { return organisationId; } public SearchOperationTenanted setOrganisationId(String value) { this.organisationId = value; return this; } } public static class UserDetails extends UserAccountMembership { public Date lastLoginDate = null; public Boolean twoFactorEnabled = null; public String name = null; public Date getLastLoginDate() { return lastLoginDate; } public UserDetails setLastLoginDate(Date value) { this.lastLoginDate = value; return this; } public Boolean isTwoFactorEnabled() { return twoFactorEnabled; } public UserDetails setTwoFactorEnabled(Boolean value) { this.twoFactorEnabled = value; return this; } public String getName() { return name; } public UserDetails setName(String value) { this.name = value; return this; } } public static interface IIdentifiableResource { public String id = null; } public static enum AccountType { Person, Machine; } public static enum AccountStatus { Shadowed, Registered; } public static class UserAccountMembership implements IIdentifiableResource { public String userId = null; public String userEmailAddress = null; public AccountStatus status = null; public AccountType type = null; public ArrayList roles = null; public String id = null; public String organisationId = null; public String getUserId() { return userId; } public UserAccountMembership setUserId(String value) { this.userId = value; return this; } public String getUserEmailAddress() { return userEmailAddress; } public UserAccountMembership setUserEmailAddress(String value) { this.userEmailAddress = value; return this; } public AccountStatus getStatus() { return status; } public UserAccountMembership setStatus(AccountStatus value) { this.status = value; return this; } public AccountType getType() { return type; } public UserAccountMembership setType(AccountType value) { this.type = value; return this; } public ArrayList getRoles() { return roles; } public UserAccountMembership setRoles(ArrayList value) { this.roles = value; return this; } public String getId() { return id; } public UserAccountMembership setId(String value) { this.id = value; return this; } public String getOrganisationId() { return organisationId; } public UserAccountMembership setOrganisationId(String value) { this.organisationId = value; return this; } } }