Class 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”
    • Constructor Detail

      • TargetedManagedAppProtection

        protected TargetedManagedAppProtection()
    • Method Detail

      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class ManagedAppProtection
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class ManagedAppProtection
      • withAppGroupType

        public TargetedManagedAppProtection withAppGroupType​(TargetedManagedAppGroupType appGroupType)
        Returns an immutable copy of this with just the appGroupType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of appGroupType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the appGroupType field 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 of this with just the isAssigned field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of isAssigned field (as defined in service metadata)
        Returns:
        immutable copy of this with just the isAssigned field 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 of this with just the targetedAppManagementLevels field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of targetedAppManagementLevels field (as defined in service metadata)
        Returns:
        immutable copy of this with just the targetedAppManagementLevels field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class ManagedAppProtection
      • patch

        public TargetedManagedAppProtection patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class ManagedAppProtection
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class ManagedAppProtection
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected