Record Class BrevoWebhookData.BrevoMultiWebhookContent
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.newsletterbrevo.impl.resource.BrevoWebhookData.BrevoMultiWebhookContent
- All Implemented Interfaces:
BrevoWebhookData.BrevoWebhookContent
- Enclosing class:
BrevoWebhookData
-
Nested Class Summary
Nested classes/interfaces inherited from interface BrevoWebhookData.BrevoWebhookContent
BrevoWebhookData.BrevoWebhookContent.UpdateType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemails()Returns the value of theemailsrecord component.final booleanIndicates whether some other object is "equal to" this one.getType()final inthashCode()Returns a hash code value for this object.linkIds()Returns the value of thelinkIdsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunlinkIdsrecord component.
-
Constructor Details
-
BrevoMultiWebhookContent
public BrevoMultiWebhookContent(List<String> emails, @Nullable @Nullable List<Long> linkIds, @Nullable @Nullable List<Long> unlinkIds) Creates an instance of aBrevoMultiWebhookContentrecord class.- Parameters:
emails- the value for theemailsrecord componentlinkIds- the value for thelinkIdsrecord componentunlinkIds- the value for theunlinkIdsrecord component
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceBrevoWebhookData.BrevoWebhookContent
-
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). -
emails
-
linkIds
-
unlinkIds
-