Class TestWebhookResponse


  • public class TestWebhookResponse
    extends Object
    TestWebhookResponse
    • Constructor Detail

      • TestWebhookResponse

        public TestWebhookResponse()
    • Method Detail

      • data

        public TestWebhookResponse data​(List<TestOutput> data)
        List with test results. Each test webhook we send has a list element with the result.
        Parameters:
        data -
        Returns:
        the current TestWebhookResponse instance, allowing for method chaining
      • getData

        public List<TestOutput> getData()
        List with test results. Each test webhook we send has a list element with the result.
        Returns:
        data
      • setData

        public void setData​(List<TestOutput> data)
        List with test results. Each test webhook we send has a list element with the result.
        Parameters:
        data -
      • equals

        public boolean equals​(Object o)
        Return true if this TestWebhookResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static TestWebhookResponse fromJson​(String jsonString)
                                            throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of TestWebhookResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TestWebhookResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to TestWebhookResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of TestWebhookResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException