/* Options: Date: 2025-12-06 07:49:00 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: MaterialTypeRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/MaterialType", "GET,POST,PUT,DELETE,OPTIONS") // @Route("/v1/MaterialType/{MaterialTypeID}", "GET,POST,PUT,DELETE,OPTIONS") public class MaterialTypeRequest : IReturn, Codable { public typealias Return = MaterialTypeResponse public var materialTypeID:Int? public var materialType:[MaterialType] = [] required public init(){} } public class MaterialTypeResponse : Codable { public var responseStatus:ResponseStatus? public var materialType:[MaterialType] = [] required public init(){} } public class MaterialType : Codable { public var materialTypeID:Int16? public var materialTypeName:String? required public init(){} }