Package odata.msgraph.client.entity
Class TargetedManagedAppProtection
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedAppPolicy
-
- odata.msgraph.client.entity.ManagedAppProtection
-
- odata.msgraph.client.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 List<TargetedManagedAppPolicyAssignment>assignmentsprotected BooleanisAssigned-
Fields inherited from class odata.msgraph.client.entity.ManagedAppProtection
allowedDataStorageLocations, allowedDataStorageLocationsNextLink, allowedInboundDataTransferSources, allowedOutboundClipboardSharingLevel, allowedOutboundDataTransferDestinations, contactSyncBlocked, dataBackupBlocked, deviceComplianceRequired, disableAppPinIfDevicePinIsSet, fingerprintBlocked, managedBrowser, managedBrowserToOpenLinksRequired, maximumPinRetries, minimumPinLength, minimumRequiredAppVersion, minimumRequiredOsVersion, minimumWarningAppVersion, minimumWarningOsVersion, organizationalCredentialsRequired, periodBeforePinReset, periodOfflineBeforeAccessCheck, periodOfflineBeforeWipeIsEnforced, periodOnlineBeforeAccessCheck, pinCharacterSet, pinRequired, printBlocked, saveAsBlocked, simplePinBlocked
-
Fields inherited from class odata.msgraph.client.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, version
-
Fields inherited from class odata.msgraph.client.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)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.”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()TargetedManagedAppProtectionwithAssignments(List<TargetedManagedAppPolicyAssignment> assignments)Returns an immutable copy ofthiswith just theassignmentsfield changed.TargetedManagedAppProtectionwithIsAssigned(Boolean isAssigned)Returns an immutable copy ofthiswith just theisAssignedfield changed.TargetedManagedAppProtectionwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.ManagedAppProtection
getAllowedDataStorageLocations, 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, targetApps, withAllowedDataStorageLocations, withAllowedInboundDataTransferSources, withAllowedOutboundClipboardSharingLevel, withAllowedOutboundDataTransferDestinations, withContactSyncBlocked, withDataBackupBlocked, withDeviceComplianceRequired, withDisableAppPinIfDevicePinIsSet, withFingerprintBlocked, withManagedBrowser, withManagedBrowserToOpenLinksRequired, withMaximumPinRetries, withMinimumPinLength, withMinimumRequiredAppVersion, withMinimumRequiredOsVersion, withMinimumWarningAppVersion, withMinimumWarningOsVersion, withOrganizationalCredentialsRequired, withPeriodBeforePinReset, withPeriodOfflineBeforeAccessCheck, withPeriodOfflineBeforeWipeIsEnforced, withPeriodOnlineBeforeAccessCheck, withPinCharacterSet, withPinRequired, withPrintBlocked, withSaveAsBlocked, withSimplePinBlocked
-
Methods inherited from class odata.msgraph.client.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
isAssigned
protected Boolean isAssigned
-
assignments
protected List<TargetedManagedAppPolicyAssignment> assignments
-
-
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
-
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
-
withUnmappedField
public TargetedManagedAppProtection withUnmappedField(String name, Object 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
-
withAssignments
public TargetedManagedAppProtection withAssignments(List<TargetedManagedAppPolicyAssignment> assignments)
Returns an immutable copy ofthiswith just theassignmentsfield 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.“Navigation property to list of inclusion and exclusion groups to which the policy is deployed.”
- Parameters:
assignments- new value ofassignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassignmentsfield changed
-
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
-
-