Class WebhookSubscription
java.lang.Object
se.bjurr.bitbucketcloud.gen.model.ModelObject
se.bjurr.bitbucketcloud.gen.model.WebhookSubscription
@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen",
date="2025-07-17T16:07:08.420911588+02:00[Europe/Stockholm]",
comments="Generator version: 7.14.0")
public class WebhookSubscription
extends ModelObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventsItem(WebhookSubscription.EventsEnum eventsItem) description(String description) A user-defined description of the webhook.booleanevents(Set<WebhookSubscription.EventsEnum> events) The events this webhook is subscribed to.@Size(min=1) Set<WebhookSubscription.EventsEnum>getUrl()getUuid()inthashCode()removeEventsItem(WebhookSubscription.EventsEnum eventsItem) voidvoidsetCreatedAt(Date createdAt) voidsetDescription(String description) voidsetEvents(Set<WebhookSubscription.EventsEnum> events) voidsetSubject(Object subject) voidsetSubjectType(WebhookSubscription.SubjectTypeEnum subjectType) voidvoidsubjectType(WebhookSubscription.SubjectTypeEnum subjectType) The type of entity, which is `repository` in the case of webhook subscriptions on repositories.toString()The URL events get delivered to.The webhook's idMethods inherited from class se.bjurr.bitbucketcloud.gen.model.ModelObject
getType, setType, type
-
Constructor Details
-
WebhookSubscription
public WebhookSubscription() -
WebhookSubscription
-
-
Method Details
-
subjectType
The type of entity, which is `repository` in the case of webhook subscriptions on repositories. -
getSubjectType
-
setSubjectType
-
active
-
getActive
-
setActive
-
uuid
The webhook's id -
getUuid
-
setUuid
-
createdAt
-
getCreatedAt
-
setCreatedAt
-
url
The URL events get delivered to. -
getUrl
-
setUrl
-
events
The events this webhook is subscribed to. -
getEvents
-
setEvents
-
addEventsItem
-
removeEventsItem
-
subject
-
getSubject
-
setSubject
-
description
A user-defined description of the webhook. -
getDescription
-
setDescription
-
equals
- Overrides:
equalsin classModelObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classModelObject
-
toString
- Overrides:
toStringin classModelObject
-