/* Options: Date: 2025-01-18 07:50:53 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteWebhookEndpoint.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/webhook/endpoints/{id}", "DELETE") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") class DeleteWebhookEndpoint implements IReturnVoid, 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.", IsRequired=true, ParameterType="query") String? CompanyId; /** * The ID of the webhook endpoint. */ // @ApiMember(Description="The ID of the webhook endpoint.", IsRequired=true, ParameterType="path") String? Id; DeleteWebhookEndpoint({this.CompanyId,this.Id}); DeleteWebhookEndpoint.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Id = json['Id']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'Id': Id }; createResponse() {} getTypeName() => "DeleteWebhookEndpoint"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'DeleteWebhookEndpoint': TypeInfo(TypeOf.Class, create:() => DeleteWebhookEndpoint()), });