public class WebhookSubscription extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookSubscription.Builder
Class to build instances of
WebhookSubscription. |
| Modifier | Constructor and Description |
|---|---|
protected |
WebhookSubscription(String id,
io.apimatic.core.types.OptionalNullable<String> name,
io.apimatic.core.types.OptionalNullable<Boolean> enabled,
io.apimatic.core.types.OptionalNullable<List<String>> eventTypes,
io.apimatic.core.types.OptionalNullable<String> notificationUrl,
io.apimatic.core.types.OptionalNullable<String> apiVersion,
String signatureKey,
String createdAt,
String updatedAt)
Internal initialization constructor.
|
|
WebhookSubscription(String id,
String name,
Boolean enabled,
List<String> eventTypes,
String notificationUrl,
String apiVersion,
String signatureKey,
String createdAt,
String updatedAt)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApiVersion()
Getter for ApiVersion.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
Boolean |
getEnabled()
Getter for Enabled.
|
List<String> |
getEventTypes()
Getter for EventTypes.
|
String |
getId()
Getter for Id.
|
String |
getName()
Getter for Name.
|
String |
getNotificationUrl()
Getter for NotificationUrl.
|
String |
getSignatureKey()
Getter for SignatureKey.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetApiVersion()
Internal Getter for ApiVersion.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetEnabled()
Internal Getter for Enabled.
|
protected io.apimatic.core.types.OptionalNullable<List<String>> |
internalGetEventTypes()
Internal Getter for EventTypes.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetName()
Internal Getter for Name.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetNotificationUrl()
Internal Getter for NotificationUrl.
|
WebhookSubscription.Builder |
toBuilder()
Builds a new
WebhookSubscription.Builder object. |
String |
toString()
Converts this WebhookSubscription into string format.
|
public WebhookSubscription(String id, String name, Boolean enabled, List<String> eventTypes, String notificationUrl, String apiVersion, String signatureKey, String createdAt, String updatedAt)
id - String value for id.name - String value for name.enabled - Boolean value for enabled.eventTypes - List of String value for eventTypes.notificationUrl - String value for notificationUrl.apiVersion - String value for apiVersion.signatureKey - String value for signatureKey.createdAt - String value for createdAt.updatedAt - String value for updatedAt.protected WebhookSubscription(String id, io.apimatic.core.types.OptionalNullable<String> name, io.apimatic.core.types.OptionalNullable<Boolean> enabled, io.apimatic.core.types.OptionalNullable<List<String>> eventTypes, io.apimatic.core.types.OptionalNullable<String> notificationUrl, io.apimatic.core.types.OptionalNullable<String> apiVersion, String signatureKey, String createdAt, String updatedAt)
public String getId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetName()
public String getName()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetEnabled()
public Boolean getEnabled()
protected io.apimatic.core.types.OptionalNullable<List<String>> internalGetEventTypes()
public List<String> getEventTypes()
protected io.apimatic.core.types.OptionalNullable<String> internalGetNotificationUrl()
public String getNotificationUrl()
protected io.apimatic.core.types.OptionalNullable<String> internalGetApiVersion()
public String getApiVersion()
public String getSignatureKey()
public String getCreatedAt()
public String getUpdatedAt()
public String toString()
public WebhookSubscription.Builder toBuilder()
WebhookSubscription.Builder object.
Creates the instance with the state of the current model.WebhookSubscription.Builder objectCopyright © 2023. All rights reserved.