Package com.microsoft.graph.models
Class DefaultManagedAppProtection
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedAppPolicy
com.microsoft.graph.models.ManagedAppProtection
com.microsoft.graph.models.DefaultManagedAppProtection
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DefaultManagedAppProtection
extends ManagedAppProtection
implements com.microsoft.kiota.serialization.Parsable
Policy used to configure detailed management settings for a specified set of apps for all users not targeted by a TargetedManagedAppProtection Policy
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultManagedAppProtectioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appDataEncryptionType property value.getApps()Gets the apps property value.Gets the customSettings property value.Gets the deployedAppCount property value.Gets the deploymentSummary property value.Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value.Gets the encryptAppData property value.Gets the faceIdBlocked property value.The deserialization information for the current modelGets the minimumRequiredPatchVersion property value.Gets the minimumRequiredSdkVersion property value.Gets the minimumWarningPatchVersion property value.Gets the screenCaptureBlocked property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the appDataEncryptionType property value.voidsetApps(List<ManagedMobileApp> value) Sets the apps property value.voidsetCustomSettings(List<KeyValuePair> value) Sets the customSettings property value.voidsetDeployedAppCount(Integer value) Sets the deployedAppCount property value.voidSets the deploymentSummary property value.voidSets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value.voidsetEncryptAppData(Boolean value) Sets the encryptAppData property value.voidsetFaceIdBlocked(Boolean value) Sets the faceIdBlocked property value.voidSets the minimumRequiredPatchVersion property value.voidSets the minimumRequiredSdkVersion property value.voidSets the minimumWarningPatchVersion property value.voidsetScreenCaptureBlocked(Boolean value) Sets the screenCaptureBlocked property value.Methods inherited from class com.microsoft.graph.models.ManagedAppProtection
getAllowedDataStorageLocations, getAllowedInboundDataTransferSources, getAllowedOutboundClipboardSharingLevel, getAllowedOutboundDataTransferDestinations, getContactSyncBlocked, getDataBackupBlocked, getDeviceComplianceRequired, getDisableAppPinIfDevicePinIsSet, getFingerprintBlocked, getManagedBrowser, getManagedBrowserToOpenLinksRequired, getMaximumPinRetries, getMinimumPinLength, getMinimumRequiredAppVersion, getMinimumRequiredOsVersion, getMinimumWarningAppVersion, getMinimumWarningOsVersion, getOrganizationalCredentialsRequired, getPeriodBeforePinReset, getPeriodOfflineBeforeAccessCheck, getPeriodOfflineBeforeWipeIsEnforced, getPeriodOnlineBeforeAccessCheck, getPinCharacterSet, getPinRequired, getPrintBlocked, getSaveAsBlocked, getSimplePinBlocked, setAllowedDataStorageLocations, setAllowedInboundDataTransferSources, setAllowedOutboundClipboardSharingLevel, setAllowedOutboundDataTransferDestinations, setContactSyncBlocked, setDataBackupBlocked, setDeviceComplianceRequired, setDisableAppPinIfDevicePinIsSet, setFingerprintBlocked, setManagedBrowser, setManagedBrowserToOpenLinksRequired, setMaximumPinRetries, setMinimumPinLength, setMinimumRequiredAppVersion, setMinimumRequiredOsVersion, setMinimumWarningAppVersion, setMinimumWarningOsVersion, setOrganizationalCredentialsRequired, setPeriodBeforePinReset, setPeriodOfflineBeforeAccessCheck, setPeriodOfflineBeforeWipeIsEnforced, setPeriodOnlineBeforeAccessCheck, setPinCharacterSet, setPinRequired, setPrintBlocked, setSaveAsBlocked, setSimplePinBlockedMethods inherited from class com.microsoft.graph.models.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, setCreatedDateTime, setDescription, setDisplayName, setLastModifiedDateTime, setVersionMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DefaultManagedAppProtection
public DefaultManagedAppProtection()Instantiates a newDefaultManagedAppProtectionand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DefaultManagedAppProtection 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
DefaultManagedAppProtection
-
getAppDataEncryptionType
Gets the appDataEncryptionType property value. Represents the level to which app data is encrypted for managed apps- Returns:
- a
ManagedAppDataEncryptionType
-
getApps
Gets the apps property value. List of apps to which the policy is deployed.- Returns:
- a
List<ManagedMobileApp>
-
getCustomSettings
Gets the customSettings property value. A set of string key and string value pairs to be sent to the affected users, unalterned by this service- Returns:
- a
List<KeyValuePair>
-
getDeployedAppCount
Gets the deployedAppCount property value. Count of apps to which the current policy is deployed.- Returns:
- a
Integer
-
getDeploymentSummary
Gets the deploymentSummary property value. Navigation property to deployment summary of the configuration.- Returns:
- a
ManagedAppPolicyDeploymentSummary
-
getDisableAppEncryptionIfDeviceEncryptionIsEnabled
Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)- Returns:
- a
Boolean
-
getEncryptAppData
Gets the encryptAppData property value. Indicates whether managed-app data should be encrypted. (Android only)- Returns:
- a
Boolean
-
getFaceIdBlocked
Gets the faceIdBlocked property value. Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)- Returns:
- a
Boolean
-
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 classManagedAppProtection- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getMinimumRequiredPatchVersion
Gets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)- Returns:
- a
String
-
getMinimumRequiredSdkVersion
Gets the minimumRequiredSdkVersion property value. Versions less than the specified version will block the managed app from accessing company data. (iOS Only)- Returns:
- a
String
-
getMinimumWarningPatchVersion
Gets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)- Returns:
- a
String
-
getScreenCaptureBlocked
Gets the screenCaptureBlocked property value. Indicates whether screen capture is blocked. (Android only)- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classManagedAppProtection- Parameters:
writer- Serialization writer to use to serialize this model
-
setAppDataEncryptionType
Sets the appDataEncryptionType property value. Represents the level to which app data is encrypted for managed apps- Parameters:
value- Value to set for the appDataEncryptionType property.
-
setApps
Sets the apps property value. List of apps to which the policy is deployed.- Parameters:
value- Value to set for the apps property.
-
setCustomSettings
Sets the customSettings property value. A set of string key and string value pairs to be sent to the affected users, unalterned by this service- Parameters:
value- Value to set for the customSettings property.
-
setDeployedAppCount
Sets the deployedAppCount property value. Count of apps to which the current policy is deployed.- Parameters:
value- Value to set for the deployedAppCount property.
-
setDeploymentSummary
Sets the deploymentSummary property value. Navigation property to deployment summary of the configuration.- Parameters:
value- Value to set for the deploymentSummary property.
-
setDisableAppEncryptionIfDeviceEncryptionIsEnabled
Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)- Parameters:
value- Value to set for the disableAppEncryptionIfDeviceEncryptionIsEnabled property.
-
setEncryptAppData
Sets the encryptAppData property value. Indicates whether managed-app data should be encrypted. (Android only)- Parameters:
value- Value to set for the encryptAppData property.
-
setFaceIdBlocked
Sets the faceIdBlocked property value. Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)- Parameters:
value- Value to set for the faceIdBlocked property.
-
setMinimumRequiredPatchVersion
Sets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)- Parameters:
value- Value to set for the minimumRequiredPatchVersion property.
-
setMinimumRequiredSdkVersion
Sets the minimumRequiredSdkVersion property value. Versions less than the specified version will block the managed app from accessing company data. (iOS Only)- Parameters:
value- Value to set for the minimumRequiredSdkVersion property.
-
setMinimumWarningPatchVersion
Sets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)- Parameters:
value- Value to set for the minimumWarningPatchVersion property.
-
setScreenCaptureBlocked
Sets the screenCaptureBlocked property value. Indicates whether screen capture is blocked. (Android only)- Parameters:
value- Value to set for the screenCaptureBlocked property.
-