Class WebhookHeader

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.WebhookHeader
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class WebhookHeader
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A key/value pair defining an HTTP header and a value.
  • Method Details

    • newBuilder

      public WebhookHeader.Builder newBuilder()
      New builder.
      Returns:
      a WebhookHeader builder
    • name

      public String name()
      Gets the name.

      The name of an HTTP header (for example, `Authorization`).

      Returns:
      the name
    • value

      public String value()
      Gets the value.

      The value of an HTTP header.

      Returns:
      the value