Class: Courier::Models::MessageResendResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::MessageResendResponse
- Defined in:
- lib/courier/models/message_resend_response.rb,
sig/courier/models/message_resend_response.rbs
Overview
Instance Attribute Summary collapse
-
#message_id ⇒ String
The new message id for the resent message.
Instance Method Summary collapse
-
#initialize(message_id:) ⇒ MessageResendResponse
constructor
Some parameter documentations has been truncated, see MessageResendResponse for more details.
- #to_hash ⇒ { message_id: String }
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(message_id:) ⇒ MessageResendResponse
Some parameter documentations has been truncated, see Courier::Models::MessageResendResponse for more details.
|
|
# File 'lib/courier/models/message_resend_response.rb', line 14
|
Instance Attribute Details
#message_id ⇒ String
The new message id for the resent message. It is distinct from the id of the original message that was resent.
12 |
# File 'lib/courier/models/message_resend_response.rb', line 12 required :message_id, String, api_name: :messageId |
Instance Method Details
#to_hash ⇒ { message_id: String }
10 |
# File 'sig/courier/models/message_resend_response.rbs', line 10
def to_hash: -> { message_id: String }
|