Class WebhookSubSchema


  • public class WebhookSubSchema
    extends java.lang.Object
    The webhook that generated the payload.
    • Field Detail

      • JSON_PROPERTY_ID

        public static final java.lang.String JSON_PROPERTY_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_VERSION

        public static final java.lang.String JSON_PROPERTY_VERSION
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebhookSubSchema

        public WebhookSubSchema()
    • Method Detail

      • getId

        @Nullable
        public java.lang.String getId()
        The unique ID of the webhook.
        Returns:
        id
      • setId

        public void setId​(java.lang.String id)
      • getVersion

        @Nullable
        public java.lang.String getVersion()
        Schema version of the payload delivered to this webhook (v2).
        Returns:
        version
      • setVersion

        public void setVersion​(java.lang.String version)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object