Class O365JobSessionResponse
java.lang.Object
com.iland.core.web.rest.response.vbo.O365JobSessionResponse
- All Implemented Interfaces:
Serializable,Comparable<O365JobSessionResponse>
public final class O365JobSessionResponse
extends Object
implements Serializable, Comparable<O365JobSessionResponse>
Office 365 VBO Job Session Response.
- Author:
- Julien Anguenot
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionO365JobSessionResponse(String uuid, String locationId, String companyId, String o365OrganizationUuid, String o365JobUuid, Instant creationTime, Instant endTime, int progress, O365JobSessionStatus status, O365JobSessionStatsResponse statistics) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(O365JobSessionResponse o365JobSessionResponse) booleanReturns the iland company id.Returns the date and time when the job session was created.Returns the date and time when the latest job session ended.Returns the iland location id.Returns the parent O365 Job UUID.Returns the parent O365 Organization UUID.intReturns the number of processed mailboxes during the job session.Returns the job session statistics.Returns the status of the backup job.getUuid()Returns the O365 Job Session UUID.inthashCode()
-
Constructor Details
-
O365JobSessionResponse
public O365JobSessionResponse(String uuid, String locationId, String companyId, String o365OrganizationUuid, String o365JobUuid, Instant creationTime, Instant endTime, int progress, O365JobSessionStatus status, O365JobSessionStatsResponse statistics)
-
-
Method Details
-
getUuid
Returns the O365 Job Session UUID.- Returns:
- an iland platform UUID
-
getLocationId
Returns the iland location id.- Returns:
- the iland location id.
-
getCompanyId
Returns the iland company id.- Returns:
- a CRM # id.
-
getO365OrganizationUuid
Returns the parent O365 Organization UUID.- Returns:
- an iland platform UUID
-
getO365JobUuid
Returns the parent O365 Job UUID.- Returns:
- an iland platform UUID
-
getCreationTime
Returns the date and time when the job session was created.- Returns:
- a UTC
Instant
-
getEndTime
Returns the date and time when the latest job session ended.- Returns:
- a UTC
Instant
-
getProgress
public int getProgress()Returns the number of processed mailboxes during the job session.- Returns:
- the number of processed mailboxes during the job session
-
getStatus
Returns the status of the backup job.- Returns:
- one of
O365JobSessionStatus
-
getStatistics
Returns the job session statistics.- Returns:
- one of
O365JobSessionStatsResponse
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<O365JobSessionResponse>
-