/* Options: Date: 2024-11-21 11:27:49 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GoogleCalendarGetICals.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/sync/googlecalendar/icals/{companyid}/{token}", "GET") class GoogleCalendarGetICals implements ICompany, IConvertible, IGet { /** * The company id */ // @ApiMember(Description="The company id", IsRequired=true, ParameterType="path") String? CompanyId; /** * Query for specific Resources, default is all resources */ // @ApiMember(Description="Query for specific Resources, default is all resources", ParameterType="query") List? ResourceIds; /** * If you want to include the schedule time slots */ // @ApiMember(Description="If you want to include the schedule time slots", ParameterType="query") bool? IncludeSchedules; /** * GoogleCalendar Token */ // @ApiMember(Description="GoogleCalendar Token", IsRequired=true, ParameterType="path") String? Token; GoogleCalendarGetICals({this.CompanyId,this.ResourceIds,this.IncludeSchedules,this.Token}); GoogleCalendarGetICals.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; ResourceIds = JsonConverters.fromJson(json['ResourceIds'],'List',context!); IncludeSchedules = json['IncludeSchedules']; Token = json['Token']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'ResourceIds': JsonConverters.toJson(ResourceIds,'List',context!), 'IncludeSchedules': IncludeSchedules, 'Token': Token }; getTypeName() => "GoogleCalendarGetICals"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'GoogleCalendarGetICals': TypeInfo(TypeOf.Class, create:() => GoogleCalendarGetICals()), });