Package com.microsoft.graph.models
Class TargetedManagedAppProtection
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedAppPolicy
com.microsoft.graph.models.ManagedAppProtection
com.microsoft.graph.models.TargetedManagedAppProtection
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
AndroidManagedAppProtection
,IosManagedAppProtection
@Generated("com.microsoft.kiota")
public class TargetedManagedAppProtection
extends ManagedAppProtection
implements com.microsoft.kiota.serialization.Parsable
Policy used to configure detailed management settings targeted to specific security groups
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newTargetedManagedAppProtection
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionstatic TargetedManagedAppProtection
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the assignments property value.The deserialization information for the current modelGets the isAssigned property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the assignments property value.void
setIsAssigned
(Boolean value) Sets the isAssigned 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, 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
-
TargetedManagedAppProtection
public TargetedManagedAppProtection()Instantiates a newTargetedManagedAppProtection
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TargetedManagedAppProtection 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
TargetedManagedAppProtection
-
getAssignments
Gets the assignments property value. Navigation property to list of inclusion and exclusion groups to which the policy is deployed.- Returns:
- a
List<TargetedManagedAppPolicyAssignment>
-
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 classManagedAppProtection
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsAssigned
Gets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.- 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 classManagedAppProtection
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAssignments
Sets the assignments property value. Navigation property to list of inclusion and exclusion groups to which the policy is deployed.- Parameters:
value
- Value to set for the assignments property.
-
setIsAssigned
Sets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.- Parameters:
value
- Value to set for the isAssigned property.
-