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 BackupRestoreRoot
createFromDiscriminatorValue
(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 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 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.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the driveInclusionRules property value.void
Sets the driveProtectionUnits property value.void
Sets the exchangeProtectionPolicies property value.void
Sets the exchangeRestoreSessions property value.void
Sets the mailboxInclusionRules property value.void
Sets the mailboxProtectionUnits property value.void
Sets the oneDriveForBusinessProtectionPolicies property value.void
Sets the oneDriveForBusinessRestoreSessions property value.void
Sets the protectionPolicies property value.void
setProtectionUnits
(List<ProtectionUnitBase> value) Sets the protectionUnits property value.void
setRestorePoints
(List<RestorePoint> value) Sets the restorePoints property value.void
setRestoreSessions
(List<RestoreSessionBase> value) Sets the restoreSessions property value.void
setServiceApps
(List<ServiceApp> value) Sets the serviceApps property value.void
setServiceStatus
(ServiceStatus value) Sets the serviceStatus property value.void
Sets the sharePointProtectionPolicies property value.void
Sets the sharePointRestoreSessions property value.void
Sets the siteInclusionRules property value.void
Sets the siteProtectionUnits 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 newBackupRestoreRoot
and 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>
-
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:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in 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>
-
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>
-
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.
-
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.
-
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.
-