Package com.microsoft.graph.models
Class ManagedAppProtection
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedAppPolicy
com.microsoft.graph.models.ManagedAppProtection
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
DefaultManagedAppProtection
,TargetedManagedAppProtection
@Generated("com.microsoft.kiota")
public class ManagedAppProtection
extends ManagedAppPolicy
implements com.microsoft.kiota.serialization.Parsable
Policy used to configure detailed management settings for a specified set of apps
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedAppProtection
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the allowedDataStorageLocations property value.Gets the allowedInboundDataTransferSources property value.Gets the allowedOutboundClipboardSharingLevel property value.Gets the allowedOutboundDataTransferDestinations property value.Gets the contactSyncBlocked property value.Gets the dataBackupBlocked property value.Gets the deviceComplianceRequired property value.Gets the disableAppPinIfDevicePinIsSet property value.The deserialization information for the current modelGets the fingerprintBlocked property value.Gets the managedBrowser property value.Gets the managedBrowserToOpenLinksRequired property value.Gets the maximumPinRetries property value.Gets the minimumPinLength property value.Gets the minimumRequiredAppVersion property value.Gets the minimumRequiredOsVersion property value.Gets the minimumWarningAppVersion property value.Gets the minimumWarningOsVersion property value.Gets the organizationalCredentialsRequired property value.com.microsoft.kiota.PeriodAndDuration
Gets the periodBeforePinReset property value.com.microsoft.kiota.PeriodAndDuration
Gets the periodOfflineBeforeAccessCheck property value.com.microsoft.kiota.PeriodAndDuration
Gets the periodOfflineBeforeWipeIsEnforced property value.com.microsoft.kiota.PeriodAndDuration
Gets the periodOnlineBeforeAccessCheck property value.Gets the pinCharacterSet property value.Gets the pinRequired property value.Gets the printBlocked property value.Gets the saveAsBlocked property value.Gets the simplePinBlocked property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the allowedDataStorageLocations property value.void
Sets the allowedInboundDataTransferSources property value.void
Sets the allowedOutboundClipboardSharingLevel property value.void
Sets the allowedOutboundDataTransferDestinations property value.void
setContactSyncBlocked
(Boolean value) Sets the contactSyncBlocked property value.void
setDataBackupBlocked
(Boolean value) Sets the dataBackupBlocked property value.void
Sets the deviceComplianceRequired property value.void
Sets the disableAppPinIfDevicePinIsSet property value.void
setFingerprintBlocked
(Boolean value) Sets the fingerprintBlocked property value.void
Sets the managedBrowser property value.void
Sets the managedBrowserToOpenLinksRequired property value.void
setMaximumPinRetries
(Integer value) Sets the maximumPinRetries property value.void
setMinimumPinLength
(Integer value) Sets the minimumPinLength property value.void
Sets the minimumRequiredAppVersion property value.void
Sets the minimumRequiredOsVersion property value.void
Sets the minimumWarningAppVersion property value.void
setMinimumWarningOsVersion
(String value) Sets the minimumWarningOsVersion property value.void
Sets the organizationalCredentialsRequired property value.void
setPeriodBeforePinReset
(com.microsoft.kiota.PeriodAndDuration value) Sets the periodBeforePinReset property value.void
setPeriodOfflineBeforeAccessCheck
(com.microsoft.kiota.PeriodAndDuration value) Sets the periodOfflineBeforeAccessCheck property value.void
setPeriodOfflineBeforeWipeIsEnforced
(com.microsoft.kiota.PeriodAndDuration value) Sets the periodOfflineBeforeWipeIsEnforced property value.void
setPeriodOnlineBeforeAccessCheck
(com.microsoft.kiota.PeriodAndDuration value) Sets the periodOnlineBeforeAccessCheck property value.void
Sets the pinCharacterSet property value.void
setPinRequired
(Boolean value) Sets the pinRequired property value.void
setPrintBlocked
(Boolean value) Sets the printBlocked property value.void
setSaveAsBlocked
(Boolean value) Sets the saveAsBlocked property value.void
setSimplePinBlocked
(Boolean value) Sets the simplePinBlocked property value.Methods inherited from class com.microsoft.graph.models.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, setCreatedDateTime, setDescription, setDisplayName, setLastModifiedDateTime, setVersion
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ManagedAppProtection
public ManagedAppProtection()Instantiates a newManagedAppProtection
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ManagedAppProtection 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
ManagedAppProtection
-
getAllowedDataStorageLocations
Gets the allowedDataStorageLocations property value. Data storage locations where a user may store managed data.- Returns:
- a
List<ManagedAppDataStorageLocation>
-
getAllowedInboundDataTransferSources
Gets the allowedInboundDataTransferSources property value. Data can be transferred from/to these classes of apps- Returns:
- a
ManagedAppDataTransferLevel
-
getAllowedOutboundClipboardSharingLevel
Gets the allowedOutboundClipboardSharingLevel property value. Represents the level to which the device's clipboard may be shared between apps- Returns:
- a
ManagedAppClipboardSharingLevel
-
getAllowedOutboundDataTransferDestinations
Gets the allowedOutboundDataTransferDestinations property value. Data can be transferred from/to these classes of apps- Returns:
- a
ManagedAppDataTransferLevel
-
getContactSyncBlocked
Gets the contactSyncBlocked property value. Indicates whether contacts can be synced to the user's device.- Returns:
- a
Boolean
-
getDataBackupBlocked
Gets the dataBackupBlocked property value. Indicates whether the backup of a managed app's data is blocked.- Returns:
- a
Boolean
-
getDeviceComplianceRequired
Gets the deviceComplianceRequired property value. Indicates whether device compliance is required.- Returns:
- a
Boolean
-
getDisableAppPinIfDevicePinIsSet
Gets the disableAppPinIfDevicePinIsSet property value. Indicates whether use of the app pin is required if the device pin is set.- Returns:
- a
Boolean
-
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 classManagedAppPolicy
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFingerprintBlocked
Gets the fingerprintBlocked property value. Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.- Returns:
- a
Boolean
-
getManagedBrowser
Gets the managedBrowser property value. Type of managed browser- Returns:
- a
EnumSet<ManagedBrowserType>
-
getManagedBrowserToOpenLinksRequired
Gets the managedBrowserToOpenLinksRequired property value. Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)- Returns:
- a
Boolean
-
getMaximumPinRetries
Gets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.- Returns:
- a
Integer
-
getMinimumPinLength
Gets the minimumPinLength property value. Minimum pin length required for an app-level pin if PinRequired is set to True- Returns:
- a
Integer
-
getMinimumRequiredAppVersion
Gets the minimumRequiredAppVersion property value. Versions less than the specified version will block the managed app from accessing company data.- Returns:
- a
String
-
getMinimumRequiredOsVersion
Gets the minimumRequiredOsVersion property value. Versions less than the specified version will block the managed app from accessing company data.- Returns:
- a
String
-
getMinimumWarningAppVersion
Gets the minimumWarningAppVersion property value. Versions less than the specified version will result in warning message on the managed app.- Returns:
- a
String
-
getMinimumWarningOsVersion
Gets the minimumWarningOsVersion property value. Versions less than the specified version will result in warning message on the managed app from accessing company data.- Returns:
- a
String
-
getOrganizationalCredentialsRequired
Gets the organizationalCredentialsRequired property value. Indicates whether organizational credentials are required for app use.- Returns:
- a
Boolean
-
getPeriodBeforePinReset
@Nullable public com.microsoft.kiota.PeriodAndDuration getPeriodBeforePinReset()Gets the periodBeforePinReset property value. TimePeriod before the all-level pin must be reset if PinRequired is set to True.- Returns:
- a
PeriodAndDuration
-
getPeriodOfflineBeforeAccessCheck
@Nullable public com.microsoft.kiota.PeriodAndDuration getPeriodOfflineBeforeAccessCheck()Gets the periodOfflineBeforeAccessCheck property value. The period after which access is checked when the device is not connected to the internet.- Returns:
- a
PeriodAndDuration
-
getPeriodOfflineBeforeWipeIsEnforced
@Nullable public com.microsoft.kiota.PeriodAndDuration getPeriodOfflineBeforeWipeIsEnforced()Gets the periodOfflineBeforeWipeIsEnforced property value. The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.- Returns:
- a
PeriodAndDuration
-
getPeriodOnlineBeforeAccessCheck
@Nullable public com.microsoft.kiota.PeriodAndDuration getPeriodOnlineBeforeAccessCheck()Gets the periodOnlineBeforeAccessCheck property value. The period after which access is checked when the device is connected to the internet.- Returns:
- a
PeriodAndDuration
-
getPinCharacterSet
Gets the pinCharacterSet property value. Character set which is to be used for a user's app PIN- Returns:
- a
ManagedAppPinCharacterSet
-
getPinRequired
Gets the pinRequired property value. Indicates whether an app-level pin is required.- Returns:
- a
Boolean
-
getPrintBlocked
Gets the printBlocked property value. Indicates whether printing is allowed from managed apps.- Returns:
- a
Boolean
-
getSaveAsBlocked
Gets the saveAsBlocked property value. Indicates whether users may use the 'Save As' menu item to save a copy of protected files.- Returns:
- a
Boolean
-
getSimplePinBlocked
Gets the simplePinBlocked property value. Indicates whether simplePin is blocked.- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classManagedAppPolicy
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAllowedDataStorageLocations
Sets the allowedDataStorageLocations property value. Data storage locations where a user may store managed data.- Parameters:
value
- Value to set for the allowedDataStorageLocations property.
-
setAllowedInboundDataTransferSources
Sets the allowedInboundDataTransferSources property value. Data can be transferred from/to these classes of apps- Parameters:
value
- Value to set for the allowedInboundDataTransferSources property.
-
setAllowedOutboundClipboardSharingLevel
public void setAllowedOutboundClipboardSharingLevel(@Nullable ManagedAppClipboardSharingLevel value) Sets the allowedOutboundClipboardSharingLevel property value. Represents the level to which the device's clipboard may be shared between apps- Parameters:
value
- Value to set for the allowedOutboundClipboardSharingLevel property.
-
setAllowedOutboundDataTransferDestinations
Sets the allowedOutboundDataTransferDestinations property value. Data can be transferred from/to these classes of apps- Parameters:
value
- Value to set for the allowedOutboundDataTransferDestinations property.
-
setContactSyncBlocked
Sets the contactSyncBlocked property value. Indicates whether contacts can be synced to the user's device.- Parameters:
value
- Value to set for the contactSyncBlocked property.
-
setDataBackupBlocked
Sets the dataBackupBlocked property value. Indicates whether the backup of a managed app's data is blocked.- Parameters:
value
- Value to set for the dataBackupBlocked property.
-
setDeviceComplianceRequired
Sets the deviceComplianceRequired property value. Indicates whether device compliance is required.- Parameters:
value
- Value to set for the deviceComplianceRequired property.
-
setDisableAppPinIfDevicePinIsSet
Sets the disableAppPinIfDevicePinIsSet property value. Indicates whether use of the app pin is required if the device pin is set.- Parameters:
value
- Value to set for the disableAppPinIfDevicePinIsSet property.
-
setFingerprintBlocked
Sets the fingerprintBlocked property value. Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.- Parameters:
value
- Value to set for the fingerprintBlocked property.
-
setManagedBrowser
Sets the managedBrowser property value. Type of managed browser- Parameters:
value
- Value to set for the managedBrowser property.
-
setManagedBrowserToOpenLinksRequired
Sets the managedBrowserToOpenLinksRequired property value. Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)- Parameters:
value
- Value to set for the managedBrowserToOpenLinksRequired property.
-
setMaximumPinRetries
Sets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.- Parameters:
value
- Value to set for the maximumPinRetries property.
-
setMinimumPinLength
Sets the minimumPinLength property value. Minimum pin length required for an app-level pin if PinRequired is set to True- Parameters:
value
- Value to set for the minimumPinLength property.
-
setMinimumRequiredAppVersion
Sets the minimumRequiredAppVersion property value. Versions less than the specified version will block the managed app from accessing company data.- Parameters:
value
- Value to set for the minimumRequiredAppVersion property.
-
setMinimumRequiredOsVersion
Sets the minimumRequiredOsVersion property value. Versions less than the specified version will block the managed app from accessing company data.- Parameters:
value
- Value to set for the minimumRequiredOsVersion property.
-
setMinimumWarningAppVersion
Sets the minimumWarningAppVersion property value. Versions less than the specified version will result in warning message on the managed app.- Parameters:
value
- Value to set for the minimumWarningAppVersion property.
-
setMinimumWarningOsVersion
Sets the minimumWarningOsVersion property value. Versions less than the specified version will result in warning message on the managed app from accessing company data.- Parameters:
value
- Value to set for the minimumWarningOsVersion property.
-
setOrganizationalCredentialsRequired
Sets the organizationalCredentialsRequired property value. Indicates whether organizational credentials are required for app use.- Parameters:
value
- Value to set for the organizationalCredentialsRequired property.
-
setPeriodBeforePinReset
public void setPeriodBeforePinReset(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the periodBeforePinReset property value. TimePeriod before the all-level pin must be reset if PinRequired is set to True.- Parameters:
value
- Value to set for the periodBeforePinReset property.
-
setPeriodOfflineBeforeAccessCheck
public void setPeriodOfflineBeforeAccessCheck(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the periodOfflineBeforeAccessCheck property value. The period after which access is checked when the device is not connected to the internet.- Parameters:
value
- Value to set for the periodOfflineBeforeAccessCheck property.
-
setPeriodOfflineBeforeWipeIsEnforced
public void setPeriodOfflineBeforeWipeIsEnforced(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the periodOfflineBeforeWipeIsEnforced property value. The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.- Parameters:
value
- Value to set for the periodOfflineBeforeWipeIsEnforced property.
-
setPeriodOnlineBeforeAccessCheck
public void setPeriodOnlineBeforeAccessCheck(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the periodOnlineBeforeAccessCheck property value. The period after which access is checked when the device is connected to the internet.- Parameters:
value
- Value to set for the periodOnlineBeforeAccessCheck property.
-
setPinCharacterSet
Sets the pinCharacterSet property value. Character set which is to be used for a user's app PIN- Parameters:
value
- Value to set for the pinCharacterSet property.
-
setPinRequired
Sets the pinRequired property value. Indicates whether an app-level pin is required.- Parameters:
value
- Value to set for the pinRequired property.
-
setPrintBlocked
Sets the printBlocked property value. Indicates whether printing is allowed from managed apps.- Parameters:
value
- Value to set for the printBlocked property.
-
setSaveAsBlocked
Sets the saveAsBlocked property value. Indicates whether users may use the 'Save As' menu item to save a copy of protected files.- Parameters:
value
- Value to set for the saveAsBlocked property.
-
setSimplePinBlocked
Sets the simplePinBlocked property value. Indicates whether simplePin is blocked.- Parameters:
value
- Value to set for the simplePinBlocked property.
-