/* Options: Date: 2025-12-06 06:05:34 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: InventoryRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/Inventory", "GET,POST,PUT,DELETE,OPTIONS") // @Route("/v1/Inventory/{InventoryID}", "GET,POST,PUT,DELETE,OPTIONS") public class InventoryRequest : IReturn, Codable { public typealias Return = InventoryResponse public var inventoryID:Int? public var inventory:[Inventory] = [] required public init(){} } public class InventoryResponse : Codable { public var responseStatus:ResponseStatus? public var inventory:[Inventory] = [] required public init(){} } public class Inventory : Codable { public var inventoryID:Int? public var equipmentID:Int? public var recordCreatedDate:Date? public var deletedDate:Date? public var quantity:Int? public var inventoryLocation:String? public var notess:String? public var createdByUID:String? required public init(){} }