/* Options: Date: 2024-12-01 03:52:39 SwiftVersion: 5.0 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: AuthorizeTokenFast.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/authorizetokenfast/{Service}/{TokenString}", "GET,POST") public class AuthorizeTokenFast : IReturn, IAuthorizeToken, Codable { public typealias Return = AuthorizeTokenFastResponse // @ApiMember(IsRequired=true, ParameterType="path") public var tokenString:String // @ApiMember(IsRequired=true, ParameterType="path") public var service:String required public init(){} } public class AuthorizeTokenFastResponse : AuthorizeFastBaseResponse { required public init(){ super.init() } required public init(from decoder: Decoder) throws { try super.init(from: decoder) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) } } public protocol IAuthorizeToken { var tokenString:String { get set } var service:String { get set } } public class AuthorizeFastBaseResponse : Codable { public var isAuthorized:Bool public var settings:[String:String] = [:] public var suggestedStatusCode:Int public var suggestedResponseMessage:String public var reason:String public var customerId:String? required public init(){} }