Package com.microsoft.graph.models
Class AndroidManagedAppProtection
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedAppPolicy
com.microsoft.graph.models.ManagedAppProtection
com.microsoft.graph.models.TargetedManagedAppProtection
com.microsoft.graph.models.AndroidManagedAppProtection
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AndroidManagedAppProtection
extends TargetedManagedAppProtection
implements com.microsoft.kiota.serialization.Parsable
Policy used to configure detailed management settings targeted to specific security groups and for a specified set of apps on an Android device
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AndroidManagedAppProtection
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetApps()
Gets the apps property value.Gets the customBrowserDisplayName property value.Gets the customBrowserPackageId property value.Gets the deployedAppCount property value.Gets the deploymentSummary property value.Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value.Gets the encryptAppData property value.The deserialization information for the current modelGets the minimumRequiredPatchVersion property value.Gets the minimumWarningPatchVersion property value.Gets the screenCaptureBlocked property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setApps
(List<ManagedMobileApp> value) Sets the apps property value.void
Sets the customBrowserDisplayName property value.void
setCustomBrowserPackageId
(String value) Sets the customBrowserPackageId property value.void
setDeployedAppCount
(Integer value) Sets the deployedAppCount property value.void
Sets the deploymentSummary property value.void
Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value.void
setEncryptAppData
(Boolean value) Sets the encryptAppData property value.void
Sets the minimumRequiredPatchVersion property value.void
Sets the minimumWarningPatchVersion property value.void
setScreenCaptureBlocked
(Boolean value) Sets the screenCaptureBlocked property value.Methods inherited from class com.microsoft.graph.models.TargetedManagedAppProtection
getAssignments, getIsAssigned, setAssignments, setIsAssigned
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, setSimplePinBlocked
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
-
AndroidManagedAppProtection
public AndroidManagedAppProtection()Instantiates a newAndroidManagedAppProtection
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AndroidManagedAppProtection 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
AndroidManagedAppProtection
-
getApps
Gets the apps property value. List of apps to which the policy is deployed.- Returns:
- a
List<ManagedMobileApp>
-
getCustomBrowserDisplayName
Gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.- Returns:
- a
String
-
getCustomBrowserPackageId
Gets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.- Returns:
- a
String
-
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- Returns:
- a
Boolean
-
getEncryptAppData
Gets the encryptAppData property value. Indicates whether application data for managed apps should be encrypted- 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 classTargetedManagedAppProtection
- 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.- 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.- Returns:
- a
String
-
getScreenCaptureBlocked
Gets the screenCaptureBlocked property value. Indicates whether a managed user can take screen captures of managed apps- 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 classTargetedManagedAppProtection
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setApps
Sets the apps property value. List of apps to which the policy is deployed.- Parameters:
value
- Value to set for the apps property.
-
setCustomBrowserDisplayName
Sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.- Parameters:
value
- Value to set for the customBrowserDisplayName property.
-
setCustomBrowserPackageId
Sets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.- Parameters:
value
- Value to set for the customBrowserPackageId 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- Parameters:
value
- Value to set for the disableAppEncryptionIfDeviceEncryptionIsEnabled property.
-
setEncryptAppData
Sets the encryptAppData property value. Indicates whether application data for managed apps should be encrypted- Parameters:
value
- Value to set for the encryptAppData 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.- Parameters:
value
- Value to set for the minimumRequiredPatchVersion 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.- Parameters:
value
- Value to set for the minimumWarningPatchVersion property.
-
setScreenCaptureBlocked
Sets the screenCaptureBlocked property value. Indicates whether a managed user can take screen captures of managed apps- Parameters:
value
- Value to set for the screenCaptureBlocked property.
-