""" Options: Date: 2025-04-05 01:34:12 Version: 8.23 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://testapi.bokamera.se #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: GetApiKeySuperAdminUser.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum class ICompany: company_id: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ApiKeySuperAdminResponse: # @ApiMember(IsRequired=true) company_id: Optional[str] = None # @ApiMember(IsRequired=true) api_key: Optional[str] = None # @ApiMember(IsRequired=true) notes: Optional[str] = None # @ApiMember(IsRequired=true) internal_notes: Optional[str] = None # @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) @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class GetApiKeySuperAdminUser(IReturn[ApiKeySuperAdminResponse], ICompany): # @ApiMember(Description="Enter the companyId for the customer", IsRequired=true, ParameterType="query") company_id: Optional[str] = None """ Enter the companyId for the customer """