Record Class O365SearchSessionResponse

java.lang.Object
java.lang.Record
com.iland.core.web.rest.response.vbo.O365SearchSessionResponse
Record Components:
searchRestoreSession - the search restore session
restorePoint - the restore point the search reads from
mailboxes - the mailbox picker contents (Vex); empty for non-Exchange sessions
sharePointSites - the SharePoint site picker contents (Vesp); empty for non-SharePoint sessions

public record O365SearchSessionResponse(O365SearchRestoreSessionResponse searchRestoreSession, O365RestorePointResponse restorePoint, SetResponse<O365SearchMailboxResponse> mailboxes, SetResponse<O365SearchSiteResponse> sharePointSites) extends Record
Response for opening a Search Backups session. Combines the search restore session, the restore point it reads from, and the picker contents (mailboxes for Exchange, SharePoint sites for SharePoint).

Both picker fields are always non-null. The inapplicable picker for a given session type is an empty SetResponse.