/* Options: Date: 2026-04-04 06:46:04 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetUOMCodeList.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Get a list of UOM codes (Unit of Measure) */ // @Route("/unitofmeasures/") // @Route("/unitofmeasures/{ApplianceId}") // @Api(Description="Get a list of UOM codes (Unit of Measure)") public class GetUOMCodeList : IReturn, Codable { public typealias Return = GetUOMCodeListResponse /** * ApplianceId to narrow the UOM Code list down to relevant ones for the appliance. */ // @ApiMember(DataType="Guid", Description="ApplianceId to narrow the UOM Code list down to relevant ones for the appliance.", Name="ApplianceId", ParameterType="query") public var applianceId:String? required public init(){} } // @ApiResponse(Description="List of UOM codes (Unit of Measure)") public class GetUOMCodeListResponse : Codable { public var uomCodes:[UOMModel]? public var responseStatus:ResponseStatus? required public init(){} } public class UOMModel : Codable { public var code:String? public var name:String? public var Description:String? public var symbol:String? required public init(){} }