' Options: 'Date: 2026-06-13 00:59:11 'Version: 10.05 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bookmore.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: ApiKeyQuery.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class ApiKeyQuery Implements IReturn(Of ApiKeyQueryResponse) Implements ICompany ''' '''The company to list API keys for. Defaults to the logged in user's company. Only a SuperAdmin may specify a company other than their own; for other roles this value is ignored. ''' Public Overridable Property CompanyId As Guid? Implements ICompany.CompanyId ''' '''If true, only return keys that are active (not cancelled and not expired). Default is false (return all). ''' Public Overridable Property ActiveOnly As Boolean? End Class Public Partial Class ApiKeyQueryResponse ''' '''The API keys for the company ''' Public Overridable Property ApiKeys As List(Of ApiKeyResponse) = New List(Of ApiKeyResponse) Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class ApiKeyResponse ''' '''The company the API key belongs to ''' Public Overridable Property CompanyId As Guid ''' '''The API key value to send in the x-api-key header ''' Public Overridable Property ApiKey As Guid ''' '''Whether the key is active ''' Public Overridable Property Active As Boolean ''' '''When the key was created ''' Public Overridable Property CreatedDate As Date ''' '''When the key expires, if ever ''' Public Overridable Property ExpiryDate As Date? ''' '''Contact email registered for the key ''' Public Overridable Property ContactEmail As String ''' '''Free text notes for the key ''' Public Overridable Property Notes As String ''' '''Comma separated list of IP addresses the key is restricted to, if any ''' Public Overridable Property AllowedIpAddresses As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface End Namespace End Namespace