Package video.api.client.api.models
Class Webhook
- java.lang.Object
-
- video.api.client.api.models.Webhook
-
- All Implemented Interfaces:
Serializable
public class Webhook extends Object implements Serializable
Webhook- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_EVENTSstatic StringSERIALIZED_NAME_URLstatic StringSERIALIZED_NAME_WEBHOOK_ID
-
Constructor Summary
Constructors Constructor Description Webhook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookaddEventsItem(String eventsItem)WebhookcreatedAt(OffsetDateTime createdAt)booleanequals(Object o)Webhookevents(List<String> events)OffsetDateTimegetCreatedAt()When an webhook was created, presented in ISO-8601 format.List<String>getEvents()A list of events that will trigger the webhook.StringgetUrl()URL of the webhookStringgetWebhookId()Unique identifier of the webhookinthashCode()voidsetCreatedAt(OffsetDateTime createdAt)voidsetEvents(List<String> events)voidsetUrl(String url)voidsetWebhookId(String webhookId)StringtoString()Webhookurl(String url)WebhookwebhookId(String webhookId)
-
-
-
Field Detail
-
SERIALIZED_NAME_WEBHOOK_ID
public static final String SERIALIZED_NAME_WEBHOOK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENTS
public static final String SERIALIZED_NAME_EVENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWebhookId
@Nullable public String getWebhookId()
Unique identifier of the webhook- Returns:
- webhookId
-
setWebhookId
public void setWebhookId(String webhookId)
-
createdAt
public Webhook createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
When an webhook was created, presented in ISO-8601 format.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
getEvents
@Nullable public List<String> getEvents()
A list of events that will trigger the webhook.- Returns:
- events
-
getUrl
@Nullable public String getUrl()
URL of the webhook- Returns:
- url
-
setUrl
public void setUrl(String url)
-
-