Package io.voucherify.client.model
Class ManagementProjectsWebhooksGetResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsWebhooksGetResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsWebhooksGetResponseBody
extends Object
Response body schema for **GET** `/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 ManagementProjectsWebhooksGetResponseBody 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 ManagementProjectsWebhooksGetResponseBody 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
-
ManagementProjectsWebhooksGetResponseBody
public ManagementProjectsWebhooksGetResponseBody()
-
-
Method Details
-
id
-
getId
Unique identifier of the webhook.- Returns:
- id
-
setId
-
_object
public ManagementProjectsWebhooksGetResponseBody _object(ManagementProjectsWebhooksGetResponseBody.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
public ManagementProjectsWebhooksGetResponseBody events(List<ManagementProjectsWebhooksGetResponseBody.EventsEnum> events) -
addEventsItem
public ManagementProjectsWebhooksGetResponseBody addEventsItem(ManagementProjectsWebhooksGetResponseBody.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 ManagementProjectsWebhooksGetResponseBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsWebhooksGetResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsWebhooksGetResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsWebhooksGetResponseBody
-
toJson
Convert an instance of ManagementProjectsWebhooksGetResponseBody to an JSON string- Returns:
- JSON string
-