Package app.knock.api.models.messages
Class MessageDeliveryLog.Response
-
- All Implemented Interfaces:
public final class MessageDeliveryLog.ResponseA message delivery log response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageDeliveryLog.Response.BuilderA builder for Response.
public final classMessageDeliveryLog.Response.BodyThe body content that was received with the response.
public final classMessageDeliveryLog.Response.HeadersThe headers that were received with the response.
-
Method Summary
Modifier and Type Method Description final Optional<MessageDeliveryLog.Response.Body>body()The body content that was received with the response. final Optional<MessageDeliveryLog.Response.Headers>headers()The headers that were received with the response. final Optional<Long>status()The HTTP status code of the response. final JsonField<MessageDeliveryLog.Response.Body>_body()Returns the raw JSON value of body. final JsonField<MessageDeliveryLog.Response.Headers>_headers()Returns the raw JSON value of headers. final JsonField<Long>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final MessageDeliveryLog.Response.BuildertoBuilder()final MessageDeliveryLog.Responsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageDeliveryLog.Response.Builderbuilder()Returns a mutable builder for constructing an instance of Response. -
-
Method Detail
-
body
final Optional<MessageDeliveryLog.Response.Body> body()
The body content that was received with the response.
-
headers
final Optional<MessageDeliveryLog.Response.Headers> headers()
The headers that were received with the response.
-
_body
final JsonField<MessageDeliveryLog.Response.Body> _body()
Returns the raw JSON value of body.
Unlike body, this method doesn't throw if the JSON field has an unexpected type.
-
_headers
final JsonField<MessageDeliveryLog.Response.Headers> _headers()
Returns the raw JSON value of headers.
Unlike headers, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<Long> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageDeliveryLog.Response.Builder toBuilder()
-
validate
final MessageDeliveryLog.Response validate()
-
builder
final static MessageDeliveryLog.Response.Builder builder()
Returns a mutable builder for constructing an instance of Response.
-
-
-
-