Record Class ChatsFeedRecord
java.lang.Object
java.lang.Record
com.zenith.database.dto.records.ChatsFeedRecord
-
Constructor Summary
ConstructorsConstructorDescriptionChatsFeedRecord(OffsetDateTime time, String chat, String playerName, UUID playerUuid, String component) Creates an instance of aChatsFeedRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchat()Returns the value of thechatrecord component.Returns the value of thecomponentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theplayerNamerecord component.Returns the value of theplayerUuidrecord component.time()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ChatsFeedRecord
public ChatsFeedRecord(OffsetDateTime time, String chat, String playerName, UUID playerUuid, String component) Creates an instance of aChatsFeedRecordrecord class.- Parameters:
time- the value for thetimerecord componentchat- the value for thechatrecord componentplayerName- the value for theplayerNamerecord componentplayerUuid- the value for theplayerUuidrecord componentcomponent- the value for thecomponentrecord 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). -
time
Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-
chat
Returns the value of thechatrecord component.- Returns:
- the value of the
chatrecord component
-
playerName
Returns the value of theplayerNamerecord component.- Returns:
- the value of the
playerNamerecord component
-
playerUuid
Returns the value of theplayerUuidrecord component.- Returns:
- the value of the
playerUuidrecord component
-
component
Returns the value of thecomponentrecord component.- Returns:
- the value of the
componentrecord component
-