/* Options: Date: 2024-11-21 12:18:00 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: CheckCompanyTrial.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/trials/company/check", "GET") // @ValidateRequest(Validator="IsAuthenticated") public class CheckCompanyTrial : ICompany, Codable { /** * Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown */ // @ApiMember(Description="Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ", ParameterType="query") public var companyId:String? /** * The TrialType you want to check */ // @ApiMember(Description="The TrialType you want to check", IsRequired=true, ParameterType="query") public var trialTypeId:Int required public init(){} } public protocol ICompany { var companyId:String? { get set } }