/* Options: Date: 2026-07-08 19:30:23 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: MaterialShortfallsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/projects/{ProjectID}/material-shortfalls", "GET,OPTIONS") public class MaterialShortfallsRequest : IReturn, Codable { public typealias Return = MaterialShortfallsResponse public var projectID:Int? required public init(){} } public class MaterialShortfallsResponse : Codable { public var responseStatus:ResponseStatus? public var projectID:Int? public var shortfalls:[MaterialShortfall] = [] required public init(){} } public class MaterialShortfall : Codable { public var materialID:Int? public var name:String? public var materialType:String? public var onHand:Double? public var qtyNeeded:Double? public var shortQty:Double? public var unit:String? public var unitPrice:Double? public var estUSD:Double? public var vendor:String? public var jobStartDate:Date? required public init(){} }