Class CloudEventsPayloadImpl

java.lang.Object
com.commercetools.api.models.subscription.CloudEventsPayloadImpl
All Implemented Interfaces:
CloudEventsPayload, io.vrap.rmf.base.client.ModelBase

public class CloudEventsPayloadImpl extends Object implements CloudEventsPayload, io.vrap.rmf.base.client.ModelBase

The CloudEventsFormat represents event data in a way that conforms to a common specification. The message payload can be found inside the data field.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Field Summary

    Fields inherited from interface com.commercetools.api.models.subscription.CloudEventsPayload

    CLOUD_EVENTS
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    MessageDeliveryPayload, ResourceCreatedDeliveryPayload, ResourceUpdatedDeliveryPayload, or ResourceDeletedDeliveryPayload.
    The URI from which the message can be retrieved if messages are enabled.
    Unique identifier of the event.
    Corresponds to the sequenceNumber of a MessageSubscription.
    "Integer"
    The default REST URI of the ReferenceTypeId that triggered this event, including the project key.
    The version of the CloudEvents specification which the event uses.
    Unique identifier of the resource that triggered the event.
    Corresponds to the lastModifiedAt of the resource at the time the event was triggered.
    The type is namespaced with com.commercetools, followed by the ReferenceTypeId, the type of Subscription (either message or change), and the message or change type.
    int
     
    void
    MessageDeliveryPayload, ResourceCreatedDeliveryPayload, ResourceUpdatedDeliveryPayload, or ResourceDeletedDeliveryPayload.
    void
    setDataref(String dataref)
    The URI from which the message can be retrieved if messages are enabled.
    void
    Unique identifier of the event.
    void
    setSequence(String sequence)
    Corresponds to the sequenceNumber of a MessageSubscription.
    void
    setSequencetype(String sequencetype)
    "Integer"
    void
    setSource(String source)
    The default REST URI of the ReferenceTypeId that triggered this event, including the project key.
    void
    setSpecversion(String specversion)
    The version of the CloudEvents specification which the event uses.
    void
    setSubject(String subject)
    Unique identifier of the resource that triggered the event.
    void
    Corresponds to the lastModifiedAt of the resource at the time the event was triggered.
    void
    The type is namespaced with com.commercetools, followed by the ReferenceTypeId, the type of Subscription (either message or change), and the message or change type.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.subscription.CloudEventsPayload

    withCloudEventsPayload

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString