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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebhookHeader.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
name()
Gets the name.WebhookHeader.Builder
newBuilder()
New builder.String
value()
Gets the value.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a WebhookHeader builder
-
name
Gets the name.The name of an HTTP header (for example, `Authorization`).
- Returns:
- the name
-
value
Gets the value.The value of an HTTP header.
- Returns:
- the value
-