zernio-sdk 0.0.74 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/GetWhatsAppBroadcasts200ResponseBroadcastsInner.md +2 -0
- data/lib/late-sdk/models/get_whats_app_broadcasts200_response_broadcasts_inner.rb +11 -1
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +1 -0
- data/spec/models/get_whats_app_broadcasts200_response_broadcasts_inner_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d503a6ae72758e65ac08522c0a7debe21cf39c7a4df3e3e100c7f1d14fdd483b
|
|
4
|
+
data.tar.gz: 265dbe6b50ab5f3e91e05858c980ae3a5ef8cc6049b301389e861db3369f83a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56b9c61b141e35b6b8c3f36ce801352dbd2c5f27a88aeeff9fec7d72219dd1d9e7c8bbec35a378cc6d35c9ee283fcbba481bb0461471eff26f678b497999350f
|
|
7
|
+
data.tar.gz: a8948b1fb6dc2e7674557afd30e4fb3b351e1f94c2224e1b7ab33a2fd6303d55ec45004151f9c453b01d42acffb0b8b1f2bb74626fef4637d1310e8567e9780b
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| **description** | **String** | | [optional] |
|
|
10
10
|
| **template** | [**GetWhatsAppBroadcasts200ResponseBroadcastsInnerTemplate**](GetWhatsAppBroadcasts200ResponseBroadcastsInnerTemplate.md) | | [optional] |
|
|
11
11
|
| **status** | **String** | | [optional] |
|
|
12
|
+
| **message_preview** | **String** | Template name or message text snippet | [optional] |
|
|
12
13
|
| **recipient_count** | **Integer** | | [optional] |
|
|
13
14
|
| **scheduled_at** | **Time** | | [optional] |
|
|
14
15
|
| **started_at** | **Time** | | [optional] |
|
|
@@ -30,6 +31,7 @@ instance = Late::GetWhatsAppBroadcasts200ResponseBroadcastsInner.new(
|
|
|
30
31
|
description: null,
|
|
31
32
|
template: null,
|
|
32
33
|
status: null,
|
|
34
|
+
message_preview: null,
|
|
33
35
|
recipient_count: null,
|
|
34
36
|
scheduled_at: null,
|
|
35
37
|
started_at: null,
|
|
@@ -25,6 +25,9 @@ module Late
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :status
|
|
27
27
|
|
|
28
|
+
# Template name or message text snippet
|
|
29
|
+
attr_accessor :message_preview
|
|
30
|
+
|
|
28
31
|
attr_accessor :recipient_count
|
|
29
32
|
|
|
30
33
|
attr_accessor :scheduled_at
|
|
@@ -73,6 +76,7 @@ module Late
|
|
|
73
76
|
:'description' => :'description',
|
|
74
77
|
:'template' => :'template',
|
|
75
78
|
:'status' => :'status',
|
|
79
|
+
:'message_preview' => :'messagePreview',
|
|
76
80
|
:'recipient_count' => :'recipientCount',
|
|
77
81
|
:'scheduled_at' => :'scheduledAt',
|
|
78
82
|
:'started_at' => :'startedAt',
|
|
@@ -103,6 +107,7 @@ module Late
|
|
|
103
107
|
:'description' => :'String',
|
|
104
108
|
:'template' => :'GetWhatsAppBroadcasts200ResponseBroadcastsInnerTemplate',
|
|
105
109
|
:'status' => :'String',
|
|
110
|
+
:'message_preview' => :'String',
|
|
106
111
|
:'recipient_count' => :'Integer',
|
|
107
112
|
:'scheduled_at' => :'Time',
|
|
108
113
|
:'started_at' => :'Time',
|
|
@@ -157,6 +162,10 @@ module Late
|
|
|
157
162
|
self.status = attributes[:'status']
|
|
158
163
|
end
|
|
159
164
|
|
|
165
|
+
if attributes.key?(:'message_preview')
|
|
166
|
+
self.message_preview = attributes[:'message_preview']
|
|
167
|
+
end
|
|
168
|
+
|
|
160
169
|
if attributes.key?(:'recipient_count')
|
|
161
170
|
self.recipient_count = attributes[:'recipient_count']
|
|
162
171
|
end
|
|
@@ -231,6 +240,7 @@ module Late
|
|
|
231
240
|
description == o.description &&
|
|
232
241
|
template == o.template &&
|
|
233
242
|
status == o.status &&
|
|
243
|
+
message_preview == o.message_preview &&
|
|
234
244
|
recipient_count == o.recipient_count &&
|
|
235
245
|
scheduled_at == o.scheduled_at &&
|
|
236
246
|
started_at == o.started_at &&
|
|
@@ -251,7 +261,7 @@ module Late
|
|
|
251
261
|
# Calculates hash code according to all attributes.
|
|
252
262
|
# @return [Integer] Hash code
|
|
253
263
|
def hash
|
|
254
|
-
[id, name, description, template, status, recipient_count, scheduled_at, started_at, completed_at, sent_count, delivered_count, read_count, failed_count, created_at].hash
|
|
264
|
+
[id, name, description, template, status, message_preview, recipient_count, scheduled_at, started_at, completed_at, sent_count, delivered_count, read_count, failed_count, created_at].hash
|
|
255
265
|
end
|
|
256
266
|
|
|
257
267
|
# Builds the object from hash
|
data/lib/late-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -13618,6 +13618,7 @@ paths:
|
|
|
13618
13618
|
name: { type: string }
|
|
13619
13619
|
language: { type: string }
|
|
13620
13620
|
status: { type: string, enum: [draft, scheduled, sending, completed, failed, cancelled] }
|
|
13621
|
+
messagePreview: { type: string, description: Template name or message text snippet }
|
|
13621
13622
|
recipientCount: { type: integer }
|
|
13622
13623
|
scheduledAt: { type: string, format: date-time }
|
|
13623
13624
|
startedAt: { type: string, format: date-time }
|
|
@@ -61,6 +61,12 @@ describe Late::GetWhatsAppBroadcasts200ResponseBroadcastsInner do
|
|
|
61
61
|
end
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
+
describe 'test attribute "message_preview"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
64
70
|
describe 'test attribute "recipient_count"' do
|
|
65
71
|
it 'should work' do
|
|
66
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|