Record Class O365MailItemSearchResponse
java.lang.Object
java.lang.Record
com.iland.core.web.rest.response.vbo.O365MailItemSearchResponse
- Record Components:
itemId- the Veeam native id of the mail itemmailboxUuid- the owner mailbox uuidmailbox- the owner mailbox namesubject- the message subjectsender- the message senderreceiver- the message receiverreceived- when the message was received
public record O365MailItemSearchResponse(String itemId, String mailboxUuid, String mailbox, String subject, String sender, String receiver, Instant received)
extends Record
A single mail item search result inside a Search Backups session.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.itemId()Returns the value of theitemIdrecord component.mailbox()Returns the value of themailboxrecord component.Returns the value of themailboxUuidrecord component.received()Returns the value of thereceivedrecord component.receiver()Returns the value of thereceiverrecord component.sender()Returns the value of thesenderrecord component.subject()Returns the value of thesubjectrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
O365MailItemSearchResponse
public O365MailItemSearchResponse(String itemId, String mailboxUuid, String mailbox, String subject, String sender, String receiver, Instant received) Creates an instance of aO365MailItemSearchResponserecord class.- Parameters:
itemId- the value for theitemIdrecord componentmailboxUuid- the value for themailboxUuidrecord componentmailbox- the value for themailboxrecord componentsubject- the value for thesubjectrecord componentsender- the value for thesenderrecord componentreceiver- the value for thereceiverrecord componentreceived- the value for thereceivedrecord 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). -
itemId
Returns the value of theitemIdrecord component.- Returns:
- the value of the
itemIdrecord component
-
mailboxUuid
Returns the value of themailboxUuidrecord component.- Returns:
- the value of the
mailboxUuidrecord component
-
mailbox
Returns the value of themailboxrecord component.- Returns:
- the value of the
mailboxrecord component
-
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
sender
Returns the value of thesenderrecord component.- Returns:
- the value of the
senderrecord component
-
receiver
Returns the value of thereceiverrecord component.- Returns:
- the value of the
receiverrecord component
-
received
Returns the value of thereceivedrecord component.- Returns:
- the value of the
receivedrecord component
-