Class MessageDeliveryLog.Request
-
- All Implemented Interfaces:
public final class MessageDeliveryLog.RequestA message delivery log request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageDeliveryLog.Request.BuilderA builder for Request.
public final classMessageDeliveryLog.Request.BodyThe body content that was sent with the request.
public final classMessageDeliveryLog.Request.HeadersThe headers that were sent with the request.
public final classMessageDeliveryLog.Request.MethodThe HTTP method used for the request.
-
Method Summary
Modifier and Type Method Description final Optional<MessageDeliveryLog.Request.Body>body()The body content that was sent with the request. final Optional<MessageDeliveryLog.Request.Headers>headers()The headers that were sent with the request. final Optional<String>host()The host to which the request was sent. final Optional<MessageDeliveryLog.Request.Method>method()The HTTP method used for the request. final Optional<String>path()The path of the URL that was requested. final Optional<String>query()The query string of the URL that was requested. final JsonField<MessageDeliveryLog.Request.Body>_body()Returns the raw JSON value of body. final JsonField<MessageDeliveryLog.Request.Headers>_headers()Returns the raw JSON value of headers. final JsonField<String>_host()Returns the raw JSON value of host. final JsonField<MessageDeliveryLog.Request.Method>_method()Returns the raw JSON value of method. final JsonField<String>_path()Returns the raw JSON value of path. final JsonField<String>_query()Returns the raw JSON value of query. final Map<String, JsonValue>_additionalProperties()final MessageDeliveryLog.Request.BuildertoBuilder()final MessageDeliveryLog.Requestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageDeliveryLog.Request.Builderbuilder()Returns a mutable builder for constructing an instance of Request. -
-
Method Detail
-
body
final Optional<MessageDeliveryLog.Request.Body> body()
The body content that was sent with the request.
-
headers
final Optional<MessageDeliveryLog.Request.Headers> headers()
The headers that were sent with the request.
-
method
final Optional<MessageDeliveryLog.Request.Method> method()
The HTTP method used for the request.
-
_body
final JsonField<MessageDeliveryLog.Request.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.Request.Headers> _headers()
Returns the raw JSON value of headers.
Unlike headers, this method doesn't throw if the JSON field has an unexpected type.
-
_host
final JsonField<String> _host()
Returns the raw JSON value of host.
Unlike host, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<MessageDeliveryLog.Request.Method> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_query
final JsonField<String> _query()
Returns the raw JSON value of query.
Unlike query, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageDeliveryLog.Request.Builder toBuilder()
-
validate
final MessageDeliveryLog.Request validate()
-
builder
final static MessageDeliveryLog.Request.Builder builder()
Returns a mutable builder for constructing an instance of Request.
-
-
-
-