/* Options: Date: 2025-12-06 05:19:16 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: LocationsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/Locations", "GET,POST,PUT,DELETE,OPTIONS") // @Route("/v1/Locations/{Id}", "GET,POST,PUT,DELETE,OPTIONS") public class LocationsRequest : IReturn, Codable { public typealias Return = LocationsResponse public var id:String? public var locations:[Location] = [] required public init(){} } public class LocationsResponse : Codable { public var responseStatus:ResponseStatus? public var locations:[Location] = [] required public init(){} } public class Location : Codable { public var id:String? public var clientId:String? public var name:String? public var address1:String? public var address2:String? public var city:String? public var state:String? public var zip:String? public var phone:String? public var fax:String? public var timeZone:String? public var active:Bool? public var entDate:Date? public var modDate:Date? required public init(){} }