/* Options: Date: 2024-07-03 13:49:48 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: GoogleCalendarGetICals.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/sync/googlecalendar/icals/{companyid}/{token}", "GET") public class GoogleCalendarGetICals : ICompany, Codable { /** * The company id */ // @ApiMember(Description="The company id", IsRequired=true, ParameterType="path") public var companyId:String? /** * Query for specific Resources, default is all resources */ // @ApiMember(Description="Query for specific Resources, default is all resources", ParameterType="query") public var resourceIds:[Int] = [] /** * 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 /** * GoogleCalendar Token */ // @ApiMember(Description="GoogleCalendar Token", IsRequired=true, ParameterType="path") public var token:String required public init(){} } public protocol ICompany { var companyId:String? { get set } }