Class: Trycourier::Models::SendMessageResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/send_message_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • request_id (String) (defaults to: )

    A successful call to ‘POST /send` returns a `202` status code along with a `requ



# File 'lib/trycourier/models/send_message_response.rb', line 16


Instance Attribute Details

#request_idString

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.

Returns:

  • (String)


14
# File 'lib/trycourier/models/send_message_response.rb', line 14

required :request_id, String, api_name: :requestId