/* Options: Date: 2026-02-22 02:45:38 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ListWebhookEndpointAttempts.* //ExcludeTypes: //InitializeCollections: False //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.* @Route(Path="/webhook/endpoints/{EndpointId}/attempts", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class ListWebhookEndpointAttempts : 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") override var CompanyId:UUID? = null /** * The ID of the webhook endpoint. */ @ApiMember(Description="The ID of the webhook endpoint.", IsRequired=true, ParameterType="path") open var EndpointId:String? = null /** * Pagination iterator. */ @ApiMember(Description="Pagination iterator.") open var Iterator:String? = null /** * Maximum number of attempts to return. */ @ApiMember(Description="Maximum number of attempts to return.") open var Limit:Int? = null /** * Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending. */ @ApiMember(Description="Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending.") open var Status:Int? = null /** * Filter by event types. */ @ApiMember(Description="Filter by event types.") open var EventTypes:ArrayList? = null /** * Filter attempts before this date. */ @ApiMember(Description="Filter attempts before this date.") open var Before:Date? = null /** * Filter attempts after this date. */ @ApiMember(Description="Filter attempts after this date.") open var After:Date? = null companion object { private val responseType = ListMessageAttemptsResponse::class.java } override fun getResponseType(): Any? = ListWebhookEndpointAttempts.responseType } open class ListMessageAttemptsResponse { open var Attempts:ArrayList = ArrayList() open var Done:Boolean? = null open var Iterator:String? = null } interface ICompany { var CompanyId:UUID? } open class WebhookMessageAttempt { open var Id:String? = null open var MessageId:String? = null open var EndpointId:String? = null open var Url:String? = null open var Status:String? = null open var ResponseStatusCode:Int? = null open var Timestamp:Date? = null open var TriggerType:String? = null }