/* Options: Date: 2025-01-18 07:55:40 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetWebhookEndpoint.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/webhook/endpoints/{Id}", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class GetWebhookEndpoint : 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") var CompanyId:UUID? = null /** * The ID of the webhook endpoint. */ @ApiMember(Description="The ID of the webhook endpoint.", IsRequired=true, ParameterType="path") var Id:String? = null companion object { private val responseType = WebhookEndpoint::class.java } override fun getResponseType(): Any? = GetWebhookEndpoint.responseType } open class WebhookEndpoint { var Description:String? = null var Url:String? = null var Id:String? = null var Disabled:Boolean? = null var EventTypes:ArrayList = ArrayList() } open interface ICompany { var CompanyId:UUID? }