Class O365OrganizationCreateModifyRequest

java.lang.Object
com.iland.core.web.rest.request.vbo.O365OrganizationCreateModifyRequest

public final class O365OrganizationCreateModifyRequest extends Object
The Microsoft O365 Organization Create / Modify Request.
Author:
Sachin Mittal
  • Constructor Details

    • O365OrganizationCreateModifyRequest

      public O365OrganizationCreateModifyRequest(@Nullable String name, boolean isExchangeOnline, boolean isSharePointOnline, Boolean isTeamsOnline, Boolean isTeamsChatOnline, String account, String password, boolean useModernAuth, Boolean useApplicationOnlyAuth, String applicationId, String applicationSecret, boolean createDefaultJobs, String userCode, String newApplicationName, String o365BackupRepositoryId, String user)
  • Method Details

    • isExchangeOnline

      public boolean isExchangeOnline()
      If set to True, indicates that this organization contains Microsoft Office 365 Exchange components.
      Returns:
      true or false
    • isSharePointOnline

      public boolean isSharePointOnline()
      If set to True, indicates that this organization contains Microsoft Office 365 SharePoint / OneDrive components.
      Returns:
      true or false
    • isTeamsOnline

      public Boolean isTeamsOnline()
      If set to True, indicates that this organization contains Microsoft Office 365 Teams components.
      Returns:
      whether teams is available
    • isTeamsChatsOnline

      public Boolean isTeamsChatsOnline()
      If set to True, indicates that this organization contains Microsoft Office 365 Teams chats components.
      Returns:
      true or false
    • getName

      public String getName()
      Returns the VBO Organization name
      Returns:
      a Veeam native name
    • getAccount

      public String getAccount()
      Specifies the user account for the Microsoft Office 365 organization.

      For example, "account": "user@organization.onmicrosoft.com".

      Returns:
      a String
    • getPassword

      public String getPassword()
      Gets the password used in online settings.
      Returns:
      password used in online settings.
    • isUseModernAuth

      public boolean isUseModernAuth()
      Specifies whether to use modern or basic authentication.
      Returns:
      the modern auth flag1
    • isUseApplicationOnlyAuth

      public Boolean isUseApplicationOnlyAuth()
      Defines whether to use Azure AD (modern) application authentication.
      Returns:
      the flag for modern application authentication
    • getApplicationId

      public String getApplicationId()
      Specifies the identification number of the Azure AD application.
      Returns:
      the application id
    • getApplicationSecret

      public String getApplicationSecret()
      Specifies the application secret for the specified Azure AD application.
      Returns:
      the application secret
    • isCreateDefaultJobs

      public boolean isCreateDefaultJobs()
      Whether the default jobs will be created.
      Returns:
      the default jobs created flag
    • getUserCode

      public String getUserCode()
      Gets the device code to specify on the Microsoft authentication portal.
      Returns:
      the one time use device code
    • getNewApplicationName

      public String getNewApplicationName()
      Gets the name for the new Azure AD application. Required for Modern App
      Returns:
      the new application name
    • getUser

      public String getUser()
      Deprecated.
      Use account field
      Get the user is for basic auth
      Returns:
      user id for basic auth
    • getO365BackupRepositoryId

      public String getO365BackupRepositoryId()
      Get the O365 backup repository id
      Returns:
      the O365 backup repository id