class
Amazonite::ApiGateway::TestInvokeMethodResponse
- Amazonite::ApiGateway::TestInvokeMethodResponse
- Reference
- Object
Overview
Represents the response of the test invoke request in the HTTP method.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/test_invoke_method_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(status : Int32 | Nil = nil, body : String | Nil = nil, headers : Hash(String, String) | Nil = nil, multi_value_headers : Hash(String, Array(String)) | Nil = nil, log : String | Nil = nil, latency : Int64 | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#body : String | Nil
The body of the HTTP response.
-
#body=(body : String | Nil)
The body of the HTTP response.
-
#hash(hasher)
See
Object#hash(hasher) -
#headers : Hash(String, String) | Nil
The headers of the HTTP response.
-
#headers=(headers : Hash(String, String) | Nil)
The headers of the HTTP response.
-
#latency : Int64 | Nil
The execution latency, in ms, of the test invoke request.
-
#latency=(latency : Int64 | Nil)
The execution latency, in ms, of the test invoke request.
-
#log : String | Nil
The API Gateway execution log for the test invoke request.
-
#log=(log : String | Nil)
The API Gateway execution log for the test invoke request.
-
#multi_value_headers : Hash(String, Array(String)) | Nil
The headers of the HTTP response as a map from string to list of values.
-
#multi_value_headers=(multi_value_headers : Hash(String, Array(String)) | Nil)
The headers of the HTTP response as a map from string to list of values.
-
#status : Int32 | Nil
The HTTP status code.
-
#status=(status : Int32 | Nil)
The HTTP status code.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The headers of the HTTP response as a map from string to list of values.
The headers of the HTTP response as a map from string to list of values.