/* Options: Date: 2025-11-03 19:12:05 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: ArticleTypeQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/articles/types", "GET") // @ValidateRequest(Validator="IsAuthenticated") public class ArticleTypeQuery : IReturn, ICompany, Codable { public typealias Return = ArticleTypesQueryResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? required public init(){} } public class ArticleTypesQueryResponse : Codable { /** * The article type id */ // @ApiMember(Description="The article type id") public var id:Int? /** * The article type name */ // @ApiMember(Description="The article type name") public var name:String? /** * The article type description */ // @ApiMember(Description="The article type description") public var Description:String? required public init(){} } public protocol ICompany { var companyId:String? { get set } }