/* Options: Date: 2024-11-21 12:48:01 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: CreateApiKeySuperAdminUser.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/superadmin/apikey", "POST") // @ApiResponse(Description="", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) public class CreateApiKeySuperAdminUser : ICompany, Codable { /** * Enter the companyId for the customer */ // @ApiMember(Description="Enter the companyId for the customer", IsRequired=true, ParameterType="query") public var companyId:String? // @ApiMember(IsRequired=true) public var firstName:String // @ApiMember(IsRequired=true) public var lastName:String // @ApiMember(IsRequired=true) public var clientId:String // @ApiMember(IsRequired=true) public var redirectUrls:[String] = [] // @ApiMember(IsRequired=true) public var contactEmail:String // @ApiMember(IsRequired=true) public var contactPhone:String // @ApiMember() public var notes:String // @ApiMember() public var webOrigins:[String] = [] // @ApiMember() public var defaultClientScopes:[String] = [] // @ApiMember() public var optionalClientScopes:[String] = [] required public init(){} } public protocol ICompany { var companyId:String? { get set } }