Skip to content

Commit 4112c8d

Browse files
Merge pull request sendinblue#14 from sendinblue/feature_updated_swagger_sync
email-event-report-api: from and tag removed from mandatory fields fr…
2 parents 7c3f9c0 + 36d0b74 commit 4112c8d

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

docs/GetEmailEventReportEvents.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
99
**message_id** | **String** | Message ID which generated the event |
1010
**event** | **String** | Event which occurred |
1111
**reason** | **String** | Reason of bounce (only available if the event is hardbounce or softbounce) | [optional]
12-
**tag** | **String** | Tag of the email which generated the event |
12+
**tag** | **String** | Tag of the email which generated the event | [optional]
1313
**ip** | **String** | IP from which the user has opened the email or clicked on the link (only available if the event is opened or clicks) | [optional]
1414
**link** | **String** | The link which is sent to the user (only available if the event is requests or opened or clicks) | [optional]
15-
**from** | **String** | Sender email from which the emails are sent |
15+
**from** | **String** | Sender email from which the emails are sent | [optional]
1616

1717

lib/sib-api-v3-sdk/models/get_email_event_report_events.rb

-10
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,6 @@ def list_invalid_properties
169169
invalid_properties.push("invalid value for 'event', event cannot be nil.")
170170
end
171171

172-
if @tag.nil?
173-
invalid_properties.push("invalid value for 'tag', tag cannot be nil.")
174-
end
175-
176-
if @from.nil?
177-
invalid_properties.push("invalid value for 'from', from cannot be nil.")
178-
end
179-
180172
return invalid_properties
181173
end
182174

@@ -189,8 +181,6 @@ def valid?
189181
return false if @event.nil?
190182
event_validator = EnumAttributeValidator.new('String', ["bounces", "hardBounces", "softBounces", "delivered", "spam", "requests", "opened", "clicks", "invalid", "deferred", "blocked"])
191183
return false unless event_validator.valid?(@event)
192-
return false if @tag.nil?
193-
return false if @from.nil?
194184
return true
195185
end
196186

lib/sib-api-v3-sdk/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module SibApiV3Sdk
14-
VERSION = "3.0.0"
14+
VERSION = "3.0.1"
1515
end

0 commit comments

Comments
 (0)