Class: Sentdm::Models::MessageSendResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/message_send_response.rb

Overview

See Also:

Defined Under Namespace

Classes: Recipient

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Sentdm::Internal::Type::BaseModel

Instance Attribute Details

#bodyString?

Resolved template body text

Returns:

  • (String, nil)


48
# File 'lib/sentdm/models/message_send_response.rb', line 48

optional :body, String, nil?: true

#recipientsArray<Sentdm::Models::MessageSendResponse::Data::Recipient>?

Per-recipient message results



54
55
# File 'lib/sentdm/models/message_send_response.rb', line 54

optional :recipients,
-> { Sentdm::Internal::Type::ArrayOf[Sentdm::Models::MessageSendResponse::Data::Recipient] }

#statusString?

Overall request status (e.g. “accepted”)

Returns:

  • (String, nil)


61
# File 'lib/sentdm/models/message_send_response.rb', line 61

optional :status, String

#template_idString?

Template ID that was used

Returns:

  • (String, nil)


67
# File 'lib/sentdm/models/message_send_response.rb', line 67

optional :template_id, String

#template_nameString?

Template display name

Returns:

  • (String, nil)


73
# File 'lib/sentdm/models/message_send_response.rb', line 73

optional :template_name, String