Package com.linecorp.bot.model.response
Class TestWebhookEndpointResponse
- java.lang.Object
-
- com.linecorp.bot.model.response.TestWebhookEndpointResponse
-
public final class TestWebhookEndpointResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
builder()
boolean
equals(java.lang.Object o)
java.lang.String
getDetail()
Details of the response.java.lang.String
getReason()
Reason for the response.int
getStatusCode()
The HTTP status code.java.time.Instant
getTimestamp()
Please refer to Common Properties.int
hashCode()
boolean
isSuccess()
Result of the communication from the LINE platform to the webhook URL.java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder builder()
-
isSuccess
public boolean isSuccess()
Result of the communication from the LINE platform to the webhook URL.
-
getTimestamp
public java.time.Instant getTimestamp()
Please refer to Common Properties.
-
getStatusCode
public int getStatusCode()
The HTTP status code. If the webhook response isn't received, the status code is set to zero or a negative number.
-
getReason
public java.lang.String getReason()
Reason for the response.
-
getDetail
public java.lang.String getDetail()
Details of the response.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-