Record Class GoogleEvent
java.lang.Object
java.lang.Record
org.localify.data.queue.dto.google.GoogleEvent
- Record Components:
eventName- The name of the event.startTime- The start time of the event.endTime- The end time of the event.venue- The venue of the event.venueAddress- The address of the venue.ticketUrl- The URL for tickets.
@Deprecated
public record GoogleEvent(@NotNull String eventName, Instant startTime, Instant endTime, @NotNull String venue, String venueAddress, String ticketUrl)
extends Record
Deprecated.
This record is deprecated and may be removed in a future version.
Represents a Google event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendTime()Deprecated.Returns the value of theendTimerecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.@NotNull StringDeprecated.Returns the value of theeventNamerecord component.final inthashCode()Deprecated.Returns a hash code value for this object.Deprecated.Returns the value of thestartTimerecord component.Deprecated.Returns the value of theticketUrlrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.@NotNull Stringvenue()Deprecated.Returns the value of thevenuerecord component.Deprecated.Returns the value of thevenueAddressrecord component.
-
Constructor Details
-
GoogleEvent
public GoogleEvent(@NotNull @NotNull String eventName, Instant startTime, Instant endTime, @NotNull @NotNull String venue, String venueAddress, String ticketUrl) Deprecated.Creates an instance of aGoogleEventrecord class.- Parameters:
eventName- the value for theeventNamerecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentvenue- the value for thevenuerecord componentvenueAddress- the value for thevenueAddressrecord componentticketUrl- the value for theticketUrlrecord 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). -
eventName
Deprecated.Returns the value of theeventNamerecord component.- Returns:
- the value of the
eventNamerecord component
-
startTime
Deprecated.Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Deprecated.Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
venue
Deprecated.Returns the value of thevenuerecord component.- Returns:
- the value of the
venuerecord component
-
venueAddress
Deprecated.Returns the value of thevenueAddressrecord component.- Returns:
- the value of the
venueAddressrecord component
-
ticketUrl
Deprecated.Returns the value of theticketUrlrecord component.- Returns:
- the value of the
ticketUrlrecord component
-