/* Options: Date: 2024-12-22 21:07:44 SwiftVersion: 6.0 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: PatchChinookCustomer.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/customers/{CustomerId}", "PATCH") public class PatchChinookCustomer : IReturn, IPatch, Codable { public typealias Return = IdResponse public var customerId:Int? public var firstName:String? public var lastName:String? public var company:String? public var address:String? public var city:String? public var state:String? public var country:String? public var postalCode:String? public var phone:String? public var fax:String? public var email:String? public var supportRepId:Int? required public init(){} } // @DataContract public class IdResponse : Codable { // @DataMember(Order=1) public var id:String? // @DataMember(Order=2) public var responseStatus:ResponseStatus? required public init(){} }