Package com.microsoft.graph.models
Class BackupRestoreRoot
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BackupRestoreRoot
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class BackupRestoreRoot
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BackupRestoreRootcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the driveInclusionRules property value.Gets the driveProtectionUnits property value.Gets the driveProtectionUnitsBulkAdditionJobs property value.Gets the exchangeProtectionPolicies property value.Gets the exchangeRestoreSessions property value.The deserialization information for the current modelGets the mailboxInclusionRules property value.Gets the mailboxProtectionUnits property value.Gets the mailboxProtectionUnitsBulkAdditionJobs property value.Gets the oneDriveForBusinessProtectionPolicies property value.Gets the oneDriveForBusinessRestoreSessions property value.Gets the protectionPolicies property value.Gets the protectionUnits property value.Gets the restorePoints property value.Gets the restoreSessions property value.Gets the serviceApps property value.Gets the serviceStatus property value.Gets the sharePointProtectionPolicies property value.Gets the sharePointRestoreSessions property value.Gets the siteInclusionRules property value.Gets the siteProtectionUnits property value.Gets the siteProtectionUnitsBulkAdditionJobs property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the driveInclusionRules property value.voidSets the driveProtectionUnits property value.voidSets the driveProtectionUnitsBulkAdditionJobs property value.voidSets the exchangeProtectionPolicies property value.voidSets the exchangeRestoreSessions property value.voidSets the mailboxInclusionRules property value.voidSets the mailboxProtectionUnits property value.voidSets the mailboxProtectionUnitsBulkAdditionJobs property value.voidSets the oneDriveForBusinessProtectionPolicies property value.voidSets the oneDriveForBusinessRestoreSessions property value.voidSets the protectionPolicies property value.voidsetProtectionUnits(List<ProtectionUnitBase> value) Sets the protectionUnits property value.voidsetRestorePoints(List<RestorePoint> value) Sets the restorePoints property value.voidsetRestoreSessions(List<RestoreSessionBase> value) Sets the restoreSessions property value.voidsetServiceApps(List<ServiceApp> value) Sets the serviceApps property value.voidsetServiceStatus(ServiceStatus value) Sets the serviceStatus property value.voidSets the sharePointProtectionPolicies property value.voidSets the sharePointRestoreSessions property value.voidSets the siteInclusionRules property value.voidSets the siteProtectionUnits property value.voidSets the siteProtectionUnitsBulkAdditionJobs property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
BackupRestoreRoot
public BackupRestoreRoot()Instantiates a newBackupRestoreRootand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static BackupRestoreRoot createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
BackupRestoreRoot
-
getDriveInclusionRules
Gets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant.- Returns:
- a
List<DriveProtectionRule>
-
getDriveProtectionUnits
Gets the driveProtectionUnits property value. The list of drive protection units in the tenant.- Returns:
- a
List<DriveProtectionUnit>
-
getDriveProtectionUnitsBulkAdditionJobs
@Nullable public List<DriveProtectionUnitsBulkAdditionJob> getDriveProtectionUnitsBulkAdditionJobs()Gets the driveProtectionUnitsBulkAdditionJobs property value. The driveProtectionUnitsBulkAdditionJobs property- Returns:
- a
List<DriveProtectionUnitsBulkAdditionJob>
-
getExchangeProtectionPolicies
Gets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant.- Returns:
- a
List<ExchangeProtectionPolicy>
-
getExchangeRestoreSessions
Gets the exchangeRestoreSessions property value. The list of Exchange restore sessions available in the tenant.- Returns:
- a
List<ExchangeRestoreSession>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getMailboxInclusionRules
Gets the mailboxInclusionRules property value. The list of mailbox inclusion rules applied to the tenant.- Returns:
- a
List<MailboxProtectionRule>
-
getMailboxProtectionUnits
Gets the mailboxProtectionUnits property value. The list of mailbox protection units in the tenant.- Returns:
- a
List<MailboxProtectionUnit>
-
getMailboxProtectionUnitsBulkAdditionJobs
@Nullable public List<MailboxProtectionUnitsBulkAdditionJob> getMailboxProtectionUnitsBulkAdditionJobs()Gets the mailboxProtectionUnitsBulkAdditionJobs property value. The mailboxProtectionUnitsBulkAdditionJobs property- Returns:
- a
List<MailboxProtectionUnitsBulkAdditionJob>
-
getOneDriveForBusinessProtectionPolicies
@Nullable public List<OneDriveForBusinessProtectionPolicy> getOneDriveForBusinessProtectionPolicies()Gets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant.- Returns:
- a
List<OneDriveForBusinessProtectionPolicy>
-
getOneDriveForBusinessRestoreSessions
Gets the oneDriveForBusinessRestoreSessions property value. The list of OneDrive for Business restore sessions available in the tenant.- Returns:
- a
List<OneDriveForBusinessRestoreSession>
-
getProtectionPolicies
Gets the protectionPolicies property value. List of protection policies in the tenant.- Returns:
- a
List<ProtectionPolicyBase>
-
getProtectionUnits
Gets the protectionUnits property value. List of protection units in the tenant.- Returns:
- a
List<ProtectionUnitBase>
-
getRestorePoints
Gets the restorePoints property value. List of restore points in the tenant.- Returns:
- a
List<RestorePoint>
-
getRestoreSessions
Gets the restoreSessions property value. List of restore sessions in the tenant.- Returns:
- a
List<RestoreSessionBase>
-
getServiceApps
Gets the serviceApps property value. List of Backup Storage apps in the tenant.- Returns:
- a
List<ServiceApp>
-
getServiceStatus
Gets the serviceStatus property value. Represents the tenant-level status of the Backup Storage service.- Returns:
- a
ServiceStatus
-
getSiteInclusionRules
Gets the siteInclusionRules property value. The list of site inclusion rules applied to the tenant.- Returns:
- a
List<SiteProtectionRule>
-
getSiteProtectionUnits
Gets the siteProtectionUnits property value. The list of site protection units in the tenant.- Returns:
- a
List<SiteProtectionUnit>
-
getSiteProtectionUnitsBulkAdditionJobs
Gets the siteProtectionUnitsBulkAdditionJobs property value. The siteProtectionUnitsBulkAdditionJobs property- Returns:
- a
List<SiteProtectionUnitsBulkAdditionJob>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDriveInclusionRules
Sets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant.- Parameters:
value- Value to set for the driveInclusionRules property.
-
setDriveProtectionUnits
Sets the driveProtectionUnits property value. The list of drive protection units in the tenant.- Parameters:
value- Value to set for the driveProtectionUnits property.
-
setDriveProtectionUnitsBulkAdditionJobs
public void setDriveProtectionUnitsBulkAdditionJobs(@Nullable List<DriveProtectionUnitsBulkAdditionJob> value) Sets the driveProtectionUnitsBulkAdditionJobs property value. The driveProtectionUnitsBulkAdditionJobs property- Parameters:
value- Value to set for the driveProtectionUnitsBulkAdditionJobs property.
-
setExchangeProtectionPolicies
Sets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant.- Parameters:
value- Value to set for the exchangeProtectionPolicies property.
-
setExchangeRestoreSessions
Sets the exchangeRestoreSessions property value. The list of Exchange restore sessions available in the tenant.- Parameters:
value- Value to set for the exchangeRestoreSessions property.
-
setMailboxInclusionRules
Sets the mailboxInclusionRules property value. The list of mailbox inclusion rules applied to the tenant.- Parameters:
value- Value to set for the mailboxInclusionRules property.
-
setMailboxProtectionUnits
Sets the mailboxProtectionUnits property value. The list of mailbox protection units in the tenant.- Parameters:
value- Value to set for the mailboxProtectionUnits property.
-
setMailboxProtectionUnitsBulkAdditionJobs
public void setMailboxProtectionUnitsBulkAdditionJobs(@Nullable List<MailboxProtectionUnitsBulkAdditionJob> value) Sets the mailboxProtectionUnitsBulkAdditionJobs property value. The mailboxProtectionUnitsBulkAdditionJobs property- Parameters:
value- Value to set for the mailboxProtectionUnitsBulkAdditionJobs property.
-
setOneDriveForBusinessProtectionPolicies
public void setOneDriveForBusinessProtectionPolicies(@Nullable List<OneDriveForBusinessProtectionPolicy> value) Sets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant.- Parameters:
value- Value to set for the oneDriveForBusinessProtectionPolicies property.
-
setOneDriveForBusinessRestoreSessions
public void setOneDriveForBusinessRestoreSessions(@Nullable List<OneDriveForBusinessRestoreSession> value) Sets the oneDriveForBusinessRestoreSessions property value. The list of OneDrive for Business restore sessions available in the tenant.- Parameters:
value- Value to set for the oneDriveForBusinessRestoreSessions property.
-
setProtectionPolicies
Sets the protectionPolicies property value. List of protection policies in the tenant.- Parameters:
value- Value to set for the protectionPolicies property.
-
setProtectionUnits
Sets the protectionUnits property value. List of protection units in the tenant.- Parameters:
value- Value to set for the protectionUnits property.
-
setRestorePoints
Sets the restorePoints property value. List of restore points in the tenant.- Parameters:
value- Value to set for the restorePoints property.
-
setRestoreSessions
Sets the restoreSessions property value. List of restore sessions in the tenant.- Parameters:
value- Value to set for the restoreSessions property.
-
setServiceApps
Sets the serviceApps property value. List of Backup Storage apps in the tenant.- Parameters:
value- Value to set for the serviceApps property.
-
setServiceStatus
Sets the serviceStatus property value. Represents the tenant-level status of the Backup Storage service.- Parameters:
value- Value to set for the serviceStatus property.
-
setSiteInclusionRules
Sets the siteInclusionRules property value. The list of site inclusion rules applied to the tenant.- Parameters:
value- Value to set for the siteInclusionRules property.
-
setSiteProtectionUnits
Sets the siteProtectionUnits property value. The list of site protection units in the tenant.- Parameters:
value- Value to set for the siteProtectionUnits property.
-
setSiteProtectionUnitsBulkAdditionJobs
public void setSiteProtectionUnitsBulkAdditionJobs(@Nullable List<SiteProtectionUnitsBulkAdditionJob> value) Sets the siteProtectionUnitsBulkAdditionJobs property value. The siteProtectionUnitsBulkAdditionJobs property- Parameters:
value- Value to set for the siteProtectionUnitsBulkAdditionJobs property.
-