/* Options: Date: 2025-01-18 07:40:01 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: ListWebhookEndpoint.* //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", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class ListWebhookEndpoint : 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 companion object { private val responseType = ListEndpointsResponse::class.java } override fun getResponseType(): Any? = ListWebhookEndpoint.responseType } open class ListEndpointsResponse { var Endpoints:ArrayList = ArrayList() } open interface ICompany { var CompanyId:UUID? } open class WebhookEndpoint { var Description:String? = null var Url:String? = null var Id:String? = null var Disabled:Boolean? = null var EventTypes:ArrayList = ArrayList() }