Package io.voucherify.client.model
Class ManagementProjectsWebhook
java.lang.Object
io.voucherify.client.model.ManagementProjectsWebhook
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsWebhook
extends Object
Response body schema for webhook endpoints.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets eventsstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventsItem(ManagementProjectsWebhook.EventsEnum eventsItem) createdAt(OffsetDateTime createdAt) booleanstatic ManagementProjectsWebhookCreate an instance of ManagementProjectsWebhook given an JSON stringDetermines if the webhook configuration is active.Timestamp representing the date and time when the webhook configuration was created.Lists the events that trigger webhook sendout.getId()Unique identifier of the webhook.The type of the object represented by JSON.URL address that receives webhooks.inthashCode()voidvoidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidvoidsetTargetUrl(String targetUrl) toJson()Convert an instance of ManagementProjectsWebhook to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_TARGET_URL
- See Also:
-
SERIALIZED_NAME_EVENTS
- See Also:
-
SERIALIZED_NAME_ACTIVE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsWebhook
public ManagementProjectsWebhook()
-
-
Method Details
-
id
-
getId
Unique identifier of the webhook.- Returns:
- id
-
setId
-
_object
-
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the webhook configuration was created. The value for this parameter is shown in the ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
targetUrl
-
getTargetUrl
URL address that receives webhooks.- Returns:
- targetUrl
-
setTargetUrl
-
events
-
addEventsItem
-
getEvents
Lists the events that trigger webhook sendout.- Returns:
- events
-
setEvents
-
active
-
getActive
Determines if the webhook configuration is active.- Returns:
- active
-
setActive
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ManagementProjectsWebhook given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsWebhook
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsWebhook
-
toJson
Convert an instance of ManagementProjectsWebhook to an JSON string- Returns:
- JSON string
-