Class WebhookConfigurationModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.webhookservices.model.WebhookConfigurationModel
-
- All Implemented Interfaces:
java.io.Serializable
public class WebhookConfigurationModel extends ItemModel
Generated model class for type WebhookConfiguration first defined at extension webhookservices.Configures how a webhook reacts to an event by specifying an event, an Integration Object to transform the event to, and the destination to send the payload.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringDESTINATIONGenerated constant - Attribute key ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.static java.lang.StringEVENTTYPEGenerated constant - Attribute key ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.static java.lang.StringFILTERLOCATIONGenerated constant - Attribute key ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.static java.lang.StringINTEGRATIONOBJECTGenerated constant - Attribute key ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description WebhookConfigurationModel()Generated constructor - Default constructor for generic creation.WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersWebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersWebhookConfigurationModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsumedDestinationModelgetDestination()Generated method - Getter of theWebhookConfiguration.destinationattribute defined at extensionwebhookservices.java.lang.StringgetEventType()Generated method - Getter of theWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.java.lang.StringgetFilterLocation()Generated method - Getter of theWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.IntegrationObjectModelgetIntegrationObject()Generated method - Getter of theWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.voidsetDestination(ConsumedDestinationModel value)Generated method - Setter ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.voidsetEventType(java.lang.String value)Generated method - Setter ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.voidsetFilterLocation(java.lang.String value)Generated method - Setter ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.voidsetIntegrationObject(IntegrationObjectModel value)Generated method - Setter ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
EVENTTYPE
public static final java.lang.String EVENTTYPE
Generated constant - Attribute key ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.- See Also:
- Constant Field Values
-
INTEGRATIONOBJECT
public static final java.lang.String INTEGRATIONOBJECT
Generated constant - Attribute key ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.- See Also:
- Constant Field Values
-
DESTINATION
public static final java.lang.String DESTINATION
Generated constant - Attribute key ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.- See Also:
- Constant Field Values
-
FILTERLOCATION
public static final java.lang.String FILTERLOCATION
Generated constant - Attribute key ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebhookConfigurationModel
public WebhookConfigurationModel()
Generated constructor - Default constructor for generic creation.
-
WebhookConfigurationModel
public WebhookConfigurationModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
WebhookConfigurationModel
@Deprecated(since="4.1.1", forRemoval=true) public WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_destination- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices_integrationObject- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices
-
WebhookConfigurationModel
@Deprecated(since="4.1.1", forRemoval=true) public WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_destination- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices_integrationObject- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getDestination
@Accessor(qualifier="destination", type=GETTER) public ConsumedDestinationModel getDestination()
Generated method - Getter of theWebhookConfiguration.destinationattribute defined at extensionwebhookservices.- Returns:
- the destination - The destination this WebhookConfiguration is to send the payload
-
getEventType
@Accessor(qualifier="eventType", type=GETTER) public java.lang.String getEventType()
Generated method - Getter of theWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.- Returns:
- the eventType - The event this WebhookConfiguration responds to
-
getFilterLocation
@Accessor(qualifier="filterLocation", type=GETTER) public java.lang.String getFilterLocation()
Generated method - Getter of theWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.- Returns:
- the filterLocation - Specifies the URI of the filter logic. For example, script://orderFilter.
-
getIntegrationObject
@Accessor(qualifier="integrationObject", type=GETTER) public IntegrationObjectModel getIntegrationObject()
Generated method - Getter of theWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.- Returns:
- the integrationObject - The IntegrationObject this WebhookConfiguration is to use when sending the payload
-
setDestination
@Accessor(qualifier="destination", type=SETTER) public void setDestination(ConsumedDestinationModel value)
Generated method - Setter ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.- Parameters:
value- the destination - The destination this WebhookConfiguration is to send the payload
-
setEventType
@Accessor(qualifier="eventType", type=SETTER) public void setEventType(java.lang.String value)
Generated method - Setter ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.- Parameters:
value- the eventType - The event this WebhookConfiguration responds to
-
setFilterLocation
@Accessor(qualifier="filterLocation", type=SETTER) public void setFilterLocation(java.lang.String value)
Generated method - Setter ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.- Parameters:
value- the filterLocation - Specifies the URI of the filter logic. For example, script://orderFilter.
-
setIntegrationObject
@Accessor(qualifier="integrationObject", type=SETTER) public void setIntegrationObject(IntegrationObjectModel value)
Generated method - Setter ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.- Parameters:
value- the integrationObject - The IntegrationObject this WebhookConfiguration is to use when sending the payload
-
-