' Options: 'Date: 2025-09-03 19:00:50 'Version: 6.10 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://foundrystage-api-app.azurewebsites.net ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: CreateMachineRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.IO Imports Infrastructure.Api.Interfaces.ServiceOperations Imports Application.Interfaces.Resources Imports Infrastructure.Api.Interfaces.ServiceOperations.Machines Namespace Global Namespace Application.Interfaces.Resources Public Interface IIdentifiableResource Property Id As String End Interface Public Partial Class Machine Implements IIdentifiableResource Public Overridable Property Name As String Public Overridable Property Type As String Public Overridable Property ManufacturedOn As DateOnly Public Overridable Property Location As String Public Overridable Property Configuration As String Public Overridable Property Id As String End Class End Namespace Namespace Infrastructure.Api.Interfaces.ServiceOperations Public Interface ITenantedRequest Property OrganisationId As String End Interface Public Partial Class PostOperationTenanted(Of TResponse) Inherits PostOperationUnTenanted(Of TResponse) Implements ITenantedRequest Public Overridable Property OrganisationId As String End Class Public Partial Class PostOperationUnTenanted(Of TResponse) Implements IPost End Class End Namespace Namespace Infrastructure.Api.Interfaces.ServiceOperations.Machines Public Partial Class CreateMachineRequest Inherits PostOperationTenanted(Of CreateMachineResponse) Implements IReturn(Of CreateMachineResponse) Public Overridable Property Name As String Public Overridable Property Type As String Public Overridable Property ManufacturedOn As DateOnly Public Overridable Property Location As String Public Overridable Property Timezone As String End Class Public Partial Class CreateMachineResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Machine As Machine Public Overridable Property ApiKey As String End Class End Namespace End Namespace