Package odata.msgraph.client.beta.entity
Class TargetedManagedAppProtection
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedAppPolicy
-
- odata.msgraph.client.beta.entity.ManagedAppProtection
-
- odata.msgraph.client.beta.entity.TargetedManagedAppProtection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AndroidManagedAppProtection,IosManagedAppProtection
public class TargetedManagedAppProtection extends ManagedAppProtection implements com.github.davidmoten.odata.client.ODataEntityType
“Policy used to configure detailed management settings targeted to specific security groups”
-
-
Field Summary
Fields Modifier and Type Field Description protected TargetedManagedAppGroupTypeappGroupTypeprotected BooleanisAssignedprotected AppManagementLeveltargetedAppManagementLevels-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedAppProtection
allowedDataIngestionLocations, allowedDataIngestionLocationsNextLink, allowedDataStorageLocations, allowedDataStorageLocationsNextLink, allowedInboundDataTransferSources, allowedOutboundClipboardSharingExceptionLength, allowedOutboundClipboardSharingLevel, allowedOutboundDataTransferDestinations, appActionIfDeviceComplianceRequired, appActionIfMaximumPinRetriesExceeded, appActionIfUnableToAuthenticateUser, blockDataIngestionIntoOrganizationDocuments, contactSyncBlocked, dataBackupBlocked, deviceComplianceRequired, dialerRestrictionLevel, disableAppPinIfDevicePinIsSet, fingerprintBlocked, gracePeriodToBlockAppsDuringOffClockHours, managedBrowser, managedBrowserToOpenLinksRequired, maximumAllowedDeviceThreatLevel, maximumPinRetries, maximumRequiredOsVersion, maximumWarningOsVersion, maximumWipeOsVersion, minimumPinLength, minimumRequiredAppVersion, minimumRequiredOsVersion, minimumWarningAppVersion, minimumWarningOsVersion, minimumWipeAppVersion, minimumWipeOsVersion, mobileThreatDefenseRemediationAction, notificationRestriction, organizationalCredentialsRequired, periodBeforePinReset, periodOfflineBeforeAccessCheck, periodOfflineBeforeWipeIsEnforced, periodOnlineBeforeAccessCheck, pinCharacterSet, pinRequired, pinRequiredInsteadOfBiometricTimeout, previousPinBlockCount, printBlocked, saveAsBlocked, simplePinBlocked
-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTargetedManagedAppProtection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<TargetedManagedAppPolicyAssignment> assignments)Optional<TargetedManagedAppGroupType>getAppGroupType()“Public Apps selection: group or individual”TargetedManagedAppPolicyAssignmentCollectionRequestgetAssignments()“Navigation property to list of inclusion and exclusion groups to which the policy is deployed.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getIsAssigned()“Indicates if the policy is deployed to any inclusion groups or not.”Optional<AppManagementLevel>getTargetedAppManagementLevels()“The intended app management levels for this policy”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()TargetedManagedAppProtectionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)TargetedManagedAppProtectionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturntargetApps(List<ManagedMobileApp> apps, TargetedManagedAppGroupType appGroupType)StringtoString()TargetedManagedAppProtectionwithAppGroupType(TargetedManagedAppGroupType appGroupType)Returns an immutable copy ofthiswith just theappGroupTypefield changed.TargetedManagedAppProtectionwithIsAssigned(Boolean isAssigned)Returns an immutable copy ofthiswith just theisAssignedfield changed.TargetedManagedAppProtectionwithTargetedAppManagementLevels(AppManagementLevel targetedAppManagementLevels)Returns an immutable copy ofthiswith just thetargetedAppManagementLevelsfield changed.TargetedManagedAppProtectionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedAppProtection
getAllowedDataIngestionLocations, getAllowedDataIngestionLocations, getAllowedDataStorageLocations, getAllowedDataStorageLocations, getAllowedInboundDataTransferSources, getAllowedOutboundClipboardSharingExceptionLength, getAllowedOutboundClipboardSharingLevel, getAllowedOutboundDataTransferDestinations, getAppActionIfDeviceComplianceRequired, getAppActionIfMaximumPinRetriesExceeded, getAppActionIfUnableToAuthenticateUser, getBlockDataIngestionIntoOrganizationDocuments, getContactSyncBlocked, getDataBackupBlocked, getDeviceComplianceRequired, getDialerRestrictionLevel, getDisableAppPinIfDevicePinIsSet, getFingerprintBlocked, getGracePeriodToBlockAppsDuringOffClockHours, getManagedBrowser, getManagedBrowserToOpenLinksRequired, getMaximumAllowedDeviceThreatLevel, getMaximumPinRetries, getMaximumRequiredOsVersion, getMaximumWarningOsVersion, getMaximumWipeOsVersion, getMinimumPinLength, getMinimumRequiredAppVersion, getMinimumRequiredOsVersion, getMinimumWarningAppVersion, getMinimumWarningOsVersion, getMinimumWipeAppVersion, getMinimumWipeOsVersion, getMobileThreatDefenseRemediationAction, getNotificationRestriction, getOrganizationalCredentialsRequired, getPeriodBeforePinReset, getPeriodOfflineBeforeAccessCheck, getPeriodOfflineBeforeWipeIsEnforced, getPeriodOnlineBeforeAccessCheck, getPinCharacterSet, getPinRequired, getPinRequiredInsteadOfBiometricTimeout, getPreviousPinBlockCount, getPrintBlocked, getSaveAsBlocked, getSimplePinBlocked, targetApps, withAllowedDataIngestionLocations, withAllowedDataStorageLocations, withAllowedInboundDataTransferSources, withAllowedOutboundClipboardSharingExceptionLength, withAllowedOutboundClipboardSharingLevel, withAllowedOutboundDataTransferDestinations, withAppActionIfDeviceComplianceRequired, withAppActionIfMaximumPinRetriesExceeded, withAppActionIfUnableToAuthenticateUser, withBlockDataIngestionIntoOrganizationDocuments, withContactSyncBlocked, withDataBackupBlocked, withDeviceComplianceRequired, withDialerRestrictionLevel, withDisableAppPinIfDevicePinIsSet, withFingerprintBlocked, withGracePeriodToBlockAppsDuringOffClockHours, withManagedBrowser, withManagedBrowserToOpenLinksRequired, withMaximumAllowedDeviceThreatLevel, withMaximumPinRetries, withMaximumRequiredOsVersion, withMaximumWarningOsVersion, withMaximumWipeOsVersion, withMinimumPinLength, withMinimumRequiredAppVersion, withMinimumRequiredOsVersion, withMinimumWarningAppVersion, withMinimumWarningOsVersion, withMinimumWipeAppVersion, withMinimumWipeOsVersion, withMobileThreatDefenseRemediationAction, withNotificationRestriction, withOrganizationalCredentialsRequired, withPeriodBeforePinReset, withPeriodOfflineBeforeAccessCheck, withPeriodOfflineBeforeWipeIsEnforced, withPeriodOnlineBeforeAccessCheck, withPinCharacterSet, withPinRequired, withPinRequiredInsteadOfBiometricTimeout, withPreviousPinBlockCount, withPrintBlocked, withSaveAsBlocked, withSimplePinBlocked
-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withVersion
-
-
-
-
Field Detail
-
appGroupType
protected TargetedManagedAppGroupType appGroupType
-
isAssigned
protected Boolean isAssigned
-
targetedAppManagementLevels
protected AppManagementLevel targetedAppManagementLevels
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedAppProtection
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classManagedAppProtection
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedAppProtection
-
getAppGroupType
public Optional<TargetedManagedAppGroupType> getAppGroupType()
“Public Apps selection: group or individual”- Returns:
- property appGroupType
-
withAppGroupType
public TargetedManagedAppProtection withAppGroupType(TargetedManagedAppGroupType appGroupType)
Returns an immutable copy ofthiswith just theappGroupTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Public Apps selection: group or individual”
- Parameters:
appGroupType- new value ofappGroupTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappGroupTypefield changed
-
getIsAssigned
public Optional<Boolean> getIsAssigned()
“Indicates if the policy is deployed to any inclusion groups or not.”- Returns:
- property isAssigned
-
withIsAssigned
public TargetedManagedAppProtection withIsAssigned(Boolean isAssigned)
Returns an immutable copy ofthiswith just theisAssignedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates if the policy is deployed to any inclusion groups or not.”
- Parameters:
isAssigned- new value ofisAssignedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisAssignedfield changed
-
getTargetedAppManagementLevels
public Optional<AppManagementLevel> getTargetedAppManagementLevels()
“The intended app management levels for this policy”- Returns:
- property targetedAppManagementLevels
-
withTargetedAppManagementLevels
public TargetedManagedAppProtection withTargetedAppManagementLevels(AppManagementLevel targetedAppManagementLevels)
Returns an immutable copy ofthiswith just thetargetedAppManagementLevelsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The intended app management levels for this policy”
- Parameters:
targetedAppManagementLevels- new value oftargetedAppManagementLevelsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedAppManagementLevelsfield changed
-
withUnmappedField
public TargetedManagedAppProtection withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classManagedAppProtection
-
getAssignments
public TargetedManagedAppPolicyAssignmentCollectionRequest getAssignments()
“Navigation property to list of inclusion and exclusion groups to which the policy is deployed.”- Returns:
- navigational property assignments
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedAppProtection
-
patch
public TargetedManagedAppProtection patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedAppProtection- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public TargetedManagedAppProtection put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedAppProtection- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<TargetedManagedAppPolicyAssignment> assignments)
-
targetApps
public com.github.davidmoten.odata.client.ActionRequestNoReturn targetApps(List<ManagedMobileApp> apps, TargetedManagedAppGroupType appGroupType)
-
toString
public String toString()
- Overrides:
toStringin classManagedAppProtection
-
-