Class CMAWebhookCallDetail


  • public class CMAWebhookCallDetail
    extends CMAResource
    Detail of one specific call of a Webhook.
    • Constructor Detail

      • CMAWebhookCallDetail

        public CMAWebhookCallDetail()
        Create this call detail.
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Returns:
        The url called from Contentful.
      • getEventType

        public java.lang.String getEventType()
        Returns:
        The type of event issuing this call to the Webhook.
      • getRequestAt

        public java.lang.String getRequestAt()
        Returns:
        The timestamp Contentful issued this Webhook.
      • getRequest

        public CMAWebhookRequest getRequest()
        Returns:
        The request this Webhook used.
      • getResponseAt

        public java.lang.String getResponseAt()
        Returns:
        When did the response return on Contentful?
      • getResponse

        public CMAWebhookResponse getResponse()
        Returns:
        The actual response from calling the Webhook.
      • getStatusCode

        public java.lang.Integer getStatusCode()
        Returns:
        A http response code indicating success or failure of calling this Webhook.
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Returns:
        A list of errors encountered while executing the webhook.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class CMAResource
        Returns:
        a human readable string, representing the object.