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 item
mailboxUuid - the owner mailbox uuid
mailbox - the owner mailbox name
subject - the message subject
sender - the message sender
receiver - the message receiver
received - 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 Details

    • O365MailItemSearchResponse

      public O365MailItemSearchResponse(String itemId, String mailboxUuid, String mailbox, String subject, String sender, String receiver, Instant received)
      Creates an instance of a O365MailItemSearchResponse record class.
      Parameters:
      itemId - the value for the itemId record component
      mailboxUuid - the value for the mailboxUuid record component
      mailbox - the value for the mailbox record component
      subject - the value for the subject record component
      sender - the value for the sender record component
      receiver - the value for the receiver record component
      received - the value for the received record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • itemId

      public String itemId()
      Returns the value of the itemId record component.
      Returns:
      the value of the itemId record component
    • mailboxUuid

      public String mailboxUuid()
      Returns the value of the mailboxUuid record component.
      Returns:
      the value of the mailboxUuid record component
    • mailbox

      public String mailbox()
      Returns the value of the mailbox record component.
      Returns:
      the value of the mailbox record component
    • subject

      public String subject()
      Returns the value of the subject record component.
      Returns:
      the value of the subject record component
    • sender

      public String sender()
      Returns the value of the sender record component.
      Returns:
      the value of the sender record component
    • receiver

      public String receiver()
      Returns the value of the receiver record component.
      Returns:
      the value of the receiver record component
    • received

      public Instant received()
      Returns the value of the received record component.
      Returns:
      the value of the received record component