/* Options: Date: 2026-04-04 03:13:58 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetSuburbs.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Get all suburbs for the specified country, state and/or postcode */ // @Route("/suburbs") // @Api(Description="Get all suburbs for the specified country, state and/or postcode") public class GetSuburbs : IReturn, Codable { public typealias Return = GetSuburbsResponse /** * Get suburbs matching the specified search text criteria. */ // @ApiMember(Description="Get suburbs matching the specified search text criteria.", Name="SearchText") public var searchText:String? /** * State to get suburbs for */ // @ApiMember(Description="State to get suburbs for", Name="StateName") public var stateName:String? /** * Postcode to get suburbs for */ // @ApiMember(Description="Postcode to get suburbs for", Name="Postcode") public var postCode:String? /** * Country to get suburbs for */ // @ApiMember(Description="Country to get suburbs for", Name="CountryId") public var countryId:String? /** * Country to get suburbs for */ // @ApiMember(Description="Country to get suburbs for", Name="CountryName") public var countryName:String? required public init(){} } // @ApiResponse(Description="List of suburbs matching the criteria") public class GetSuburbsResponse : Codable { public var suburbs:[SuburbModel]? public var responseStatus:ResponseStatus? required public init(){} } public class SuburbModel : Codable { public var suburbId:String? public var name:String? public var stateId:String? public var stateName:String? public var postCode:String? public var countryId:String? public var countryName:String? required public init(){} }