/* Options: Date: 2025-05-04 20:15:35 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetAuthStatus.* //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 dtos { /** * Gets the current authenticated status or null */ @Route(Path="/auth/status", Verbs="GET") @Api(Description="Gets the current authenticated status or null") public static class GetAuthStatus implements IReturn, IGet { private static Object responseType = UserInfo.class; public Object getResponseType() { return responseType; } } public static class UserInfo { public String id = null; public Boolean isAuthenticated = null; public String firstName = null; public String lastName = null; public String name = null; public String avatarUrl = null; public String emailAddress = null; public ArrayList roles = null; public ArrayList accountIds = null; public ArrayList accountNames = null; public ArrayList dashboardPermissions = null; public String getId() { return id; } public UserInfo setId(String value) { this.id = value; return this; } public Boolean getIsAuthenticated() { return isAuthenticated; } public UserInfo setIsAuthenticated(Boolean value) { this.isAuthenticated = value; return this; } public String getFirstName() { return firstName; } public UserInfo setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public UserInfo setLastName(String value) { this.lastName = value; return this; } public String getName() { return name; } public UserInfo setName(String value) { this.name = value; return this; } public String getAvatarUrl() { return avatarUrl; } public UserInfo setAvatarUrl(String value) { this.avatarUrl = value; return this; } public String getEmailAddress() { return emailAddress; } public UserInfo setEmailAddress(String value) { this.emailAddress = value; return this; } public ArrayList getRoles() { return roles; } public UserInfo setRoles(ArrayList value) { this.roles = value; return this; } public ArrayList getAccountIds() { return accountIds; } public UserInfo setAccountIds(ArrayList value) { this.accountIds = value; return this; } public ArrayList getAccountNames() { return accountNames; } public UserInfo setAccountNames(ArrayList value) { this.accountNames = value; return this; } public ArrayList getDashboardPermissions() { return dashboardPermissions; } public UserInfo setDashboardPermissions(ArrayList value) { this.dashboardPermissions = value; return this; } } public static enum DashboardPermissions { ViewFiles, ViewNotifications, ViewSessions, ViewEndpoints, ViewReports, ViewCustomers, ViewFlows; } }