Class: PreludeSDK::Models::NotifyReplyResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PreludeSDK::Models::NotifyReplyResponse
- Defined in:
- lib/prelude_sdk/models/notify_reply_response.rb,
sig/prelude_sdk/models/notify_reply_response.rbs
Overview
Instance Attribute Summary collapse
-
#callback_url ⇒ String?
The callback URL where webhooks will be sent.
-
#correlation_id ⇒ String?
The user-defined correlation identifier echoed back from the request.
-
#created_at ⇒ Time
The reply creation date in RFC3339 format.
-
#id ⇒ String
The reply message identifier.
-
#reply_to ⇒ String
The inbound message ID this reply was sent in response to.
-
#text ⇒ String
The reply message body that was sent.
-
#to ⇒ String
The recipient's phone number in E.164 format.
Instance Method Summary collapse
- #initialize(id:, created_at:, reply_to:, text:, to:, callback_url: nil, correlation_id: nil) ⇒ Object constructor
- #to_hash ⇒ {
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(id:, created_at:, reply_to:, text:, to:, callback_url: nil, correlation_id: nil) ⇒ Object
|
|
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 49
|
Instance Attribute Details
#callback_url ⇒ String?
The callback URL where webhooks will be sent.
41 |
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 41 optional :callback_url, String |
#correlation_id ⇒ String?
The user-defined correlation identifier echoed back from the request.
47 |
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 47 optional :correlation_id, String |
#created_at ⇒ Time
The reply creation date in RFC3339 format.
17 |
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 17 required :created_at, Time |
#id ⇒ String
The reply message identifier.
11 |
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 11 required :id, String |
#reply_to ⇒ String
The inbound message ID this reply was sent in response to.
23 |
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 23 required :reply_to, String |
#text ⇒ String
The reply message body that was sent.
29 |
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 29 required :text, String |
#to ⇒ String
The recipient's phone number in E.164 format.
35 |
# File 'lib/prelude_sdk/models/notify_reply_response.rb', line 35 required :to, String |
Instance Method Details
#to_hash ⇒ {
43 |
# File 'sig/prelude_sdk/models/notify_reply_response.rbs', line 43
def to_hash: -> {
|