Class: Trycourier::Models::SendMessageResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Trycourier::Models::SendMessageResponse
- Defined in:
- lib/trycourier/models/send_message_response.rb
Overview
Instance Attribute Summary collapse
-
#request_id ⇒ String
A successful call to ‘POST /send` returns a `202` status code along with a `requestId` in the response body.
Instance Method Summary collapse
-
#initialize(request_id: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see SendMessageResponse for more details.
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(request_id: ) ⇒ Object
Some parameter documentations has been truncated, see Trycourier::Models::SendMessageResponse for more details.
|
|
# File 'lib/trycourier/models/send_message_response.rb', line 16
|
Instance Attribute Details
#request_id ⇒ String
A successful call to ‘POST /send` returns a `202` status code along with a `requestId` in the response body. For single-recipient requests, the `requestId` is the derived message_id. For multiple recipients, Courier assigns a unique message_id to each derived message.
14 |
# File 'lib/trycourier/models/send_message_response.rb', line 14 required :request_id, String, api_name: :requestId |