/* Options: Date: 2025-04-05 01:15:03 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateApiKeySuperAdminUser.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/superadmin/apikey", Verbs="POST") @ApiResponse(Description="", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) open class CreateApiKeySuperAdminUser : IReturn, ICompany { /** * Enter the companyId for the customer */ @ApiMember(Description="Enter the companyId for the customer", IsRequired=true, ParameterType="query") var CompanyId:UUID? = null @ApiMember(IsRequired=true) var FirstName:String? = null @ApiMember(IsRequired=true) var LastName:String? = null @ApiMember(IsRequired=true) var ContactEmail:String? = null @ApiMember(IsRequired=true) var ContactPhone:String? = null @ApiMember() var Notes:String? = null companion object { private val responseType = ApiKeySuperAdminResponse::class.java } override fun getResponseType(): Any? = CreateApiKeySuperAdminUser.responseType } open class ApiKeySuperAdminResponse { @ApiMember(IsRequired=true) var CompanyId:UUID? = null @ApiMember(IsRequired=true) var ApiKey:UUID? = null @ApiMember(IsRequired=true) var Notes:String? = null @ApiMember(IsRequired=true) var InternalNotes:String? = null } open interface ICompany { var CompanyId:UUID? }