/* Options: Date: 2026-04-04 04:54:33 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: SwitchProfile.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * 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") public class SwitchProfile : IReturn, Codable { public typealias Return = UpdateQuadrantResponse /** * Id of the user profile to switch to. */ // @ApiMember(Description="Id of the user profile to switch to.", Name="UserProfileId") public var userProfileId:String? /** * Has 'Remember Me' option been selected? */ // @ApiMember(Description="Has 'Remember Me' option been selected?", Name="IsPersistent") public var isPersistent:Bool? required public init(){} } public class UpdateQuadrantResponse : Codable { public var perspectiveSessionId:String? public var settings:[SettingModel]? public var permissions:[String]? public var responseStatus:ResponseStatus? required public init(){} } public class SettingModel : Codable { public var settingId:String? public var settingName:String? public var settingValue:String? required public init(){} }