Record Class GoogleCityEvents
java.lang.Object
java.lang.Record
org.localify.data.queue.dto.google.GoogleCityEvents
- Record Components:
events- The list of Google events.localifyId- The Localify ID of the city.
@Deprecated
public record GoogleCityEvents(@NotNull List<GoogleEvent> events, @NotNull UUID localifyId)
extends Record
Deprecated.
This record is deprecated and may be removed in a future version.
Represents a collection of Google events for a specific city.
-
Constructor Summary
ConstructorsConstructorDescriptionGoogleCityEvents(@NotNull List<GoogleEvent> events, @NotNull UUID localifyId) Deprecated.Creates an instance of aGoogleCityEventsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.Indicates whether some other object is "equal to" this one.@NotNull List<GoogleEvent>events()Deprecated.Returns the value of theeventsrecord component.final inthashCode()Deprecated.Returns a hash code value for this object.@NotNull UUIDDeprecated.Returns the value of thelocalifyIdrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
GoogleCityEvents
public GoogleCityEvents(@NotNull @NotNull List<GoogleEvent> events, @NotNull @NotNull UUID localifyId) Deprecated.Creates an instance of aGoogleCityEventsrecord class.- Parameters:
events- the value for theeventsrecord componentlocalifyId- the value for thelocalifyIdrecord component
-
-
Method Details
-
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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). -
events
Deprecated.Returns the value of theeventsrecord component.- Returns:
- the value of the
eventsrecord component
-
localifyId
Deprecated.Returns the value of thelocalifyIdrecord component.- Returns:
- the value of the
localifyIdrecord component
-