Class: Knockapi::Models::MessageDeliveryLog::Response
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::MessageDeliveryLog::Response
- Defined in:
- lib/knockapi/models/message_delivery_log.rb
Overview
Defined Under Namespace
Modules: Body
Instance Attribute Summary collapse
-
#body ⇒ String, ...
The body content that was received with the response.
-
#headers ⇒ Hash{Symbol=>Object}?
The headers that were received with the response.
-
#status ⇒ Integer?
The HTTP status code of the response.
Instance Method Summary collapse
-
#initialize(body: nil, headers: nil, status: nil) ⇒ Object
constructor
A message delivery log response.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(body: nil, headers: nil, status: nil) ⇒ Object
A message delivery log response.
|
|
# File 'lib/knockapi/models/message_delivery_log.rb', line 174
|
Instance Attribute Details
#body ⇒ String, ...
The body content that was received with the response.
160 |
# File 'lib/knockapi/models/message_delivery_log.rb', line 160 optional :body, union: -> { Knockapi::MessageDeliveryLog::Response::Body } |
#headers ⇒ Hash{Symbol=>Object}?
The headers that were received with the response.
166 |
# File 'lib/knockapi/models/message_delivery_log.rb', line 166 optional :headers, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true |
#status ⇒ Integer?
The HTTP status code of the response.
172 |
# File 'lib/knockapi/models/message_delivery_log.rb', line 172 optional :status, Integer |