/* Options: Date: 2026-02-14 11:50:04 SwiftVersion: 6.0 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetReceivingAdviceByType.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Receiving Advice */ // @Route("/receivingAdvice/type/{Type}", "GET") // @Api(Description="Receiving Advice") // @ApiResponse(Description="Paged ReceivingAdvice response by ReceivingAdvice type", IsDefaultResponse=true, StatusCode=200) public class GetReceivingAdviceByType : IReturn, Codable { public typealias Return = PagedQueryResult> /** * Not used */ // @ApiMember(Description="Not used") public var searchTerm:String? /** * Requested page number, starting at 1 */ // @ApiMember(Description="Requested page number, starting at 1") public var requestedPage:Int? /** * Number of records to return on a page */ // @ApiMember(Description="Number of records to return on a page") public var numberOfRecordsPerPage:Int? /** * ReceivingAdvice type to be returned */ // @ApiMember(Description="ReceivingAdvice type to be returned", ExcludeInSchema=true, ParameterType="path") public var type:String? required public init(){} } public class PagedQueryResult : Codable { public var startIndex:Int? public var endIndex:Int? public var numberOfRecordsReturned:Int? public var totalNumberOfPages:Int? public var totalNumberOfRecords:Int? public var results:[ResultItem] = [] required public init(){} }