/* Options: Date: 2025-04-05 01:41:09 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetApiKeySuperAdminUser.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/superadmin/apikey/{CompanyId}", "GET") // @ApiResponse(Description="", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) public class GetApiKeySuperAdminUser : IReturn, ICompany, Codable { public typealias Return = ApiKeySuperAdminResponse /** * Enter the companyId for the customer */ // @ApiMember(Description="Enter the companyId for the customer", IsRequired=true, ParameterType="query") public var companyId:String? required public init(){} } public class ApiKeySuperAdminResponse : Codable { // @ApiMember(IsRequired=true) public var companyId:String // @ApiMember(IsRequired=true) public var apiKey:String // @ApiMember(IsRequired=true) public var notes:String // @ApiMember(IsRequired=true) public var internalNotes:String required public init(){} } public protocol ICompany { var companyId:String? { get set } }