Module it.auties.cobalt
Package it.auties.whatsapp.model.privacy
Record Class GdprAccountReport.Pending
java.lang.Object
java.lang.Record
it.auties.whatsapp.model.privacy.GdprAccountReport.Pending
- Record Components:
dateTime- the eta for the newsletters of the request
- All Implemented Interfaces:
GdprAccountReport
- Enclosing interface:
GdprAccountReport
public static record GdprAccountReport.Pending(ZonedDateTime dateTime)
extends Record
implements GdprAccountReport
A pending gdpr request
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.auties.whatsapp.model.privacy.GdprAccountReport
GdprAccountReport.Error, GdprAccountReport.Pending, GdprAccountReport.Ready, GdprAccountReport.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ZonedDateTimeThe field for thedateTimerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPending(ZonedDateTime dateTime) Creates an instance of aPendingrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondateTime()Returns the value of thedateTimerecord 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.type()Returns the type of this report
-
Field Details
-
dateTime
The field for thedateTimerecord component.
-
-
Constructor Details
-
Pending
Creates an instance of aPendingrecord class.- Parameters:
dateTime- the value for thedateTimerecord component
-
-
Method Details
-
type
Description copied from interface:GdprAccountReportReturns the type of this report- Specified by:
typein interfaceGdprAccountReport- Returns:
- a non-null type
-
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). -
dateTime
Returns the value of thedateTimerecord component.- Returns:
- the value of the
dateTimerecord component
-