Class: Inttegro::Broadcast::CreationDetail
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Broadcast::CreationDetail
- Defined in:
- lib/inttegro/broadcast/creation_detail.rb
Overview
Typed representation of the creation detail object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
Value of the
contentfield in the Inttegro API payload. -
#created_at ⇒ Time
readonly
Value of the
created_atfield in the Inttegro API payload. -
#customer_ids ⇒ Array<String>?
readonly
Value of the
customer_idsfield in the Inttegro API payload. -
#email ⇒ Inttegro::Chime::EmailMessage?
readonly
Email content, safety scan result, and system-generated schema markup for email chimes.
-
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#idempotency_key ⇒ String?
readonly
Value of the
idempotency_keyfield in the Inttegro API payload. -
#purpose ⇒ String?
readonly
Value of the
purposefield in the Inttegro API payload. -
#recipients ⇒ Array<String>
readonly
Value of the
recipientsfield in the Inttegro API payload. -
#send_after ⇒ Time
readonly
Value of the
send_afterfield in the Inttegro API payload. -
#sender_id ⇒ String
readonly
Value of the
sender_idfield in the Inttegro API payload.
Instance Attribute Details
#content ⇒ String (readonly)
Value of the content field in the Inttegro API payload.
Required in the API payload. Wire name: content.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#created_at ⇒ Time (readonly)
Value of the created_at field in the Inttegro API payload.
Required in the API payload. Wire name: created_at.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#customer_ids ⇒ Array<String>? (readonly)
Value of the customer_ids field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: customer_ids.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#email ⇒ Inttegro::Chime::EmailMessage? (readonly)
Email content, safety scan result, and system-generated schema markup for email chimes.
Optional in the API payload; omitted values default to nil. Wire name: email.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#idempotency_key ⇒ String? (readonly)
Value of the idempotency_key field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: idempotency_key.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#purpose ⇒ String? (readonly)
Value of the purpose field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: purpose.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#recipients ⇒ Array<String> (readonly)
Value of the recipients field in the Inttegro API payload.
Required in the API payload. Wire name: recipients.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#send_after ⇒ Time (readonly)
Value of the send_after field in the Inttegro API payload.
Required in the API payload. Wire name: send_after.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |
#sender_id ⇒ String (readonly)
Value of the sender_id field in the Inttegro API payload.
Required in the API payload. Wire name: sender_id.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/broadcast/creation_detail.rb', line 78 class CreationDetail < T::Struct const :content, String const :created_at, Time const :customer_ids, T.nilable(T::Array[String]), default: nil const :email, T.nilable(Inttegro::Chime::EmailMessage), default: nil const :id, String const :idempotency_key, T.nilable(String), default: nil const :purpose, T.nilable(String), default: nil const :recipients, T::Array[String] const :send_after, Time const :sender_id, String end |