/* Options: Date: 2026-04-04 08:36:26 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SwitchProfile.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class SettingModel { public SettingId: string; public SettingName: string; public SettingValue: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class UpdateQuadrantResponse { public PerspectiveSessionId: string; public Settings: SettingModel[]; public Permissions: string[]; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Switch to the specified profile - create a new session, retrieve settings and return new JWT Token */ // @Route("/profiles/{UserProfileId}/switch/token") // @Route("/profiles/{UserProfileId}/switch") // @Api(Description="Switch to the specified profile - create a new session, retrieve settings and return new JWT Token") export class SwitchProfile implements IReturn { /** @description Id of the user profile to switch to. */ // @ApiMember(Description="Id of the user profile to switch to.", Name="UserProfileId") public UserProfileId: string; /** @description Has 'Remember Me' option been selected? */ // @ApiMember(Description="Has 'Remember Me' option been selected?", Name="IsPersistent") public IsPersistent: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SwitchProfile'; } public getMethod() { return 'PUT'; } public createResponse() { return new UpdateQuadrantResponse(); } }