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 ch.tocco.nice2.optional.newsletterbrevo.impl.resource.BrevoWebhookData.BrevoWebhookContent
BrevoWebhookData.BrevoWebhookContent.UpdateType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionemails()
Returns the value of theemails
record component.final boolean
Indicates whether some other object is "equal to" this one.getType()
final int
hashCode()
Returns a hash code value for this object.linkIds()
Returns the value of thelinkIds
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theunlinkIds
record component.
-
Constructor Details
-
BrevoMultiWebhookContent
public BrevoMultiWebhookContent(List<String> emails, @Nullable @Nullable List<Long> linkIds, @Nullable @Nullable List<Long> unlinkIds) Creates an instance of aBrevoMultiWebhookContent
record class.- Parameters:
emails
- the value for theemails
record componentlinkIds
- the value for thelinkIds
record componentunlinkIds
- the value for theunlinkIds
record component
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceBrevoWebhookData.BrevoWebhookContent
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
Returns the value of theemails
record component.- Returns:
- the value of the
emails
record component
-
linkIds
Returns the value of thelinkIds
record component.- Returns:
- the value of the
linkIds
record component
-
unlinkIds
Returns the value of theunlinkIds
record component.- Returns:
- the value of the
unlinkIds
record component
-