Record Class FindMessages
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.at.eda.ponton.messenger.client.model.FindMessages
public record FindMessages(List<String> adapterIds, ZonedDateTime fromDate, List<Status> inboundStates, List<MessageCategory> messageCategories)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFindMessages(String adapterId, Status inboundState, ZonedDateTime fromDate, MessageCategory messageCategory) FindMessages(List<String> adapterIds, ZonedDateTime fromDate, List<Status> inboundStates, List<MessageCategory> messageCategories) Creates an instance of aFindMessagesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadapterIdsrecord component.final booleanIndicates whether some other object is "equal to" this one.fromDate()Returns the value of thefromDaterecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinboundStatesrecord component.Returns the value of themessageCategoriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FindMessages
public FindMessages(String adapterId, Status inboundState, ZonedDateTime fromDate, MessageCategory messageCategory) -
FindMessages
public FindMessages(List<String> adapterIds, ZonedDateTime fromDate, List<Status> inboundStates, List<MessageCategory> messageCategories) Creates an instance of aFindMessagesrecord class.- Parameters:
adapterIds- the value for theadapterIdsrecord componentfromDate- the value for thefromDaterecord componentinboundStates- the value for theinboundStatesrecord componentmessageCategories- the value for themessageCategoriesrecord component
-
-
Method Details
-
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). -
adapterIds
Returns the value of theadapterIdsrecord component.- Returns:
- the value of the
adapterIdsrecord component
-
fromDate
Returns the value of thefromDaterecord component.- Returns:
- the value of the
fromDaterecord component
-
inboundStates
Returns the value of theinboundStatesrecord component.- Returns:
- the value of the
inboundStatesrecord component
-
messageCategories
Returns the value of themessageCategoriesrecord component.- Returns:
- the value of the
messageCategoriesrecord component
-