/* Options: Date: 2025-11-23 04:31:29 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: TestWebhookEndpoint.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/webhook/endpoints/{Id}/test", Verbs="POST") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="Invalid request", StatusCode=400) @ValidateRequest(Validator="IsAuthenticated") public static class TestWebhookEndpoint implements IReturn, ICompany { /** * 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") public UUID CompanyId = null; /** * The ID of the webhook endpoint to test. */ @ApiMember(Description="The ID of the webhook endpoint to test.", IsRequired=true, ParameterType="path") public String Id = null; public UUID getCompanyId() { return CompanyId; } public TestWebhookEndpoint setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getId() { return Id; } public TestWebhookEndpoint setId(String value) { this.Id = value; return this; } private static Object responseType = TestWebhookEndpointResponse.class; public Object getResponseType() { return responseType; } } public static class TestWebhookEndpointResponse { public String MessageId = null; public String getMessageId() { return MessageId; } public TestWebhookEndpointResponse setMessageId(String value) { this.MessageId = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } }