Record Class BrevoWebhookData.BrevoSingleWebhookContentData
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.newsletterbrevo.impl.resource.BrevoWebhookData.BrevoSingleWebhookContentData
- Enclosing class:
BrevoWebhookData
-
Constructor Summary
ConstructorsConstructorDescriptionBrevoSingleWebhookContentData(String email, String updatedEmail, @Nullable Boolean emailBlacklist, @Nullable Boolean smsBlacklist, BrevoWebhookData.BrevoListUpdates list) Creates an instance of aBrevoSingleWebhookContentDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.@Nullable BooleanReturns the value of theemailBlacklistrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.list()Returns the value of thelistrecord component.@Nullable BooleanReturns the value of thesmsBlacklistrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedEmailrecord component.
-
Constructor Details
-
BrevoSingleWebhookContentData
public BrevoSingleWebhookContentData(String email, String updatedEmail, @Nullable @Nullable Boolean emailBlacklist, @Nullable @Nullable Boolean smsBlacklist, BrevoWebhookData.BrevoListUpdates list) Creates an instance of aBrevoSingleWebhookContentDatarecord class.- Parameters:
email- the value for theemailrecord componentupdatedEmail- the value for theupdatedEmailrecord componentemailBlacklist- the value for theemailBlacklistrecord componentsmsBlacklist- the value for thesmsBlacklistrecord componentlist- the value for thelistrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
updatedEmail
Returns the value of theupdatedEmailrecord component.- Returns:
- the value of the
updatedEmailrecord component
-
emailBlacklist
Returns the value of theemailBlacklistrecord component.- Returns:
- the value of the
emailBlacklistrecord component
-
smsBlacklist
Returns the value of thesmsBlacklistrecord component.- Returns:
- the value of the
smsBlacklistrecord component
-
list
Returns the value of thelistrecord component.- Returns:
- the value of the
listrecord component
-