Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/SendSmtpEmailBcc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **String** | Email address of the recipient in bcc |
**name** | **String** | Name of the recipient in bcc. Maximum allowed characters are 70. | [optional]
**contact_pixel_tracking_consent** | **BOOLEAN** | Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional]


1 change: 1 addition & 0 deletions docs/SendSmtpEmailCc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **String** | Email address of the recipient in cc |
**name** | **String** | Name of the recipient in cc. Maximum allowed characters are 70. | [optional]
**contact_pixel_tracking_consent** | **BOOLEAN** | Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional]


1 change: 1 addition & 0 deletions docs/SendSmtpEmailTo.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **String** | Email address of the recipient |
**name** | **String** | Name of the recipient. Maximum allowed characters are 70. | [optional]
**contact_pixel_tracking_consent** | **BOOLEAN** | Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional]


1 change: 1 addition & 0 deletions docs/SendSmtpEmailTo1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **String** | Email address of the recipient |
**name** | **String** | Name of the recipient. **Maximum allowed characters are 70**. | [optional]
**contact_pixel_tracking_consent** | **BOOLEAN** | Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional]


18 changes: 14 additions & 4 deletions lib/brevo/models/send_smtp_email_bcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,24 @@ class SendSmtpEmailBcc
# Name of the recipient in bcc. Maximum allowed characters are 70.
attr_accessor :name

# Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
attr_accessor :contact_pixel_tracking_consent

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'email' => :'email',
:'name' => :'name'
:'name' => :'name',
:'contact_pixel_tracking_consent' => :'contactPixelTrackingConsent'
}
end

# Attribute type mapping.
def self.swagger_types
{
:'email' => :'String',
:'name' => :'String'
:'name' => :'String',
:'contact_pixel_tracking_consent' => :'BOOLEAN'
}
end

Expand All @@ -51,6 +56,10 @@ def initialize(attributes = {})
if attributes.has_key?(:'name')
self.name = attributes[:'name']
end

if attributes.has_key?(:'contactPixelTrackingConsent')
self.contact_pixel_tracking_consent = attributes[:'contactPixelTrackingConsent']
end
end

# Show invalid properties with the reasons. Usually used together with valid?
Expand All @@ -77,7 +86,8 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
email == o.email &&
name == o.name
name == o.name &&
contact_pixel_tracking_consent == o.contact_pixel_tracking_consent
end

# @see the `==` method
Expand All @@ -89,7 +99,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
[email, name].hash
[email, name, contact_pixel_tracking_consent].hash
end

# Builds the object from hash
Expand Down
18 changes: 14 additions & 4 deletions lib/brevo/models/send_smtp_email_cc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,24 @@ class SendSmtpEmailCc
# Name of the recipient in cc. Maximum allowed characters are 70.
attr_accessor :name

# Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
attr_accessor :contact_pixel_tracking_consent

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'email' => :'email',
:'name' => :'name'
:'name' => :'name',
:'contact_pixel_tracking_consent' => :'contactPixelTrackingConsent'
}
end

# Attribute type mapping.
def self.swagger_types
{
:'email' => :'String',
:'name' => :'String'
:'name' => :'String',
:'contact_pixel_tracking_consent' => :'BOOLEAN'
}
end

Expand All @@ -51,6 +56,10 @@ def initialize(attributes = {})
if attributes.has_key?(:'name')
self.name = attributes[:'name']
end

if attributes.has_key?(:'contactPixelTrackingConsent')
self.contact_pixel_tracking_consent = attributes[:'contactPixelTrackingConsent']
end
end

# Show invalid properties with the reasons. Usually used together with valid?
Expand All @@ -77,7 +86,8 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
email == o.email &&
name == o.name
name == o.name &&
contact_pixel_tracking_consent == o.contact_pixel_tracking_consent
end

# @see the `==` method
Expand All @@ -89,7 +99,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
[email, name].hash
[email, name, contact_pixel_tracking_consent].hash
end

# Builds the object from hash
Expand Down
18 changes: 14 additions & 4 deletions lib/brevo/models/send_smtp_email_to.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,24 @@ class SendSmtpEmailTo
# Name of the recipient. Maximum allowed characters are 70.
attr_accessor :name

# Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
attr_accessor :contact_pixel_tracking_consent

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'email' => :'email',
:'name' => :'name'
:'name' => :'name',
:'contact_pixel_tracking_consent' => :'contactPixelTrackingConsent'
}
end

# Attribute type mapping.
def self.swagger_types
{
:'email' => :'String',
:'name' => :'String'
:'name' => :'String',
:'contact_pixel_tracking_consent' => :'BOOLEAN'
}
end

Expand All @@ -51,6 +56,10 @@ def initialize(attributes = {})
if attributes.has_key?(:'name')
self.name = attributes[:'name']
end

if attributes.has_key?(:'contactPixelTrackingConsent')
self.contact_pixel_tracking_consent = attributes[:'contactPixelTrackingConsent']
end
end

# Show invalid properties with the reasons. Usually used together with valid?
Expand All @@ -77,7 +86,8 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
email == o.email &&
name == o.name
name == o.name &&
contact_pixel_tracking_consent == o.contact_pixel_tracking_consent
end

# @see the `==` method
Expand All @@ -89,7 +99,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
[email, name].hash
[email, name, contact_pixel_tracking_consent].hash
end

# Builds the object from hash
Expand Down
18 changes: 14 additions & 4 deletions lib/brevo/models/send_smtp_email_to_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,24 @@ class SendSmtpEmailTo1
# Name of the recipient. **Maximum allowed characters are 70**.
attr_accessor :name

# Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
attr_accessor :contact_pixel_tracking_consent

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'email' => :'email',
:'name' => :'name'
:'name' => :'name',
:'contact_pixel_tracking_consent' => :'contactPixelTrackingConsent'
}
end

# Attribute type mapping.
def self.swagger_types
{
:'email' => :'String',
:'name' => :'String'
:'name' => :'String',
:'contact_pixel_tracking_consent' => :'BOOLEAN'
}
end

Expand All @@ -51,6 +56,10 @@ def initialize(attributes = {})
if attributes.has_key?(:'name')
self.name = attributes[:'name']
end

if attributes.has_key?(:'contactPixelTrackingConsent')
self.contact_pixel_tracking_consent = attributes[:'contactPixelTrackingConsent']
end
end

# Show invalid properties with the reasons. Usually used together with valid?
Expand All @@ -77,7 +86,8 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
email == o.email &&
name == o.name
name == o.name &&
contact_pixel_tracking_consent == o.contact_pixel_tracking_consent
end

# @see the `==` method
Expand All @@ -89,7 +99,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
[email, name].hash
[email, name, contact_pixel_tracking_consent].hash
end

# Builds the object from hash
Expand Down
2 changes: 1 addition & 1 deletion lib/brevo/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module Brevo
VERSION = '4.0.0'
VERSION = '4.0.1'
end
6 changes: 6 additions & 0 deletions spec/models/send_smtp_email_bcc_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@
end
end

describe 'test attribute "contact_pixel_tracking_consent"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

end
6 changes: 6 additions & 0 deletions spec/models/send_smtp_email_cc_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@
end
end

describe 'test attribute "contact_pixel_tracking_consent"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

end
6 changes: 6 additions & 0 deletions spec/models/send_smtp_email_to_1_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@
end
end

describe 'test attribute "contact_pixel_tracking_consent"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

end
6 changes: 6 additions & 0 deletions spec/models/send_smtp_email_to_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@
end
end

describe 'test attribute "contact_pixel_tracking_consent"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

end