Record Class O365SharePointItemSearchResponse

java.lang.Object
java.lang.Record
com.iland.core.web.rest.response.vbo.O365SharePointItemSearchResponse
Record Components:
itemId - the Veeam native id of the SharePoint item
siteId - the owner site id
siteName - the owner site name
title - the item title
name - the item name
version - the item version
createdBy - the user who created the item
creationTime - when the item was created
modifiedBy - the user who last modified the item
modificationTime - when the item was last modified

public record O365SharePointItemSearchResponse(String itemId, String siteId, String siteName, String title, String name, String version, String createdBy, Instant creationTime, String modifiedBy, Instant modificationTime) extends Record
A single SharePoint item search result inside a Search Backups session.
  • Constructor Details

    • O365SharePointItemSearchResponse

      public O365SharePointItemSearchResponse(String itemId, String siteId, String siteName, String title, String name, String version, String createdBy, Instant creationTime, String modifiedBy, Instant modificationTime)
      Creates an instance of a O365SharePointItemSearchResponse record class.
      Parameters:
      itemId - the value for the itemId record component
      siteId - the value for the siteId record component
      siteName - the value for the siteName record component
      title - the value for the title record component
      name - the value for the name record component
      version - the value for the version record component
      createdBy - the value for the createdBy record component
      creationTime - the value for the creationTime record component
      modifiedBy - the value for the modifiedBy record component
      modificationTime - the value for the modificationTime 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
    • siteId

      public String siteId()
      Returns the value of the siteId record component.
      Returns:
      the value of the siteId record component
    • siteName

      public String siteName()
      Returns the value of the siteName record component.
      Returns:
      the value of the siteName record component
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component
    • createdBy

      public String createdBy()
      Returns the value of the createdBy record component.
      Returns:
      the value of the createdBy record component
    • creationTime

      public Instant creationTime()
      Returns the value of the creationTime record component.
      Returns:
      the value of the creationTime record component
    • modifiedBy

      public String modifiedBy()
      Returns the value of the modifiedBy record component.
      Returns:
      the value of the modifiedBy record component
    • modificationTime

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