Class O365OrganizationResponse
java.lang.Object
com.iland.core.web.rest.response.vbo.O365OrganizationResponse
Office 365 VBO Organization Response.
- Author:
- Julien Anguenot
-
Constructor Summary
ConstructorsConstructorDescriptionO365OrganizationResponse(String uuid, String name, String crm, String locationId, String contractUuid, O365OrganizationType type, O365OrganizationRegion region, boolean isExchangeOnline, boolean isSharePointOnline, boolean isTeamsOnline, boolean isTeamsChatOnline, boolean isBackedUp, boolean useModernAuth, boolean useApplicationOnlyAuth, Instant firstBackupTime, Instant lastBackupTime, boolean isTrial, int protectedActiveUsers, int protectedInactiveUsers, int totalProtectedUsers, int protectedSharedUsers, int unprotectedLicensedUsers, int numberOfReservedLicenses, int numberOfLicensesUsed, int ilandLicensedUsers, String applicationId) -
Method Summary
Modifier and TypeMethodDescriptionThe applicationId to use during modern app device code generationReturns the corresponding iland Salesforce contract UUID.getCrm()Returns the iland company id.Returns the time when this organization was processed by a backup job for the first time.intSpecifies the licensed user count from license api.Returns the time when this organization was processed by a backup job for the last time.Returns the iland location id.getName()Returns the O365 VBO Organization name.intSpecifies the amount of the used licenses.intReturns the total numbers of licenses reserved for customer (setup in salesforce).intReturns the total number of backed up active users of account type User.intReturns the total number of backed up inactive users of account type User.intReturns total number of backed up Group/Shared/Public users.Returns the O365 VBO Organization region.intDeprecated.Use getTotalProtectedUsers.intDeprecated.Use getNumberOfLicensesUsed.intDeprecated.Use getTotalLicensedUsers.intReturns the total number of backed up users of account type User.intDeprecated.Use getTotalProtectedUsers, getProtectedSharedUsers, getUnprotectedLicensedUsers, getTotalLicensedUsers.getType()Returns the O365 VBO Organization type.intReturns the total number of unprotected active users with account type User.intDeprecated.Use getUnprotectedLicensedUsers.getUuid()Returns the O365 VBO Organization UUID.booleanIf set to True, indicates that this organization had already been processed by a backup job.booleanIf set to True, indicates that this organization contains Microsoft Office 365 Exchange components.booleanIf set to True, indicates that this organization contains Microsoft Office 365 SharePoint components.booleanIf set to True, indicates that this organization contains Microsoft Office 365 Teams chat components.booleanIf set to True, indicates that this organization contains Microsoft Office 365 Teams components.booleanisTrial()Is this O365 VBO org an iland customer in free trial?booleanSpecifies whether to use modern application only authentication.booleanSpecifies whether or not to use modern authentication.
-
Constructor Details
-
O365OrganizationResponse
public O365OrganizationResponse(String uuid, String name, String crm, String locationId, String contractUuid, O365OrganizationType type, O365OrganizationRegion region, boolean isExchangeOnline, boolean isSharePointOnline, boolean isTeamsOnline, boolean isTeamsChatOnline, boolean isBackedUp, boolean useModernAuth, boolean useApplicationOnlyAuth, Instant firstBackupTime, Instant lastBackupTime, boolean isTrial, int protectedActiveUsers, int protectedInactiveUsers, int totalProtectedUsers, int protectedSharedUsers, int unprotectedLicensedUsers, int numberOfReservedLicenses, int numberOfLicensesUsed, int ilandLicensedUsers, String applicationId)
-
-
Method Details
-
getUuid
Returns the O365 VBO Organization UUID.- Returns:
- and iland platform UUID
-
getName
Returns the O365 VBO Organization name.- Returns:
- the O365 VBO Organization name
-
getCrm
Returns the iland company id.- Returns:
- a CRM # id
-
getLocationId
Returns the iland location id.- Returns:
- the iland location id
-
getContractUuid
Returns the corresponding iland Salesforce contract UUID.- Returns:
- a Salesforce contract UUID
-
getType
Returns the O365 VBO Organization type.- Returns:
- one of
O365OrganizationType
-
getRegion
Returns the O365 VBO Organization region.- Returns:
- one of
O365OrganizationRegion
-
isExchangeOnline
public boolean isExchangeOnline()If set to True, indicates that this organization contains Microsoft Office 365 Exchange components.- Returns:
- true or false
-
isTeamsOnline
public boolean isTeamsOnline()If set to True, indicates that this organization contains Microsoft Office 365 Teams components.- Returns:
- true or false
-
isTeamsChatOnline
public boolean isTeamsChatOnline()If set to True, indicates that this organization contains Microsoft Office 365 Teams chat components.- Returns:
- true or false
-
isBackedUp
public boolean isBackedUp()If set to True, indicates that this organization had already been processed by a backup job.- Returns:
- true or false
-
isUseModernAuth
public boolean isUseModernAuth()Specifies whether or not to use modern authentication.- Returns:
- true or false
-
getFirstBackupTime
Returns the time when this organization was processed by a backup job for the first time.- Returns:
- UTC
Instant
-
getLastBackupTime
Returns the time when this organization was processed by a backup job for the last time.- Returns:
- UTC
Instant
-
isTrial
public boolean isTrial()Is this O365 VBO org an iland customer in free trial?- Returns:
- true or false
-
getProtectedActiveUsers
public int getProtectedActiveUsers()Returns the total number of backed up active users of account type User.- Returns:
- the total number of backed up active users of account type User
-
getProtectedInactiveUsers
public int getProtectedInactiveUsers()Returns the total number of backed up inactive users of account type User.- Returns:
- the total number of backed up inactive users of account type User
-
getTotalProtectedUsers
public int getTotalProtectedUsers()Returns the total number of backed up users of account type User.- Returns:
- the total number of backed up users of account type User
-
getTotalLicensedUsers
public int getTotalLicensedUsers()Deprecated.Use getNumberOfLicensesUsed.Returns the total number of active users with account type User.- Returns:
- the total number of active users with account type User
-
getUnprotectedLicensedUsers
public int getUnprotectedLicensedUsers()Returns the total number of unprotected active users with account type User.- Returns:
- the total number of unprotected active users with account type User
-
getNumberOfReservedLicenses
public int getNumberOfReservedLicenses()Returns the total numbers of licenses reserved for customer (setup in salesforce).- Returns:
- the total number of licenses reserved for customer.
-
getTotalUsers
public int getTotalUsers()Deprecated.Use getTotalProtectedUsers, getProtectedSharedUsers, getUnprotectedLicensedUsers, getTotalLicensedUsers.Returns the total numbers of users O365 side.- Returns:
- the total numbers of users O365 side
-
getTotalBackedupUsers
public int getTotalBackedupUsers()Deprecated.Use getTotalProtectedUsers.Returns the total numbers of users backed up with VBO.- Returns:
- the total numbers of users backed up with VBO
-
getTotalLicensesConsumed
public int getTotalLicensesConsumed()Deprecated.Use getTotalLicensedUsers.Returns the total number of licenses consumed which is all backed up users of user type "User".- Returns:
- the total number of licenses consumed
-
getUnprotectedUsers
public int getUnprotectedUsers()Deprecated.Use getUnprotectedLicensedUsers.Returns total numbers of unprotected O365 users.- Returns:
- the total numbers of unprotected O365 users.
-
getNumberOfLicensesUsed
public int getNumberOfLicensesUsed()Specifies the amount of the used licenses.- Returns:
- the amount of the used licenses.
-
isUseApplicationOnlyAuth
public boolean isUseApplicationOnlyAuth()Specifies whether to use modern application only authentication.- Returns:
- application only auth flag
-
getIlandLicensedUsers
public int getIlandLicensedUsers()Specifies the licensed user count from license api.- Returns:
- the licensed user count
-
getApplicationId
The applicationId to use during modern app device code generation- Returns:
- String the application id
-