Record Class BrevoWebhookData.BrevoListUpdates
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.newsletterbrevo.impl.resource.BrevoWebhookData.BrevoListUpdates
- Enclosing class:
BrevoWebhookData
public static record BrevoWebhookData.BrevoListUpdates(@Nullable List<BrevoWebhookData.BrevoListData> addition, @Nullable List<BrevoWebhookData.BrevoListData> deletion)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBrevoListUpdates(@Nullable List<BrevoWebhookData.BrevoListData> addition, @Nullable List<BrevoWebhookData.BrevoListData> deletion) Creates an instance of aBrevoListUpdatesrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<BrevoWebhookData.BrevoListData> addition()Returns the value of theadditionrecord component.@Nullable List<BrevoWebhookData.BrevoListData> deletion()Returns the value of thedeletionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BrevoListUpdates
public BrevoListUpdates(@Nullable @Nullable List<BrevoWebhookData.BrevoListData> addition, @Nullable @Nullable List<BrevoWebhookData.BrevoListData> deletion) Creates an instance of aBrevoListUpdatesrecord class.- Parameters:
addition- the value for theadditionrecord componentdeletion- the value for thedeletionrecord 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). -
addition
Returns the value of theadditionrecord component.- Returns:
- the value of the
additionrecord component
-
deletion
Returns the value of thedeletionrecord component.- Returns:
- the value of the
deletionrecord component
-