/* Options: Date: 2024-07-03 12:40:42 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: SyncToiCal.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/sync/icalsync/{companyid}/{token}", "GET") public class SyncToiCal : ICompany, Codable { /** * Enter the company, if blank and you are an admin, your company id will be used */ // @ApiMember(Description="Enter the company, if blank and you are an admin, your company id will be used", ParameterType="path") public var companyId:String? /** * Query for specific Resources, default is all resources */ // @ApiMember(Description="Query for specific Resources, default is all resources", IsRequired=true, ParameterType="query") public var resourceIds:[Int] = [] /** * ICalSync Token */ // @ApiMember(Description="ICalSync Token", IsRequired=true, ParameterType="path") public var token:String /** * If you want to include the schedule time slots */ // @ApiMember(Description="If you want to include the schedule time slots", ParameterType="query") public var includeSchedules:Bool required public init(){} } public protocol ICompany { var companyId:String? { get set } }