/* Options: Date: 2026-04-04 02:55:16 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SwitchProfile.* //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 { /** * Switch to the specified profile - create a new session, retrieve settings and return new JWT Token */ @Route(Path="/profiles/{UserProfileId}/switch/token") // @Route(Path="/profiles/{UserProfileId}/switch") @Api(Description="Switch to the specified profile - create a new session, retrieve settings and return new JWT Token") public static class SwitchProfile implements IReturn { /** * Id of the user profile to switch to. */ @ApiMember(Description="Id of the user profile to switch to.", Name="UserProfileId") public UUID UserProfileId = null; /** * Has 'Remember Me' option been selected? */ @ApiMember(Description="Has 'Remember Me' option been selected?", Name="IsPersistent") public Boolean IsPersistent = null; public UUID getUserProfileId() { return UserProfileId; } public SwitchProfile setUserProfileId(UUID value) { this.UserProfileId = value; return this; } public Boolean getIsPersistent() { return IsPersistent; } public SwitchProfile setIsPersistent(Boolean value) { this.IsPersistent = value; return this; } private static Object responseType = UpdateQuadrantResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateQuadrantResponse { public UUID PerspectiveSessionId = null; public ArrayList Settings = null; public ArrayList Permissions = null; public ResponseStatus ResponseStatus = null; public UUID getPerspectiveSessionId() { return PerspectiveSessionId; } public UpdateQuadrantResponse setPerspectiveSessionId(UUID value) { this.PerspectiveSessionId = value; return this; } public ArrayList getSettings() { return Settings; } public UpdateQuadrantResponse setSettings(ArrayList value) { this.Settings = value; return this; } public ArrayList getPermissions() { return Permissions; } public UpdateQuadrantResponse setPermissions(ArrayList value) { this.Permissions = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public UpdateQuadrantResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class SettingModel { public UUID SettingId = null; public String SettingName = null; public String SettingValue = null; public UUID getSettingId() { return SettingId; } public SettingModel setSettingId(UUID value) { this.SettingId = value; return this; } public String getSettingName() { return SettingName; } public SettingModel setSettingName(String value) { this.SettingName = value; return this; } public String getSettingValue() { return SettingValue; } public SettingModel setSettingValue(String value) { this.SettingValue = value; return this; } } }