/* Options: Date: 2024-11-21 12:18:30 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: DeleteICalSyncToken.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class ICalSyncTokenResponse implements IConvertible { String? Result; ICalSyncTokenResponse({this.Result}); ICalSyncTokenResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Result = json['Result']; return this; } Map toJson() => { 'Result': Result }; getTypeName() => "ICalSyncTokenResponse"; TypeContext? context = _ctx; } // @Route("/sync/icalsync", "DELETE") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") class DeleteICalSyncToken implements IReturn, ICompany, IConvertible, IDelete { /** * 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.") String? CompanyId; /** * ICalSync Token */ // @ApiMember(Description="ICalSync Token", IsRequired=true, ParameterType="path") String? Token; DeleteICalSyncToken({this.CompanyId,this.Token}); DeleteICalSyncToken.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Token = json['Token']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'Token': Token }; createResponse() => ICalSyncTokenResponse(); getResponseTypeName() => "ICalSyncTokenResponse"; getTypeName() => "DeleteICalSyncToken"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'ICalSyncTokenResponse': TypeInfo(TypeOf.Class, create:() => ICalSyncTokenResponse()), 'DeleteICalSyncToken': TypeInfo(TypeOf.Class, create:() => DeleteICalSyncToken()), });