Package io.voucherify.client.model
Class ManagementProjectsWebhooksUpdateResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsWebhooksUpdateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsWebhooksUpdateResponseBody
extends Object
Response body schema for **PUT** `/management/v1/projects/{projectId}/webhooks/{webhookId}`.
-
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 TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanCreate an instance of ManagementProjectsWebhooksUpdateResponseBody 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 ManagementProjectsWebhooksUpdateResponseBody 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
-
ManagementProjectsWebhooksUpdateResponseBody
public ManagementProjectsWebhooksUpdateResponseBody()
-
-
Method Details
-
id
-
getId
Unique identifier of the webhook.- Returns:
- id
-
setId
-
_object
public ManagementProjectsWebhooksUpdateResponseBody _object(ManagementProjectsWebhooksUpdateResponseBody.ObjectEnum _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
public ManagementProjectsWebhooksUpdateResponseBody addEventsItem(ManagementProjectsWebhooksUpdateResponseBody.EventsEnum eventsItem) -
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
public static ManagementProjectsWebhooksUpdateResponseBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsWebhooksUpdateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsWebhooksUpdateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsWebhooksUpdateResponseBody
-
toJson
Convert an instance of ManagementProjectsWebhooksUpdateResponseBody to an JSON string- Returns:
- JSON string
-